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