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