public static enum RepoSource.RevisionCase extends Enum<RepoSource.RevisionCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
BRANCH_NAME |
COMMIT_SHA |
REVISION_NOT_SET |
TAG_NAME |
| Modifier and Type | Method and Description |
|---|---|
static RepoSource.RevisionCase |
forNumber(int value) |
int |
getNumber() |
static RepoSource.RevisionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RepoSource.RevisionCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepoSource.RevisionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepoSource.RevisionCase BRANCH_NAME
public static final RepoSource.RevisionCase TAG_NAME
public static final RepoSource.RevisionCase COMMIT_SHA
public static final RepoSource.RevisionCase REVISION_NOT_SET
public static RepoSource.RevisionCase[] values()
for (RepoSource.RevisionCase c : RepoSource.RevisionCase.values()) System.out.println(c);
public static RepoSource.RevisionCase 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 RepoSource.RevisionCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static RepoSource.RevisionCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 Google LLC. All rights reserved.