public static enum RevisionRef.SourceCase extends Enum<RevisionRef.SourceCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
LATEST_PROCESSOR_VERSION |
REVISION_CASE |
REVISION_ID |
SOURCE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static RevisionRef.SourceCase |
forNumber(int value) |
int |
getNumber() |
static RevisionRef.SourceCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RevisionRef.SourceCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevisionRef.SourceCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevisionRef.SourceCase REVISION_CASE
public static final RevisionRef.SourceCase REVISION_ID
public static final RevisionRef.SourceCase LATEST_PROCESSOR_VERSION
public static final RevisionRef.SourceCase SOURCE_NOT_SET
public static RevisionRef.SourceCase[] values()
for (RevisionRef.SourceCase c : RevisionRef.SourceCase.values()) System.out.println(c);
public static RevisionRef.SourceCase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public static RevisionRef.SourceCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static RevisionRef.SourceCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 Google LLC. All rights reserved.