Package com.google.cloud.compute.v1
Interface AutoscalingPolicyScaleInControlOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutoscalingPolicyScaleInControl
,AutoscalingPolicyScaleInControl.Builder
public interface AutoscalingPolicyScaleInControlOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FixedOrPercent
getMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.FixedOrPercentOrBuilder
getMaxScaledInReplicasOrBuilder()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.int
getTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.boolean
hasMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.boolean
hasTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMaxScaledInReplicas
boolean hasMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
- Returns:
- Whether the maxScaledInReplicas field is set.
-
getMaxScaledInReplicas
FixedOrPercent getMaxScaledInReplicas()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
- Returns:
- The maxScaledInReplicas.
-
getMaxScaledInReplicasOrBuilder
FixedOrPercentOrBuilder getMaxScaledInReplicasOrBuilder()
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;
-
hasTimeWindowSec
boolean hasTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
optional int32 time_window_sec = 36405300;
- Returns:
- Whether the timeWindowSec field is set.
-
getTimeWindowSec
int getTimeWindowSec()
How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
optional int32 time_window_sec = 36405300;
- Returns:
- The timeWindowSec.
-
-