Package com.google.cloud.notebooks.v1
Class ExecutionTemplate.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
- com.google.cloud.notebooks.v1.ExecutionTemplate.Builder
-
- All Implemented Interfaces:
ExecutionTemplateOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExecutionTemplate
public static final class ExecutionTemplate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder> implements ExecutionTemplateOrBuilder
The description a notebook execution workload.
Protobuf typegoogle.cloud.notebooks.v1.ExecutionTemplate
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExecutionTemplate.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExecutionTemplate
build()
ExecutionTemplate
buildPartial()
ExecutionTemplate.Builder
clear()
ExecutionTemplate.Builder
clearAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.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-containerExecutionTemplate.Builder
clearDataprocParameters()
Parameters used in Dataproc JobType executions.ExecutionTemplate.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ExecutionTemplate.Builder
clearInputNotebookFile()
Path to the notebook file to execute.ExecutionTemplate.Builder
clearJobParameters()
ExecutionTemplate.Builder
clearJobType()
The type of Job to be used on this execution.ExecutionTemplate.Builder
clearKernelSpec()
Name of the kernel spec to use.ExecutionTemplate.Builder
clearLabels()
ExecutionTemplate.Builder
clearMasterType()
Specifies the type of virtual machine to use for your training job's master worker.ExecutionTemplate.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ExecutionTemplate.Builder
clearOutputNotebookFolder()
Path to the notebook folder to write to.ExecutionTemplate.Builder
clearParameters()
Parameters used within the 'input_notebook_file' notebook.ExecutionTemplate.Builder
clearParamsYamlFile()
Parameters to be overridden in the notebook during execution.ExecutionTemplate.Builder
clearScaleTier()
Deprecated.google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated.ExecutionTemplate.Builder
clearServiceAccount()
The email address of a service account to use when running the execution.ExecutionTemplate.Builder
clearTensorboard()
The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs.ExecutionTemplate.Builder
clearVertexAiParameters()
Parameters used in Vertex AI JobType executions.ExecutionTemplate.Builder
clone()
boolean
containsLabels(String key)
Labels for execution.ExecutionTemplate.SchedulerAcceleratorConfig
getAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.ExecutionTemplate.SchedulerAcceleratorConfig.Builder
getAcceleratorConfigBuilder()
Configuration (count and accelerator type) for hardware running notebook execution.ExecutionTemplate.SchedulerAcceleratorConfigOrBuilder
getAcceleratorConfigOrBuilder()
Configuration (count and accelerator type) for hardware running notebook execution.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-containercom.google.protobuf.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-containerExecutionTemplate.DataprocParameters
getDataprocParameters()
Parameters used in Dataproc JobType executions.ExecutionTemplate.DataprocParameters.Builder
getDataprocParametersBuilder()
Parameters used in Dataproc JobType executions.ExecutionTemplate.DataprocParametersOrBuilder
getDataprocParametersOrBuilder()
Parameters used in Dataproc JobType executions.ExecutionTemplate
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getInputNotebookFile()
Path to the notebook file to execute.com.google.protobuf.ByteString
getInputNotebookFileBytes()
Path to the notebook file to execute.ExecutionTemplate.JobParametersCase
getJobParametersCase()
ExecutionTemplate.JobType
getJobType()
The type of Job to be used on this execution.int
getJobTypeValue()
The type of Job to be used on this execution.String
getKernelSpec()
Name of the kernel spec to use.com.google.protobuf.ByteString
getKernelSpecBytes()
Name of the kernel spec to use.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels for execution.Map<String,String>
getLabelsMap()
Labels for execution.String
getLabelsOrDefault(String key, String defaultValue)
Labels for execution.String
getLabelsOrThrow(String key)
Labels for execution.String
getMasterType()
Specifies the type of virtual machine to use for your training job's master worker.com.google.protobuf.ByteString
getMasterTypeBytes()
Specifies the type of virtual machine to use for your training job's master worker.Map<String,String>
getMutableLabels()
Deprecated.String
getOutputNotebookFolder()
Path to the notebook folder to write to.com.google.protobuf.ByteString
getOutputNotebookFolderBytes()
Path to the notebook folder to write to.String
getParameters()
Parameters used within the 'input_notebook_file' notebook.com.google.protobuf.ByteString
getParametersBytes()
Parameters used within the 'input_notebook_file' notebook.String
getParamsYamlFile()
Parameters to be overridden in the notebook during execution.com.google.protobuf.ByteString
getParamsYamlFileBytes()
Parameters to be overridden in the notebook during execution.ExecutionTemplate.ScaleTier
getScaleTier()
Deprecated.google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated.int
getScaleTierValue()
Deprecated.google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated.String
getServiceAccount()
The email address of a service account to use when running the execution.com.google.protobuf.ByteString
getServiceAccountBytes()
The email address of a service account to use when running the execution.String
getTensorboard()
The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs.com.google.protobuf.ByteString
getTensorboardBytes()
The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs.ExecutionTemplate.VertexAIParameters
getVertexAiParameters()
Parameters used in Vertex AI JobType executions.ExecutionTemplate.VertexAIParameters.Builder
getVertexAiParametersBuilder()
Parameters used in Vertex AI JobType executions.ExecutionTemplate.VertexAIParametersOrBuilder
getVertexAiParametersOrBuilder()
Parameters used in Vertex AI JobType executions.boolean
hasAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.boolean
hasDataprocParameters()
Parameters used in Dataproc JobType executions.boolean
hasVertexAiParameters()
Parameters used in Vertex AI JobType executions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
ExecutionTemplate.Builder
mergeAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig value)
Configuration (count and accelerator type) for hardware running notebook execution.ExecutionTemplate.Builder
mergeDataprocParameters(ExecutionTemplate.DataprocParameters value)
Parameters used in Dataproc JobType executions.ExecutionTemplate.Builder
mergeFrom(ExecutionTemplate other)
ExecutionTemplate.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExecutionTemplate.Builder
mergeFrom(com.google.protobuf.Message other)
ExecutionTemplate.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExecutionTemplate.Builder
mergeVertexAiParameters(ExecutionTemplate.VertexAIParameters value)
Parameters used in Vertex AI JobType executions.ExecutionTemplate.Builder
putAllLabels(Map<String,String> values)
Labels for execution.ExecutionTemplate.Builder
putLabels(String key, String value)
Labels for execution.ExecutionTemplate.Builder
removeLabels(String key)
Labels for execution.ExecutionTemplate.Builder
setAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig value)
Configuration (count and accelerator type) for hardware running notebook execution.ExecutionTemplate.Builder
setAcceleratorConfig(ExecutionTemplate.SchedulerAcceleratorConfig.Builder builderForValue)
Configuration (count and accelerator type) for hardware running notebook execution.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-containerExecutionTemplate.Builder
setContainerImageUriBytes(com.google.protobuf.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-containerExecutionTemplate.Builder
setDataprocParameters(ExecutionTemplate.DataprocParameters value)
Parameters used in Dataproc JobType executions.ExecutionTemplate.Builder
setDataprocParameters(ExecutionTemplate.DataprocParameters.Builder builderForValue)
Parameters used in Dataproc JobType executions.ExecutionTemplate.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExecutionTemplate.Builder
setInputNotebookFile(String value)
Path to the notebook file to execute.ExecutionTemplate.Builder
setInputNotebookFileBytes(com.google.protobuf.ByteString value)
Path to the notebook file to execute.ExecutionTemplate.Builder
setJobType(ExecutionTemplate.JobType value)
The type of Job to be used on this execution.ExecutionTemplate.Builder
setJobTypeValue(int value)
The type of Job to be used on this execution.ExecutionTemplate.Builder
setKernelSpec(String value)
Name of the kernel spec to use.ExecutionTemplate.Builder
setKernelSpecBytes(com.google.protobuf.ByteString value)
Name of the kernel spec to use.ExecutionTemplate.Builder
setMasterType(String value)
Specifies the type of virtual machine to use for your training job's master worker.ExecutionTemplate.Builder
setMasterTypeBytes(com.google.protobuf.ByteString value)
Specifies the type of virtual machine to use for your training job's master worker.ExecutionTemplate.Builder
setOutputNotebookFolder(String value)
Path to the notebook folder to write to.ExecutionTemplate.Builder
setOutputNotebookFolderBytes(com.google.protobuf.ByteString value)
Path to the notebook folder to write to.ExecutionTemplate.Builder
setParameters(String value)
Parameters used within the 'input_notebook_file' notebook.ExecutionTemplate.Builder
setParametersBytes(com.google.protobuf.ByteString value)
Parameters used within the 'input_notebook_file' notebook.ExecutionTemplate.Builder
setParamsYamlFile(String value)
Parameters to be overridden in the notebook during execution.ExecutionTemplate.Builder
setParamsYamlFileBytes(com.google.protobuf.ByteString value)
Parameters to be overridden in the notebook during execution.ExecutionTemplate.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExecutionTemplate.Builder
setScaleTier(ExecutionTemplate.ScaleTier value)
Deprecated.google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated.ExecutionTemplate.Builder
setScaleTierValue(int value)
Deprecated.google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated.ExecutionTemplate.Builder
setServiceAccount(String value)
The email address of a service account to use when running the execution.ExecutionTemplate.Builder
setServiceAccountBytes(com.google.protobuf.ByteString value)
The email address of a service account to use when running the execution.ExecutionTemplate.Builder
setTensorboard(String value)
The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs.ExecutionTemplate.Builder
setTensorboardBytes(com.google.protobuf.ByteString value)
The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs.ExecutionTemplate.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExecutionTemplate.Builder
setVertexAiParameters(ExecutionTemplate.VertexAIParameters value)
Parameters used in Vertex AI JobType executions.ExecutionTemplate.Builder
setVertexAiParameters(ExecutionTemplate.VertexAIParameters.Builder builderForValue)
Parameters used in Vertex AI JobType executions.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
clear
public ExecutionTemplate.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
getDefaultInstanceForType
public ExecutionTemplate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExecutionTemplate build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExecutionTemplate buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExecutionTemplate.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
setField
public ExecutionTemplate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
clearField
public ExecutionTemplate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
clearOneof
public ExecutionTemplate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
setRepeatedField
public ExecutionTemplate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
addRepeatedField
public ExecutionTemplate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
mergeFrom
public ExecutionTemplate.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExecutionTemplate.Builder>
-
mergeFrom
public ExecutionTemplate.Builder mergeFrom(ExecutionTemplate other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
mergeFrom
public ExecutionTemplate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExecutionTemplate.Builder>
- Throws:
IOException
-
getJobParametersCase
public ExecutionTemplate.JobParametersCase getJobParametersCase()
- Specified by:
getJobParametersCase
in interfaceExecutionTemplateOrBuilder
-
clearJobParameters
public ExecutionTemplate.Builder clearJobParameters()
-
getScaleTierValue
@Deprecated public int getScaleTierValue()
Deprecated.google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated. See google/cloud/notebooks/v1/execution.proto;l=151Required. 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];
- Specified by:
getScaleTierValue
in interfaceExecutionTemplateOrBuilder
- Returns:
- The enum numeric value on the wire for scaleTier.
-
setScaleTierValue
@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=151Required. 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];
- Parameters:
value
- The enum numeric value on the wire for scaleTier to set.- Returns:
- This builder for chaining.
-
getScaleTier
@Deprecated public ExecutionTemplate.ScaleTier getScaleTier()
Deprecated.google.cloud.notebooks.v1.ExecutionTemplate.scale_tier is deprecated. See google/cloud/notebooks/v1/execution.proto;l=151Required. 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];
- Specified by:
getScaleTier
in interfaceExecutionTemplateOrBuilder
- Returns:
- The scaleTier.
-
setScaleTier
@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=151Required. 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];
- Parameters:
value
- The scaleTier to set.- Returns:
- 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=151Required. 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];
- Returns:
- This builder for chaining.
-
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, specify `cloud_tpu` in this field. Learn more about the [special configuration options for training with TPU](https://cloud.google.com/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).
string master_type = 2;
- Specified by:
getMasterType
in interfaceExecutionTemplateOrBuilder
- Returns:
- The masterType.
-
getMasterTypeBytes
public com.google.protobuf.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, specify `cloud_tpu` in this field. Learn more about the [special configuration options for training with TPU](https://cloud.google.com/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).
string master_type = 2;
- Specified by:
getMasterTypeBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for masterType.
-
setMasterType
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, specify `cloud_tpu` in this field. Learn more about the [special configuration options for training with TPU](https://cloud.google.com/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).
string master_type = 2;
- Parameters:
value
- The masterType to set.- Returns:
- This builder for chaining.
-
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, specify `cloud_tpu` in this field. Learn more about the [special configuration options for training with TPU](https://cloud.google.com/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).
string master_type = 2;
- Returns:
- This builder for chaining.
-
setMasterTypeBytes
public ExecutionTemplate.Builder setMasterTypeBytes(com.google.protobuf.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, specify `cloud_tpu` in this field. Learn more about the [special configuration options for training with TPU](https://cloud.google.com/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).
string master_type = 2;
- Parameters:
value
- The bytes for masterType to set.- Returns:
- This builder for chaining.
-
hasAcceleratorConfig
public boolean hasAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
- Specified by:
hasAcceleratorConfig
in interfaceExecutionTemplateOrBuilder
- Returns:
- Whether the acceleratorConfig field is set.
-
getAcceleratorConfig
public ExecutionTemplate.SchedulerAcceleratorConfig getAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
- Specified by:
getAcceleratorConfig
in interfaceExecutionTemplateOrBuilder
- Returns:
- The acceleratorConfig.
-
setAcceleratorConfig
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;
-
setAcceleratorConfig
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;
-
mergeAcceleratorConfig
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;
-
clearAcceleratorConfig
public ExecutionTemplate.Builder clearAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
-
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;
-
getAcceleratorConfigOrBuilder
public ExecutionTemplate.SchedulerAcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()
Configuration (count and accelerator type) for hardware running notebook execution.
.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig accelerator_config = 3;
- Specified by:
getAcceleratorConfigOrBuilder
in interfaceExecutionTemplateOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ExecutionTemplateOrBuilder
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;
- Specified by:
getLabelsCount
in interfaceExecutionTemplateOrBuilder
-
containsLabels
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;
- Specified by:
containsLabels
in interfaceExecutionTemplateOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceExecutionTemplateOrBuilder
-
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;
- Specified by:
getLabelsMap
in interfaceExecutionTemplateOrBuilder
-
getLabelsOrDefault
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;
- Specified by:
getLabelsOrDefault
in interfaceExecutionTemplateOrBuilder
-
getLabelsOrThrow
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;
- Specified by:
getLabelsOrThrow
in interfaceExecutionTemplateOrBuilder
-
clearLabels
public ExecutionTemplate.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
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;
- Specified by:
getInputNotebookFile
in interfaceExecutionTemplateOrBuilder
- Returns:
- The inputNotebookFile.
-
getInputNotebookFileBytes
public com.google.protobuf.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;
- Specified by:
getInputNotebookFileBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for inputNotebookFile.
-
setInputNotebookFile
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;
- Parameters:
value
- The inputNotebookFile to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setInputNotebookFileBytes
public ExecutionTemplate.Builder setInputNotebookFileBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for inputNotebookFile to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getContainerImageUri
in interfaceExecutionTemplateOrBuilder
- Returns:
- The containerImageUri.
-
getContainerImageUriBytes
public com.google.protobuf.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;
- Specified by:
getContainerImageUriBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for containerImageUri.
-
setContainerImageUri
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;
- Parameters:
value
- The containerImageUri to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setContainerImageUriBytes
public ExecutionTemplate.Builder setContainerImageUriBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for containerImageUri to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getOutputNotebookFolder
in interfaceExecutionTemplateOrBuilder
- Returns:
- The outputNotebookFolder.
-
getOutputNotebookFolderBytes
public com.google.protobuf.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;
- Specified by:
getOutputNotebookFolderBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for outputNotebookFolder.
-
setOutputNotebookFolder
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;
- Parameters:
value
- The outputNotebookFolder to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setOutputNotebookFolderBytes
public ExecutionTemplate.Builder setOutputNotebookFolderBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for outputNotebookFolder to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getParamsYamlFile
in interfaceExecutionTemplateOrBuilder
- Returns:
- The paramsYamlFile.
-
getParamsYamlFileBytes
public com.google.protobuf.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;
- Specified by:
getParamsYamlFileBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for paramsYamlFile.
-
setParamsYamlFile
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;
- Parameters:
value
- The paramsYamlFile to set.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
setParamsYamlFileBytes
public ExecutionTemplate.Builder setParamsYamlFileBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for paramsYamlFile to set.- Returns:
- This builder for chaining.
-
getParameters
public String getParameters()
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
- Specified by:
getParameters
in interfaceExecutionTemplateOrBuilder
- Returns:
- The parameters.
-
getParametersBytes
public com.google.protobuf.ByteString getParametersBytes()
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
- Specified by:
getParametersBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for parameters.
-
setParameters
public ExecutionTemplate.Builder setParameters(String value)
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
- Parameters:
value
- The parameters to set.- Returns:
- This builder for chaining.
-
clearParameters
public ExecutionTemplate.Builder clearParameters()
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
- Returns:
- This builder for chaining.
-
setParametersBytes
public ExecutionTemplate.Builder setParametersBytes(com.google.protobuf.ByteString value)
Parameters used within the 'input_notebook_file' notebook.
string parameters = 9;
- Parameters:
value
- The bytes for parameters to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getServiceAccount
in interfaceExecutionTemplateOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.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;
- Specified by:
getServiceAccountBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
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;
- Parameters:
value
- The serviceAccount to set.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
setServiceAccountBytes
public ExecutionTemplate.Builder setServiceAccountBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
getJobTypeValue
public int getJobTypeValue()
The type of Job to be used on this execution.
.google.cloud.notebooks.v1.ExecutionTemplate.JobType job_type = 11;
- Specified by:
getJobTypeValue
in interfaceExecutionTemplateOrBuilder
- Returns:
- The enum numeric value on the wire for jobType.
-
setJobTypeValue
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;
- Parameters:
value
- The enum numeric value on the wire for jobType to set.- Returns:
- This builder for chaining.
-
getJobType
public ExecutionTemplate.JobType getJobType()
The type of Job to be used on this execution.
.google.cloud.notebooks.v1.ExecutionTemplate.JobType job_type = 11;
- Specified by:
getJobType
in interfaceExecutionTemplateOrBuilder
- Returns:
- The jobType.
-
setJobType
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;
- Parameters:
value
- The jobType to set.- Returns:
- This builder for chaining.
-
clearJobType
public ExecutionTemplate.Builder clearJobType()
The type of Job to be used on this execution.
.google.cloud.notebooks.v1.ExecutionTemplate.JobType job_type = 11;
- Returns:
- This builder for chaining.
-
hasDataprocParameters
public boolean hasDataprocParameters()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
- Specified by:
hasDataprocParameters
in interfaceExecutionTemplateOrBuilder
- Returns:
- Whether the dataprocParameters field is set.
-
getDataprocParameters
public ExecutionTemplate.DataprocParameters getDataprocParameters()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
- Specified by:
getDataprocParameters
in interfaceExecutionTemplateOrBuilder
- Returns:
- The dataprocParameters.
-
setDataprocParameters
public ExecutionTemplate.Builder setDataprocParameters(ExecutionTemplate.DataprocParameters value)
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
-
setDataprocParameters
public ExecutionTemplate.Builder setDataprocParameters(ExecutionTemplate.DataprocParameters.Builder builderForValue)
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
-
mergeDataprocParameters
public ExecutionTemplate.Builder mergeDataprocParameters(ExecutionTemplate.DataprocParameters value)
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
-
clearDataprocParameters
public ExecutionTemplate.Builder clearDataprocParameters()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
-
getDataprocParametersBuilder
public ExecutionTemplate.DataprocParameters.Builder getDataprocParametersBuilder()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
-
getDataprocParametersOrBuilder
public ExecutionTemplate.DataprocParametersOrBuilder getDataprocParametersOrBuilder()
Parameters used in Dataproc JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters dataproc_parameters = 12;
- Specified by:
getDataprocParametersOrBuilder
in interfaceExecutionTemplateOrBuilder
-
hasVertexAiParameters
public boolean hasVertexAiParameters()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
- Specified by:
hasVertexAiParameters
in interfaceExecutionTemplateOrBuilder
- Returns:
- Whether the vertexAiParameters field is set.
-
getVertexAiParameters
public ExecutionTemplate.VertexAIParameters getVertexAiParameters()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
- Specified by:
getVertexAiParameters
in interfaceExecutionTemplateOrBuilder
- Returns:
- The vertexAiParameters.
-
setVertexAiParameters
public ExecutionTemplate.Builder setVertexAiParameters(ExecutionTemplate.VertexAIParameters value)
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
-
setVertexAiParameters
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;
-
mergeVertexAiParameters
public ExecutionTemplate.Builder mergeVertexAiParameters(ExecutionTemplate.VertexAIParameters value)
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
-
clearVertexAiParameters
public ExecutionTemplate.Builder clearVertexAiParameters()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
-
getVertexAiParametersBuilder
public ExecutionTemplate.VertexAIParameters.Builder getVertexAiParametersBuilder()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
-
getVertexAiParametersOrBuilder
public ExecutionTemplate.VertexAIParametersOrBuilder getVertexAiParametersOrBuilder()
Parameters used in Vertex AI JobType executions.
.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters vertex_ai_parameters = 13;
- Specified by:
getVertexAiParametersOrBuilder
in interfaceExecutionTemplateOrBuilder
-
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;
- Specified by:
getKernelSpec
in interfaceExecutionTemplateOrBuilder
- Returns:
- The kernelSpec.
-
getKernelSpecBytes
public com.google.protobuf.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;
- Specified by:
getKernelSpecBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for kernelSpec.
-
setKernelSpec
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;
- Parameters:
value
- The kernelSpec to set.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
setKernelSpecBytes
public ExecutionTemplate.Builder setKernelSpecBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for kernelSpec to set.- Returns:
- This builder for chaining.
-
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) = { ... }
- Specified by:
getTensorboard
in interfaceExecutionTemplateOrBuilder
- Returns:
- The tensorboard.
-
getTensorboardBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getTensorboardBytes
in interfaceExecutionTemplateOrBuilder
- Returns:
- The bytes for tensorboard.
-
setTensorboard
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) = { ... }
- Parameters:
value
- The tensorboard to set.- Returns:
- 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) = { ... }
- Returns:
- This builder for chaining.
-
setTensorboardBytes
public ExecutionTemplate.Builder setTensorboardBytes(com.google.protobuf.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) = { ... }
- Parameters:
value
- The bytes for tensorboard to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExecutionTemplate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
mergeUnknownFields
public final ExecutionTemplate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionTemplate.Builder>
-
-