Interface V2beta2Autoscaling.HPAScalingRulesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V2beta2Autoscaling.HPAScalingRules, V2beta2Autoscaling.HPAScalingRules.Builder
Enclosing class:
V2beta2Autoscaling

public static interface V2beta2Autoscaling.HPAScalingRulesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getPolicies(int index)
    policies is a list of potential scaling polices which can be used during scaling.
    int
    policies is a list of potential scaling polices which can be used during scaling.
    policies is a list of potential scaling polices which can be used during scaling.
    policies is a list of potential scaling polices which can be used during scaling.
    policies is a list of potential scaling polices which can be used during scaling.
    selectPolicy is used to specify which policy should be used.
    com.google.protobuf.ByteString
    selectPolicy is used to specify which policy should be used.
    int
    StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down.
    boolean
    selectPolicy is used to specify which policy should be used.
    boolean
    StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down.

    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

    • hasStabilizationWindowSeconds

      boolean hasStabilizationWindowSeconds()
       StabilizationWindowSeconds is the number of seconds for which past recommendations should be
       considered while scaling up or scaling down.
       StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
       If not set, use the default values:
       - For scale up: 0 (i.e. no stabilization is done).
       - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
       +optional
       
      optional int32 stabilizationWindowSeconds = 3;
    • getStabilizationWindowSeconds

      int getStabilizationWindowSeconds()
       StabilizationWindowSeconds is the number of seconds for which past recommendations should be
       considered while scaling up or scaling down.
       StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
       If not set, use the default values:
       - For scale up: 0 (i.e. no stabilization is done).
       - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
       +optional
       
      optional int32 stabilizationWindowSeconds = 3;
    • hasSelectPolicy

      boolean hasSelectPolicy()
       selectPolicy is used to specify which policy should be used.
       If not set, the default value MaxPolicySelect is used.
       +optional
       
      optional string selectPolicy = 1;
    • getSelectPolicy

      String getSelectPolicy()
       selectPolicy is used to specify which policy should be used.
       If not set, the default value MaxPolicySelect is used.
       +optional
       
      optional string selectPolicy = 1;
    • getSelectPolicyBytes

      com.google.protobuf.ByteString getSelectPolicyBytes()
       selectPolicy is used to specify which policy should be used.
       If not set, the default value MaxPolicySelect is used.
       +optional
       
      optional string selectPolicy = 1;
    • getPoliciesList

       policies is a list of potential scaling polices which can be used during scaling.
       At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
       +optional
       
      repeated .k8s.io.api.autoscaling.v2beta2.HPAScalingPolicy policies = 2;
    • getPolicies

      V2beta2Autoscaling.HPAScalingPolicy getPolicies(int index)
       policies is a list of potential scaling polices which can be used during scaling.
       At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
       +optional
       
      repeated .k8s.io.api.autoscaling.v2beta2.HPAScalingPolicy policies = 2;
    • getPoliciesCount

      int getPoliciesCount()
       policies is a list of potential scaling polices which can be used during scaling.
       At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
       +optional
       
      repeated .k8s.io.api.autoscaling.v2beta2.HPAScalingPolicy policies = 2;
    • getPoliciesOrBuilderList

      List<? extends V2beta2Autoscaling.HPAScalingPolicyOrBuilder> getPoliciesOrBuilderList()
       policies is a list of potential scaling polices which can be used during scaling.
       At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
       +optional
       
      repeated .k8s.io.api.autoscaling.v2beta2.HPAScalingPolicy policies = 2;
    • getPoliciesOrBuilder

      V2beta2Autoscaling.HPAScalingPolicyOrBuilder getPoliciesOrBuilder(int index)
       policies is a list of potential scaling polices which can be used during scaling.
       At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
       +optional
       
      repeated .k8s.io.api.autoscaling.v2beta2.HPAScalingPolicy policies = 2;