public interface PythonPackageSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getArgs(int index)
Command line arguments to be passed to the Python task.
|
com.google.protobuf.ByteString |
getArgsBytes(int index)
Command line arguments to be passed to the Python task.
|
int |
getArgsCount()
Command line arguments to be passed to the Python task.
|
List<String> |
getArgsList()
Command line arguments to be passed to the Python task.
|
EnvVar |
getEnv(int index)
Environment variables to be passed to the python module.
|
int |
getEnvCount()
Environment variables to be passed to the python module.
|
List<EnvVar> |
getEnvList()
Environment variables to be passed to the python module.
|
EnvVarOrBuilder |
getEnvOrBuilder(int index)
Environment variables to be passed to the python module.
|
List<? extends EnvVarOrBuilder> |
getEnvOrBuilderList()
Environment variables to be passed to the python module.
|
String |
getExecutorImageUri()
Required.
|
com.google.protobuf.ByteString |
getExecutorImageUriBytes()
Required.
|
String |
getPackageUris(int index)
Required.
|
com.google.protobuf.ByteString |
getPackageUrisBytes(int index)
Required.
|
int |
getPackageUrisCount()
Required.
|
List<String> |
getPackageUrisList()
Required.
|
String |
getPythonModule()
Required.
|
com.google.protobuf.ByteString |
getPythonModuleBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). You must use an image from this list.
string executor_image_uri = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.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](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). You must use an image from this list.
string executor_image_uri = 1 [(.google.api.field_behavior) = REQUIRED];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];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];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];index - The index of the element to return.com.google.protobuf.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];index - The index of the value to return.String getPythonModule()
Required. The Python module name to run after installing the packages.
string python_module = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getPythonModuleBytes()
Required. The Python module name to run after installing the packages.
string python_module = 3 [(.google.api.field_behavior) = REQUIRED];List<String> getArgsList()
Command line arguments to be passed to the Python task.
repeated string args = 4;int getArgsCount()
Command line arguments to be passed to the Python task.
repeated string args = 4;String getArgs(int index)
Command line arguments to be passed to the Python task.
repeated string args = 4;index - The index of the element to return.com.google.protobuf.ByteString getArgsBytes(int index)
Command line arguments to be passed to the Python task.
repeated string args = 4;index - The index of the value to return.List<EnvVar> getEnvList()
Environment variables to be passed to the python module. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 5;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;int getEnvCount()
Environment variables to be passed to the python module. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 5;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;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;Copyright © 2022 Google LLC. All rights reserved.