Interface PythonPackageSpecOrBuilder (3.29.0)

public interface PythonPackageSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArgs(int index)

public abstract String getArgs(int index)

Command line arguments to be passed to the Python task.

repeated string args = 4;

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)

Command line arguments to be passed to the Python task.

repeated string args = 4;

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

Command line arguments to be passed to the Python task.

repeated string args = 4;

Returns
TypeDescription
int

The count of args.

getArgsList()

public abstract List<String> getArgsList()

Command line arguments to be passed to the Python task.

repeated string args = 4;

Returns
TypeDescription
List<String>

A list containing the args.

getEnv(int index)

public abstract EnvVar getEnv(int index)

Environment variables to be passed to the python module. Maximum limit is 100.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvVar

getEnvCount()

public abstract int getEnvCount()

Environment variables to be passed to the python module. Maximum limit is 100.

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

Returns
TypeDescription
int

getEnvList()

public abstract List<EnvVar> getEnvList()

Environment variables to be passed to the python module. Maximum limit is 100.

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

Returns
TypeDescription
List<EnvVar>

getEnvOrBuilder(int index)

public abstract EnvVarOrBuilder getEnvOrBuilder(int index)

Environment variables to be passed to the python module. Maximum limit is 100.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvVarOrBuilder

getEnvOrBuilderList()

public abstract List<? extends EnvVarOrBuilder> getEnvOrBuilderList()

Environment variables to be passed to the python module. Maximum limit is 100.

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

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

getExecutorImageUri()

public abstract String getExecutorImageUri()

Required. The URI of a container image in Artifact Registry that will run the provided Python package. Vertex AI provides a wide range of executor images with pre-installed packages to meet users' various use cases. See the list of pre-built containers for training. You must use an image from this list.

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

Returns
TypeDescription
String

The executorImageUri.

getExecutorImageUriBytes()

public abstract ByteString getExecutorImageUriBytes()

Required. The URI of a container image in Artifact Registry that will run the provided Python package. Vertex AI provides a wide range of executor images with pre-installed packages to meet users' various use cases. See the list of pre-built containers for training. You must use an image from this list.

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

Returns
TypeDescription
ByteString

The bytes for executorImageUri.

getPackageUris(int index)

public abstract String getPackageUris(int index)

Required. The Google Cloud Storage location of the Python package files which are the training program and its dependent packages. The maximum number of package URIs is 100.

repeated string package_uris = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The packageUris at the given index.

getPackageUrisBytes(int index)

public abstract ByteString getPackageUrisBytes(int index)

Required. The Google Cloud Storage location of the Python package files which are the training program and its dependent packages. The maximum number of package URIs is 100.

repeated string package_uris = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the packageUris at the given index.

getPackageUrisCount()

public abstract int getPackageUrisCount()

Required. The Google Cloud Storage location of the Python package files which are the training program and its dependent packages. The maximum number of package URIs is 100.

repeated string package_uris = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of packageUris.

getPackageUrisList()

public abstract List<String> getPackageUrisList()

Required. The Google Cloud Storage location of the Python package files which are the training program and its dependent packages. The maximum number of package URIs is 100.

repeated string package_uris = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<String>

A list containing the packageUris.

getPythonModule()

public abstract String getPythonModule()

Required. The Python module name to run after installing the packages.

string python_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The pythonModule.

getPythonModuleBytes()

public abstract ByteString getPythonModuleBytes()

Required. The Python module name to run after installing the packages.

string python_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for pythonModule.