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| Modifier and Type | Class and Description |
|---|---|
static class |
V1Apps.StatefulSetStatus.Builder
StatefulSetStatus represents the current state of a StatefulSet.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
COLLISIONCOUNT_FIELD_NUMBER |
static int |
CONDITIONS_FIELD_NUMBER |
static int |
CURRENTREPLICAS_FIELD_NUMBER |
static int |
CURRENTREVISION_FIELD_NUMBER |
static int |
OBSERVEDGENERATION_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Apps.StatefulSetStatus> |
PARSER
Deprecated.
|
static int |
READYREPLICAS_FIELD_NUMBER |
static int |
REPLICAS_FIELD_NUMBER |
static int |
UPDATEDREPLICAS_FIELD_NUMBER |
static int |
UPDATEREVISION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCollisionCount()
collisionCount is the count of hash collisions for the StatefulSet.
|
V1Apps.StatefulSetCondition |
getConditions(int index)
Represents the latest available observations of a statefulset's current state.
|
int |
getConditionsCount()
Represents the latest available observations of a statefulset's current state.
|
List<V1Apps.StatefulSetCondition> |
getConditionsList()
Represents the latest available observations of a statefulset's current state.
|
V1Apps.StatefulSetConditionOrBuilder |
getConditionsOrBuilder(int index)
Represents the latest available observations of a statefulset's current state.
|
List<? extends V1Apps.StatefulSetConditionOrBuilder> |
getConditionsOrBuilderList()
Represents the latest available observations of a statefulset's current state.
|
int |
getCurrentReplicas()
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
indicated by currentRevision.
|
String |
getCurrentRevision()
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the
sequence [0,currentReplicas).
|
com.google.protobuf.ByteString |
getCurrentRevisionBytes()
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the
sequence [0,currentReplicas).
|
static V1Apps.StatefulSetStatus |
getDefaultInstance() |
V1Apps.StatefulSetStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getObservedGeneration()
observedGeneration is the most recent generation observed for this StatefulSet.
|
com.google.protobuf.Parser<V1Apps.StatefulSetStatus> |
getParserForType() |
int |
getReadyReplicas()
readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
|
int |
getReplicas()
replicas is the number of Pods created by the StatefulSet controller.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getUpdatedReplicas()
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
indicated by updateRevision.
|
String |
getUpdateRevision()
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence
[replicas-updatedReplicas,replicas)
|
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)
|
boolean |
hasCollisionCount()
collisionCount is the count of hash collisions for the StatefulSet.
|
boolean |
hasCurrentReplicas()
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
indicated by currentRevision.
|
boolean |
hasCurrentRevision()
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the
sequence [0,currentReplicas).
|
int |
hashCode() |
boolean |
hasObservedGeneration()
observedGeneration is the most recent generation observed for this StatefulSet.
|
boolean |
hasReadyReplicas()
readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
|
boolean |
hasReplicas()
replicas is the number of Pods created by the StatefulSet controller.
|
boolean |
hasUpdatedReplicas()
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
indicated by updateRevision.
|
boolean |
hasUpdateRevision()
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 |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Apps.StatefulSetStatus.Builder |
newBuilder() |
static V1Apps.StatefulSetStatus.Builder |
newBuilder(V1Apps.StatefulSetStatus prototype) |
V1Apps.StatefulSetStatus.Builder |
newBuilderForType() |
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(ByteBuffer data) |
static V1Apps.StatefulSetStatus |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<V1Apps.StatefulSetStatus> |
parser() |
V1Apps.StatefulSetStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int OBSERVEDGENERATION_FIELD_NUMBER
public static final int REPLICAS_FIELD_NUMBER
public static final int READYREPLICAS_FIELD_NUMBER
public static final int CURRENTREPLICAS_FIELD_NUMBER
public static final int UPDATEDREPLICAS_FIELD_NUMBER
public static final int CURRENTREVISION_FIELD_NUMBER
public static final int UPDATEREVISION_FIELD_NUMBER
public static final int COLLISIONCOUNT_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Apps.StatefulSetStatus> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasObservedGeneration in interface V1Apps.StatefulSetStatusOrBuilderpublic 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;getObservedGeneration in interface V1Apps.StatefulSetStatusOrBuilderpublic boolean hasReplicas()
replicas is the number of Pods created by the StatefulSet controller.
optional int32 replicas = 2;hasReplicas in interface V1Apps.StatefulSetStatusOrBuilderpublic int getReplicas()
replicas is the number of Pods created by the StatefulSet controller.
optional int32 replicas = 2;getReplicas in interface V1Apps.StatefulSetStatusOrBuilderpublic boolean hasReadyReplicas()
readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
optional int32 readyReplicas = 3;hasReadyReplicas in interface V1Apps.StatefulSetStatusOrBuilderpublic int getReadyReplicas()
readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
optional int32 readyReplicas = 3;getReadyReplicas in interface V1Apps.StatefulSetStatusOrBuilderpublic boolean hasCurrentReplicas()
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
optional int32 currentReplicas = 4;hasCurrentReplicas in interface V1Apps.StatefulSetStatusOrBuilderpublic int getCurrentReplicas()
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
optional int32 currentReplicas = 4;getCurrentReplicas in interface V1Apps.StatefulSetStatusOrBuilderpublic boolean hasUpdatedReplicas()
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
optional int32 updatedReplicas = 5;hasUpdatedReplicas in interface V1Apps.StatefulSetStatusOrBuilderpublic int getUpdatedReplicas()
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
optional int32 updatedReplicas = 5;getUpdatedReplicas in interface V1Apps.StatefulSetStatusOrBuilderpublic 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;hasCurrentRevision in interface V1Apps.StatefulSetStatusOrBuilderpublic String getCurrentRevision()
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
optional string currentRevision = 6;getCurrentRevision in interface V1Apps.StatefulSetStatusOrBuilderpublic 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;getCurrentRevisionBytes in interface V1Apps.StatefulSetStatusOrBuilderpublic 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;hasUpdateRevision in interface V1Apps.StatefulSetStatusOrBuilderpublic String 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;getUpdateRevision in interface V1Apps.StatefulSetStatusOrBuilderpublic 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;getUpdateRevisionBytes in interface V1Apps.StatefulSetStatusOrBuilderpublic 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;hasCollisionCount in interface V1Apps.StatefulSetStatusOrBuilderpublic 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;getCollisionCount in interface V1Apps.StatefulSetStatusOrBuilderpublic List<V1Apps.StatefulSetCondition> 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;getConditionsList in interface V1Apps.StatefulSetStatusOrBuilderpublic List<? extends V1Apps.StatefulSetConditionOrBuilder> 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;getConditionsOrBuilderList in interface V1Apps.StatefulSetStatusOrBuilderpublic 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;getConditionsCount in interface V1Apps.StatefulSetStatusOrBuilderpublic V1Apps.StatefulSetCondition getConditions(int index)
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;getConditions in interface V1Apps.StatefulSetStatusOrBuilderpublic V1Apps.StatefulSetConditionOrBuilder getConditionsOrBuilder(int index)
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;getConditionsOrBuilder in interface V1Apps.StatefulSetStatusOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Apps.StatefulSetStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.StatefulSetStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.StatefulSetStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.StatefulSetStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.StatefulSetStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.StatefulSetStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.StatefulSetStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Apps.StatefulSetStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Apps.StatefulSetStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Apps.StatefulSetStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Apps.StatefulSetStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Apps.StatefulSetStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Apps.StatefulSetStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Apps.StatefulSetStatus.Builder newBuilder()
public static V1Apps.StatefulSetStatus.Builder newBuilder(V1Apps.StatefulSetStatus prototype)
public V1Apps.StatefulSetStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Apps.StatefulSetStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Apps.StatefulSetStatus getDefaultInstance()
public static com.google.protobuf.Parser<V1Apps.StatefulSetStatus> parser()
public com.google.protobuf.Parser<V1Apps.StatefulSetStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Apps.StatefulSetStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.