Interface KubernetesPodData.EnvVarOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KubernetesPodData.EnvVar,KubernetesPodData.EnvVar.Builder
- Enclosing class:
- KubernetesPodData
public static interface KubernetesPodData.EnvVarOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of the environment variable.com.google.protobuf.ByteStringName 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.ByteStringVariable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Name of the environment variable. Must be a C_IDENTIFIER.
string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the environment variable. Must be a C_IDENTIFIER.
string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
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 "".
string value = 2 [json_name = "value"];- Returns:
- The value.
-
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 "".
string value = 2 [json_name = "value"];- Returns:
- The bytes for value.
-