Package io.kubernetes.client.proto
Class V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
io.kubernetes.client.proto.V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilder,Cloneable
- Enclosing class:
- V2beta2Autoscaling.HorizontalPodAutoscalerBehavior
public static final class V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) scaleDown is scaling policy for scaling Down.scaleUp is scaling policy for scaling Up.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorscaleDown is scaling policy for scaling Down.scaleDown is scaling policy for scaling Down.scaleDown is scaling policy for scaling Down.scaleUp is scaling policy for scaling Up.scaleUp is scaling policy for scaling Up.scaleUp is scaling policy for scaling Up.booleanscaleDown is scaling policy for scaling Down.booleanscaleUp is scaling policy for scaling Up.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) scaleDown is scaling policy for scaling Down.scaleUp is scaling policy for scaling Up.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) scaleDown is scaling policy for scaling Down.setScaleDown(V2beta2Autoscaling.HPAScalingRules.Builder builderForValue) scaleDown is scaling policy for scaling Down.scaleUp is scaling policy for scaling Up.setScaleUp(V2beta2Autoscaling.HPAScalingRules.Builder builderForValue) scaleUp is scaling policy for scaling Up.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
setField
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
clearField
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
clearOneof
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
setRepeatedField
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
addRepeatedField
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
mergeFrom
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
mergeFrom
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>- Throws:
IOException
-
hasScaleUp
public 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;- Specified by:
hasScaleUpin interfaceV2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilder
-
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;- Specified by:
getScaleUpin interfaceV2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilder
-
setScaleUp
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder setScaleUp(V2beta2Autoscaling.HPAScalingRules value) 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; -
setScaleUp
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder setScaleUp(V2beta2Autoscaling.HPAScalingRules.Builder builderForValue) 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; -
mergeScaleUp
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder mergeScaleUp(V2beta2Autoscaling.HPAScalingRules value) 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; -
clearScaleUp
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; -
getScaleUpBuilder
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
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;- Specified by:
getScaleUpOrBuilderin interfaceV2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilder
-
hasScaleDown
public 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;- Specified by:
hasScaleDownin interfaceV2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilder
-
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;- Specified by:
getScaleDownin interfaceV2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilder
-
setScaleDown
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder setScaleDown(V2beta2Autoscaling.HPAScalingRules value) 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; -
setScaleDown
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder setScaleDown(V2beta2Autoscaling.HPAScalingRules.Builder builderForValue) 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; -
mergeScaleDown
public V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder mergeScaleDown(V2beta2Autoscaling.HPAScalingRules value) 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; -
clearScaleDown
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; -
getScaleDownBuilder
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
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;- Specified by:
getScaleDownOrBuilderin interfaceV2beta2Autoscaling.HorizontalPodAutoscalerBehaviorOrBuilder
-
setUnknownFields
public final V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-
mergeUnknownFields
public final V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.HorizontalPodAutoscalerBehavior.Builder>
-