public static enum OtsInternalApi.Direction extends Enum<OtsInternalApi.Direction> implements com.google.protobuf.ProtocolMessageEnum
| Modifier and Type | Field and Description |
|---|---|
static int |
BACKWARD_VALUE |
static int |
FORWARD_VALUE |
| 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<OtsInternalApi.Direction> |
internalGetValueMap() |
static OtsInternalApi.Direction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OtsInternalApi.Direction |
valueOf(int value) |
static OtsInternalApi.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtsInternalApi.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtsInternalApi.Direction FORWARD
public static final OtsInternalApi.Direction BACKWARD
public static final int FORWARD_VALUE
public static final int BACKWARD_VALUE
public static OtsInternalApi.Direction[] values()
for (OtsInternalApi.Direction c : OtsInternalApi.Direction.values()) System.out.println(c);
public static OtsInternalApi.Direction 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 OtsInternalApi.Direction valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OtsInternalApi.Direction> 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 OtsInternalApi.Direction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All Rights Reserved.