Interface ContainerSpecOrBuilder (3.5.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
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)

The arguments to be passed when starting the container.

repeated string args = 3;

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

The arguments to be passed when starting the container.

repeated string args = 3;

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for imageUri.