Package io.kubernetes.client.proto
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 TypeMethodDescriptionintPeriodSeconds specifies the window of time for which the policy should hold true.getType()Type is used to specify the scaling policy.com.google.protobuf.ByteStringType is used to specify the scaling policy.intgetValue()Value contains the amount of change which is permitted by the policy.booleanPeriodSeconds specifies the window of time for which the policy should hold true.booleanhasType()Type is used to specify the scaling policy.booleanhasValue()Value contains the amount of change which is permitted by the policy.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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;
-