Package com.google.cloud.notebooks.v1
Class ExecutionTemplate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.notebooks.v1.ExecutionTemplate
-
- All Implemented Interfaces:
ExecutionTemplateOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ExecutionTemplate extends com.google.protobuf.GeneratedMessageV3 implements ExecutionTemplateOrBuilder
The description a notebook execution workload.
Protobuf typegoogle.cloud.notebooks.v1.ExecutionTemplate
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecutionTemplate.Builder
The description a notebook execution workload.static class
ExecutionTemplate.DataprocParameters
Parameters used in Dataproc JobType executions.static interface
ExecutionTemplate.DataprocParametersOrBuilder
static class
ExecutionTemplate.JobParametersCase
static class
ExecutionTemplate.JobType
The backend used for this execution.static class
ExecutionTemplate.ScaleTier
Required.static class
ExecutionTemplate.SchedulerAcceleratorConfig
Definition of a hardware accelerator.static interface
ExecutionTemplate.SchedulerAcceleratorConfigOrBuilder
static class
ExecutionTemplate.SchedulerAcceleratorType
Hardware accelerator types for AI Platform Training jobs.static class
ExecutionTemplate.VertexAIParameters
Parameters used in Vertex AI JobType executions.static interface
ExecutionTemplate.VertexAIParametersOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCELERATOR_CONFIG_FIELD_NUMBER
static int
CONTAINER_IMAGE_URI_FIELD_NUMBER
static int
DATAPROC_PARAMETERS_FIELD_NUMBER
static int
INPUT_NOTEBOOK_FILE_FIELD_NUMBER
static int
JOB_TYPE_FIELD_NUMBER
static int
KERNEL_SPEC_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MASTER_TYPE_FIELD_NUMBER
static int
OUTPUT_NOTEBOOK_FOLDER_FIELD_NUMBER
static int
PARAMETERS_FIELD_NUMBER
static int
PARAMS_YAML_FILE_FIELD_NUMBER
static int
SCALE_TIER_FIELD_NUMBER
static int
SERVICE_ACCOUNT_FIELD_NUMBER
static int
TENSORBOARD_FIELD_NUMBER
static int
VERTEX_AI_PARAMETERS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels for execution.boolean
equals(Object obj)
ExecutionTemplate.SchedulerAcceleratorConfig
getAcceleratorConfig()
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.DataprocParametersOrBuilder
getDataprocParametersOrBuilder()
Parameters used in Dataproc JobType executions.static ExecutionTemplate
getDefaultInstance()
ExecutionTemplate
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.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.com.google.protobuf.Parser<ExecutionTemplate>
getParserForType()
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.int
getSerializedSize()
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.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.int
hashCode()
boolean
hasVertexAiParameters()
Parameters used in Vertex AI JobType executions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static ExecutionTemplate.Builder
newBuilder()
static ExecutionTemplate.Builder
newBuilder(ExecutionTemplate prototype)
ExecutionTemplate.Builder
newBuilderForType()
protected ExecutionTemplate.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ExecutionTemplate
parseDelimitedFrom(InputStream input)
static ExecutionTemplate
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ExecutionTemplate
parseFrom(byte[] data)
static ExecutionTemplate
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ExecutionTemplate
parseFrom(com.google.protobuf.ByteString data)
static ExecutionTemplate
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ExecutionTemplate
parseFrom(com.google.protobuf.CodedInputStream input)
static ExecutionTemplate
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ExecutionTemplate
parseFrom(InputStream input)
static ExecutionTemplate
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ExecutionTemplate
parseFrom(ByteBuffer data)
static ExecutionTemplate
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ExecutionTemplate>
parser()
ExecutionTemplate.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SCALE_TIER_FIELD_NUMBER
public static final int SCALE_TIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASTER_TYPE_FIELD_NUMBER
public static final int MASTER_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCELERATOR_CONFIG_FIELD_NUMBER
public static final int ACCELERATOR_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_NOTEBOOK_FILE_FIELD_NUMBER
public static final int INPUT_NOTEBOOK_FILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINER_IMAGE_URI_FIELD_NUMBER
public static final int CONTAINER_IMAGE_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_NOTEBOOK_FOLDER_FIELD_NUMBER
public static final int OUTPUT_NOTEBOOK_FOLDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMS_YAML_FILE_FIELD_NUMBER
public static final int PARAMS_YAML_FILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_TYPE_FIELD_NUMBER
public static final int JOB_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATAPROC_PARAMETERS_FIELD_NUMBER
public static final int DATAPROC_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERTEX_AI_PARAMETERS_FIELD_NUMBER
public static final int VERTEX_AI_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KERNEL_SPEC_FIELD_NUMBER
public static final int KERNEL_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TENSORBOARD_FIELD_NUMBER
public static final int TENSORBOARD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getJobParametersCase
public ExecutionTemplate.JobParametersCase getJobParametersCase()
- Specified by:
getJobParametersCase
in interfaceExecutionTemplateOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ExecutionTemplate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionTemplate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionTemplate parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ExecutionTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ExecutionTemplate parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ExecutionTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ExecutionTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ExecutionTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ExecutionTemplate.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ExecutionTemplate.Builder newBuilder()
-
newBuilder
public static ExecutionTemplate.Builder newBuilder(ExecutionTemplate prototype)
-
toBuilder
public ExecutionTemplate.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExecutionTemplate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ExecutionTemplate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ExecutionTemplate> parser()
-
getParserForType
public com.google.protobuf.Parser<ExecutionTemplate> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ExecutionTemplate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-