public static final class V2beta2Autoscaling.HorizontalPodAutoscalerBehavior extends com.google.protobuf.GeneratedMessageV3 implements V2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilder
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).Protobuf type
k8s.io.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior| Modifier and Type | Class and Description |
|---|---|
static class |
V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target
in both Up and Down directions (scaleUp and scaleDown fields respectively).
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.Parser<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior> |
PARSER
Deprecated.
|
static int |
SCALEDOWN_FIELD_NUMBER |
static int |
SCALEUP_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SCALEUP_FIELD_NUMBER
public static final int SCALEDOWN_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasScaleUp()
scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of: * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used. +optional
optional .k8s.io.api.autoscaling.v2beta2.HPAScalingRules scaleUp = 1;hasScaleUp in interface V2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilderpublic V2beta2Autoscaling.HPAScalingRules getScaleUp()
scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of: * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used. +optional
optional .k8s.io.api.autoscaling.v2beta2.HPAScalingRules scaleUp = 1;getScaleUp in interface V2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilderpublic V2beta2Autoscaling.HPAScalingRulesOrBuilder getScaleUpOrBuilder()
scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of: * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used. +optional
optional .k8s.io.api.autoscaling.v2beta2.HPAScalingRules scaleUp = 1;getScaleUpOrBuilder in interface V2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilderpublic boolean hasScaleDown()
scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used). +optional
optional .k8s.io.api.autoscaling.v2beta2.HPAScalingRules scaleDown = 2;hasScaleDown in interface V2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilderpublic V2beta2Autoscaling.HPAScalingRules getScaleDown()
scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used). +optional
optional .k8s.io.api.autoscaling.v2beta2.HPAScalingRules scaleDown = 2;getScaleDown in interface V2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilderpublic V2beta2Autoscaling.HPAScalingRulesOrBuilder getScaleDownOrBuilder()
scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used). +optional
optional .k8s.io.api.autoscaling.v2beta2.HPAScalingRules scaleDown = 2;getScaleDownOrBuilder in interface V2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(InputStream input) throws IOException
IOExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder newBuilder()
public static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder newBuilder(V2beta2Autoscaling.HorizontalPodAutoscalerBehavior prototype)
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V2beta2Autoscaling.HorizontalPodAutoscalerBehavior getDefaultInstance()
public static com.google.protobuf.Parser<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior> parser()
public com.google.protobuf.Parser<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.