Class V1beta1Apps.DeploymentStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
io.kubernetes.client.proto.V1beta1Apps.DeploymentStatus.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1beta1Apps.DeploymentStatusOrBuilder, Cloneable
Enclosing class:
V1beta1Apps.DeploymentStatus

public static final class V1beta1Apps.DeploymentStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder> implements V1beta1Apps.DeploymentStatusOrBuilder
 DeploymentStatus is the most recently observed status of the Deployment.
 
Protobuf type k8s.io.api.apps.v1beta1.DeploymentStatus
  • Method Details

    • 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.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1beta1Apps.DeploymentStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • setField

      public V1beta1Apps.DeploymentStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • clearField

      public V1beta1Apps.DeploymentStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • clearOneof

      public V1beta1Apps.DeploymentStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • setRepeatedField

      public V1beta1Apps.DeploymentStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • addRepeatedField

      public V1beta1Apps.DeploymentStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • mergeFrom

      public V1beta1Apps.DeploymentStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • mergeFrom

      public V1beta1Apps.DeploymentStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apps.DeploymentStatus.Builder>
      Throws:
      IOException
    • hasObservedGeneration

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

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

      public V1beta1Apps.DeploymentStatus.Builder setObservedGeneration(long value)
       The generation observed by the deployment controller.
       +optional
       
      optional int64 observedGeneration = 1;
    • clearObservedGeneration

      public V1beta1Apps.DeploymentStatus.Builder clearObservedGeneration()
       The generation observed by the deployment controller.
       +optional
       
      optional int64 observedGeneration = 1;
    • 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 V1beta1Apps.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 V1beta1Apps.DeploymentStatusOrBuilder
    • setReplicas

      public V1beta1Apps.DeploymentStatus.Builder setReplicas(int value)
       Total number of non-terminated pods targeted by this deployment (their labels match the selector).
       +optional
       
      optional int32 replicas = 2;
    • clearReplicas

      public V1beta1Apps.DeploymentStatus.Builder clearReplicas()
       Total number of non-terminated pods targeted by this deployment (their labels match the selector).
       +optional
       
      optional int32 replicas = 2;
    • 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 V1beta1Apps.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 V1beta1Apps.DeploymentStatusOrBuilder
    • setUpdatedReplicas

      public V1beta1Apps.DeploymentStatus.Builder setUpdatedReplicas(int value)
       Total number of non-terminated pods targeted by this deployment that have the desired template spec.
       +optional
       
      optional int32 updatedReplicas = 3;
    • clearUpdatedReplicas

      public V1beta1Apps.DeploymentStatus.Builder clearUpdatedReplicas()
       Total number of non-terminated pods targeted by this deployment that have the desired template spec.
       +optional
       
      optional int32 updatedReplicas = 3;
    • 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 V1beta1Apps.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 V1beta1Apps.DeploymentStatusOrBuilder
    • setReadyReplicas

      public V1beta1Apps.DeploymentStatus.Builder setReadyReplicas(int value)
       readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.
       +optional
       
      optional int32 readyReplicas = 7;
    • clearReadyReplicas

      public V1beta1Apps.DeploymentStatus.Builder clearReadyReplicas()
       readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.
       +optional
       
      optional int32 readyReplicas = 7;
    • 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 V1beta1Apps.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 V1beta1Apps.DeploymentStatusOrBuilder
    • setAvailableReplicas

      public V1beta1Apps.DeploymentStatus.Builder setAvailableReplicas(int value)
       Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
       +optional
       
      optional int32 availableReplicas = 4;
    • clearAvailableReplicas

      public V1beta1Apps.DeploymentStatus.Builder clearAvailableReplicas()
       Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
       +optional
       
      optional int32 availableReplicas = 4;
    • 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 V1beta1Apps.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 V1beta1Apps.DeploymentStatusOrBuilder
    • setUnavailableReplicas

      public V1beta1Apps.DeploymentStatus.Builder setUnavailableReplicas(int value)
       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;
    • clearUnavailableReplicas

      public V1beta1Apps.DeploymentStatus.Builder clearUnavailableReplicas()
       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;
    • getConditionsList

      public List<V1beta1Apps.DeploymentCondition> getConditionsList()
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
      Specified by:
      getConditionsList in interface V1beta1Apps.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.v1beta1.DeploymentCondition conditions = 6;
      Specified by:
      getConditionsCount in interface V1beta1Apps.DeploymentStatusOrBuilder
    • getConditions

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

       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • setConditions

      public V1beta1Apps.DeploymentStatus.Builder setConditions(int index, V1beta1Apps.DeploymentCondition.Builder builderForValue)
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • addConditions

       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • addConditions

       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • addConditions

       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • addConditions

      public V1beta1Apps.DeploymentStatus.Builder addConditions(int index, V1beta1Apps.DeploymentCondition.Builder builderForValue)
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • addAllConditions

       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • clearConditions

      public V1beta1Apps.DeploymentStatus.Builder clearConditions()
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • removeConditions

      public V1beta1Apps.DeploymentStatus.Builder removeConditions(int index)
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • getConditionsBuilder

      public V1beta1Apps.DeploymentCondition.Builder getConditionsBuilder(int index)
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • getConditionsOrBuilder

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

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

      public V1beta1Apps.DeploymentCondition.Builder addConditionsBuilder()
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • addConditionsBuilder

      public V1beta1Apps.DeploymentCondition.Builder addConditionsBuilder(int index)
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • getConditionsBuilderList

      public List<V1beta1Apps.DeploymentCondition.Builder> getConditionsBuilderList()
       Represents the latest available observations of a deployment's current state.
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.apps.v1beta1.DeploymentCondition conditions = 6;
    • 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 V1beta1Apps.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 V1beta1Apps.DeploymentStatusOrBuilder
    • setCollisionCount

      public V1beta1Apps.DeploymentStatus.Builder setCollisionCount(int value)
       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;
    • clearCollisionCount

      public V1beta1Apps.DeploymentStatus.Builder clearCollisionCount()
       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;
    • setUnknownFields

      public final V1beta1Apps.DeploymentStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>
    • mergeUnknownFields

      public final V1beta1Apps.DeploymentStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apps.DeploymentStatus.Builder>