Interface RunJobRequest.Overrides.ContainerOverrideOrBuilder (0.42.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the container specified as a DNS_LABEL.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.