Package com.google.cloud.spanner
Enum InstanceConfigInfo.InstanceConfigField
- java.lang.Object
-
- java.lang.Enum<InstanceConfigInfo.InstanceConfigField>
-
- com.google.cloud.spanner.InstanceConfigInfo.InstanceConfigField
-
- All Implemented Interfaces:
com.google.cloud.FieldSelector
,Serializable
,Comparable<InstanceConfigInfo.InstanceConfigField>
- Enclosing class:
- InstanceConfigInfo
public static enum InstanceConfigInfo.InstanceConfigField extends Enum<InstanceConfigInfo.InstanceConfigField> implements com.google.cloud.FieldSelector
Represent an updatable field in Cloud Spanner InstanceConfig.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISPLAY_NAME
LABELS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSelector()
static InstanceConfigInfo.InstanceConfigField
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstanceConfigInfo.InstanceConfigField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISPLAY_NAME
public static final InstanceConfigInfo.InstanceConfigField DISPLAY_NAME
-
LABELS
public static final InstanceConfigInfo.InstanceConfigField LABELS
-
-
Method Detail
-
values
public static InstanceConfigInfo.InstanceConfigField[] 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 (InstanceConfigInfo.InstanceConfigField c : InstanceConfigInfo.InstanceConfigField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstanceConfigInfo.InstanceConfigField 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
-
getSelector
public String getSelector()
- Specified by:
getSelector
in interfacecom.google.cloud.FieldSelector
-
-