Interface EnvVarOrBuilder (0.12.0)

public interface EnvVarOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getValue()

public abstract String getValue()

Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route 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 "", and the maximum length is 32768 bytes.

string value = 2;

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route 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 "", and the maximum length is 32768 bytes.

string value = 2;

Returns
TypeDescription
ByteString

The bytes for value.

getValueSource()

public abstract EnvVarSource getValueSource()

Source for the environment variable's value.

.google.cloud.run.v2.EnvVarSource value_source = 3;

Returns
TypeDescription
EnvVarSource

The valueSource.

getValueSourceOrBuilder()

public abstract EnvVarSourceOrBuilder getValueSourceOrBuilder()

Source for the environment variable's value.

.google.cloud.run.v2.EnvVarSource value_source = 3;

Returns
TypeDescription
EnvVarSourceOrBuilder

getValuesCase()

public abstract EnvVar.ValuesCase getValuesCase()
Returns
TypeDescription
EnvVar.ValuesCase

hasValue()

public abstract boolean hasValue()

Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route 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 "", and the maximum length is 32768 bytes.

string value = 2;

Returns
TypeDescription
boolean

Whether the value field is set.

hasValueSource()

public abstract boolean hasValueSource()

Source for the environment variable's value.

.google.cloud.run.v2.EnvVarSource value_source = 3;

Returns
TypeDescription
boolean

Whether the valueSource field is set.