public static enum StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase extends java.lang.Enum<StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ANY |
EXPECTEDSTREAMPOSITION_NOT_SET |
NO_STREAM |
STREAM_EXISTS |
STREAM_POSITION |
| Modifier and Type | Method and Description |
|---|---|
static StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase |
forNumber(int value) |
int |
getNumber() |
static StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase STREAM_POSITION
public static final StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase NO_STREAM
public static final StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase ANY
public static final StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase STREAM_EXISTS
public static final StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase EXPECTEDSTREAMPOSITION_NOT_SET
public static StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase[] values()
for (StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase c : StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase.values()) System.out.println(c);
public static StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase 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 null@Deprecated public static StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite