public static final class V1.ReplicationControllerSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder> implements V1.ReplicationControllerSpecOrBuilder
ReplicationControllerSpec is the specification of a replication controller.Protobuf type
k8s.io.api.core.v1.ReplicationControllerSpec| Modifier and Type | Method and Description | 
|---|---|
| V1.ReplicationControllerSpec.Builder | addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                Object value) | 
| V1.ReplicationControllerSpec | build() | 
| V1.ReplicationControllerSpec | buildPartial() | 
| V1.ReplicationControllerSpec.Builder | clear() | 
| V1.ReplicationControllerSpec.Builder | clearField(com.google.protobuf.Descriptors.FieldDescriptor field) | 
| V1.ReplicationControllerSpec.Builder | clearMinReadySeconds()
 Minimum number of seconds for which a newly created pod should be ready
 without any of its container crashing, for it to be considered available. | 
| V1.ReplicationControllerSpec.Builder | clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) | 
| V1.ReplicationControllerSpec.Builder | clearReplicas()
 Replicas is the number of desired replicas. | 
| V1.ReplicationControllerSpec.Builder | clearSelector() | 
| V1.ReplicationControllerSpec.Builder | clearTemplate()
 Template is the object that describes the pod that will be created if
 insufficient replicas are detected. | 
| V1.ReplicationControllerSpec.Builder | clone() | 
| boolean | containsSelector(String key)
 Selector is a label query over pods that should match the Replicas count. | 
| V1.ReplicationControllerSpec | getDefaultInstanceForType() | 
| static com.google.protobuf.Descriptors.Descriptor | getDescriptor() | 
| com.google.protobuf.Descriptors.Descriptor | getDescriptorForType() | 
| int | getMinReadySeconds()
 Minimum number of seconds for which a newly created pod should be ready
 without any of its container crashing, for it to be considered available. | 
| Map<String,String> | getMutableSelector()Deprecated.  | 
| int | getReplicas()
 Replicas is the number of desired replicas. | 
| Map<String,String> | getSelector()Deprecated.  | 
| int | getSelectorCount()
 Selector is a label query over pods that should match the Replicas count. | 
| Map<String,String> | getSelectorMap()
 Selector is a label query over pods that should match the Replicas count. | 
| String | getSelectorOrDefault(String key,
                    String defaultValue)
 Selector is a label query over pods that should match the Replicas count. | 
| String | getSelectorOrThrow(String key)
 Selector is a label query over pods that should match the Replicas count. | 
| V1.PodTemplateSpec | getTemplate()
 Template is the object that describes the pod that will be created if
 insufficient replicas are detected. | 
| V1.PodTemplateSpec.Builder | getTemplateBuilder()
 Template is the object that describes the pod that will be created if
 insufficient replicas are detected. | 
| V1.PodTemplateSpecOrBuilder | getTemplateOrBuilder()
 Template is the object that describes the pod that will be created if
 insufficient replicas are detected. | 
| boolean | hasMinReadySeconds()
 Minimum number of seconds for which a newly created pod should be ready
 without any of its container crashing, for it to be considered available. | 
| boolean | hasReplicas()
 Replicas is the number of desired replicas. | 
| boolean | hasTemplate()
 Template is the object that describes the pod that will be created if
 insufficient replicas are detected. | 
| protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| protected com.google.protobuf.MapField | internalGetMapField(int number) | 
| protected com.google.protobuf.MapField | internalGetMutableMapField(int number) | 
| boolean | isInitialized() | 
| V1.ReplicationControllerSpec.Builder | mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| V1.ReplicationControllerSpec.Builder | mergeFrom(com.google.protobuf.Message other) | 
| V1.ReplicationControllerSpec.Builder | mergeFrom(V1.ReplicationControllerSpec other) | 
| V1.ReplicationControllerSpec.Builder | mergeTemplate(V1.PodTemplateSpec value)
 Template is the object that describes the pod that will be created if
 insufficient replicas are detected. | 
| V1.ReplicationControllerSpec.Builder | mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
| V1.ReplicationControllerSpec.Builder | putAllSelector(Map<String,String> values)
 Selector is a label query over pods that should match the Replicas count. | 
| V1.ReplicationControllerSpec.Builder | putSelector(String key,
           String value)
 Selector is a label query over pods that should match the Replicas count. | 
| V1.ReplicationControllerSpec.Builder | removeSelector(String key)
 Selector is a label query over pods that should match the Replicas count. | 
| V1.ReplicationControllerSpec.Builder | setField(com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) | 
| V1.ReplicationControllerSpec.Builder | setMinReadySeconds(int value)
 Minimum number of seconds for which a newly created pod should be ready
 without any of its container crashing, for it to be considered available. | 
| V1.ReplicationControllerSpec.Builder | setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                int index,
                Object value) | 
| V1.ReplicationControllerSpec.Builder | setReplicas(int value)
 Replicas is the number of desired replicas. | 
| V1.ReplicationControllerSpec.Builder | setTemplate(V1.PodTemplateSpec.Builder builderForValue)
 Template is the object that describes the pod that will be created if
 insufficient replicas are detected. | 
| V1.ReplicationControllerSpec.Builder | setTemplate(V1.PodTemplateSpec value)
 Template is the object that describes the pod that will be created if
 insufficient replicas are detected. | 
| V1.ReplicationControllerSpec.Builder | setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.ReplicationControllerSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.ReplicationControllerSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.ReplicationControllerSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder mergeFrom(V1.ReplicationControllerSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public V1.ReplicationControllerSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ReplicationControllerSpec.Builder>IOExceptionpublic boolean hasReplicas()
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller +optional
optional int32 replicas = 1;hasReplicas in interface V1.ReplicationControllerSpecOrBuilderpublic int getReplicas()
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller +optional
optional int32 replicas = 1;getReplicas in interface V1.ReplicationControllerSpecOrBuilderpublic V1.ReplicationControllerSpec.Builder setReplicas(int value)
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller +optional
optional int32 replicas = 1;public V1.ReplicationControllerSpec.Builder clearReplicas()
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller +optional
optional int32 replicas = 1;public boolean hasMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) +optional
optional int32 minReadySeconds = 4;hasMinReadySeconds in interface V1.ReplicationControllerSpecOrBuilderpublic int getMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) +optional
optional int32 minReadySeconds = 4;getMinReadySeconds in interface V1.ReplicationControllerSpecOrBuilderpublic V1.ReplicationControllerSpec.Builder setMinReadySeconds(int value)
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) +optional
optional int32 minReadySeconds = 4;public V1.ReplicationControllerSpec.Builder clearMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) +optional
optional int32 minReadySeconds = 4;public int getSelectorCount()
V1.ReplicationControllerSpecOrBuilderSelector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;getSelectorCount in interface V1.ReplicationControllerSpecOrBuilderpublic boolean containsSelector(String key)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;containsSelector in interface V1.ReplicationControllerSpecOrBuilder@Deprecated public Map<String,String> getSelector()
getSelectorMap() instead.getSelector in interface V1.ReplicationControllerSpecOrBuilderpublic Map<String,String> getSelectorMap()
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;getSelectorMap in interface V1.ReplicationControllerSpecOrBuilderpublic String getSelectorOrDefault(String key, String defaultValue)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;getSelectorOrDefault in interface V1.ReplicationControllerSpecOrBuilderpublic String getSelectorOrThrow(String key)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;getSelectorOrThrow in interface V1.ReplicationControllerSpecOrBuilderpublic V1.ReplicationControllerSpec.Builder clearSelector()
public V1.ReplicationControllerSpec.Builder removeSelector(String key)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;@Deprecated public Map<String,String> getMutableSelector()
public V1.ReplicationControllerSpec.Builder putSelector(String key, String value)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;public V1.ReplicationControllerSpec.Builder putAllSelector(Map<String,String> values)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;public boolean hasTemplate()
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;hasTemplate in interface V1.ReplicationControllerSpecOrBuilderpublic V1.PodTemplateSpec getTemplate()
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;getTemplate in interface V1.ReplicationControllerSpecOrBuilderpublic V1.ReplicationControllerSpec.Builder setTemplate(V1.PodTemplateSpec value)
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;public V1.ReplicationControllerSpec.Builder setTemplate(V1.PodTemplateSpec.Builder builderForValue)
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;public V1.ReplicationControllerSpec.Builder mergeTemplate(V1.PodTemplateSpec value)
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;public V1.ReplicationControllerSpec.Builder clearTemplate()
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;public V1.PodTemplateSpec.Builder getTemplateBuilder()
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;public V1.PodTemplateSpecOrBuilder getTemplateOrBuilder()
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;getTemplateOrBuilder in interface V1.ReplicationControllerSpecOrBuilderpublic final V1.ReplicationControllerSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>public final V1.ReplicationControllerSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ReplicationControllerSpec.Builder>Copyright © 2020. All rights reserved.