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