Package com.google.bigtable.admin.v2
Enum Cluster.NodeScalingFactor
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Cluster.NodeScalingFactor>
- Enclosing class:
- Cluster
public static enum Cluster.NodeScalingFactor
extends Enum<Cluster.NodeScalingFactor>
implements com.google.protobuf.ProtocolMessageEnum
Possible node scaling factors of the clusters. Node scaling delivers better latency and more throughput by removing node boundaries.Protobuf enum
google.bigtable.admin.v2.Cluster.NodeScalingFactor-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe cluster is running with a scaling factor of 1.The cluster is running with a scaling factor of 2.No node scaling specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe cluster is running with a scaling factor of 1.static final intThe cluster is running with a scaling factor of 2.static final intNo node scaling specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic Cluster.NodeScalingFactorforNumber(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<Cluster.NodeScalingFactor>static Cluster.NodeScalingFactorvalueOf(int value) Deprecated.static Cluster.NodeScalingFactorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Cluster.NodeScalingFactorReturns the enum constant of this type with the specified name.static Cluster.NodeScalingFactor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NODE_SCALING_FACTOR_UNSPECIFIED
No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.
NODE_SCALING_FACTOR_UNSPECIFIED = 0; -
NODE_SCALING_FACTOR_1X
The cluster is running with a scaling factor of 1.
NODE_SCALING_FACTOR_1X = 1; -
NODE_SCALING_FACTOR_2X
The cluster is running with a scaling factor of 2. All node count values must be in increments of 2 with this scaling factor enabled, otherwise an INVALID_ARGUMENT error will be returned.
NODE_SCALING_FACTOR_2X = 2; -
UNRECOGNIZED
-
-
Field Details
-
NODE_SCALING_FACTOR_UNSPECIFIED_VALUE
public static final int NODE_SCALING_FACTOR_UNSPECIFIED_VALUENo node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.
NODE_SCALING_FACTOR_UNSPECIFIED = 0;- See Also:
-
NODE_SCALING_FACTOR_1X_VALUE
public static final int NODE_SCALING_FACTOR_1X_VALUEThe cluster is running with a scaling factor of 1.
NODE_SCALING_FACTOR_1X = 1;- See Also:
-
NODE_SCALING_FACTOR_2X_VALUE
public static final int NODE_SCALING_FACTOR_2X_VALUEThe cluster is running with a scaling factor of 2. All node count values must be in increments of 2 with this scaling factor enabled, otherwise an INVALID_ARGUMENT error will be returned.
NODE_SCALING_FACTOR_2X = 2;- 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<Cluster.NodeScalingFactor> 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 Cluster.NodeScalingFactor 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
-