Class V1beta2Apps.DeploymentStatus

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

public static final class V1beta2Apps.DeploymentStatus extends com.google.protobuf.GeneratedMessageV3 implements V1beta2Apps.DeploymentStatusOrBuilder
 DeploymentStatus is the most recently observed status of the Deployment.
 
Protobuf type k8s.io.api.apps.v1beta2.DeploymentStatus
See Also:
  • Field Details

  • 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()
       The generation observed by the deployment controller.
       +optional
       
      optional int64 observedGeneration = 1;
      Specified by:
      hasObservedGeneration in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getObservedGeneration

      public long getObservedGeneration()
       The generation observed by the deployment controller.
       +optional
       
      optional int64 observedGeneration = 1;
      Specified by:
      getObservedGeneration in interface V1beta2Apps.DeploymentStatusOrBuilder
    • hasReplicas

      public boolean hasReplicas()
       Total number of non-terminated pods targeted by this deployment (their labels match the selector).
       +optional
       
      optional int32 replicas = 2;
      Specified by:
      hasReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getReplicas

      public int getReplicas()
       Total number of non-terminated pods targeted by this deployment (their labels match the selector).
       +optional
       
      optional int32 replicas = 2;
      Specified by:
      getReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • hasUpdatedReplicas

      public boolean hasUpdatedReplicas()
       Total number of non-terminated pods targeted by this deployment that have the desired template spec.
       +optional
       
      optional int32 updatedReplicas = 3;
      Specified by:
      hasUpdatedReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getUpdatedReplicas

      public int getUpdatedReplicas()
       Total number of non-terminated pods targeted by this deployment that have the desired template spec.
       +optional
       
      optional int32 updatedReplicas = 3;
      Specified by:
      getUpdatedReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • hasReadyReplicas

      public boolean hasReadyReplicas()
       readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.
       +optional
       
      optional int32 readyReplicas = 7;
      Specified by:
      hasReadyReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getReadyReplicas

      public int getReadyReplicas()
       readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.
       +optional
       
      optional int32 readyReplicas = 7;
      Specified by:
      getReadyReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • hasAvailableReplicas

      public boolean hasAvailableReplicas()
       Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
       +optional
       
      optional int32 availableReplicas = 4;
      Specified by:
      hasAvailableReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getAvailableReplicas

      public int getAvailableReplicas()
       Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
       +optional
       
      optional int32 availableReplicas = 4;
      Specified by:
      getAvailableReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • hasUnavailableReplicas

      public boolean hasUnavailableReplicas()
       Total number of unavailable pods targeted by this deployment. This is the total number of
       pods that are still required for the deployment to have 100% available capacity. They may
       either be pods that are running but not yet available or pods that still have not been created.
       +optional
       
      optional int32 unavailableReplicas = 5;
      Specified by:
      hasUnavailableReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getUnavailableReplicas

      public int getUnavailableReplicas()
       Total number of unavailable pods targeted by this deployment. This is the total number of
       pods that are still required for the deployment to have 100% available capacity. They may
       either be pods that are running but not yet available or pods that still have not been created.
       +optional
       
      optional int32 unavailableReplicas = 5;
      Specified by:
      getUnavailableReplicas in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getConditionsList

      public List<V1beta2Apps.DeploymentCondition> getConditionsList()
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta2.DeploymentCondition conditions = 6;
      Specified by:
      getConditionsList in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getConditionsOrBuilderList

      public List<? extends V1beta2Apps.DeploymentConditionOrBuilder> getConditionsOrBuilderList()
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta2.DeploymentCondition conditions = 6;
      Specified by:
      getConditionsOrBuilderList in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getConditionsCount

      public int getConditionsCount()
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta2.DeploymentCondition conditions = 6;
      Specified by:
      getConditionsCount in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getConditions

      public V1beta2Apps.DeploymentCondition getConditions(int index)
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta2.DeploymentCondition conditions = 6;
      Specified by:
      getConditions in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getConditionsOrBuilder

      public V1beta2Apps.DeploymentConditionOrBuilder getConditionsOrBuilder(int index)
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta2.DeploymentCondition conditions = 6;
      Specified by:
      getConditionsOrBuilder in interface V1beta2Apps.DeploymentStatusOrBuilder
    • hasCollisionCount

      public boolean hasCollisionCount()
       Count of hash collisions for the Deployment. The Deployment controller uses this
       field as a collision avoidance mechanism when it needs to create the name for the
       newest ReplicaSet.
       +optional
       
      optional int32 collisionCount = 8;
      Specified by:
      hasCollisionCount in interface V1beta2Apps.DeploymentStatusOrBuilder
    • getCollisionCount

      public int getCollisionCount()
       Count of hash collisions for the Deployment. The Deployment controller uses this
       field as a collision avoidance mechanism when it needs to create the name for the
       newest ReplicaSet.
       +optional
       
      optional int32 collisionCount = 8;
      Specified by:
      getCollisionCount in interface V1beta2Apps.DeploymentStatusOrBuilder
    • 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 V1beta2Apps.DeploymentStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static V1beta2Apps.DeploymentStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static V1beta2Apps.DeploymentStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static V1beta2Apps.DeploymentStatus.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static V1beta2Apps.DeploymentStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1beta2Apps.DeploymentStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1beta2Apps.DeploymentStatus> 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 V1beta2Apps.DeploymentStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder