Class Generated.ReplicationControllerStatus.Builder

    • Method Detail

      • 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<Generated.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<Generated.ReplicationControllerStatus.Builder>
      • getDefaultInstanceForType

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

        public Generated.ReplicationControllerStatus build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.ReplicationControllerStatus buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.ReplicationControllerStatus.Builder>
      • hasReplicas

        public boolean hasReplicas()
         Replicas is the most recently observed 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 Generated.ReplicationControllerStatusOrBuilder
        Returns:
        Whether the replicas field is set.
      • getReplicas

        public int getReplicas()
         Replicas is the most recently observed 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 Generated.ReplicationControllerStatusOrBuilder
        Returns:
        The replicas.
      • setReplicas

        public Generated.ReplicationControllerStatus.Builder setReplicas​(int value)
         Replicas is the most recently observed number of replicas.
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
         
        optional int32 replicas = 1;
        Parameters:
        value - The replicas to set.
        Returns:
        This builder for chaining.
      • clearReplicas

        public Generated.ReplicationControllerStatus.Builder clearReplicas()
         Replicas is the most recently observed number of replicas.
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
         
        optional int32 replicas = 1;
        Returns:
        This builder for chaining.
      • 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 Generated.ReplicationControllerStatusOrBuilder
        Returns:
        Whether the fullyLabeledReplicas field is set.
      • 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 Generated.ReplicationControllerStatusOrBuilder
        Returns:
        The fullyLabeledReplicas.
      • setFullyLabeledReplicas

        public Generated.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;
        Parameters:
        value - The fullyLabeledReplicas to set.
        Returns:
        This builder for chaining.
      • clearFullyLabeledReplicas

        public Generated.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;
        Returns:
        This builder for chaining.
      • setReadyReplicas

        public Generated.ReplicationControllerStatus.Builder setReadyReplicas​(int value)
         The number of ready replicas for this replication controller.
         +optional
         
        optional int32 readyReplicas = 4;
        Parameters:
        value - The readyReplicas to set.
        Returns:
        This builder for chaining.
      • clearReadyReplicas

        public Generated.ReplicationControllerStatus.Builder clearReadyReplicas()
         The number of ready replicas for this replication controller.
         +optional
         
        optional int32 readyReplicas = 4;
        Returns:
        This builder for chaining.
      • 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 Generated.ReplicationControllerStatusOrBuilder
        Returns:
        Whether the availableReplicas field is set.
      • 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 Generated.ReplicationControllerStatusOrBuilder
        Returns:
        The availableReplicas.
      • setAvailableReplicas

        public Generated.ReplicationControllerStatus.Builder setAvailableReplicas​(int value)
         The number of available replicas (ready for at least minReadySeconds) for this replication controller.
         +optional
         
        optional int32 availableReplicas = 5;
        Parameters:
        value - The availableReplicas to set.
        Returns:
        This builder for chaining.
      • clearAvailableReplicas

        public Generated.ReplicationControllerStatus.Builder clearAvailableReplicas()
         The number of available replicas (ready for at least minReadySeconds) for this replication controller.
         +optional
         
        optional int32 availableReplicas = 5;
        Returns:
        This builder for chaining.
      • 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 Generated.ReplicationControllerStatusOrBuilder
        Returns:
        Whether the observedGeneration field is set.
      • 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 Generated.ReplicationControllerStatusOrBuilder
        Returns:
        The observedGeneration.
      • setObservedGeneration

        public Generated.ReplicationControllerStatus.Builder setObservedGeneration​(long value)
         ObservedGeneration reflects the generation of the most recently observed replication controller.
         +optional
         
        optional int64 observedGeneration = 3;
        Parameters:
        value - The observedGeneration to set.
        Returns:
        This builder for chaining.
      • clearObservedGeneration

        public Generated.ReplicationControllerStatus.Builder clearObservedGeneration()
         ObservedGeneration reflects the generation of the most recently observed replication controller.
         +optional
         
        optional int64 observedGeneration = 3;
        Returns:
        This builder for chaining.
      • getConditionsCount

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

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

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

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

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

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

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