Interface RunJobRequest.Overrides.ContainerOverrideOrBuilder (0.28.0)

public static interface RunJobRequest.Overrides.ContainerOverrideOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArgs(int index)

public abstract String getArgs(int index)

Optional. Arguments to the entrypoint. Will replace existing args for override.

repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The args at the given index.

getArgsBytes(int index)

public abstract ByteString getArgsBytes(int index)

Optional. Arguments to the entrypoint. Will replace existing args for override.

repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the args at the given index.

getArgsCount()

public abstract int getArgsCount()

Optional. Arguments to the entrypoint. Will replace existing args for override.

repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of args.

getArgsList()

public abstract List<String> getArgsList()

Optional. Arguments to the entrypoint. Will replace existing args for override.

repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the args.

getClearArgs()

public abstract boolean getClearArgs()

Optional. True if the intention is to clear out existing args list.

bool clear_args = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The clearArgs.

getEnv(int index)

public abstract EnvVar getEnv(int index)

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvVar

getEnvCount()

public abstract int getEnvCount()

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Returns
TypeDescription
int

getEnvList()

public abstract List<EnvVar> getEnvList()

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Returns
TypeDescription
List<EnvVar>

getEnvOrBuilder(int index)

public abstract EnvVarOrBuilder getEnvOrBuilder(int index)

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvVarOrBuilder

getEnvOrBuilderList()

public abstract List<? extends EnvVarOrBuilder> getEnvOrBuilderList()

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Returns
TypeDescription
List<? extends com.google.cloud.run.v2.EnvVarOrBuilder>

getName()

public abstract String getName()

The name of the container specified as a DNS_LABEL.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the container specified as a DNS_LABEL.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.