Package io.kubernetes.client.proto
Class V1Autoscaling.HorizontalPodAutoscalerStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1Autoscaling.HorizontalPodAutoscalerStatus
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder,Serializable
- Enclosing class:
- V1Autoscaling
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classcurrent status of a horizontal pod autoscalerNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus>Deprecated.Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintcurrent average CPU utilization over all pods, represented as a percentage of requested CPU, e.g.intcurrent number of replicas of pods managed by this autoscaler.static final com.google.protobuf.Descriptors.Descriptorintdesired number of replicas of pods managed by this autoscaler.last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.longmost recent generation observed by this autoscaler.com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus>intfinal com.google.protobuf.UnknownFieldSetbooleancurrent average CPU utilization over all pods, represented as a percentage of requested CPU, e.g.booleancurrent number of replicas of pods managed by this autoscaler.booleandesired number of replicas of pods managed by this autoscaler.inthashCode()booleanlast time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.booleanmost recent generation observed by this autoscaler.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
OBSERVEDGENERATION_FIELD_NUMBER
public static final int OBSERVEDGENERATION_FIELD_NUMBER- See Also:
-
LASTSCALETIME_FIELD_NUMBER
public static final int LASTSCALETIME_FIELD_NUMBER- See Also:
-
CURRENTREPLICAS_FIELD_NUMBER
public static final int CURRENTREPLICAS_FIELD_NUMBER- See Also:
-
DESIREDREPLICAS_FIELD_NUMBER
public static final int DESIREDREPLICAS_FIELD_NUMBER- See Also:
-
CURRENTCPUUTILIZATIONPERCENTAGE_FIELD_NUMBER
public static final int CURRENTCPUUTILIZATIONPERCENTAGE_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<V1Autoscaling.HorizontalPodAutoscalerStatus> PARSERDeprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasObservedGeneration
public boolean hasObservedGeneration()most recent generation observed by this autoscaler. +optional
optional int64 observedGeneration = 1;- Specified by:
hasObservedGenerationin interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getObservedGeneration
public long getObservedGeneration()most recent generation observed by this autoscaler. +optional
optional int64 observedGeneration = 1;- Specified by:
getObservedGenerationin interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
hasLastScaleTime
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;- Specified by:
hasLastScaleTimein interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
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;- Specified by:
getLastScaleTimein interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
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;- Specified by:
getLastScaleTimeOrBuilderin interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
hasCurrentReplicas
public boolean hasCurrentReplicas()current number of replicas of pods managed by this autoscaler.
optional int32 currentReplicas = 3;- Specified by:
hasCurrentReplicasin interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getCurrentReplicas
public int getCurrentReplicas()current number of replicas of pods managed by this autoscaler.
optional int32 currentReplicas = 3;- Specified by:
getCurrentReplicasin interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
hasDesiredReplicas
public boolean hasDesiredReplicas()desired number of replicas of pods managed by this autoscaler.
optional int32 desiredReplicas = 4;- Specified by:
hasDesiredReplicasin interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getDesiredReplicas
public int getDesiredReplicas()desired number of replicas of pods managed by this autoscaler.
optional int32 desiredReplicas = 4;- Specified by:
getDesiredReplicasin interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
hasCurrentCPUUtilizationPercentage
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;- Specified by:
hasCurrentCPUUtilizationPercentagein interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getCurrentCPUUtilizationPercentage
public 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;- Specified by:
getCurrentCPUUtilizationPercentagein interfaceV1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static V1Autoscaling.HorizontalPodAutoscalerStatus.Builder newBuilder(V1Autoscaling.HorizontalPodAutoscalerStatus prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1Autoscaling.HorizontalPodAutoscalerStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-