public static enum AddBrokerV2.AddBrokerV2Version extends Enum<AddBrokerV2.AddBrokerV2Version> implements com.google.protobuf.ProtocolMessageEnum
Version numbersProtobuf enum
databalancer.AddBrokerV2Version
Enum Constant and Description |
---|
add_version_1
Initial release
|
add_version_invalid
Invalid version
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
add_version_1_VALUE
Initial release
|
static int |
add_version_invalid_VALUE
Invalid version
|
Modifier and Type | Method and Description |
---|---|
static AddBrokerV2.AddBrokerV2Version |
forNumber(int value) |
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<AddBrokerV2.AddBrokerV2Version> |
internalGetValueMap() |
static AddBrokerV2.AddBrokerV2Version |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AddBrokerV2.AddBrokerV2Version |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AddBrokerV2.AddBrokerV2Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddBrokerV2.AddBrokerV2Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddBrokerV2.AddBrokerV2Version add_version_invalid
Invalid version
add_version_invalid = 0;
public static final AddBrokerV2.AddBrokerV2Version add_version_1
Initial release
add_version_1 = 1;
public static final AddBrokerV2.AddBrokerV2Version UNRECOGNIZED
public static final int add_version_invalid_VALUE
Invalid version
add_version_invalid = 0;
public static final int add_version_1_VALUE
Initial release
add_version_1 = 1;
public static AddBrokerV2.AddBrokerV2Version[] values()
for (AddBrokerV2.AddBrokerV2Version c : AddBrokerV2.AddBrokerV2Version.values()) System.out.println(c);
public static AddBrokerV2.AddBrokerV2Version 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static AddBrokerV2.AddBrokerV2Version valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static AddBrokerV2.AddBrokerV2Version forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AddBrokerV2.AddBrokerV2Version> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AddBrokerV2.AddBrokerV2Version valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)