Interface EnvVarOrBuilder (0.54.0)

public interface EnvVarOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. Name of the environment variable. Must not exceed 32768 characters.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the environment variable. Must not exceed 32768 characters.

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

Returns
Type Description
ByteString

The bytes for name.

getValue()

public abstract String getValue()

Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.

string value = 2;

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.

string value = 2;

Returns
Type Description
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
Type Description
EnvVarSource

The valueSource.

getValueSourceOrBuilder()

public abstract EnvVarSourceOrBuilder getValueSourceOrBuilder()

Source for the environment variable's value.

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

Returns
Type Description
EnvVarSourceOrBuilder

getValuesCase()

public abstract EnvVar.ValuesCase getValuesCase()
Returns
Type Description
EnvVar.ValuesCase

hasValue()

public abstract boolean hasValue()

Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.

string value = 2;

Returns
Type Description
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
Type Description
boolean

Whether the valueSource field is set.