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