- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
public static final class ExecutionTemplate.Builder extends GeneratedMessageV3.Builder<ExecutionTemplate.Builder> implements ExecutionTemplateOrBuilder
The description a notebook execution workload.
Protobuf type google.cloud.notebooks.v1.ExecutionTemplate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExecutionTemplate.BuilderImplements
ExecutionTemplateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExecutionTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExecutionTemplate.Builder |
build()
public ExecutionTemplate build()
Type | Description |
ExecutionTemplate |
buildPartial()
public ExecutionTemplate buildPartial()
Type | Description |
ExecutionTemplate |
clear()
public ExecutionTemplate.Builder clear()
Type | Description |
ExecutionTemplate.Builder |
clearAcceleratorConfig()
public ExecutionTemplate.Builder clearAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
Type | Description |
ExecutionTemplate.Builder |
clearContainerImageUri()
public ExecutionTemplate.Builder clearContainerImageUri()
Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More examples can be found at: https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container
string container_image_uri = 6;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearDataprocParameters()
public ExecutionTemplate.Builder clearDataprocParameters()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
Type | Description |
ExecutionTemplate.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExecutionTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ExecutionTemplate.Builder |
clearInputNotebookFile()
public ExecutionTemplate.Builder clearInputNotebookFile()
Path to the notebook file to execute.
Must be in a Google Cloud Storage bucket.
Format: gs://{bucket_name}/{folder}/{notebook_file_name}
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb
string input_notebook_file = 5;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearJobParameters()
public ExecutionTemplate.Builder clearJobParameters()
Type | Description |
ExecutionTemplate.Builder |
clearJobType()
public ExecutionTemplate.Builder clearJobType()
The type of Job to be used on this execution.
.google.cloud.notebooks.v1.ExecutionTemplate.JobType job_type = 11;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearKernelSpec()
public ExecutionTemplate.Builder clearKernelSpec()
Name of the kernel spec to use. This must be specified if the kernel spec name on the execution target does not match the name in the input notebook file.
string kernel_spec = 14;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearLabels()
public ExecutionTemplate.Builder clearLabels()
Type | Description |
ExecutionTemplate.Builder |
clearMasterType()
public ExecutionTemplate.Builder clearMasterType()
Specifies the type of virtual machine to use for your training
job's master worker. You must specify this field when scaleTier
is set to
CUSTOM
.
You can use certain Compute Engine machine types directly in this field.
The following types are supported:
n1-standard-4
n1-standard-8
n1-standard-16
n1-standard-32
n1-standard-64
n1-standard-96
n1-highmem-2
n1-highmem-4
n1-highmem-8
n1-highmem-16
n1-highmem-32
n1-highmem-64
n1-highmem-96
n1-highcpu-16
n1-highcpu-32
n1-highcpu-64
n1-highcpu-96
Alternatively, you can use the following legacy machine types:standard
large_model
complex_model_s
complex_model_m
complex_model_l
standard_gpu
complex_model_m_gpu
complex_model_l_gpu
standard_p100
complex_model_m_p100
standard_v100
large_model_v100
complex_model_m_v100
complex_model_l_v100
Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPU.
string master_type = 2;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExecutionTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ExecutionTemplate.Builder |
clearOutputNotebookFolder()
public ExecutionTemplate.Builder clearOutputNotebookFolder()
Path to the notebook folder to write to.
Must be in a Google Cloud Storage bucket path.
Format: gs://{bucket_name}/{folder}
Ex: gs://notebook_user/scheduled_notebooks
string output_notebook_folder = 7;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearParameters()
public ExecutionTemplate.Builder clearParameters()
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearParamsYamlFile()
public ExecutionTemplate.Builder clearParamsYamlFile()
Parameters to be overridden in the notebook during execution.
Ref https://papermill.readthedocs.io/en/latest/usage-parameterize.html on
how to specifying parameters in the input notebook and pass them here
in an YAML file.
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook_params.yaml
string params_yaml_file = 8;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearScaleTier() (deprecated)
public ExecutionTemplate.Builder clearScaleTier()
Deprecated. google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated. See google/cloud/notebooks/v1/execution.proto;l=151
Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported.
.google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier scale_tier = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearServiceAccount()
public ExecutionTemplate.Builder clearServiceAccount()
The email address of a service account to use when running the execution.
You must have the iam.serviceAccounts.actAs
permission for the specified
service account.
string service_account = 10;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearTensorboard()
public ExecutionTemplate.Builder clearTensorboard()
The name of a Vertex AI [Tensorboard] resource to which this execution
will upload Tensorboard logs.
Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
string tensorboard = 15 [(.google.api.resource_reference) = { ... }
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearVertexAiParameters()
public ExecutionTemplate.Builder clearVertexAiParameters()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
Type | Description |
ExecutionTemplate.Builder |
clone()
public ExecutionTemplate.Builder clone()
Type | Description |
ExecutionTemplate.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getAcceleratorConfig()
public ExecutionTemplate.SchedulerAcceleratorConfig getAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
Type | Description |
ExecutionTemplate.SchedulerAcceleratorConfig | The acceleratorConfig. |
getAcceleratorConfigBuilder()
public ExecutionTemplate.SchedulerAcceleratorConfig.Builder getAcceleratorConfigBuilder()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
Type | Description |
ExecutionTemplate.SchedulerAcceleratorConfig.Builder |
getAcceleratorConfigOrBuilder()
public ExecutionTemplate.SchedulerAcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
Type | Description |
ExecutionTemplate.SchedulerAcceleratorConfigOrBuilder |
getContainerImageUri()
public String getContainerImageUri()
Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More examples can be found at: https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container
string container_image_uri = 6;
Type | Description |
String | The containerImageUri. |
getContainerImageUriBytes()
public ByteString getContainerImageUriBytes()
Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More examples can be found at: https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container
string container_image_uri = 6;
Type | Description |
ByteString | The bytes for containerImageUri. |
getDataprocParameters()
public ExecutionTemplate.DataprocParameters getDataprocParameters()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
Type | Description |
ExecutionTemplate.DataprocParameters | The dataprocParameters. |
getDataprocParametersBuilder()
public ExecutionTemplate.DataprocParameters.Builder getDataprocParametersBuilder()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
Type | Description |
ExecutionTemplate.DataprocParameters.Builder |
getDataprocParametersOrBuilder()
public ExecutionTemplate.DataprocParametersOrBuilder getDataprocParametersOrBuilder()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
Type | Description |
ExecutionTemplate.DataprocParametersOrBuilder |
getDefaultInstanceForType()
public ExecutionTemplate getDefaultInstanceForType()
Type | Description |
ExecutionTemplate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getInputNotebookFile()
public String getInputNotebookFile()
Path to the notebook file to execute.
Must be in a Google Cloud Storage bucket.
Format: gs://{bucket_name}/{folder}/{notebook_file_name}
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb
string input_notebook_file = 5;
Type | Description |
String | The inputNotebookFile. |
getInputNotebookFileBytes()
public ByteString getInputNotebookFileBytes()
Path to the notebook file to execute.
Must be in a Google Cloud Storage bucket.
Format: gs://{bucket_name}/{folder}/{notebook_file_name}
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb
string input_notebook_file = 5;
Type | Description |
ByteString | The bytes for inputNotebookFile. |
getJobParametersCase()
public ExecutionTemplate.JobParametersCase getJobParametersCase()
Type | Description |
ExecutionTemplate.JobParametersCase |
getJobType()
public ExecutionTemplate.JobType getJobType()
The type of Job to be used on this execution.
.google.cloud.notebooks.v1.ExecutionTemplate.JobType job_type = 11;
Type | Description |
ExecutionTemplate.JobType | The jobType. |
getJobTypeValue()
public int getJobTypeValue()
The type of Job to be used on this execution.
.google.cloud.notebooks.v1.ExecutionTemplate.JobType job_type = 11;
Type | Description |
int | The enum numeric value on the wire for jobType. |
getKernelSpec()
public String getKernelSpec()
Name of the kernel spec to use. This must be specified if the kernel spec name on the execution target does not match the name in the input notebook file.
string kernel_spec = 14;
Type | Description |
String | The kernelSpec. |
getKernelSpecBytes()
public ByteString getKernelSpecBytes()
Name of the kernel spec to use. This must be specified if the kernel spec name on the execution target does not match the name in the input notebook file.
string kernel_spec = 14;
Type | Description |
ByteString | The bytes for kernelSpec. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
map<string, string> labels = 4;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
map<string, string> labels = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
String |
getMasterType()
public String getMasterType()
Specifies the type of virtual machine to use for your training
job's master worker. You must specify this field when scaleTier
is set to
CUSTOM
.
You can use certain Compute Engine machine types directly in this field.
The following types are supported:
n1-standard-4
n1-standard-8
n1-standard-16
n1-standard-32
n1-standard-64
n1-standard-96
n1-highmem-2
n1-highmem-4
n1-highmem-8
n1-highmem-16
n1-highmem-32
n1-highmem-64
n1-highmem-96
n1-highcpu-16
n1-highcpu-32
n1-highcpu-64
n1-highcpu-96
Alternatively, you can use the following legacy machine types:standard
large_model
complex_model_s
complex_model_m
complex_model_l
standard_gpu
complex_model_m_gpu
complex_model_l_gpu
standard_p100
complex_model_m_p100
standard_v100
large_model_v100
complex_model_m_v100
complex_model_l_v100
Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPU.
string master_type = 2;
Type | Description |
String | The masterType. |
getMasterTypeBytes()
public ByteString getMasterTypeBytes()
Specifies the type of virtual machine to use for your training
job's master worker. You must specify this field when scaleTier
is set to
CUSTOM
.
You can use certain Compute Engine machine types directly in this field.
The following types are supported:
n1-standard-4
n1-standard-8
n1-standard-16
n1-standard-32
n1-standard-64
n1-standard-96
n1-highmem-2
n1-highmem-4
n1-highmem-8
n1-highmem-16
n1-highmem-32
n1-highmem-64
n1-highmem-96
n1-highcpu-16
n1-highcpu-32
n1-highcpu-64
n1-highcpu-96
Alternatively, you can use the following legacy machine types:standard
large_model
complex_model_s
complex_model_m
complex_model_l
standard_gpu
complex_model_m_gpu
complex_model_l_gpu
standard_p100
complex_model_m_p100
standard_v100
large_model_v100
complex_model_m_v100
complex_model_l_v100
Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPU.
string master_type = 2;
Type | Description |
ByteString | The bytes for masterType. |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getOutputNotebookFolder()
public String getOutputNotebookFolder()
Path to the notebook folder to write to.
Must be in a Google Cloud Storage bucket path.
Format: gs://{bucket_name}/{folder}
Ex: gs://notebook_user/scheduled_notebooks
string output_notebook_folder = 7;
Type | Description |
String | The outputNotebookFolder. |
getOutputNotebookFolderBytes()
public ByteString getOutputNotebookFolderBytes()
Path to the notebook folder to write to.
Must be in a Google Cloud Storage bucket path.
Format: gs://{bucket_name}/{folder}
Ex: gs://notebook_user/scheduled_notebooks
string output_notebook_folder = 7;
Type | Description |
ByteString | The bytes for outputNotebookFolder. |
getParameters()
public String getParameters()
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
Type | Description |
String | The parameters. |
getParametersBytes()
public ByteString getParametersBytes()
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
Type | Description |
ByteString | The bytes for parameters. |
getParamsYamlFile()
public String getParamsYamlFile()
Parameters to be overridden in the notebook during execution.
Ref https://papermill.readthedocs.io/en/latest/usage-parameterize.html on
how to specifying parameters in the input notebook and pass them here
in an YAML file.
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook_params.yaml
string params_yaml_file = 8;
Type | Description |
String | The paramsYamlFile. |
getParamsYamlFileBytes()
public ByteString getParamsYamlFileBytes()
Parameters to be overridden in the notebook during execution.
Ref https://papermill.readthedocs.io/en/latest/usage-parameterize.html on
how to specifying parameters in the input notebook and pass them here
in an YAML file.
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook_params.yaml
string params_yaml_file = 8;
Type | Description |
ByteString | The bytes for paramsYamlFile. |
getScaleTier() (deprecated)
public ExecutionTemplate.ScaleTier getScaleTier()
Deprecated. google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated. See google/cloud/notebooks/v1/execution.proto;l=151
Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported.
.google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier scale_tier = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
Type | Description |
ExecutionTemplate.ScaleTier | The scaleTier. |
getScaleTierValue() (deprecated)
public int getScaleTierValue()
Deprecated. google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated. See google/cloud/notebooks/v1/execution.proto;l=151
Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported.
.google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier scale_tier = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for scaleTier. |
getServiceAccount()
public String getServiceAccount()
The email address of a service account to use when running the execution.
You must have the iam.serviceAccounts.actAs
permission for the specified
service account.
string service_account = 10;
Type | Description |
String | The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
The email address of a service account to use when running the execution.
You must have the iam.serviceAccounts.actAs
permission for the specified
service account.
string service_account = 10;
Type | Description |
ByteString | The bytes for serviceAccount. |
getTensorboard()
public String getTensorboard()
The name of a Vertex AI [Tensorboard] resource to which this execution
will upload Tensorboard logs.
Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
string tensorboard = 15 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The tensorboard. |
getTensorboardBytes()
public ByteString getTensorboardBytes()
The name of a Vertex AI [Tensorboard] resource to which this execution
will upload Tensorboard logs.
Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
string tensorboard = 15 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for tensorboard. |
getVertexAiParameters()
public ExecutionTemplate.VertexAIParameters getVertexAiParameters()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
Type | Description |
ExecutionTemplate.VertexAIParameters | The vertexAiParameters. |
getVertexAiParametersBuilder()
public ExecutionTemplate.VertexAIParameters.Builder getVertexAiParametersBuilder()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
Type | Description |
ExecutionTemplate.VertexAIParameters.Builder |
getVertexAiParametersOrBuilder()
public ExecutionTemplate.VertexAIParametersOrBuilder getVertexAiParametersOrBuilder()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
Type | Description |
ExecutionTemplate.VertexAIParametersOrBuilder |
hasAcceleratorConfig()
public boolean hasAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
Type | Description |
boolean | Whether the acceleratorConfig field is set. |
hasDataprocParameters()
public boolean hasDataprocParameters()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
Type | Description |
boolean | Whether the dataprocParameters field is set. |
hasVertexAiParameters()
public boolean hasVertexAiParameters()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
Type | Description |
boolean | Whether the vertexAiParameters field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig value)
public ExecutionTemplate.Builder mergeAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig value)
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
Name | Description |
value | ExecutionTemplate.SchedulerAcceleratorConfig |
Type | Description |
ExecutionTemplate.Builder |
mergeDataprocParameters(ExecutionTemplate.DataprocParameters value)
public ExecutionTemplate.Builder mergeDataprocParameters(ExecutionTemplate.DataprocParameters value)
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
Name | Description |
value | ExecutionTemplate.DataprocParameters |
Type | Description |
ExecutionTemplate.Builder |
mergeFrom(ExecutionTemplate other)
public ExecutionTemplate.Builder mergeFrom(ExecutionTemplate other)
Name | Description |
other | ExecutionTemplate |
Type | Description |
ExecutionTemplate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExecutionTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExecutionTemplate.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ExecutionTemplate.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ExecutionTemplate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExecutionTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExecutionTemplate.Builder |
mergeVertexAiParameters(ExecutionTemplate.VertexAIParameters value)
public ExecutionTemplate.Builder mergeVertexAiParameters(ExecutionTemplate.VertexAIParameters value)
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
Name | Description |
value | ExecutionTemplate.VertexAIParameters |
Type | Description |
ExecutionTemplate.Builder |
putAllLabels(Map<String,String> values)
public ExecutionTemplate.Builder putAllLabels(Map<String,String> values)
Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
map<string, string> labels = 4;
Name | Description |
values | Map<String,String> |
Type | Description |
ExecutionTemplate.Builder |
putLabels(String key, String value)
public ExecutionTemplate.Builder putLabels(String key, String value)
Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
map<string, string> labels = 4;
Name | Description |
key | String |
value | String |
Type | Description |
ExecutionTemplate.Builder |
removeLabels(String key)
public ExecutionTemplate.Builder removeLabels(String key)
Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
ExecutionTemplate.Builder |
setAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig value)
public ExecutionTemplate.Builder setAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig value)
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
Name | Description |
value | ExecutionTemplate.SchedulerAcceleratorConfig |
Type | Description |
ExecutionTemplate.Builder |
setAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig.Builder builderForValue)
public ExecutionTemplate.Builder setAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig.Builder builderForValue)
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
Name | Description |
builderForValue | ExecutionTemplate.SchedulerAcceleratorConfig.Builder |
Type | Description |
ExecutionTemplate.Builder |
setContainerImageUri(String value)
public ExecutionTemplate.Builder setContainerImageUri(String value)
Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More examples can be found at: https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container
string container_image_uri = 6;
Name | Description |
value | String The containerImageUri to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setContainerImageUriBytes(ByteString value)
public ExecutionTemplate.Builder setContainerImageUriBytes(ByteString value)
Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More examples can be found at: https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container
string container_image_uri = 6;
Name | Description |
value | ByteString The bytes for containerImageUri to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setDataprocParameters(ExecutionTemplate.DataprocParameters value)
public ExecutionTemplate.Builder setDataprocParameters(ExecutionTemplate.DataprocParameters value)
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
Name | Description |
value | ExecutionTemplate.DataprocParameters |
Type | Description |
ExecutionTemplate.Builder |
setDataprocParameters(ExecutionTemplate.DataprocParameters.Builder builderForValue)
public ExecutionTemplate.Builder setDataprocParameters(ExecutionTemplate.DataprocParameters.Builder builderForValue)
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
Name | Description |
builderForValue | ExecutionTemplate.DataprocParameters.Builder |
Type | Description |
ExecutionTemplate.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExecutionTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExecutionTemplate.Builder |
setInputNotebookFile(String value)
public ExecutionTemplate.Builder setInputNotebookFile(String value)
Path to the notebook file to execute.
Must be in a Google Cloud Storage bucket.
Format: gs://{bucket_name}/{folder}/{notebook_file_name}
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb
string input_notebook_file = 5;
Name | Description |
value | String The inputNotebookFile to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setInputNotebookFileBytes(ByteString value)
public ExecutionTemplate.Builder setInputNotebookFileBytes(ByteString value)
Path to the notebook file to execute.
Must be in a Google Cloud Storage bucket.
Format: gs://{bucket_name}/{folder}/{notebook_file_name}
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb
string input_notebook_file = 5;
Name | Description |
value | ByteString The bytes for inputNotebookFile to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setJobType(ExecutionTemplate.JobType value)
public ExecutionTemplate.Builder setJobType(ExecutionTemplate.JobType value)
The type of Job to be used on this execution.
.google.cloud.notebooks.v1.ExecutionTemplate.JobType job_type = 11;
Name | Description |
value | ExecutionTemplate.JobType The jobType to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setJobTypeValue(int value)
public ExecutionTemplate.Builder setJobTypeValue(int value)
The type of Job to be used on this execution.
.google.cloud.notebooks.v1.ExecutionTemplate.JobType job_type = 11;
Name | Description |
value | int The enum numeric value on the wire for jobType to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setKernelSpec(String value)
public ExecutionTemplate.Builder setKernelSpec(String value)
Name of the kernel spec to use. This must be specified if the kernel spec name on the execution target does not match the name in the input notebook file.
string kernel_spec = 14;
Name | Description |
value | String The kernelSpec to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setKernelSpecBytes(ByteString value)
public ExecutionTemplate.Builder setKernelSpecBytes(ByteString value)
Name of the kernel spec to use. This must be specified if the kernel spec name on the execution target does not match the name in the input notebook file.
string kernel_spec = 14;
Name | Description |
value | ByteString The bytes for kernelSpec to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setMasterType(String value)
public ExecutionTemplate.Builder setMasterType(String value)
Specifies the type of virtual machine to use for your training
job's master worker. You must specify this field when scaleTier
is set to
CUSTOM
.
You can use certain Compute Engine machine types directly in this field.
The following types are supported:
n1-standard-4
n1-standard-8
n1-standard-16
n1-standard-32
n1-standard-64
n1-standard-96
n1-highmem-2
n1-highmem-4
n1-highmem-8
n1-highmem-16
n1-highmem-32
n1-highmem-64
n1-highmem-96
n1-highcpu-16
n1-highcpu-32
n1-highcpu-64
n1-highcpu-96
Alternatively, you can use the following legacy machine types:standard
large_model
complex_model_s
complex_model_m
complex_model_l
standard_gpu
complex_model_m_gpu
complex_model_l_gpu
standard_p100
complex_model_m_p100
standard_v100
large_model_v100
complex_model_m_v100
complex_model_l_v100
Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPU.
string master_type = 2;
Name | Description |
value | String The masterType to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setMasterTypeBytes(ByteString value)
public ExecutionTemplate.Builder setMasterTypeBytes(ByteString value)
Specifies the type of virtual machine to use for your training
job's master worker. You must specify this field when scaleTier
is set to
CUSTOM
.
You can use certain Compute Engine machine types directly in this field.
The following types are supported:
n1-standard-4
n1-standard-8
n1-standard-16
n1-standard-32
n1-standard-64
n1-standard-96
n1-highmem-2
n1-highmem-4
n1-highmem-8
n1-highmem-16
n1-highmem-32
n1-highmem-64
n1-highmem-96
n1-highcpu-16
n1-highcpu-32
n1-highcpu-64
n1-highcpu-96
Alternatively, you can use the following legacy machine types:standard
large_model
complex_model_s
complex_model_m
complex_model_l
standard_gpu
complex_model_m_gpu
complex_model_l_gpu
standard_p100
complex_model_m_p100
standard_v100
large_model_v100
complex_model_m_v100
complex_model_l_v100
Finally, if you want to use a TPU for training, specifycloud_tpu
in this field. Learn more about the special configuration options for training with TPU.
string master_type = 2;
Name | Description |
value | ByteString The bytes for masterType to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setOutputNotebookFolder(String value)
public ExecutionTemplate.Builder setOutputNotebookFolder(String value)
Path to the notebook folder to write to.
Must be in a Google Cloud Storage bucket path.
Format: gs://{bucket_name}/{folder}
Ex: gs://notebook_user/scheduled_notebooks
string output_notebook_folder = 7;
Name | Description |
value | String The outputNotebookFolder to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setOutputNotebookFolderBytes(ByteString value)
public ExecutionTemplate.Builder setOutputNotebookFolderBytes(ByteString value)
Path to the notebook folder to write to.
Must be in a Google Cloud Storage bucket path.
Format: gs://{bucket_name}/{folder}
Ex: gs://notebook_user/scheduled_notebooks
string output_notebook_folder = 7;
Name | Description |
value | ByteString The bytes for outputNotebookFolder to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setParameters(String value)
public ExecutionTemplate.Builder setParameters(String value)
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
Name | Description |
value | String The parameters to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setParametersBytes(ByteString value)
public ExecutionTemplate.Builder setParametersBytes(ByteString value)
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
Name | Description |
value | ByteString The bytes for parameters to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setParamsYamlFile(String value)
public ExecutionTemplate.Builder setParamsYamlFile(String value)
Parameters to be overridden in the notebook during execution.
Ref https://papermill.readthedocs.io/en/latest/usage-parameterize.html on
how to specifying parameters in the input notebook and pass them here
in an YAML file.
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook_params.yaml
string params_yaml_file = 8;
Name | Description |
value | String The paramsYamlFile to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setParamsYamlFileBytes(ByteString value)
public ExecutionTemplate.Builder setParamsYamlFileBytes(ByteString value)
Parameters to be overridden in the notebook during execution.
Ref https://papermill.readthedocs.io/en/latest/usage-parameterize.html on
how to specifying parameters in the input notebook and pass them here
in an YAML file.
Ex: gs://notebook_user/scheduled_notebooks/sentiment_notebook_params.yaml
string params_yaml_file = 8;
Name | Description |
value | ByteString The bytes for paramsYamlFile to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExecutionTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ExecutionTemplate.Builder |
setScaleTier(ExecutionTemplate.ScaleTier value) (deprecated)
public ExecutionTemplate.Builder setScaleTier(ExecutionTemplate.ScaleTier value)
Deprecated. google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated. See google/cloud/notebooks/v1/execution.proto;l=151
Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported.
.google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier scale_tier = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ExecutionTemplate.ScaleTier The scaleTier to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setScaleTierValue(int value) (deprecated)
public ExecutionTemplate.Builder setScaleTierValue(int value)
Deprecated. google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated. See google/cloud/notebooks/v1/execution.proto;l=151
Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported.
.google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier scale_tier = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for scaleTier to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setServiceAccount(String value)
public ExecutionTemplate.Builder setServiceAccount(String value)
The email address of a service account to use when running the execution.
You must have the iam.serviceAccounts.actAs
permission for the specified
service account.
string service_account = 10;
Name | Description |
value | String The serviceAccount to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setServiceAccountBytes(ByteString value)
public ExecutionTemplate.Builder setServiceAccountBytes(ByteString value)
The email address of a service account to use when running the execution.
You must have the iam.serviceAccounts.actAs
permission for the specified
service account.
string service_account = 10;
Name | Description |
value | ByteString The bytes for serviceAccount to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setTensorboard(String value)
public ExecutionTemplate.Builder setTensorboard(String value)
The name of a Vertex AI [Tensorboard] resource to which this execution
will upload Tensorboard logs.
Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
string tensorboard = 15 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The tensorboard to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setTensorboardBytes(ByteString value)
public ExecutionTemplate.Builder setTensorboardBytes(ByteString value)
The name of a Vertex AI [Tensorboard] resource to which this execution
will upload Tensorboard logs.
Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
string tensorboard = 15 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for tensorboard to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExecutionTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExecutionTemplate.Builder |
setVertexAiParameters(ExecutionTemplate.VertexAIParameters value)
public ExecutionTemplate.Builder setVertexAiParameters(ExecutionTemplate.VertexAIParameters value)
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
Name | Description |
value | ExecutionTemplate.VertexAIParameters |
Type | Description |
ExecutionTemplate.Builder |
setVertexAiParameters(ExecutionTemplate.VertexAIParameters.Builder builderForValue)
public ExecutionTemplate.Builder setVertexAiParameters(ExecutionTemplate.VertexAIParameters.Builder builderForValue)
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
Name | Description |
builderForValue | ExecutionTemplate.VertexAIParameters.Builder |
Type | Description |
ExecutionTemplate.Builder |