Package io.kubernetes.client.proto
Class V1beta2Apps.StatefulSetStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1beta2Apps.StatefulSetStatus
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta2Apps.StatefulSetStatusOrBuilder,Serializable
- Enclosing class:
- V1beta2Apps
public static final class V1beta2Apps.StatefulSetStatus
extends com.google.protobuf.GeneratedMessageV3
implements V1beta2Apps.StatefulSetStatusOrBuilder
StatefulSetStatus represents the current state of a StatefulSet.Protobuf type
k8s.io.api.apps.v1beta2.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<V1beta2Apps.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 V1beta2Apps.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 final com.google.protobuf.Descriptors.DescriptorlongobservedGeneration is the most recent generation observed for this StatefulSet.com.google.protobuf.Parser<V1beta2Apps.StatefulSetStatus>intreadyReplicas is the number of pods created by this StatefulSet controller 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 by this StatefulSet controller 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(V1beta2Apps.StatefulSetStatus prototype) protected V1beta2Apps.StatefulSetStatus.BuildernewBuilderForType(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<V1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.StatefulSetStatusOrBuilder
-
hasReplicas
public boolean hasReplicas()replicas is the number of Pods created by the StatefulSet controller.
optional int32 replicas = 2;- Specified by:
hasReplicasin interfaceV1beta2Apps.StatefulSetStatusOrBuilder
-
getReplicas
public int getReplicas()replicas is the number of Pods created by the StatefulSet controller.
optional int32 replicas = 2;- Specified by:
getReplicasin interfaceV1beta2Apps.StatefulSetStatusOrBuilder
-
hasReadyReplicas
public boolean hasReadyReplicas()readyReplicas is the number of pods created by this StatefulSet controller with a Ready Condition.
optional int32 readyReplicas = 3;- Specified by:
hasReadyReplicasin interfaceV1beta2Apps.StatefulSetStatusOrBuilder
-
getReadyReplicas
public int getReadyReplicas()readyReplicas is the number of pods created by this StatefulSet controller with a Ready Condition.
optional int32 readyReplicas = 3;- Specified by:
getReadyReplicasin interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.StatefulSetStatusOrBuilder
-
getConditionsList
Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta2.StatefulSetCondition conditions = 10;- Specified by:
getConditionsListin interfaceV1beta2Apps.StatefulSetStatusOrBuilder
-
getConditionsOrBuilderList
Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta2.StatefulSetCondition conditions = 10;- Specified by:
getConditionsOrBuilderListin interfaceV1beta2Apps.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.v1beta2.StatefulSetCondition conditions = 10;- Specified by:
getConditionsCountin interfaceV1beta2Apps.StatefulSetStatusOrBuilder
-
getConditions
Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta2.StatefulSetCondition conditions = 10;- Specified by:
getConditionsin interfaceV1beta2Apps.StatefulSetStatusOrBuilder
-
getConditionsOrBuilder
Represents the latest available observations of a statefulset's current state. +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.apps.v1beta2.StatefulSetCondition conditions = 10;- Specified by:
getConditionsOrBuilderin interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 interfaceV1beta2Apps.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 V1beta2Apps.StatefulSetStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta2Apps.StatefulSetStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta2Apps.StatefulSetStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta2Apps.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 V1beta2Apps.StatefulSetStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta2Apps.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 V1beta2Apps.StatefulSetStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1beta2Apps.StatefulSetStatus parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1beta2Apps.StatefulSetStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1beta2Apps.StatefulSetStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1beta2Apps.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
public static V1beta2Apps.StatefulSetStatus.Builder newBuilder(V1beta2Apps.StatefulSetStatus prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1beta2Apps.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
-