Package io.kubernetes.client.proto
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 Summary
Modifier and TypeMethodDescriptionaddAllConditions
(Iterable<? extends V1.ReplicationControllerCondition> values) Represents the latest available observations of a replication controller's current state.addConditions
(int index, V1.ReplicationControllerCondition value) Represents the latest available observations of a replication controller's current state.addConditions
(int index, V1.ReplicationControllerCondition.Builder builderForValue) Represents the latest available observations of a replication controller's current state.Represents the latest available observations of a replication controller's current state.addConditions
(V1.ReplicationControllerCondition.Builder builderForValue) Represents the latest available observations of a replication controller's current state.Represents the latest available observations of a replication controller's current state.addConditionsBuilder
(int index) Represents the latest available observations of a replication controller's current state.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The number of available replicas (ready for at least minReadySeconds) for this replication controller.Represents the latest available observations of a replication controller's current state.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The number of pods that have labels matching the labels of the pod template of the replication controller.ObservedGeneration reflects the generation of the most recently observed replication controller.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The number of ready replicas for this replication controller.Replicas is the most recently oberved number of replicas.clone()
int
The number of available replicas (ready for at least minReadySeconds) for this replication controller.getConditions
(int index) Represents the latest available observations of a replication controller's current state.getConditionsBuilder
(int index) Represents the latest available observations of a replication controller's current state.Represents the latest available observations of a replication controller's current state.int
Represents the latest available observations of a replication controller's current state.Represents the latest available observations of a replication controller's current state.getConditionsOrBuilder
(int index) Represents the latest available observations of a replication controller's current state.List<? extends V1.ReplicationControllerConditionOrBuilder>
Represents the latest available observations of a replication controller's current state.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
The number of pods that have labels matching the labels of the pod template of the replication controller.long
ObservedGeneration reflects the generation of the most recently observed replication controller.int
The number of ready replicas for this replication controller.int
Replicas is the most recently oberved number of replicas.boolean
The number of available replicas (ready for at least minReadySeconds) for this replication controller.boolean
The number of pods that have labels matching the labels of the pod template of the replication controller.boolean
ObservedGeneration reflects the generation of the most recently observed replication controller.boolean
The number of ready replicas for this replication controller.boolean
Replicas is the most recently oberved number of replicas.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeConditions
(int index) Represents the latest available observations of a replication controller's current state.setAvailableReplicas
(int value) The number of available replicas (ready for at least minReadySeconds) for this replication controller.setConditions
(int index, V1.ReplicationControllerCondition value) Represents the latest available observations of a replication controller's current state.setConditions
(int index, V1.ReplicationControllerCondition.Builder builderForValue) Represents the latest available observations of a replication controller's current state.setFullyLabeledReplicas
(int value) The number of pods that have labels matching the labels of the pod template of the replication controller.setObservedGeneration
(long value) ObservedGeneration reflects the generation of the most recently observed replication controller.setReadyReplicas
(int value) The number of ready replicas for this replication controller.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReplicas
(int value) Replicas is the most recently oberved number of replicas.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
clearField
public V1.ReplicationControllerStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
clearOneof
public V1.ReplicationControllerStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.ReplicationControllerStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceV1.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 interfaceV1.ReplicationControllerStatusOrBuilder
-
setReplicas
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 interfaceV1.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 interfaceV1.ReplicationControllerStatusOrBuilder
-
setFullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replication controller. +optional
optional int32 fullyLabeledReplicas = 2;
-
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 interfaceV1.ReplicationControllerStatusOrBuilder
-
getReadyReplicas
public int getReadyReplicas()The number of ready replicas for this replication controller. +optional
optional int32 readyReplicas = 4;
- Specified by:
getReadyReplicas
in interfaceV1.ReplicationControllerStatusOrBuilder
-
setReadyReplicas
The number of ready replicas for this replication controller. +optional
optional int32 readyReplicas = 4;
-
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 interfaceV1.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 interfaceV1.ReplicationControllerStatusOrBuilder
-
setAvailableReplicas
The number of available replicas (ready for at least minReadySeconds) for this replication controller. +optional
optional int32 availableReplicas = 5;
-
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 interfaceV1.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 interfaceV1.ReplicationControllerStatusOrBuilder
-
setObservedGeneration
ObservedGeneration reflects the generation of the most recently observed replication controller. +optional
optional int64 observedGeneration = 3;
-
clearObservedGeneration
ObservedGeneration reflects the generation of the most recently observed replication controller. +optional
optional int64 observedGeneration = 3;
-
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 interfaceV1.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 interfaceV1.ReplicationControllerStatusOrBuilder
-
getConditions
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 interfaceV1.ReplicationControllerStatusOrBuilder
-
setConditions
public V1.ReplicationControllerStatus.Builder setConditions(int index, V1.ReplicationControllerCondition value) 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
public V1.ReplicationControllerStatus.Builder addConditions(V1.ReplicationControllerCondition value) 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 value) 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(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
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
public V1.ReplicationControllerStatus.Builder addAllConditions(Iterable<? extends V1.ReplicationControllerCondition> values) 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
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
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
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
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 interfaceV1.ReplicationControllerStatusOrBuilder
-
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 interfaceV1.ReplicationControllerStatusOrBuilder
-
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
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
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
mergeUnknownFields
public final V1.ReplicationControllerStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-