public static final class V1Autoscaling.HorizontalPodAutoscalerStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder> implements V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
current status of a horizontal pod autoscalerProtobuf type
k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerStatus| Modifier and Type | Method and Description |
|---|---|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Autoscaling.HorizontalPodAutoscalerStatus |
build() |
V1Autoscaling.HorizontalPodAutoscalerStatus |
buildPartial() |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clear() |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clearCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU,
e.g.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clearCurrentReplicas()
current number of replicas of pods managed by this autoscaler.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clearDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clearLastScaleTime()
last time the HorizontalPodAutoscaler scaled the number of pods;
used by the autoscaler to control how often the number of pods is changed.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clearObservedGeneration()
most recent generation observed by this autoscaler.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
clone() |
int |
getCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU,
e.g.
|
int |
getCurrentReplicas()
current number of replicas of pods managed by this autoscaler.
|
V1Autoscaling.HorizontalPodAutoscalerStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.
|
Meta.Time |
getLastScaleTime()
last time the HorizontalPodAutoscaler scaled the number of pods;
used by the autoscaler to control how often the number of pods is changed.
|
Meta.Time.Builder |
getLastScaleTimeBuilder()
last time the HorizontalPodAutoscaler scaled the number of pods;
used by the autoscaler to control how often the number of pods is changed.
|
Meta.TimeOrBuilder |
getLastScaleTimeOrBuilder()
last time the HorizontalPodAutoscaler scaled the number of pods;
used by the autoscaler to control how often the number of pods is changed.
|
long |
getObservedGeneration()
most recent generation observed by this autoscaler.
|
boolean |
hasCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU,
e.g.
|
boolean |
hasCurrentReplicas()
current number of replicas of pods managed by this autoscaler.
|
boolean |
hasDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.
|
boolean |
hasLastScaleTime()
last time the HorizontalPodAutoscaler scaled the number of pods;
used by the autoscaler to control how often the number of pods is changed.
|
boolean |
hasObservedGeneration()
most recent generation observed by this autoscaler.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
mergeFrom(V1Autoscaling.HorizontalPodAutoscalerStatus other) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
mergeLastScaleTime(Meta.Time value)
last time the HorizontalPodAutoscaler scaled the number of pods;
used by the autoscaler to control how often the number of pods is changed.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setCurrentCPUUtilizationPercentage(int value)
current average CPU utilization over all pods, represented as a percentage of requested CPU,
e.g.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setCurrentReplicas(int value)
current number of replicas of pods managed by this autoscaler.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setDesiredReplicas(int value)
desired number of replicas of pods managed by this autoscaler.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setLastScaleTime(Meta.Time.Builder builderForValue)
last time the HorizontalPodAutoscaler scaled the number of pods;
used by the autoscaler to control how often the number of pods is changed.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setLastScaleTime(Meta.Time value)
last time the HorizontalPodAutoscaler scaled the number of pods;
used by the autoscaler to control how often the number of pods is changed.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setObservedGeneration(long value)
most recent generation observed by this autoscaler.
|
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Autoscaling.HorizontalPodAutoscalerStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Autoscaling.HorizontalPodAutoscalerStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder mergeFrom(V1Autoscaling.HorizontalPodAutoscalerStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>IOExceptionpublic boolean hasObservedGeneration()
most recent generation observed by this autoscaler. +optional
optional int64 observedGeneration = 1;hasObservedGeneration in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic long getObservedGeneration()
most recent generation observed by this autoscaler. +optional
optional int64 observedGeneration = 1;getObservedGeneration in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setObservedGeneration(long value)
most recent generation observed by this autoscaler. +optional
optional int64 observedGeneration = 1;public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clearObservedGeneration()
most recent generation observed by this autoscaler. +optional
optional int64 observedGeneration = 1;public boolean hasLastScaleTime()
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;hasLastScaleTime in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic Meta.Time getLastScaleTime()
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;getLastScaleTime in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setLastScaleTime(Meta.Time value)
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setLastScaleTime(Meta.Time.Builder builderForValue)
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder mergeLastScaleTime(Meta.Time value)
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clearLastScaleTime()
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;public Meta.Time.Builder getLastScaleTimeBuilder()
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;public Meta.TimeOrBuilder getLastScaleTimeOrBuilder()
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;getLastScaleTimeOrBuilder in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic boolean hasCurrentReplicas()
current number of replicas of pods managed by this autoscaler.
optional int32 currentReplicas = 3;hasCurrentReplicas in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic int getCurrentReplicas()
current number of replicas of pods managed by this autoscaler.
optional int32 currentReplicas = 3;getCurrentReplicas in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setCurrentReplicas(int value)
current number of replicas of pods managed by this autoscaler.
optional int32 currentReplicas = 3;public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clearCurrentReplicas()
current number of replicas of pods managed by this autoscaler.
optional int32 currentReplicas = 3;public boolean hasDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.
optional int32 desiredReplicas = 4;hasDesiredReplicas in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic int getDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.
optional int32 desiredReplicas = 4;getDesiredReplicas in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setDesiredReplicas(int value)
desired number of replicas of pods managed by this autoscaler.
optional int32 desiredReplicas = 4;public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clearDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.
optional int32 desiredReplicas = 4;public boolean hasCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. +optional
optional int32 currentCPUUtilizationPercentage = 5;hasCurrentCPUUtilizationPercentage in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic int getCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. +optional
optional int32 currentCPUUtilizationPercentage = 5;getCurrentCPUUtilizationPercentage in interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilderpublic V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setCurrentCPUUtilizationPercentage(int value)
current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. +optional
optional int32 currentCPUUtilizationPercentage = 5;public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder clearCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. +optional
optional int32 currentCPUUtilizationPercentage = 5;public final V1Autoscaling.HorizontalPodAutoscalerStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>public final V1Autoscaling.HorizontalPodAutoscalerStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.HorizontalPodAutoscalerStatus.Builder>Copyright © 2021. All rights reserved.