Package io.kubernetes.client.proto
Class V1Apps.StatefulSetStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1Apps.StatefulSetStatus
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Apps.StatefulSetStatusOrBuilder,Serializable
- Enclosing class:
- V1Apps
public static final class V1Apps.StatefulSetStatus
extends com.google.protobuf.GeneratedMessageV3
implements V1Apps.StatefulSetStatusOrBuilder
StatefulSetStatus represents the current state of a StatefulSet.Protobuf type
k8s.io.api.apps.v1.StatefulSetStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStatefulSetStatus represents the current state of a StatefulSet.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 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<V1Apps.StatefulSetStatus>Deprecated.static final intstatic final intstatic final intstatic final intFields 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 TypeMethodDescriptionbooleanintTotal number of available pods (ready for at least minReadySeconds) targeted by this statefulset.intcollisionCount is the count of hash collisions for the StatefulSet.getConditions(int index) Represents the latest available observations of a statefulset's current state.intRepresents the latest available observations of a statefulset's current state.Represents the latest available observations of a statefulset's current state.getConditionsOrBuilder(int index) Represents the latest available observations of a statefulset's current state.List<? extends V1Apps.StatefulSetConditionOrBuilder>Represents the latest available observations of a statefulset's current state.intcurrentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).com.google.protobuf.ByteStringcurrentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).static V1Apps.StatefulSetStatusstatic final com.google.protobuf.Descriptors.DescriptorlongobservedGeneration is the most recent generation observed for this StatefulSet.com.google.protobuf.Parser<V1Apps.StatefulSetStatus>intreadyReplicas is the number of pods created for this StatefulSet with a Ready Condition.intreplicas is the number of Pods created by the StatefulSet controller.intfinal com.google.protobuf.UnknownFieldSetintupdatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)com.google.protobuf.ByteStringupdateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)booleanTotal number of available pods (ready for at least minReadySeconds) targeted by this statefulset.booleancollisionCount is the count of hash collisions for the StatefulSet.booleancurrentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.booleancurrentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).inthashCode()booleanobservedGeneration is the most recent generation observed for this StatefulSet.booleanreadyReplicas is the number of pods created for this StatefulSet with a Ready Condition.booleanreplicas is the number of Pods created by the StatefulSet controller.booleanupdatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.booleanupdateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(V1Apps.StatefulSetStatus prototype) protected V1Apps.StatefulSetStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1Apps.StatefulSetStatusparseDelimitedFrom(InputStream input) static V1Apps.StatefulSetStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatusparseFrom(byte[] data) static V1Apps.StatefulSetStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatusparseFrom(com.google.protobuf.ByteString data) static V1Apps.StatefulSetStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatusparseFrom(com.google.protobuf.CodedInputStream input) static V1Apps.StatefulSetStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatusparseFrom(InputStream input) static V1Apps.StatefulSetStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatusparseFrom(ByteBuffer data) static V1Apps.StatefulSetStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1Apps.StatefulSetStatus>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, 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:
-
REPLICAS_FIELD_NUMBER
public static final int REPLICAS_FIELD_NUMBER- See Also:
-
READYREPLICAS_FIELD_NUMBER
public static final int READYREPLICAS_FIELD_NUMBER- See Also:
-
CURRENTREPLICAS_FIELD_NUMBER
public static final int CURRENTREPLICAS_FIELD_NUMBER- See Also:
-
UPDATEDREPLICAS_FIELD_NUMBER
public static final int UPDATEDREPLICAS_FIELD_NUMBER- See Also:
-
CURRENTREVISION_FIELD_NUMBER
public static final int CURRENTREVISION_FIELD_NUMBER- See Also:
-
UPDATEREVISION_FIELD_NUMBER
public static final int UPDATEREVISION_FIELD_NUMBER- See Also:
-
COLLISIONCOUNT_FIELD_NUMBER
public static final int COLLISIONCOUNT_FIELD_NUMBER- See Also:
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER- See Also:
-
AVAILABLEREPLICAS_FIELD_NUMBER
public static final int AVAILABLEREPLICAS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
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 for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. +optional
optional int64 observedGeneration = 1;- Specified by:
hasObservedGenerationin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getObservedGeneration
public long getObservedGeneration()observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. +optional
optional int64 observedGeneration = 1;- Specified by:
getObservedGenerationin interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasReplicas
public boolean hasReplicas()replicas is the number of Pods created by the StatefulSet controller.
optional int32 replicas = 2;- Specified by:
hasReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getReplicas
public int getReplicas()replicas is the number of Pods created by the StatefulSet controller.
optional int32 replicas = 2;- Specified by:
getReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasReadyReplicas
public boolean hasReadyReplicas()readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
optional int32 readyReplicas = 3;- Specified by:
hasReadyReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getReadyReplicas
public int getReadyReplicas()readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
optional int32 readyReplicas = 3;- Specified by:
getReadyReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasCurrentReplicas
public boolean hasCurrentReplicas()currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
optional int32 currentReplicas = 4;- Specified by:
hasCurrentReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getCurrentReplicas
public int getCurrentReplicas()currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
optional int32 currentReplicas = 4;- Specified by:
getCurrentReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasUpdatedReplicas
public boolean hasUpdatedReplicas()updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
optional int32 updatedReplicas = 5;- Specified by:
hasUpdatedReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getUpdatedReplicas
public int getUpdatedReplicas()updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
optional int32 updatedReplicas = 5;- Specified by:
getUpdatedReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasCurrentRevision
public boolean hasCurrentRevision()currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
optional string currentRevision = 6;- Specified by:
hasCurrentRevisionin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getCurrentRevision
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
optional string currentRevision = 6;- Specified by:
getCurrentRevisionin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getCurrentRevisionBytes
public com.google.protobuf.ByteString getCurrentRevisionBytes()currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
optional string currentRevision = 6;- Specified by:
getCurrentRevisionBytesin interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasUpdateRevision
public boolean hasUpdateRevision()updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
optional string updateRevision = 7;- Specified by:
hasUpdateRevisionin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getUpdateRevision
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
optional string updateRevision = 7;- Specified by:
getUpdateRevisionin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getUpdateRevisionBytes
public com.google.protobuf.ByteString getUpdateRevisionBytes()updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
optional string updateRevision = 7;- Specified by:
getUpdateRevisionBytesin interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasCollisionCount
public boolean hasCollisionCount()collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. +optional
optional int32 collisionCount = 9;- Specified by:
hasCollisionCountin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getCollisionCount
public int getCollisionCount()collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. +optional
optional int32 collisionCount = 9;- Specified by:
getCollisionCountin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getConditionsList
Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.StatefulSetCondition conditions = 10;- Specified by:
getConditionsListin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getConditionsOrBuilderList
Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.StatefulSetCondition conditions = 10;- Specified by:
getConditionsOrBuilderListin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getConditionsCount
public int getConditionsCount()Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.StatefulSetCondition conditions = 10;- Specified by:
getConditionsCountin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getConditions
Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.StatefulSetCondition conditions = 10;- Specified by:
getConditionsin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getConditionsOrBuilder
Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1.StatefulSetCondition conditions = 10;- Specified by:
getConditionsOrBuilderin interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasAvailableReplicas
public boolean hasAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
optional int32 availableReplicas = 11;- Specified by:
hasAvailableReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
getAvailableReplicas
public int getAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
optional int32 availableReplicas = 11;- Specified by:
getAvailableReplicasin interfaceV1Apps.StatefulSetStatusOrBuilder
-
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 V1Apps.StatefulSetStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Apps.StatefulSetStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Apps.StatefulSetStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Apps.StatefulSetStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Apps.StatefulSetStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Apps.StatefulSetStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1Apps.StatefulSetStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1Apps.StatefulSetStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1Apps.StatefulSetStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1Apps.StatefulSetStatus 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1Apps.StatefulSetStatus.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
-