public static enum PlanProto.TransmitType extends Enum<PlanProto.TransmitType> implements com.google.protobuf.ProtocolMessageEnum
TransmitType| Enum Constant and Description |
|---|
FILE_WRITE
FILE_WRITE = 2; |
PULL_TRANSMIT
PULL_TRANSMIT = 1; |
PUSH_TRANSMIT
PUSH_TRANSMIT = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
FILE_WRITE_VALUE
FILE_WRITE = 2; |
static int |
PULL_TRANSMIT_VALUE
PULL_TRANSMIT = 1; |
static int |
PUSH_TRANSMIT_VALUE
PUSH_TRANSMIT = 0; |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<PlanProto.TransmitType> |
internalGetValueMap() |
static PlanProto.TransmitType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PlanProto.TransmitType |
valueOf(int value) |
static PlanProto.TransmitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanProto.TransmitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanProto.TransmitType PUSH_TRANSMIT
PUSH_TRANSMIT = 0;public static final PlanProto.TransmitType PULL_TRANSMIT
PULL_TRANSMIT = 1;public static final PlanProto.TransmitType FILE_WRITE
FILE_WRITE = 2;public static final int PUSH_TRANSMIT_VALUE
PUSH_TRANSMIT = 0;public static final int PULL_TRANSMIT_VALUE
PULL_TRANSMIT = 1;public static final int FILE_WRITE_VALUE
FILE_WRITE = 2;public static PlanProto.TransmitType[] values()
for (PlanProto.TransmitType c : PlanProto.TransmitType.values()) System.out.println(c);
public static PlanProto.TransmitType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static PlanProto.TransmitType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<PlanProto.TransmitType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PlanProto.TransmitType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2015 Apache Software Foundation. All Rights Reserved.