public static enum StreamsOuterClass.ReadReq.Options.ReadDirection extends java.lang.Enum<StreamsOuterClass.ReadReq.Options.ReadDirection> implements com.google.protobuf.ProtocolMessageEnum
event_store.client.streams.ReadReq.Options.ReadDirection| Enum Constant and Description |
|---|
Backwards
Backwards = 1; |
Forwards
Forwards = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Backwards_VALUE
Backwards = 1; |
static int |
Forwards_VALUE
Forwards = 0; |
| Modifier and Type | Method and Description |
|---|---|
static StreamsOuterClass.ReadReq.Options.ReadDirection |
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<StreamsOuterClass.ReadReq.Options.ReadDirection> |
internalGetValueMap() |
static StreamsOuterClass.ReadReq.Options.ReadDirection |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StreamsOuterClass.ReadReq.Options.ReadDirection |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StreamsOuterClass.ReadReq.Options.ReadDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamsOuterClass.ReadReq.Options.ReadDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamsOuterClass.ReadReq.Options.ReadDirection Forwards
Forwards = 0;public static final StreamsOuterClass.ReadReq.Options.ReadDirection Backwards
Backwards = 1;public static final StreamsOuterClass.ReadReq.Options.ReadDirection UNRECOGNIZED
public static final int Forwards_VALUE
Forwards = 0;public static final int Backwards_VALUE
Backwards = 1;public static StreamsOuterClass.ReadReq.Options.ReadDirection[] values()
for (StreamsOuterClass.ReadReq.Options.ReadDirection c : StreamsOuterClass.ReadReq.Options.ReadDirection.values()) System.out.println(c);
public static StreamsOuterClass.ReadReq.Options.ReadDirection 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 StreamsOuterClass.ReadReq.Options.ReadDirection valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StreamsOuterClass.ReadReq.Options.ReadDirection forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StreamsOuterClass.ReadReq.Options.ReadDirection> 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 StreamsOuterClass.ReadReq.Options.ReadDirection valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)