public static final class V1Autoscaling.HorizontalPodAutoscalerStatus extends com.google.protobuf.GeneratedMessageV3 implements V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
current status of a horizontal pod autoscalerProtobuf type
k8s.io.api.autoscaling.v1.HorizontalPodAutoscalerStatus| Modifier and Type | Class and Description |
|---|---|
static class |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder
current status of a horizontal pod autoscaler
|
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 int |
CURRENTCPUUTILIZATIONPERCENTAGE_FIELD_NUMBER |
static int |
CURRENTREPLICAS_FIELD_NUMBER |
static int |
DESIREDREPLICAS_FIELD_NUMBER |
static int |
LASTSCALETIME_FIELD_NUMBER |
static int |
OBSERVEDGENERATION_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static V1Autoscaling.HorizontalPodAutoscalerStatus |
getDefaultInstance() |
V1Autoscaling.HorizontalPodAutoscalerStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.
|
com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
newBuilder() |
static V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
newBuilder(V1Autoscaling.HorizontalPodAutoscalerStatus prototype) |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
newBuilderForType() |
protected V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseDelimitedFrom(InputStream input) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(byte[] data) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(ByteBuffer data) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(com.google.protobuf.ByteString data) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(InputStream input) |
static V1Autoscaling.HorizontalPodAutoscalerStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus> |
parser() |
V1Autoscaling.HorizontalPodAutoscalerStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 OBSERVEDGENERATION_FIELD_NUMBER
public static final int LASTSCALETIME_FIELD_NUMBER
public static final int CURRENTREPLICAS_FIELD_NUMBER
public static final int DESIREDREPLICAS_FIELD_NUMBER
public static final int CURRENTCPUUTILIZATIONPERCENTAGE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus> 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 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 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 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 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 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 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 V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Autoscaling.HorizontalPodAutoscalerStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Autoscaling.HorizontalPodAutoscalerStatus.Builder newBuilder()
public static V1Autoscaling.HorizontalPodAutoscalerStatus.Builder newBuilder(V1Autoscaling.HorizontalPodAutoscalerStatus prototype)
public V1Autoscaling.HorizontalPodAutoscalerStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Autoscaling.HorizontalPodAutoscalerStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Autoscaling.HorizontalPodAutoscalerStatus getDefaultInstance()
public static com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus> parser()
public com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Autoscaling.HorizontalPodAutoscalerStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.