Interface V2beta2Autoscaling.HPAScalingPolicyOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    PeriodSeconds specifies the window of time for which the policy should hold true.
    Type is used to specify the scaling policy.
    com.google.protobuf.ByteString
    Type is used to specify the scaling policy.
    int
    Value contains the amount of change which is permitted by the policy.
    boolean
    PeriodSeconds specifies the window of time for which the policy should hold true.
    boolean
    Type is used to specify the scaling policy.
    boolean
    Value contains the amount of change which is permitted by the policy.

    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

    • hasType

      boolean hasType()
       Type is used to specify the scaling policy.
       
      optional string type = 1;
    • getType

      String getType()
       Type is used to specify the scaling policy.
       
      optional string type = 1;
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       Type is used to specify the scaling policy.
       
      optional string type = 1;
    • hasValue

      boolean hasValue()
       Value contains the amount of change which is permitted by the policy.
       It must be greater than zero
       
      optional int32 value = 2;
    • getValue

      int getValue()
       Value contains the amount of change which is permitted by the policy.
       It must be greater than zero
       
      optional int32 value = 2;
    • hasPeriodSeconds

      boolean hasPeriodSeconds()
       PeriodSeconds specifies the window of time for which the policy should hold true.
       PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
       
      optional int32 periodSeconds = 3;
    • getPeriodSeconds

      int getPeriodSeconds()
       PeriodSeconds specifies the window of time for which the policy should hold true.
       PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
       
      optional int32 periodSeconds = 3;