public static final class V1.EnvVar.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVar.Builder> implements V1.EnvVarOrBuilder
EnvVar represents an environment variable present in a Container.Protobuf type
k8s.io.api.core.v1.EnvVar| Modifier and Type | Method and Description |
|---|---|
V1.EnvVar.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.EnvVar |
build() |
V1.EnvVar |
buildPartial() |
V1.EnvVar.Builder |
clear() |
V1.EnvVar.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.EnvVar.Builder |
clearName()
Name of the environment variable.
|
V1.EnvVar.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.EnvVar.Builder |
clearValue()
Variable references $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables.
|
V1.EnvVar.Builder |
clearValueFrom()
Source for the environment variable's value.
|
V1.EnvVar.Builder |
clone() |
V1.EnvVar |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of the environment variable.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the environment variable.
|
String |
getValue()
Variable references $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables.
|
com.google.protobuf.ByteString |
getValueBytes()
Variable references $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables.
|
V1.EnvVarSource |
getValueFrom()
Source for the environment variable's value.
|
V1.EnvVarSource.Builder |
getValueFromBuilder()
Source for the environment variable's value.
|
V1.EnvVarSourceOrBuilder |
getValueFromOrBuilder()
Source for the environment variable's value.
|
boolean |
hasName()
Name of the environment variable.
|
boolean |
hasValue()
Variable references $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables.
|
boolean |
hasValueFrom()
Source for the environment variable's value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.EnvVar.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.EnvVar.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.EnvVar.Builder |
mergeFrom(V1.EnvVar other) |
V1.EnvVar.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.EnvVar.Builder |
mergeValueFrom(V1.EnvVarSource value)
Source for the environment variable's value.
|
V1.EnvVar.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.EnvVar.Builder |
setName(String value)
Name of the environment variable.
|
V1.EnvVar.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the environment variable.
|
V1.EnvVar.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.EnvVar.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.EnvVar.Builder |
setValue(String value)
Variable references $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables.
|
V1.EnvVar.Builder |
setValueBytes(com.google.protobuf.ByteString value)
Variable references $(VAR_NAME) are expanded
using the previous defined environment variables in the container and
any service environment variables.
|
V1.EnvVar.Builder |
setValueFrom(V1.EnvVarSource.Builder builderForValue)
Source for the environment variable's value.
|
V1.EnvVar.Builder |
setValueFrom(V1.EnvVarSource value)
Source for the environment variable's value.
|
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.EnvVar.Builder>public V1.EnvVar.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.EnvVar.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.EnvVar.Builder>public V1.EnvVar getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.EnvVar build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.EnvVar buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.EnvVar.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.EnvVar.Builder>public V1.EnvVar.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.EnvVar.Builder>public V1.EnvVar.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVar.Builder>public V1.EnvVar.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVar.Builder>public V1.EnvVar.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.EnvVar.Builder>public V1.EnvVar.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.EnvVar.Builder>public V1.EnvVar.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.EnvVar.Builder>public V1.EnvVar.Builder mergeFrom(V1.EnvVar other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVar.Builder>public V1.EnvVar.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.EnvVar.Builder>IOExceptionpublic boolean hasName()
Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;hasName in interface V1.EnvVarOrBuilderpublic String getName()
Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;getName in interface V1.EnvVarOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;getNameBytes in interface V1.EnvVarOrBuilderpublic V1.EnvVar.Builder setName(String value)
Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;public V1.EnvVar.Builder clearName()
Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;public V1.EnvVar.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;public boolean hasValue()
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;hasValue in interface V1.EnvVarOrBuilderpublic String getValue()
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;getValue in interface V1.EnvVarOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;getValueBytes in interface V1.EnvVarOrBuilderpublic V1.EnvVar.Builder setValue(String value)
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;public V1.EnvVar.Builder clearValue()
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;public V1.EnvVar.Builder setValueBytes(com.google.protobuf.ByteString value)
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;public boolean hasValueFrom()
Source for the environment variable's value. Cannot be used if value is not empty. +optional
optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;hasValueFrom in interface V1.EnvVarOrBuilderpublic V1.EnvVarSource getValueFrom()
Source for the environment variable's value. Cannot be used if value is not empty. +optional
optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;getValueFrom in interface V1.EnvVarOrBuilderpublic V1.EnvVar.Builder setValueFrom(V1.EnvVarSource value)
Source for the environment variable's value. Cannot be used if value is not empty. +optional
optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;public V1.EnvVar.Builder setValueFrom(V1.EnvVarSource.Builder builderForValue)
Source for the environment variable's value. Cannot be used if value is not empty. +optional
optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;public V1.EnvVar.Builder mergeValueFrom(V1.EnvVarSource value)
Source for the environment variable's value. Cannot be used if value is not empty. +optional
optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;public V1.EnvVar.Builder clearValueFrom()
Source for the environment variable's value. Cannot be used if value is not empty. +optional
optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;public V1.EnvVarSource.Builder getValueFromBuilder()
Source for the environment variable's value. Cannot be used if value is not empty. +optional
optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;public V1.EnvVarSourceOrBuilder getValueFromOrBuilder()
Source for the environment variable's value. Cannot be used if value is not empty. +optional
optional .k8s.io.api.core.v1.EnvVarSource valueFrom = 3;getValueFromOrBuilder in interface V1.EnvVarOrBuilderpublic final V1.EnvVar.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVar.Builder>public final V1.EnvVar.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EnvVar.Builder>Copyright © 2018. All rights reserved.