com.google.cloud.bigtable.config
Enum CredentialOptions.CredentialType
- java.lang.Object
-
- java.lang.Enum<CredentialOptions.CredentialType>
-
- com.google.cloud.bigtable.config.CredentialOptions.CredentialType
-
- All Implemented Interfaces:
- Serializable, Comparable<CredentialOptions.CredentialType>
- Enclosing class:
- CredentialOptions
public static enum CredentialOptions.CredentialType extends Enum<CredentialOptions.CredentialType>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description DefaultCredentials
None
P12
SuppliedCredentials
SuppliedJson
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static CredentialOptions.CredentialType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CredentialOptions.CredentialType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DefaultCredentials
public static final CredentialOptions.CredentialType DefaultCredentials
-
P12
public static final CredentialOptions.CredentialType P12
-
SuppliedCredentials
public static final CredentialOptions.CredentialType SuppliedCredentials
-
SuppliedJson
public static final CredentialOptions.CredentialType SuppliedJson
-
None
public static final CredentialOptions.CredentialType None
-
-
Method Detail
-
values
public static CredentialOptions.CredentialType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CredentialOptions.CredentialType c : CredentialOptions.CredentialType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialOptions.CredentialType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-