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