Package io.kubernetes.client.proto
Interface V1.EnvVarOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.EnvVar
,V1.EnvVar.Builder
- Enclosing class:
- V1
public static interface V1.EnvVarOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Name of the environment variable.com.google.protobuf.ByteString
Name of the environment variable.getValue()
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.com.google.protobuf.ByteString
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.Source for the environment variable's value.Source for the environment variable's value.boolean
hasName()
Name of the environment variable.boolean
hasValue()
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.boolean
Source for the environment variable's value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;
-
getName
String getName()Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the environment variable. Must be a C_IDENTIFIER.
optional string name = 1;
-
hasValue
boolean hasValue()Variable references $(VAR_NAME) are expanded using the previously 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;
-
getValue
String getValue()Variable references $(VAR_NAME) are expanded using the previously 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()Variable references $(VAR_NAME) are expanded using the previously 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
optional string value = 2;
-
hasValueFrom
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;
-
getValueFrom
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;
-
getValueFromOrBuilder
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;
-