Enum AutoscalerStatusDetails.Type

java.lang.Object
java.lang.Enum<AutoscalerStatusDetails.Type>
com.google.cloud.compute.v1.AutoscalerStatusDetails.Type
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AutoscalerStatusDetails.Type>
Enclosing class:
AutoscalerStatusDetails

public static enum AutoscalerStatusDetails.Type extends Enum<AutoscalerStatusDetails.Type> implements com.google.protobuf.ProtocolMessageEnum
 The type of error, warning, or notice returned. Current set of possible
 values:

 - ALL_INSTANCES_UNHEALTHY (WARNING):
 All instances in the instance group are unhealthy (not in RUNNING
 state).
 - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):
 There is no backend service attached to the instance group.
 - CAPPED_AT_MAX_NUM_REPLICAS (WARNING):
 Autoscaler recommends a size greater than maxNumReplicas.
 - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING):
 The custom metric samples are not exported often enough to be
 a credible base for autoscaling.
 - CUSTOM_METRIC_INVALID (ERROR):
 The custom metric that was specified does not exist or does not have
 the necessary labels.
 - MIN_EQUALS_MAX (WARNING):
 The minNumReplicas is equal to maxNumReplicas. This means the
 autoscaler cannot add or remove instances from the instance group.
 - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING):
 The autoscaler did not receive any data from the custom metric
 configured for autoscaling.
 - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING):
 The autoscaler is configured to scale based on a load balancing signal
 but the instance group has not received any requests from the load
 balancer.
 - MODE_OFF (WARNING):
 Autoscaling is turned off. The number of instances in the group won't
 change automatically. The autoscaling configuration is preserved.
 - MODE_ONLY_UP (WARNING):
 Autoscaling is in the "Autoscale only out" mode. The autoscaler can add
 instances but not remove any.
 - MORE_THAN_ONE_BACKEND_SERVICE (ERROR):
 The instance group cannot be autoscaled because it has more than one
 backend service attached to it.
 - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR):
 There is insufficient quota for the necessary resources, such as CPU or
 number of instances.
 - REGION_RESOURCE_STOCKOUT (ERROR):
 Shown only for regional autoscalers: there is a resource stockout in
 the chosen region.
 - SCALING_TARGET_DOES_NOT_EXIST (ERROR):
 The target to be scaled does not exist.
 - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION
 (ERROR): Autoscaling does not work with an HTTP/S load balancer that
 has been configured for maxRate.
 - ZONE_RESOURCE_STOCKOUT (ERROR):
 For zonal autoscalers: there is a resource stockout in the chosen zone.
 For regional autoscalers: in at least one of the zones you're using
 there is a resource stockout.


 New values might be added in the future. Some of the values might not be
 available in all API versions.
 
