Class V1.ReplicationControllerStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
io.kubernetes.client.proto.V1.ReplicationControllerStatus.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.ReplicationControllerStatusOrBuilder, Cloneable
Enclosing class:
V1.ReplicationControllerStatus

public static final class V1.ReplicationControllerStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder> implements V1.ReplicationControllerStatusOrBuilder
 ReplicationControllerStatus represents the current status of a replication
 controller.
 
Protobuf type k8s.io.api.core.v1.ReplicationControllerStatus
  • 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<V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
    • getDefaultInstanceForType

      public V1.ReplicationControllerStatus 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 V1.ReplicationControllerStatus 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<V1.ReplicationControllerStatus.Builder>
    • setField

      public V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
    • clearField

      public V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
    • clearOneof

      public V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
    • setRepeatedField

      public V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
    • addRepeatedField

      public V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
    • mergeFrom

      public V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
    • mergeFrom

      public V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
      Throws:
      IOException
    • hasReplicas

      public boolean hasReplicas()
       Replicas is the most recently oberved number of replicas.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
       
      optional int32 replicas = 1;
      Specified by:
      hasReplicas in interface V1.ReplicationControllerStatusOrBuilder
    • getReplicas

      public int getReplicas()
       Replicas is the most recently oberved number of replicas.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
       
      optional int32 replicas = 1;
      Specified by:
      getReplicas in interface V1.ReplicationControllerStatusOrBuilder
    • setReplicas

      public V1.ReplicationControllerStatus.Builder setReplicas(int value)
       Replicas is the most recently oberved number of replicas.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
       
      optional int32 replicas = 1;
    • clearReplicas

       Replicas is the most recently oberved number of replicas.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
       
      optional int32 replicas = 1;
    • hasFullyLabeledReplicas

      public boolean hasFullyLabeledReplicas()
       The number of pods that have labels matching the labels of the pod template of the replication controller.
       +optional
       
      optional int32 fullyLabeledReplicas = 2;
      Specified by:
      hasFullyLabeledReplicas in interface V1.ReplicationControllerStatusOrBuilder
    • getFullyLabeledReplicas

      public int getFullyLabeledReplicas()
       The number of pods that have labels matching the labels of the pod template of the replication controller.
       +optional
       
      optional int32 fullyLabeledReplicas = 2;
      Specified by:
      getFullyLabeledReplicas in interface V1.ReplicationControllerStatusOrBuilder
    • setFullyLabeledReplicas

      public V1.ReplicationControllerStatus.Builder setFullyLabeledReplicas(int value)
       The number of pods that have labels matching the labels of the pod template of the replication controller.
       +optional
       
      optional int32 fullyLabeledReplicas = 2;
    • clearFullyLabeledReplicas

      public V1.ReplicationControllerStatus.Builder clearFullyLabeledReplicas()
       The number of pods that have labels matching the labels of the pod template of the replication controller.
       +optional
       
      optional int32 fullyLabeledReplicas = 2;
    • hasReadyReplicas

      public boolean hasReadyReplicas()
       The number of ready replicas for this replication controller.
       +optional
       
      optional int32 readyReplicas = 4;
      Specified by:
      hasReadyReplicas in interface V1.ReplicationControllerStatusOrBuilder
    • getReadyReplicas

      public int getReadyReplicas()
       The number of ready replicas for this replication controller.
       +optional
       
      optional int32 readyReplicas = 4;
      Specified by:
      getReadyReplicas in interface V1.ReplicationControllerStatusOrBuilder
    • setReadyReplicas

      public V1.ReplicationControllerStatus.Builder setReadyReplicas(int value)
       The number of ready replicas for this replication controller.
       +optional
       
      optional int32 readyReplicas = 4;
    • clearReadyReplicas

      public V1.ReplicationControllerStatus.Builder clearReadyReplicas()
       The number of ready replicas for this replication controller.
       +optional
       
      optional int32 readyReplicas = 4;
    • hasAvailableReplicas

      public boolean hasAvailableReplicas()
       The number of available replicas (ready for at least minReadySeconds) for this replication controller.
       +optional
       
      optional int32 availableReplicas = 5;
      Specified by:
      hasAvailableReplicas in interface V1.ReplicationControllerStatusOrBuilder
    • getAvailableReplicas

      public int getAvailableReplicas()
       The number of available replicas (ready for at least minReadySeconds) for this replication controller.
       +optional
       
      optional int32 availableReplicas = 5;
      Specified by:
      getAvailableReplicas in interface V1.ReplicationControllerStatusOrBuilder
    • setAvailableReplicas

      public V1.ReplicationControllerStatus.Builder setAvailableReplicas(int value)
       The number of available replicas (ready for at least minReadySeconds) for this replication controller.
       +optional
       
      optional int32 availableReplicas = 5;
    • clearAvailableReplicas

      public V1.ReplicationControllerStatus.Builder clearAvailableReplicas()
       The number of available replicas (ready for at least minReadySeconds) for this replication controller.
       +optional
       
      optional int32 availableReplicas = 5;
    • hasObservedGeneration

      public boolean hasObservedGeneration()
       ObservedGeneration reflects the generation of the most recently observed replication controller.
       +optional
       
      optional int64 observedGeneration = 3;
      Specified by:
      hasObservedGeneration in interface V1.ReplicationControllerStatusOrBuilder
    • getObservedGeneration

      public long getObservedGeneration()
       ObservedGeneration reflects the generation of the most recently observed replication controller.
       +optional
       
      optional int64 observedGeneration = 3;
      Specified by:
      getObservedGeneration in interface V1.ReplicationControllerStatusOrBuilder
    • setObservedGeneration

      public V1.ReplicationControllerStatus.Builder setObservedGeneration(long value)
       ObservedGeneration reflects the generation of the most recently observed replication controller.
       +optional
       
      optional int64 observedGeneration = 3;
    • clearObservedGeneration

      public V1.ReplicationControllerStatus.Builder clearObservedGeneration()
       ObservedGeneration reflects the generation of the most recently observed replication controller.
       +optional
       
      optional int64 observedGeneration = 3;
    • getConditionsList

      public List<V1.ReplicationControllerCondition> getConditionsList()
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
      Specified by:
      getConditionsList in interface V1.ReplicationControllerStatusOrBuilder
    • getConditionsCount

      public int getConditionsCount()
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
      Specified by:
      getConditionsCount in interface V1.ReplicationControllerStatusOrBuilder
    • getConditions

      public V1.ReplicationControllerCondition getConditions(int index)
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
      Specified by:
      getConditions in interface V1.ReplicationControllerStatusOrBuilder
    • setConditions

       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • setConditions

      public V1.ReplicationControllerStatus.Builder setConditions(int index, V1.ReplicationControllerCondition.Builder builderForValue)
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • addConditions

       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • addConditions

       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • addConditions

       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • addConditions

      public V1.ReplicationControllerStatus.Builder addConditions(int index, V1.ReplicationControllerCondition.Builder builderForValue)
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • addAllConditions

       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • clearConditions

      public V1.ReplicationControllerStatus.Builder clearConditions()
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • removeConditions

      public V1.ReplicationControllerStatus.Builder removeConditions(int index)
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • getConditionsBuilder

      public V1.ReplicationControllerCondition.Builder getConditionsBuilder(int index)
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • getConditionsOrBuilder

      public V1.ReplicationControllerConditionOrBuilder getConditionsOrBuilder(int index)
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
      Specified by:
      getConditionsOrBuilder in interface V1.ReplicationControllerStatusOrBuilder
    • getConditionsOrBuilderList

      public List<? extends V1.ReplicationControllerConditionOrBuilder> getConditionsOrBuilderList()
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
      Specified by:
      getConditionsOrBuilderList in interface V1.ReplicationControllerStatusOrBuilder
    • addConditionsBuilder

      public V1.ReplicationControllerCondition.Builder addConditionsBuilder()
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • addConditionsBuilder

      public V1.ReplicationControllerCondition.Builder addConditionsBuilder(int index)
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • getConditionsBuilderList

      public List<V1.ReplicationControllerCondition.Builder> getConditionsBuilderList()
       Represents the latest available observations of a replication controller's current state.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
    • setUnknownFields

      public final V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>
    • mergeUnknownFields

      public final V1.ReplicationControllerStatus.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<V1.ReplicationControllerStatus.Builder>