Package io.kubernetes.client.proto
Class V2beta1Autoscaling.HorizontalPodAutoscalerStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V2beta1Autoscaling.HorizontalPodAutoscalerStatus
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder,Serializable
- Enclosing class:
- V2beta1Autoscaling
public static final class V2beta1Autoscaling.HorizontalPodAutoscalerStatus
extends com.google.protobuf.GeneratedMessageV3
implements V2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.Protobuf type
k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.Nested 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 intstatic final com.google.protobuf.Parser<V2beta1Autoscaling.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 TypeMethodDescriptionbooleangetConditions(int index) conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.intconditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.getConditionsOrBuilder(int index) conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.getCurrentMetrics(int index) currentMetrics is the last read state of the metrics used by this autoscaler.intcurrentMetrics is the last read state of the metrics used by this autoscaler.currentMetrics is the last read state of the metrics used by this autoscaler.getCurrentMetricsOrBuilder(int index) currentMetrics is the last read state of the metrics used by this autoscaler.List<? extends V2beta1Autoscaling.MetricStatusOrBuilder>currentMetrics is the last read state of the metrics used by this autoscaler.intcurrentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.static final com.google.protobuf.Descriptors.DescriptorintdesiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.longobservedGeneration is the most recent generation observed by this autoscaler.com.google.protobuf.Parser<V2beta1Autoscaling.HorizontalPodAutoscalerStatus>intfinal com.google.protobuf.UnknownFieldSetbooleancurrentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.booleandesiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.inthashCode()booleanlastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.booleanobservedGeneration is the most 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<V2beta1Autoscaling.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:
-
CURRENTMETRICS_FIELD_NUMBER
public static final int CURRENTMETRICS_FIELD_NUMBER- See Also:
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<V2beta1Autoscaling.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()observedGeneration is the most recent generation observed by this autoscaler. +optional
optional int64 observedGeneration = 1;- Specified by:
hasObservedGenerationin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getObservedGeneration
public long getObservedGeneration()observedGeneration is the most recent generation observed by this autoscaler. +optional
optional int64 observedGeneration = 1;- Specified by:
getObservedGenerationin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
hasLastScaleTime
public boolean hasLastScaleTime()lastScaleTime is the 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 interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getLastScaleTime
lastScaleTime is the 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 interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getLastScaleTimeOrBuilder
lastScaleTime is the 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 interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
hasCurrentReplicas
public boolean hasCurrentReplicas()currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
optional int32 currentReplicas = 3;- Specified by:
hasCurrentReplicasin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getCurrentReplicas
public int getCurrentReplicas()currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
optional int32 currentReplicas = 3;- Specified by:
getCurrentReplicasin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
hasDesiredReplicas
public boolean hasDesiredReplicas()desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
optional int32 desiredReplicas = 4;- Specified by:
hasDesiredReplicasin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getDesiredReplicas
public int getDesiredReplicas()desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
optional int32 desiredReplicas = 4;- Specified by:
getDesiredReplicasin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getCurrentMetricsList
currentMetrics is the last read state of the metrics used by this autoscaler. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricStatus currentMetrics = 5;- Specified by:
getCurrentMetricsListin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getCurrentMetricsOrBuilderList
currentMetrics is the last read state of the metrics used by this autoscaler. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricStatus currentMetrics = 5;- Specified by:
getCurrentMetricsOrBuilderListin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getCurrentMetricsCount
public int getCurrentMetricsCount()currentMetrics is the last read state of the metrics used by this autoscaler. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricStatus currentMetrics = 5;- Specified by:
getCurrentMetricsCountin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getCurrentMetrics
currentMetrics is the last read state of the metrics used by this autoscaler. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricStatus currentMetrics = 5;- Specified by:
getCurrentMetricsin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getCurrentMetricsOrBuilder
currentMetrics is the last read state of the metrics used by this autoscaler. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricStatus currentMetrics = 5;- Specified by:
getCurrentMetricsOrBuilderin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getConditionsList
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. +optional
repeated .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition conditions = 6;- Specified by:
getConditionsListin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getConditionsOrBuilderList
public List<? extends V2beta1Autoscaling.HorizontalPodAutoscalerConditionOrBuilder> getConditionsOrBuilderList()conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. +optional
repeated .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition conditions = 6;- Specified by:
getConditionsOrBuilderListin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getConditionsCount
public int getConditionsCount()conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. +optional
repeated .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition conditions = 6;- Specified by:
getConditionsCountin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getConditions
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. +optional
repeated .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition conditions = 6;- Specified by:
getConditionsin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder
-
getConditionsOrBuilder
public V2beta1Autoscaling.HorizontalPodAutoscalerConditionOrBuilder getConditionsOrBuilder(int index) conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. +optional
repeated .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition conditions = 6;- Specified by:
getConditionsOrBuilderin interfaceV2beta1Autoscaling.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 V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V2beta1Autoscaling.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 V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V2beta1Autoscaling.HorizontalPodAutoscalerStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V2beta1Autoscaling.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 V2beta1Autoscaling.HorizontalPodAutoscalerStatus.Builder newBuilder(V2beta1Autoscaling.HorizontalPodAutoscalerStatus prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V2beta1Autoscaling.HorizontalPodAutoscalerStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
public com.google.protobuf.Parser<V2beta1Autoscaling.HorizontalPodAutoscalerStatus> 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
-