Package com.google.cloud.compute.v1
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 Summary
Enum ConstantsEnum ConstantDescriptionAll instances in the instance group are unhealthy (not in RUNNING state).There is no backend service attached to the instance group.Autoscaler recommends a size greater than maxNumReplicas.The custom metric samples are not exported often enough to be a credible base for autoscaling.The custom metric that was specified does not exist or does not have the necessary labels.The minNumReplicas is equal to maxNumReplicas.The autoscaler did not receive any data from the custom metric configured for autoscaling.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.Autoscaling is turned off.Autoscaling is in the "Autoscale only scale out" mode.Autoscaling is in the "Autoscale only out" mode.The instance group cannot be autoscaled because it has more than one backend service attached to it.There is insufficient quota for the necessary resources, such as CPU or number of instances.Showed only for regional autoscalers: there is a resource stockout in the chosen region.The target to be scaled does not exist.For some scaling schedules minRequiredReplicas is greater than maxNumReplicas.For some scaling schedules minRequiredReplicas is less than minNumReplicas.A value indicating that the enum field is not set.UNKNOWN = 433141802;Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate.For zonal autoscalers: there is a resource stockout in the chosen zone. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAll instances in the instance group are unhealthy (not in RUNNING state).static final intThere is no backend service attached to the instance group.static final intAutoscaler recommends a size greater than maxNumReplicas.static final intThe custom metric samples are not exported often enough to be a credible base for autoscaling.static final intThe custom metric that was specified does not exist or does not have the necessary labels.static final intThe minNumReplicas is equal to maxNumReplicas.static final intThe autoscaler did not receive any data from the custom metric configured for autoscaling.static final intThe autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer.static final intAutoscaling is turned off.static final intAutoscaling is in the "Autoscale only scale out" mode.static final intAutoscaling is in the "Autoscale only out" mode.static final intThe instance group cannot be autoscaled because it has more than one backend service attached to it.static final intThere is insufficient quota for the necessary resources, such as CPU or number of instances.static final intShowed only for regional autoscalers: there is a resource stockout in the chosen region.static final intThe target to be scaled does not exist.static final intFor some scaling schedules minRequiredReplicas is greater than maxNumReplicas.static final intFor some scaling schedules minRequiredReplicas is less than minNumReplicas.static final intA value indicating that the enum field is not set.static final intUNKNOWN = 433141802;static final intAutoscaling does not work with an HTTP/S load balancer that has been configured for maxRate.static final intFor zonal autoscalers: there is a resource stockout in the chosen zone. -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoscalerStatusDetails.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AutoscalerStatusDetails.Type>static AutoscalerStatusDetails.TypevalueOf(int value) Deprecated.static AutoscalerStatusDetails.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static AutoscalerStatusDetails.TypeReturns the enum constant of this type with the specified name.static AutoscalerStatusDetails.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0; -
ALL_INSTANCES_UNHEALTHY
All instances in the instance group are unhealthy (not in RUNNING state).
ALL_INSTANCES_UNHEALTHY = 404965477; -
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
Autoscaler recommends a size greater than maxNumReplicas.
CAPPED_AT_MAX_NUM_REPLICAS = 518617; -
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
The custom metric that was specified does not exist or does not have the necessary labels.
CUSTOM_METRIC_INVALID = 204430550; -
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
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
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
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
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
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
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
There is insufficient quota for the necessary resources, such as CPU or number of instances.
NOT_ENOUGH_QUOTA_AVAILABLE = 403101631; -
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
The target to be scaled does not exist.
SCALING_TARGET_DOES_NOT_EXIST = 122636699; -
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
For some scaling schedules minRequiredReplicas is less than minNumReplicas. Autoscaler always recommends at least minNumReplicas instances.
SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN = 398287669; -
UNKNOWN
UNKNOWN = 433141802; -
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
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
-
-
Field Details
-
UNDEFINED_TYPE_VALUE
public static final int UNDEFINED_TYPE_VALUEA 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_VALUEAll 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_VALUEThere 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_VALUEAutoscaler 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEAutoscaling 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_VALUEAutoscaling 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_VALUEAutoscaling 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_VALUEThe 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_VALUEThere 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_VALUEShowed 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_VALUEThe 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_VALUEFor 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_VALUEFor 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_VALUEUNKNOWN = 433141802;- See Also:
-
UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION_VALUE
public static final int UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION_VALUEAutoscaling 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_VALUEFor 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
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<AutoscalerStatusDetails.Type> 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 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 nameNullPointerException- if the argument is null
-