Protobuf enum google.cloud.compute.v1.AutoscalerStatusDetails.Type
  • Enum Constant Details

    • UNDEFINED_TYPE

      public static final AutoscalerStatusDetails.Type UNDEFINED_TYPE
       A value indicating that the enum field is not set.
       
      UNDEFINED_TYPE = 0;
    • ALL_INSTANCES_UNHEALTHY

      public static final AutoscalerStatusDetails.Type ALL_INSTANCES_UNHEALTHY
       All instances in the instance group are unhealthy (not in RUNNING state).
       
      ALL_INSTANCES_UNHEALTHY = 404965477;
    • BACKEND_SERVICE_DOES_NOT_EXIST

      public static final AutoscalerStatusDetails.Type BACKEND_SERVICE_DOES_NOT_EXIST
       There is no backend service attached to the instance group.
       
      BACKEND_SERVICE_DOES_NOT_EXIST = 191417626;
    • CAPPED_AT_MAX_NUM_REPLICAS

      public static final AutoscalerStatusDetails.Type CAPPED_AT_MAX_NUM_REPLICAS
       Autoscaler recommends a size greater than maxNumReplicas.
       
      CAPPED_AT_MAX_NUM_REPLICAS = 518617;
    • CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE

      public static final AutoscalerStatusDetails.Type CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE
       The custom metric samples are not exported often enough to be a credible
       base for autoscaling.
       
      CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE = 328964659;
    • CUSTOM_METRIC_INVALID

      public static final AutoscalerStatusDetails.Type CUSTOM_METRIC_INVALID
       The custom metric that was specified does not exist or does not have the
       necessary labels.
       
      CUSTOM_METRIC_INVALID = 204430550;
    • MIN_EQUALS_MAX

      public static final AutoscalerStatusDetails.Type MIN_EQUALS_MAX
       The minNumReplicas is equal to maxNumReplicas. This means the autoscaler
       cannot add or remove instances from the instance group.
       
      MIN_EQUALS_MAX = 2821361;
    • MISSING_CUSTOM_METRIC_DATA_POINTS

      public static final AutoscalerStatusDetails.Type MISSING_CUSTOM_METRIC_DATA_POINTS
       The autoscaler did not receive any data from the custom metric configured
       for autoscaling.
       
      MISSING_CUSTOM_METRIC_DATA_POINTS = 94885086;
    • MISSING_LOAD_BALANCING_DATA_POINTS

      public static final AutoscalerStatusDetails.Type MISSING_LOAD_BALANCING_DATA_POINTS
       The autoscaler is configured to scale based on a load balancing signal
       but the instance group has not received any requests from the load
       balancer.
       
      MISSING_LOAD_BALANCING_DATA_POINTS = 509858898;
    • MODE_OFF

      public static final AutoscalerStatusDetails.Type MODE_OFF
       Autoscaling is turned off. The number of instances in the group won't
       change automatically. The autoscaling configuration is preserved.
       
      MODE_OFF = 164169907;
    • MODE_ONLY_SCALE_OUT

      public static final AutoscalerStatusDetails.Type MODE_ONLY_SCALE_OUT
       Autoscaling is in the "Autoscale only scale out" mode.
       Instances in the group will be only added.
       
      MODE_ONLY_SCALE_OUT = 3840994;
    • MODE_ONLY_UP

      public static final AutoscalerStatusDetails.Type MODE_ONLY_UP
       Autoscaling is in the "Autoscale only out" mode. Instances in the group
       will be only added.
       
      MODE_ONLY_UP = 100969842;
    • MORE_THAN_ONE_BACKEND_SERVICE

      public static final AutoscalerStatusDetails.Type MORE_THAN_ONE_BACKEND_SERVICE
       The instance group cannot be autoscaled because it has more than one
       backend service attached to it.
       
      MORE_THAN_ONE_BACKEND_SERVICE = 151922141;
    • NOT_ENOUGH_QUOTA_AVAILABLE

      public static final AutoscalerStatusDetails.Type NOT_ENOUGH_QUOTA_AVAILABLE
       There is insufficient quota for the necessary resources, such as CPU or
       number of instances.
       
      NOT_ENOUGH_QUOTA_AVAILABLE = 403101631;
    • REGION_RESOURCE_STOCKOUT

      public static final AutoscalerStatusDetails.Type REGION_RESOURCE_STOCKOUT
       Showed only for regional autoscalers: there is a resource stockout in
       the chosen region.
       
      REGION_RESOURCE_STOCKOUT = 528622846;
    • SCALING_TARGET_DOES_NOT_EXIST

      public static final AutoscalerStatusDetails.Type SCALING_TARGET_DOES_NOT_EXIST
       The target to be scaled does not exist.
       
      SCALING_TARGET_DOES_NOT_EXIST = 122636699;
    • SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX

      public static final AutoscalerStatusDetails.Type SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX
       For some scaling schedules minRequiredReplicas is greater than
       maxNumReplicas. Autoscaler always recommends at most maxNumReplicas
       instances.
       
      SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX = 29275586;
    • SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN

      public static final AutoscalerStatusDetails.Type SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN
       For some scaling schedules minRequiredReplicas is less than
       minNumReplicas. Autoscaler always recommends at least minNumReplicas
       instances.
       
      SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN = 398287669;
    • UNKNOWN

      public static final AutoscalerStatusDetails.Type UNKNOWN
      UNKNOWN = 433141802;
    • UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION

      public static final AutoscalerStatusDetails.Type UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION
       Autoscaling does not work with an HTTP/S load balancer that has been
       configured for maxRate.
       
      UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION = 330845009;
    • ZONE_RESOURCE_STOCKOUT

      public static final AutoscalerStatusDetails.Type ZONE_RESOURCE_STOCKOUT
       For zonal autoscalers: there is a resource stockout in the chosen zone.
       For regional autoscalers: in at least one of the zones you're using there
       is a resource stockout.
       
      ZONE_RESOURCE_STOCKOUT = 210200502;
    • UNRECOGNIZED

      public static final AutoscalerStatusDetails.Type UNRECOGNIZED
  • Field Details

    • UNDEFINED_TYPE_VALUE

      public static final int UNDEFINED_TYPE_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_TYPE = 0;
      See Also:
    • ALL_INSTANCES_UNHEALTHY_VALUE

      public static final int ALL_INSTANCES_UNHEALTHY_VALUE
       All instances in the instance group are unhealthy (not in RUNNING state).
       
      ALL_INSTANCES_UNHEALTHY = 404965477;
      See Also:
    • BACKEND_SERVICE_DOES_NOT_EXIST_VALUE

      public static final int BACKEND_SERVICE_DOES_NOT_EXIST_VALUE
       There is no backend service attached to the instance group.
       
      BACKEND_SERVICE_DOES_NOT_EXIST = 191417626;
      See Also:
    • CAPPED_AT_MAX_NUM_REPLICAS_VALUE

      public static final int CAPPED_AT_MAX_NUM_REPLICAS_VALUE
       Autoscaler recommends a size greater than maxNumReplicas.
       
      CAPPED_AT_MAX_NUM_REPLICAS = 518617;
      See Also:
    • CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE_VALUE

      public static final int CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE_VALUE
       The custom metric samples are not exported often enough to be a credible
       base for autoscaling.
       
      CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE = 328964659;
      See Also:
    • CUSTOM_METRIC_INVALID_VALUE

      public static final int CUSTOM_METRIC_INVALID_VALUE
       The custom metric that was specified does not exist or does not have the
       necessary labels.
       
      CUSTOM_METRIC_INVALID = 204430550;
      See Also:
    • MIN_EQUALS_MAX_VALUE

      public static final int MIN_EQUALS_MAX_VALUE
       The minNumReplicas is equal to maxNumReplicas. This means the autoscaler
       cannot add or remove instances from the instance group.
       
      MIN_EQUALS_MAX = 2821361;
      See Also:
    • MISSING_CUSTOM_METRIC_DATA_POINTS_VALUE

      public static final int MISSING_CUSTOM_METRIC_DATA_POINTS_VALUE
       The autoscaler did not receive any data from the custom metric configured
       for autoscaling.
       
      MISSING_CUSTOM_METRIC_DATA_POINTS = 94885086;
      See Also:
    • MISSING_LOAD_BALANCING_DATA_POINTS_VALUE

      public static final int MISSING_LOAD_BALANCING_DATA_POINTS_VALUE
       The autoscaler is configured to scale based on a load balancing signal
       but the instance group has not received any requests from the load
       balancer.
       
      MISSING_LOAD_BALANCING_DATA_POINTS = 509858898;
      See Also:
    • MODE_OFF_VALUE

      public static final int MODE_OFF_VALUE
       Autoscaling is turned off. The number of instances in the group won't
       change automatically. The autoscaling configuration is preserved.
       
      MODE_OFF = 164169907;
      See Also:
    • MODE_ONLY_SCALE_OUT_VALUE

      public static final int MODE_ONLY_SCALE_OUT_VALUE
       Autoscaling is in the "Autoscale only scale out" mode.
       Instances in the group will be only added.
       
      MODE_ONLY_SCALE_OUT = 3840994;
      See Also:
    • MODE_ONLY_UP_VALUE

      public static final int MODE_ONLY_UP_VALUE
       Autoscaling is in the "Autoscale only out" mode. Instances in the group
       will be only added.
       
      MODE_ONLY_UP = 100969842;
      See Also:
    • MORE_THAN_ONE_BACKEND_SERVICE_VALUE

      public static final int MORE_THAN_ONE_BACKEND_SERVICE_VALUE
       The instance group cannot be autoscaled because it has more than one
       backend service attached to it.
       
      MORE_THAN_ONE_BACKEND_SERVICE = 151922141;
      See Also:
    • NOT_ENOUGH_QUOTA_AVAILABLE_VALUE

      public static final int NOT_ENOUGH_QUOTA_AVAILABLE_VALUE
       There is insufficient quota for the necessary resources, such as CPU or
       number of instances.
       
      NOT_ENOUGH_QUOTA_AVAILABLE = 403101631;
      See Also:
    • REGION_RESOURCE_STOCKOUT_VALUE

      public static final int REGION_RESOURCE_STOCKOUT_VALUE
       Showed only for regional autoscalers: there is a resource stockout in
       the chosen region.
       
      REGION_RESOURCE_STOCKOUT = 528622846;
      See Also:
    • SCALING_TARGET_DOES_NOT_EXIST_VALUE

      public static final int SCALING_TARGET_DOES_NOT_EXIST_VALUE
       The target to be scaled does not exist.
       
      SCALING_TARGET_DOES_NOT_EXIST = 122636699;
      See Also:
    • SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX_VALUE

      public static final int SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX_VALUE
       For some scaling schedules minRequiredReplicas is greater than
       maxNumReplicas. Autoscaler always recommends at most maxNumReplicas
       instances.
       
      SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX = 29275586;
      See Also:
    • SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN_VALUE

      public static final int SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN_VALUE
       For some scaling schedules minRequiredReplicas is less than
       minNumReplicas. Autoscaler always recommends at least minNumReplicas
       instances.
       
      SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN = 398287669;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      UNKNOWN = 433141802;
      See Also:
    • UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION_VALUE

      public static final int UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION_VALUE
       Autoscaling does not work with an HTTP/S load balancer that has been
       configured for maxRate.
       
      UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION = 330845009;
      See Also:
    • ZONE_RESOURCE_STOCKOUT_VALUE

      public static final int ZONE_RESOURCE_STOCKOUT_VALUE
       For zonal autoscalers: there is a resource stockout in the chosen zone.
       For regional autoscalers: in at least one of the zones you're using there
       is a resource stockout.
       
      ZONE_RESOURCE_STOCKOUT = 210200502;
      See Also:
  • Method Details

    • values

      public static AutoscalerStatusDetails.Type[] 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 AutoscalerStatusDetails.Type 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 AutoscalerStatusDetails.Type 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 AutoscalerStatusDetails.Type 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<AutoscalerStatusDetails.Type> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static AutoscalerStatusDetails.Type 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