public static enum ProtocolVersion.MajorVersions extends java.lang.Enum<ProtocolVersion.MajorVersions> implements com.google.protobuf.ProtocolMessageEnum
org.apache.geode.internal.protocol.protobuf.MajorVersions| Enum Constant and Description |
|---|
CURRENT_MAJOR_VERSION
Initial message structure and handshake protocol
|
INVALID_MAJOR_VERSION
Protobuf requires 0 based enum
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENT_MAJOR_VERSION_VALUE
Initial message structure and handshake protocol
|
static int |
INVALID_MAJOR_VERSION_VALUE
Protobuf requires 0 based enum
|
| Modifier and Type | Method and Description |
|---|---|
static ProtocolVersion.MajorVersions |
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<ProtocolVersion.MajorVersions> |
internalGetValueMap() |
static ProtocolVersion.MajorVersions |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProtocolVersion.MajorVersions |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ProtocolVersion.MajorVersions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolVersion.MajorVersions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolVersion.MajorVersions INVALID_MAJOR_VERSION
Protobuf requires 0 based enum
INVALID_MAJOR_VERSION = 0;public static final ProtocolVersion.MajorVersions CURRENT_MAJOR_VERSION
Initial message structure and handshake protocol
CURRENT_MAJOR_VERSION = 1;public static final ProtocolVersion.MajorVersions UNRECOGNIZED
public static final int INVALID_MAJOR_VERSION_VALUE
Protobuf requires 0 based enum
INVALID_MAJOR_VERSION = 0;public static final int CURRENT_MAJOR_VERSION_VALUE
Initial message structure and handshake protocol
CURRENT_MAJOR_VERSION = 1;public static ProtocolVersion.MajorVersions[] values()
for (ProtocolVersion.MajorVersions c : ProtocolVersion.MajorVersions.values()) System.out.println(c);
public static ProtocolVersion.MajorVersions valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ProtocolVersion.MajorVersions valueOf(int value)
forNumber(int) instead.public static ProtocolVersion.MajorVersions forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ProtocolVersion.MajorVersions> 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 ProtocolVersion.MajorVersions valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)