Package com.google.cloud.aiplatform.v1
Interface NotebookExecutionJobOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NotebookExecutionJob,NotebookExecutionJob.Builder
@Generated
public interface NotebookExecutionJobOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) The labels with user-defined metadata to organize NotebookExecutionJobs.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The custom compute configuration for an execution job.The custom compute configuration for an execution job.The Dataform Repository pointing to a single file notebook repository.The Dataform Repository pointing to a single file notebook repository.The contents of an input notebook file.The contents of an input notebook file.The display name of the NotebookExecutionJob.com.google.protobuf.ByteStringThe display name of the NotebookExecutionJob.Customer-managed encryption key spec for the notebook execution job.Customer-managed encryption key spec for the notebook execution job.com.google.protobuf.DurationMax running time of the execution job in seconds (default 86400s / 24 hrs).com.google.protobuf.DurationOrBuilderMax running time of the execution job in seconds (default 86400s / 24 hrs).The user email to run the execution as.com.google.protobuf.ByteStringThe user email to run the execution as.The Cloud Storage url pointing to the ipynb file.The Cloud Storage url pointing to the ipynb file.The Cloud Storage location to upload the result to.com.google.protobuf.ByteStringThe Cloud Storage location to upload the result to.Output only.intOutput only.The name of the kernel to use during notebook execution.com.google.protobuf.ByteStringThe name of the kernel to use during notebook execution.Deprecated.intThe labels with user-defined metadata to organize NotebookExecutionJobs.The labels with user-defined metadata to organize NotebookExecutionJobs.getLabelsOrDefault(String key, String defaultValue) The labels with user-defined metadata to organize NotebookExecutionJobs.getLabelsOrThrow(String key) The labels with user-defined metadata to organize NotebookExecutionJobs.getName()Output only.com.google.protobuf.ByteStringOutput only.The NotebookRuntimeTemplate to source compute configuration from.com.google.protobuf.ByteStringThe NotebookRuntimeTemplate to source compute configuration from.The Schedule resource name if this job is triggered by one.com.google.protobuf.ByteStringThe Schedule resource name if this job is triggered by one.The service account to run the execution as.com.google.protobuf.ByteStringThe service account to run the execution as.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The Workbench runtime configuration to use for the notebook execution.The Workbench runtime configuration to use for the notebook execution.booleanOutput only.booleanThe custom compute configuration for an execution job.booleanThe Dataform Repository pointing to a single file notebook repository.booleanThe contents of an input notebook file.booleanCustomer-managed encryption key spec for the notebook execution job.booleanMax running time of the execution job in seconds (default 86400s / 24 hrs).booleanThe user email to run the execution as.booleanThe Cloud Storage url pointing to the ipynb file.booleanThe Cloud Storage location to upload the result to.booleanThe NotebookRuntimeTemplate to source compute configuration from.booleanThe service account to run the execution as.booleanOutput only.booleanOutput only.booleanThe Workbench runtime configuration to use for the notebook execution.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDataformRepositorySource
boolean hasDataformRepositorySource()The Dataform Repository pointing to a single file notebook repository.
.google.cloud.aiplatform.v1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3;- Returns:
- Whether the dataformRepositorySource field is set.
-
getDataformRepositorySource
NotebookExecutionJob.DataformRepositorySource getDataformRepositorySource()The Dataform Repository pointing to a single file notebook repository.
.google.cloud.aiplatform.v1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3;- Returns:
- The dataformRepositorySource.
-
getDataformRepositorySourceOrBuilder
NotebookExecutionJob.DataformRepositorySourceOrBuilder getDataformRepositorySourceOrBuilder()The Dataform Repository pointing to a single file notebook repository.
.google.cloud.aiplatform.v1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; -
hasGcsNotebookSource
boolean hasGcsNotebookSource()The Cloud Storage url pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb`
.google.cloud.aiplatform.v1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4;- Returns:
- Whether the gcsNotebookSource field is set.
-
getGcsNotebookSource
NotebookExecutionJob.GcsNotebookSource getGcsNotebookSource()The Cloud Storage url pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb`
.google.cloud.aiplatform.v1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4;- Returns:
- The gcsNotebookSource.
-
getGcsNotebookSourceOrBuilder
NotebookExecutionJob.GcsNotebookSourceOrBuilder getGcsNotebookSourceOrBuilder()The Cloud Storage url pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb`
.google.cloud.aiplatform.v1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; -
hasDirectNotebookSource
boolean hasDirectNotebookSource()The contents of an input notebook file.
.google.cloud.aiplatform.v1.NotebookExecutionJob.DirectNotebookSource direct_notebook_source = 17;- Returns:
- Whether the directNotebookSource field is set.
-
getDirectNotebookSource
NotebookExecutionJob.DirectNotebookSource getDirectNotebookSource()The contents of an input notebook file.
.google.cloud.aiplatform.v1.NotebookExecutionJob.DirectNotebookSource direct_notebook_source = 17;- Returns:
- The directNotebookSource.
-
getDirectNotebookSourceOrBuilder
NotebookExecutionJob.DirectNotebookSourceOrBuilder getDirectNotebookSourceOrBuilder()The contents of an input notebook file.
.google.cloud.aiplatform.v1.NotebookExecutionJob.DirectNotebookSource direct_notebook_source = 17; -
hasNotebookRuntimeTemplateResourceName
boolean hasNotebookRuntimeTemplateResourceName()The NotebookRuntimeTemplate to source compute configuration from.
string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... }- Returns:
- Whether the notebookRuntimeTemplateResourceName field is set.
-
getNotebookRuntimeTemplateResourceName
String getNotebookRuntimeTemplateResourceName()The NotebookRuntimeTemplate to source compute configuration from.
string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... }- Returns:
- The notebookRuntimeTemplateResourceName.
-
getNotebookRuntimeTemplateResourceNameBytes
com.google.protobuf.ByteString getNotebookRuntimeTemplateResourceNameBytes()The NotebookRuntimeTemplate to source compute configuration from.
string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for notebookRuntimeTemplateResourceName.
-
hasCustomEnvironmentSpec
boolean hasCustomEnvironmentSpec()The custom compute configuration for an execution job.
.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;- Returns:
- Whether the customEnvironmentSpec field is set.
-
getCustomEnvironmentSpec
NotebookExecutionJob.CustomEnvironmentSpec getCustomEnvironmentSpec()The custom compute configuration for an execution job.
.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16;- Returns:
- The customEnvironmentSpec.
-
getCustomEnvironmentSpecOrBuilder
NotebookExecutionJob.CustomEnvironmentSpecOrBuilder getCustomEnvironmentSpecOrBuilder()The custom compute configuration for an execution job.
.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec custom_environment_spec = 16; -
hasGcsOutputUri
boolean hasGcsOutputUri()The Cloud Storage location to upload the result to. Format: `gs://bucket-name`
string gcs_output_uri = 8;- Returns:
- Whether the gcsOutputUri field is set.
-
getGcsOutputUri
String getGcsOutputUri()The Cloud Storage location to upload the result to. Format: `gs://bucket-name`
string gcs_output_uri = 8;- Returns:
- The gcsOutputUri.
-
getGcsOutputUriBytes
com.google.protobuf.ByteString getGcsOutputUriBytes()The Cloud Storage location to upload the result to. Format: `gs://bucket-name`
string gcs_output_uri = 8;- Returns:
- The bytes for gcsOutputUri.
-
hasExecutionUser
boolean hasExecutionUser()The user email to run the execution as. Only supported by Colab runtimes.
string execution_user = 9;- Returns:
- Whether the executionUser field is set.
-
getExecutionUser
String getExecutionUser()The user email to run the execution as. Only supported by Colab runtimes.
string execution_user = 9;- Returns:
- The executionUser.
-
getExecutionUserBytes
com.google.protobuf.ByteString getExecutionUserBytes()The user email to run the execution as. Only supported by Colab runtimes.
string execution_user = 9;- Returns:
- The bytes for executionUser.
-
hasServiceAccount
boolean hasServiceAccount()The service account to run the execution as.
string service_account = 18;- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
String getServiceAccount()The service account to run the execution as.
string service_account = 18;- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.ByteString getServiceAccountBytes()The service account to run the execution as.
string service_account = 18;- Returns:
- The bytes for serviceAccount.
-
hasWorkbenchRuntime
boolean hasWorkbenchRuntime()The Workbench runtime configuration to use for the notebook execution.
.google.cloud.aiplatform.v1.NotebookExecutionJob.WorkbenchRuntime workbench_runtime = 23;- Returns:
- Whether the workbenchRuntime field is set.
-
getWorkbenchRuntime
NotebookExecutionJob.WorkbenchRuntime getWorkbenchRuntime()The Workbench runtime configuration to use for the notebook execution.
.google.cloud.aiplatform.v1.NotebookExecutionJob.WorkbenchRuntime workbench_runtime = 23;- Returns:
- The workbenchRuntime.
-
getWorkbenchRuntimeOrBuilder
NotebookExecutionJob.WorkbenchRuntimeOrBuilder getWorkbenchRuntimeOrBuilder()The Workbench runtime configuration to use for the notebook execution.
.google.cloud.aiplatform.v1.NotebookExecutionJob.WorkbenchRuntime workbench_runtime = 23; -
getName
String getName()Output only. The resource name of this NotebookExecutionJob. Format: `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The resource name of this NotebookExecutionJob. Format: `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2;- Returns:
- The bytes for displayName.
-
hasExecutionTimeout
boolean hasExecutionTimeout()Max running time of the execution job in seconds (default 86400s / 24 hrs).
.google.protobuf.Duration execution_timeout = 5;- Returns:
- Whether the executionTimeout field is set.
-
getExecutionTimeout
com.google.protobuf.Duration getExecutionTimeout()Max running time of the execution job in seconds (default 86400s / 24 hrs).
.google.protobuf.Duration execution_timeout = 5;- Returns:
- The executionTimeout.
-
getExecutionTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder()Max running time of the execution job in seconds (default 86400s / 24 hrs).
.google.protobuf.Duration execution_timeout = 5; -
getScheduleResourceName
String getScheduleResourceName()The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}`string schedule_resource_name = 6 [(.google.api.resource_reference) = { ... }- Returns:
- The scheduleResourceName.
-
getScheduleResourceNameBytes
com.google.protobuf.ByteString getScheduleResourceNameBytes()The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}`string schedule_resource_name = 6 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for scheduleResourceName.
-
getJobStateValue
int getJobStateValue()Output only. The state of the NotebookExecutionJob.
.google.cloud.aiplatform.v1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for jobState.
-
getJobState
JobState getJobState()Output only. The state of the NotebookExecutionJob.
.google.cloud.aiplatform.v1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The jobState.
-
hasStatus
boolean hasStatus()Output only. Populated when the NotebookExecutionJob is completed. When there is an error during notebook execution, the error details are populated.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the status field is set.
-
getStatus
Status getStatus()Output only. Populated when the NotebookExecutionJob is completed. When there is an error during notebook execution, the error details are populated.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
getStatusOrBuilder
StatusOrBuilder getStatusOrBuilder()Output only. Populated when the NotebookExecutionJob is completed. When there is an error during notebook execution, the error details are populated.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCreateTime
boolean hasCreateTime()Output only. Timestamp when this NotebookExecutionJob was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp when this NotebookExecutionJob was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when this NotebookExecutionJob was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Timestamp when this NotebookExecutionJob was most recently updated.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Timestamp when this NotebookExecutionJob was most recently updated.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when this NotebookExecutionJob was most recently updated.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()The labels with user-defined metadata to organize NotebookExecutionJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 19; -
containsLabels
The labels with user-defined metadata to organize NotebookExecutionJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 19; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
The labels with user-defined metadata to organize NotebookExecutionJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 19; -
getLabelsOrDefault
The labels with user-defined metadata to organize NotebookExecutionJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 19; -
getLabelsOrThrow
The labels with user-defined metadata to organize NotebookExecutionJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 19; -
getKernelName
String getKernelName()The name of the kernel to use during notebook execution. If unset, the default kernel is used.
string kernel_name = 20;- Returns:
- The kernelName.
-
getKernelNameBytes
com.google.protobuf.ByteString getKernelNameBytes()The name of the kernel to use during notebook execution. If unset, the default kernel is used.
string kernel_name = 20;- Returns:
- The bytes for kernelName.
-
hasEncryptionSpec
boolean hasEncryptionSpec()Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the [NotebookRuntimeTemplate][google.cloud.aiplatform.v1.NotebookRuntimeTemplate] has an encryption spec.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 22;- Returns:
- Whether the encryptionSpec field is set.
-
getEncryptionSpec
EncryptionSpec getEncryptionSpec()Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the [NotebookRuntimeTemplate][google.cloud.aiplatform.v1.NotebookRuntimeTemplate] has an encryption spec.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 22;- Returns:
- The encryptionSpec.
-
getEncryptionSpecOrBuilder
EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the [NotebookRuntimeTemplate][google.cloud.aiplatform.v1.NotebookRuntimeTemplate] has an encryption spec.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 22; -
getNotebookSourceCase
NotebookExecutionJob.NotebookSourceCase getNotebookSourceCase() -
getEnvironmentSpecCase
NotebookExecutionJob.EnvironmentSpecCase getEnvironmentSpecCase() -
getExecutionSinkCase
NotebookExecutionJob.ExecutionSinkCase getExecutionSinkCase() -
getExecutionIdentityCase
NotebookExecutionJob.ExecutionIdentityCase getExecutionIdentityCase() -
getRuntimeEnvironmentCase
NotebookExecutionJob.RuntimeEnvironmentCase getRuntimeEnvironmentCase()
-