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 class
StatefulSetStatus 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<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 int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<V1Apps.StatefulSetStatus>
Deprecated.static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.int
collisionCount is the count of hash collisions for the StatefulSet.getConditions
(int index) Represents the latest available observations of a statefulset's current state.int
Represents 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.int
currentReplicas 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.ByteString
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).static V1Apps.StatefulSetStatus
static final com.google.protobuf.Descriptors.Descriptor
long
observedGeneration is the most recent generation observed for this StatefulSet.com.google.protobuf.Parser<V1Apps.StatefulSetStatus>
int
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.int
replicas is the number of Pods created by the StatefulSet controller.int
final com.google.protobuf.UnknownFieldSet
int
updatedReplicas 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.ByteString
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)boolean
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.boolean
collisionCount is the count of hash collisions for the StatefulSet.boolean
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.boolean
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).int
hashCode()
boolean
observedGeneration is the most recent generation observed for this StatefulSet.boolean
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.boolean
replicas is the number of Pods created by the StatefulSet controller.boolean
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.boolean
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(V1Apps.StatefulSetStatus prototype) protected V1Apps.StatefulSetStatus.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1Apps.StatefulSetStatus
parseDelimitedFrom
(InputStream input) static V1Apps.StatefulSetStatus
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatus
parseFrom
(byte[] data) static V1Apps.StatefulSetStatus
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatus
parseFrom
(com.google.protobuf.ByteString data) static V1Apps.StatefulSetStatus
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatus
parseFrom
(com.google.protobuf.CodedInputStream input) static V1Apps.StatefulSetStatus
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatus
parseFrom
(InputStream input) static V1Apps.StatefulSetStatus
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Apps.StatefulSetStatus
parseFrom
(ByteBuffer data) static V1Apps.StatefulSetStatus
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1Apps.StatefulSetStatus>
parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in 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:
hasObservedGeneration
in 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:
getObservedGeneration
in interfaceV1Apps.StatefulSetStatusOrBuilder
-
hasReplicas
public boolean hasReplicas()replicas is the number of Pods created by the StatefulSet controller.
optional int32 replicas = 2;
- Specified by:
hasReplicas
in interfaceV1Apps.StatefulSetStatusOrBuilder
-
getReplicas
public int getReplicas()replicas is the number of Pods created by the StatefulSet controller.
optional int32 replicas = 2;
- Specified by:
getReplicas
in 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:
hasReadyReplicas
in 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:
getReadyReplicas
in 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:
hasCurrentReplicas
in 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:
getCurrentReplicas
in 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:
hasUpdatedReplicas
in 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:
getUpdatedReplicas
in 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:
hasCurrentRevision
in 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:
getCurrentRevision
in 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:
getCurrentRevisionBytes
in 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:
hasUpdateRevision
in 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:
getUpdateRevision
in 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:
getUpdateRevisionBytes
in 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:
hasCollisionCount
in 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:
getCollisionCount
in 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:
getConditionsList
in 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:
getConditionsOrBuilderList
in 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:
getConditionsCount
in 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:
getConditions
in 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:
getConditionsOrBuilder
in 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:
hasAvailableReplicas
in 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:
getAvailableReplicas
in interfaceV1Apps.StatefulSetStatusOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1Apps.StatefulSetStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-