Interface AutoscalingPolicyScaleInControlOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AutoscalingPolicyScaleInControl, AutoscalingPolicyScaleInControl.Builder

@Generated public interface AutoscalingPolicyScaleInControlOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
    Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
    int
    How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.
    boolean
    Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations.
    boolean
    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.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.