Class V1beta1Apps.StatefulSetStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1beta1Apps.StatefulSetStatus
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1beta1Apps.StatefulSetStatusOrBuilder, Serializable
Enclosing class:
V1beta1Apps

public static final class V1beta1Apps.StatefulSetStatus extends com.google.protobuf.GeneratedMessageV3 implements V1beta1Apps.StatefulSetStatusOrBuilder
 StatefulSetStatus represents the current state of a StatefulSet.
 
Protobuf type k8s.io.api.apps.v1beta1.StatefulSetStatus
See Also:
  • 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 public static final com.google.protobuf.Parser<V1beta1Apps.StatefulSetStatus> PARSER
      Deprecated.
  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.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 class com.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 interface V1beta1Apps.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 interface V1beta1Apps.StatefulSetStatusOrBuilder
    • hasReplicas

      public boolean hasReplicas()
       replicas is the number of Pods created by the StatefulSet controller.
       
      optional int32 replicas = 2;
      Specified by:
      hasReplicas in interface V1beta1Apps.StatefulSetStatusOrBuilder
    • getReplicas

      public int getReplicas()
       replicas is the number of Pods created by the StatefulSet controller.
       
      optional int32 replicas = 2;
      Specified by:
      getReplicas in interface V1beta1Apps.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:
      hasReadyReplicas in interface V1beta1Apps.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:
      getReadyReplicas in interface V1beta1Apps.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 interface V1beta1Apps.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 interface V1beta1Apps.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 interface V1beta1Apps.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 interface V1beta1Apps.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 interface V1beta1Apps.StatefulSetStatusOrBuilder
    • getCurrentRevision

      public 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;
      Specified by:
      getCurrentRevision in interface V1beta1Apps.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 interface V1beta1Apps.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 interface V1beta1Apps.StatefulSetStatusOrBuilder
    • getUpdateRevision

      public 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;
      Specified by:
      getUpdateRevision in interface V1beta1Apps.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 interface V1beta1Apps.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 interface V1beta1Apps.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 interface V1beta1Apps.StatefulSetStatusOrBuilder
    • getConditionsList

      public List<V1beta1Apps.StatefulSetCondition> getConditionsList()
       Represents the latest available observations of a statefulset's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.StatefulSetCondition conditions = 10;
      Specified by:
      getConditionsList in interface V1beta1Apps.StatefulSetStatusOrBuilder
    • getConditionsOrBuilderList

      public List<? extends V1beta1Apps.StatefulSetConditionOrBuilder> getConditionsOrBuilderList()
       Represents the latest available observations of a statefulset's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.StatefulSetCondition conditions = 10;
      Specified by:
      getConditionsOrBuilderList in interface V1beta1Apps.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.v1beta1.StatefulSetCondition conditions = 10;
      Specified by:
      getConditionsCount in interface V1beta1Apps.StatefulSetStatusOrBuilder
    • getConditions

      public V1beta1Apps.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.v1beta1.StatefulSetCondition conditions = 10;
      Specified by:
      getConditions in interface V1beta1Apps.StatefulSetStatusOrBuilder
    • getConditionsOrBuilder

      public V1beta1Apps.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.v1beta1.StatefulSetCondition conditions = 10;
      Specified by:
      getConditionsOrBuilder in interface V1beta1Apps.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 interface V1beta1Apps.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 interface V1beta1Apps.StatefulSetStatusOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static V1beta1Apps.StatefulSetStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Apps.StatefulSetStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Apps.StatefulSetStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Apps.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 V1beta1Apps.StatefulSetStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Apps.StatefulSetStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Apps.StatefulSetStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Apps.StatefulSetStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1beta1Apps.StatefulSetStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1beta1Apps.StatefulSetStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Apps.StatefulSetStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Apps.StatefulSetStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public V1beta1Apps.StatefulSetStatus.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V1beta1Apps.StatefulSetStatus.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1beta1Apps.StatefulSetStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1beta1Apps.StatefulSetStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1beta1Apps.StatefulSetStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1beta1Apps.StatefulSetStatus> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public V1beta1Apps.StatefulSetStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder