public static final class V1.EnvVarSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVarSource.Builder> implements V1.EnvVarSourceOrBuilder
EnvVarSource represents a source for the value of an EnvVar.Protobuf type
k8s.io.api.core.v1.EnvVarSource| Modifier and Type | Method and Description |
|---|---|
V1.EnvVarSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.EnvVarSource |
build() |
V1.EnvVarSource |
buildPartial() |
V1.EnvVarSource.Builder |
clear() |
V1.EnvVarSource.Builder |
clearConfigMapKeyRef()
Selects a key of a ConfigMap.
|
V1.EnvVarSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.EnvVarSource.Builder |
clearFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
V1.EnvVarSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.EnvVarSource.Builder |
clearResourceFieldRef()
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
V1.EnvVarSource.Builder |
clearSecretKeyRef()
Selects a key of a secret in the pod's namespace
+optional
|
V1.EnvVarSource.Builder |
clone() |
V1.ConfigMapKeySelector |
getConfigMapKeyRef()
Selects a key of a ConfigMap.
|
V1.ConfigMapKeySelector.Builder |
getConfigMapKeyRefBuilder()
Selects a key of a ConfigMap.
|
V1.ConfigMapKeySelectorOrBuilder |
getConfigMapKeyRefOrBuilder()
Selects a key of a ConfigMap.
|
V1.EnvVarSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1.ObjectFieldSelector |
getFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
V1.ObjectFieldSelector.Builder |
getFieldRefBuilder()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
V1.ObjectFieldSelectorOrBuilder |
getFieldRefOrBuilder()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
V1.ResourceFieldSelector |
getResourceFieldRef()
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
V1.ResourceFieldSelector.Builder |
getResourceFieldRefBuilder()
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
V1.ResourceFieldSelectorOrBuilder |
getResourceFieldRefOrBuilder()
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
V1.SecretKeySelector |
getSecretKeyRef()
Selects a key of a secret in the pod's namespace
+optional
|
V1.SecretKeySelector.Builder |
getSecretKeyRefBuilder()
Selects a key of a secret in the pod's namespace
+optional
|
V1.SecretKeySelectorOrBuilder |
getSecretKeyRefOrBuilder()
Selects a key of a secret in the pod's namespace
+optional
|
boolean |
hasConfigMapKeyRef()
Selects a key of a ConfigMap.
|
boolean |
hasFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
boolean |
hasResourceFieldRef()
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
boolean |
hasSecretKeyRef()
Selects a key of a secret in the pod's namespace
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.EnvVarSource.Builder |
mergeConfigMapKeyRef(V1.ConfigMapKeySelector value)
Selects a key of a ConfigMap.
|
V1.EnvVarSource.Builder |
mergeFieldRef(V1.ObjectFieldSelector value)
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
V1.EnvVarSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.EnvVarSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.EnvVarSource.Builder |
mergeFrom(V1.EnvVarSource other) |
V1.EnvVarSource.Builder |
mergeResourceFieldRef(V1.ResourceFieldSelector value)
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
V1.EnvVarSource.Builder |
mergeSecretKeyRef(V1.SecretKeySelector value)
Selects a key of a secret in the pod's namespace
+optional
|
V1.EnvVarSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.EnvVarSource.Builder |
setConfigMapKeyRef(V1.ConfigMapKeySelector.Builder builderForValue)
Selects a key of a ConfigMap.
|
V1.EnvVarSource.Builder |
setConfigMapKeyRef(V1.ConfigMapKeySelector value)
Selects a key of a ConfigMap.
|
V1.EnvVarSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.EnvVarSource.Builder |
setFieldRef(V1.ObjectFieldSelector.Builder builderForValue)
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
V1.EnvVarSource.Builder |
setFieldRef(V1.ObjectFieldSelector value)
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
V1.EnvVarSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.EnvVarSource.Builder |
setResourceFieldRef(V1.ResourceFieldSelector.Builder builderForValue)
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
V1.EnvVarSource.Builder |
setResourceFieldRef(V1.ResourceFieldSelector value)
Selects a resource of the container: only resources limits and requests
(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
|
V1.EnvVarSource.Builder |
setSecretKeyRef(V1.SecretKeySelector.Builder builderForValue)
Selects a key of a secret in the pod's namespace
+optional
|
V1.EnvVarSource.Builder |
setSecretKeyRef(V1.SecretKeySelector value)
Selects a key of a secret in the pod's namespace
+optional
|
V1.EnvVarSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVarSource.Builder>public V1.EnvVarSource.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.EnvVarSource.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.EnvVarSource.Builder>public V1.EnvVarSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.EnvVarSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.EnvVarSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.EnvVarSource.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.EnvVarSource.Builder>public V1.EnvVarSource.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.EnvVarSource.Builder>public V1.EnvVarSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVarSource.Builder>public V1.EnvVarSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVarSource.Builder>public V1.EnvVarSource.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.EnvVarSource.Builder>public V1.EnvVarSource.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.EnvVarSource.Builder>public V1.EnvVarSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.EnvVarSource.Builder>public V1.EnvVarSource.Builder mergeFrom(V1.EnvVarSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVarSource.Builder>public V1.EnvVarSource.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.EnvVarSource.Builder>IOExceptionpublic boolean hasFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;hasFieldRef in interface V1.EnvVarSourceOrBuilderpublic V1.ObjectFieldSelector getFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;getFieldRef in interface V1.EnvVarSourceOrBuilderpublic V1.EnvVarSource.Builder setFieldRef(V1.ObjectFieldSelector value)
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;public V1.EnvVarSource.Builder setFieldRef(V1.ObjectFieldSelector.Builder builderForValue)
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;public V1.EnvVarSource.Builder mergeFieldRef(V1.ObjectFieldSelector value)
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;public V1.EnvVarSource.Builder clearFieldRef()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;public V1.ObjectFieldSelector.Builder getFieldRefBuilder()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;public V1.ObjectFieldSelectorOrBuilder getFieldRefOrBuilder()
Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 1;getFieldRefOrBuilder in interface V1.EnvVarSourceOrBuilderpublic boolean hasResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;hasResourceFieldRef in interface V1.EnvVarSourceOrBuilderpublic V1.ResourceFieldSelector getResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;getResourceFieldRef in interface V1.EnvVarSourceOrBuilderpublic V1.EnvVarSource.Builder setResourceFieldRef(V1.ResourceFieldSelector value)
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;public V1.EnvVarSource.Builder setResourceFieldRef(V1.ResourceFieldSelector.Builder builderForValue)
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;public V1.EnvVarSource.Builder mergeResourceFieldRef(V1.ResourceFieldSelector value)
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;public V1.EnvVarSource.Builder clearResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;public V1.ResourceFieldSelector.Builder getResourceFieldRefBuilder()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;public V1.ResourceFieldSelectorOrBuilder getResourceFieldRefOrBuilder()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 2;getResourceFieldRefOrBuilder in interface V1.EnvVarSourceOrBuilderpublic boolean hasConfigMapKeyRef()
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;hasConfigMapKeyRef in interface V1.EnvVarSourceOrBuilderpublic V1.ConfigMapKeySelector getConfigMapKeyRef()
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;getConfigMapKeyRef in interface V1.EnvVarSourceOrBuilderpublic V1.EnvVarSource.Builder setConfigMapKeyRef(V1.ConfigMapKeySelector value)
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;public V1.EnvVarSource.Builder setConfigMapKeyRef(V1.ConfigMapKeySelector.Builder builderForValue)
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;public V1.EnvVarSource.Builder mergeConfigMapKeyRef(V1.ConfigMapKeySelector value)
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;public V1.EnvVarSource.Builder clearConfigMapKeyRef()
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;public V1.ConfigMapKeySelector.Builder getConfigMapKeyRefBuilder()
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;public V1.ConfigMapKeySelectorOrBuilder getConfigMapKeyRefOrBuilder()
Selects a key of a ConfigMap. +optional
optional .k8s.io.api.core.v1.ConfigMapKeySelector configMapKeyRef = 3;getConfigMapKeyRefOrBuilder in interface V1.EnvVarSourceOrBuilderpublic boolean hasSecretKeyRef()
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;hasSecretKeyRef in interface V1.EnvVarSourceOrBuilderpublic V1.SecretKeySelector getSecretKeyRef()
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;getSecretKeyRef in interface V1.EnvVarSourceOrBuilderpublic V1.EnvVarSource.Builder setSecretKeyRef(V1.SecretKeySelector value)
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;public V1.EnvVarSource.Builder setSecretKeyRef(V1.SecretKeySelector.Builder builderForValue)
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;public V1.EnvVarSource.Builder mergeSecretKeyRef(V1.SecretKeySelector value)
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;public V1.EnvVarSource.Builder clearSecretKeyRef()
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;public V1.SecretKeySelector.Builder getSecretKeyRefBuilder()
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;public V1.SecretKeySelectorOrBuilder getSecretKeyRefOrBuilder()
Selects a key of a secret in the pod's namespace +optional
optional .k8s.io.api.core.v1.SecretKeySelector secretKeyRef = 4;getSecretKeyRefOrBuilder in interface V1.EnvVarSourceOrBuilderpublic final V1.EnvVarSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVarSource.Builder>public final V1.EnvVarSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVarSource.Builder>Copyright © 2018. All rights reserved.