Package io.kubernetes.client.proto
Class V1.ReplicationControllerStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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()intThe 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.intRepresents 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.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe number of pods that have labels matching the labels of the pod template of the replication controller.longObservedGeneration reflects the generation of the most recently observed replication controller.intThe number of ready replicas for this replication controller.intReplicas is the most recently oberved number of replicas.booleanThe number of available replicas (ready for at least minReadySeconds) for this replication controller.booleanThe number of pods that have labels matching the labels of the pod template of the replication controller.booleanObservedGeneration reflects the generation of the most recently observed replication controller.booleanThe number of ready replicas for this replication controller.booleanReplicas is the most recently oberved number of replicas.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
setField
public V1.ReplicationControllerStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
clearField
public V1.ReplicationControllerStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
clearOneof
public V1.ReplicationControllerStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
addRepeatedField
public V1.ReplicationControllerStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.ReplicationControllerStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasReplicasin 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:
getReplicasin 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:
hasFullyLabeledReplicasin 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:
getFullyLabeledReplicasin 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:
hasReadyReplicasin interfaceV1.ReplicationControllerStatusOrBuilder
-
getReadyReplicas
public int getReadyReplicas()The number of ready replicas for this replication controller. +optional
optional int32 readyReplicas = 4;- Specified by:
getReadyReplicasin 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:
hasAvailableReplicasin 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:
getAvailableReplicasin 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:
hasObservedGenerationin interfaceV1.ReplicationControllerStatusOrBuilder
-
getObservedGeneration
public long getObservedGeneration()ObservedGeneration reflects the generation of the most recently observed replication controller. +optional
optional int64 observedGeneration = 3;- Specified by:
getObservedGenerationin 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:
getConditionsListin 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:
getConditionsCountin 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:
getConditionsin 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:
getConditionsOrBuilderin 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:
getConditionsOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-
mergeUnknownFields
public final V1.ReplicationControllerStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerStatus.Builder>
-