Enum InstanceConfig.FreeInstanceAvailability
java.lang.Object
java.lang.Enum<InstanceConfig.FreeInstanceAvailability>
com.google.spanner.admin.instance.v1.InstanceConfig.FreeInstanceAvailability
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<InstanceConfig.FreeInstanceAvailability>
- Enclosing class:
- InstanceConfig
public static enum InstanceConfig.FreeInstanceAvailability
extends Enum<InstanceConfig.FreeInstanceAvailability>
implements com.google.protobuf.ProtocolMessageEnum
Describes the availability for free instances to be created in an instance configuration.Protobuf enum
google.spanner.admin.instance.v1.InstanceConfig.FreeInstanceAvailability-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that free instances are available to be created in this instance configuration.Indicates that free instances are currently not available to be created in this instance configuration.Not specified.Indicates that additional free instances cannot be created in this instance configuration because the project has reached its limit of free instances.Indicates that free instances are not supported in this instance configuration. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that free instances are available to be created in this instance configuration.static final intIndicates that free instances are currently not available to be created in this instance configuration.static final intNot specified.static final intIndicates that additional free instances cannot be created in this instance configuration because the project has reached its limit of free instances.static final intIndicates that free instances are not supported in this instance configuration. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<InstanceConfig.FreeInstanceAvailability>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FREE_INSTANCE_AVAILABILITY_UNSPECIFIED
Not specified.
FREE_INSTANCE_AVAILABILITY_UNSPECIFIED = 0; -
AVAILABLE
Indicates that free instances are available to be created in this instance configuration.
AVAILABLE = 1; -
UNSUPPORTED
Indicates that free instances are not supported in this instance configuration.
UNSUPPORTED = 2; -
DISABLED
Indicates that free instances are currently not available to be created in this instance configuration.
DISABLED = 3; -
QUOTA_EXCEEDED
Indicates that additional free instances cannot be created in this instance configuration because the project has reached its limit of free instances.
QUOTA_EXCEEDED = 4; -
UNRECOGNIZED
-
-
Field Details
-
FREE_INSTANCE_AVAILABILITY_UNSPECIFIED_VALUE
public static final int FREE_INSTANCE_AVAILABILITY_UNSPECIFIED_VALUENot specified.
FREE_INSTANCE_AVAILABILITY_UNSPECIFIED = 0;- See Also:
-
AVAILABLE_VALUE
public static final int AVAILABLE_VALUEIndicates that free instances are available to be created in this instance configuration.
AVAILABLE = 1;- See Also:
-
UNSUPPORTED_VALUE
public static final int UNSUPPORTED_VALUEIndicates that free instances are not supported in this instance configuration.
UNSUPPORTED = 2;- See Also:
-
DISABLED_VALUE
public static final int DISABLED_VALUEIndicates that free instances are currently not available to be created in this instance configuration.
DISABLED = 3;- See Also:
-
QUOTA_EXCEEDED_VALUE
public static final int QUOTA_EXCEEDED_VALUEIndicates that additional free instances cannot be created in this instance configuration because the project has reached its limit of free instances.
QUOTA_EXCEEDED = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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:
value- 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
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<InstanceConfig.FreeInstanceAvailability> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static InstanceConfig.FreeInstanceAvailability valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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:
desc- 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
-