Enum Cluster.NodeScalingFactor

java.lang.Object
java.lang.Enum<Cluster.NodeScalingFactor>
com.google.bigtable.admin.v2.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 Details

    • NODE_SCALING_FACTOR_UNSPECIFIED

      public static final Cluster.NodeScalingFactor NODE_SCALING_FACTOR_UNSPECIFIED
       No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.
       
      NODE_SCALING_FACTOR_UNSPECIFIED = 0;
    • NODE_SCALING_FACTOR_1X

      public static final Cluster.NodeScalingFactor NODE_SCALING_FACTOR_1X
       The cluster is running with a scaling factor of 1.
       
      NODE_SCALING_FACTOR_1X = 1;
    • NODE_SCALING_FACTOR_2X

      public static final Cluster.NodeScalingFactor 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

      public static final Cluster.NodeScalingFactor UNRECOGNIZED
  • Field Details

    • NODE_SCALING_FACTOR_UNSPECIFIED_VALUE

      public static final int NODE_SCALING_FACTOR_UNSPECIFIED_VALUE
       No 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_VALUE
       The 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_VALUE
       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;
      See Also:
  • Method Details

    • values

      public static Cluster.NodeScalingFactor[] 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

      public static Cluster.NodeScalingFactor 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Cluster.NodeScalingFactor valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Cluster.NodeScalingFactor forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null