- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class PythonPackageSpec.Builder extends GeneratedMessageV3.Builder<PythonPackageSpec.Builder> implements PythonPackageSpecOrBuilder
The spec of a Python packaged code.
Protobuf type google.cloud.aiplatform.v1beta1.PythonPackageSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PythonPackageSpec.BuilderImplements
PythonPackageSpecOrBuilderMethods
addAllArgs(Iterable<String> values)
public PythonPackageSpec.Builder addAllArgs(Iterable<String> values)
Command line arguments to be passed to the Python task.
repeated string args = 4;
Name | Description |
values | Iterable<String> The args to add. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
addAllPackageUris(Iterable<String> values)
public PythonPackageSpec.Builder addAllPackageUris(Iterable<String> values)
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];
Name | Description |
values | Iterable<String> The packageUris to add. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
addArgs(String value)
public PythonPackageSpec.Builder addArgs(String value)
Command line arguments to be passed to the Python task.
repeated string args = 4;
Name | Description |
value | String The args to add. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
addArgsBytes(ByteString value)
public PythonPackageSpec.Builder addArgsBytes(ByteString value)
Command line arguments to be passed to the Python task.
repeated string args = 4;
Name | Description |
value | ByteString The bytes of the args to add. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
addPackageUris(String value)
public PythonPackageSpec.Builder addPackageUris(String value)
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];
Name | Description |
value | String The packageUris to add. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
addPackageUrisBytes(ByteString value)
public PythonPackageSpec.Builder addPackageUrisBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes of the packageUris to add. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PythonPackageSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PythonPackageSpec.Builder |
build()
public PythonPackageSpec build()
Type | Description |
PythonPackageSpec |
buildPartial()
public PythonPackageSpec buildPartial()
Type | Description |
PythonPackageSpec |
clear()
public PythonPackageSpec.Builder clear()
Type | Description |
PythonPackageSpec.Builder |
clearArgs()
public PythonPackageSpec.Builder clearArgs()
Command line arguments to be passed to the Python task.
repeated string args = 4;
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
clearExecutorImageUri()
public PythonPackageSpec.Builder clearExecutorImageUri()
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];
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PythonPackageSpec.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PythonPackageSpec.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PythonPackageSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PythonPackageSpec.Builder |
clearPackageUris()
public PythonPackageSpec.Builder clearPackageUris()
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];
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
clearPythonModule()
public PythonPackageSpec.Builder clearPythonModule()
Required. The Python module name to run after installing the packages.
string python_module = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
clone()
public PythonPackageSpec.Builder clone()
Type | Description |
PythonPackageSpec.Builder |
getArgs(int index)
public String getArgs(int index)
Command line arguments to be passed to the Python task.
repeated string args = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The args at the given index. |
getArgsBytes(int index)
public ByteString getArgsBytes(int index)
Command line arguments to be passed to the Python task.
repeated string args = 4;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the args at the given index. |
getArgsCount()
public int getArgsCount()
Command line arguments to be passed to the Python task.
repeated string args = 4;
Type | Description |
int | The count of args. |
getArgsList()
public ProtocolStringList getArgsList()
Command line arguments to be passed to the Python task.
repeated string args = 4;
Type | Description |
ProtocolStringList | A list containing the args. |
getDefaultInstanceForType()
public PythonPackageSpec getDefaultInstanceForType()
Type | Description |
PythonPackageSpec |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExecutorImageUri()
public 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];
Type | Description |
String | The executorImageUri. |
getExecutorImageUriBytes()
public 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];
Type | Description |
ByteString | The bytes for executorImageUri. |
getPackageUris(int index)
public 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];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The packageUris at the given index. |
getPackageUrisBytes(int index)
public 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];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the packageUris at the given index. |
getPackageUrisCount()
public 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];
Type | Description |
int | The count of packageUris. |
getPackageUrisList()
public ProtocolStringList 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];
Type | Description |
ProtocolStringList | A list containing the packageUris. |
getPythonModule()
public String getPythonModule()
Required. The Python module name to run after installing the packages.
string python_module = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The pythonModule. |
getPythonModuleBytes()
public ByteString getPythonModuleBytes()
Required. The Python module name to run after installing the packages.
string python_module = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for pythonModule. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PythonPackageSpec other)
public PythonPackageSpec.Builder mergeFrom(PythonPackageSpec other)
Name | Description |
other | PythonPackageSpec |
Type | Description |
PythonPackageSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PythonPackageSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PythonPackageSpec.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PythonPackageSpec.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PythonPackageSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PythonPackageSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PythonPackageSpec.Builder |
setArgs(int index, String value)
public PythonPackageSpec.Builder setArgs(int index, String value)
Command line arguments to be passed to the Python task.
repeated string args = 4;
Name | Description |
index | int The index to set the value at. |
value | String The args to set. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
setExecutorImageUri(String value)
public PythonPackageSpec.Builder setExecutorImageUri(String value)
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];
Name | Description |
value | String The executorImageUri to set. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
setExecutorImageUriBytes(ByteString value)
public PythonPackageSpec.Builder setExecutorImageUriBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for executorImageUri to set. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PythonPackageSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PythonPackageSpec.Builder |
setPackageUris(int index, String value)
public PythonPackageSpec.Builder setPackageUris(int index, String value)
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];
Name | Description |
index | int The index to set the value at. |
value | String The packageUris to set. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
setPythonModule(String value)
public PythonPackageSpec.Builder setPythonModule(String value)
Required. The Python module name to run after installing the packages.
string python_module = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The pythonModule to set. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
setPythonModuleBytes(ByteString value)
public PythonPackageSpec.Builder setPythonModuleBytes(ByteString value)
Required. The Python module name to run after installing the packages.
string python_module = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for pythonModule to set. |
Type | Description |
PythonPackageSpec.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PythonPackageSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PythonPackageSpec.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PythonPackageSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PythonPackageSpec.Builder |