Interface ContainerSpecOrBuilder (3.45.0)

public interface ContainerSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArgs(int index)

public abstract String getArgs(int index)

The arguments to be passed when starting the container.

repeated string args = 3;

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)

The arguments to be passed when starting the container.

repeated string args = 3;

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()

The arguments to be passed when starting the container.

repeated string args = 3;

Returns
Type Description
int

The count of args.

getArgsList()

public abstract List<String> getArgsList()

The arguments to be passed when starting the container.

repeated string args = 3;

Returns
Type Description
List<String>

A list containing the args.

getCommand(int index)

public abstract String getCommand(int index)

The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.

repeated string command = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The command at the given index.

getCommandBytes(int index)

public abstract ByteString getCommandBytes(int index)

The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.

repeated string command = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the command at the given index.

getCommandCount()

public abstract int getCommandCount()

The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.

repeated string command = 2;

Returns
Type Description
int

The count of command.

getCommandList()

public abstract List<String> getCommandList()

The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.

repeated string command = 2;

Returns
Type Description
List<String>

A list containing the command.

getEnv(int index)

public abstract EnvVar getEnv(int index)

Environment variables to be passed to the container. Maximum limit is 100.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;

Parameter
Name Description
index int
Returns
Type Description
EnvVar

getEnvCount()

public abstract int getEnvCount()

Environment variables to be passed to the container. Maximum limit is 100.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;

Returns
Type Description
int

getEnvList()

public abstract List<EnvVar> getEnvList()

Environment variables to be passed to the container. Maximum limit is 100.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;

Returns
Type Description
List<EnvVar>

getEnvOrBuilder(int index)

public abstract EnvVarOrBuilder getEnvOrBuilder(int index)

Environment variables to be passed to the container. Maximum limit is 100.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;

Parameter
Name Description
index int
Returns
Type Description
EnvVarOrBuilder

getEnvOrBuilderList()

public abstract List<? extends EnvVarOrBuilder> getEnvOrBuilderList()

Environment variables to be passed to the container. Maximum limit is 100.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.EnvVarOrBuilder>

getImageUri()

public abstract String getImageUri()

Required. The URI of a container image in the Container Registry that is to be run on each worker replica.

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

Returns
Type Description
String

The imageUri.

getImageUriBytes()

public abstract ByteString getImageUriBytes()

Required. The URI of a container image in the Container Registry that is to be run on each worker replica.

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

Returns
Type Description
ByteString

The bytes for imageUri.