Class NotebookRuntimeOptions.Builder (0.84.0)

public static final class NotebookRuntimeOptions.Builder extends GeneratedMessage.Builder<NotebookRuntimeOptions.Builder> implements NotebookRuntimeOptionsOrBuilder

Configures various aspects of Dataform notebook runtime.

Protobuf type google.cloud.dataform.v1beta1.NotebookRuntimeOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public NotebookRuntimeOptions build()
Returns
Type Description
NotebookRuntimeOptions

buildPartial()

public NotebookRuntimeOptions buildPartial()
Returns
Type Description
NotebookRuntimeOptions

clear()

public NotebookRuntimeOptions.Builder clear()
Returns
Type Description
NotebookRuntimeOptions.Builder
Overrides

clearAiPlatformNotebookRuntimeTemplate()

public NotebookRuntimeOptions.Builder clearAiPlatformNotebookRuntimeTemplate()

Optional. The resource name of the Colab runtime template, from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's default specifications.

string ai_platform_notebook_runtime_template = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
NotebookRuntimeOptions.Builder

This builder for chaining.

clearExecutionSink()

public NotebookRuntimeOptions.Builder clearExecutionSink()
Returns
Type Description
NotebookRuntimeOptions.Builder

clearGcsOutputBucket()

public NotebookRuntimeOptions.Builder clearGcsOutputBucket()

Optional. The Google Cloud Storage location to upload the result to. Format: gs://bucket-name.

string gcs_output_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NotebookRuntimeOptions.Builder

This builder for chaining.

getAiPlatformNotebookRuntimeTemplate()

public String getAiPlatformNotebookRuntimeTemplate()

Optional. The resource name of the Colab runtime template, from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's default specifications.

string ai_platform_notebook_runtime_template = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The aiPlatformNotebookRuntimeTemplate.

getAiPlatformNotebookRuntimeTemplateBytes()

public ByteString getAiPlatformNotebookRuntimeTemplateBytes()

Optional. The resource name of the Colab runtime template, from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's default specifications.

string ai_platform_notebook_runtime_template = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for aiPlatformNotebookRuntimeTemplate.

getDefaultInstanceForType()

public NotebookRuntimeOptions getDefaultInstanceForType()
Returns
Type Description
NotebookRuntimeOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExecutionSinkCase()

public NotebookRuntimeOptions.ExecutionSinkCase getExecutionSinkCase()
Returns
Type Description
NotebookRuntimeOptions.ExecutionSinkCase

getGcsOutputBucket()

public String getGcsOutputBucket()

Optional. The Google Cloud Storage location to upload the result to. Format: gs://bucket-name.

string gcs_output_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcsOutputBucket.

getGcsOutputBucketBytes()

public ByteString getGcsOutputBucketBytes()

Optional. The Google Cloud Storage location to upload the result to. Format: gs://bucket-name.

string gcs_output_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcsOutputBucket.

hasGcsOutputBucket()

public boolean hasGcsOutputBucket()

Optional. The Google Cloud Storage location to upload the result to. Format: gs://bucket-name.

string gcs_output_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gcsOutputBucket field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotebookRuntimeOptions other)

public NotebookRuntimeOptions.Builder mergeFrom(NotebookRuntimeOptions other)
Parameter
Name Description
other NotebookRuntimeOptions
Returns
Type Description
NotebookRuntimeOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NotebookRuntimeOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookRuntimeOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NotebookRuntimeOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NotebookRuntimeOptions.Builder
Overrides

setAiPlatformNotebookRuntimeTemplate(String value)

public NotebookRuntimeOptions.Builder setAiPlatformNotebookRuntimeTemplate(String value)

Optional. The resource name of the Colab runtime template, from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's default specifications.

string ai_platform_notebook_runtime_template = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The aiPlatformNotebookRuntimeTemplate to set.

Returns
Type Description
NotebookRuntimeOptions.Builder

This builder for chaining.

setAiPlatformNotebookRuntimeTemplateBytes(ByteString value)

public NotebookRuntimeOptions.Builder setAiPlatformNotebookRuntimeTemplateBytes(ByteString value)

Optional. The resource name of the Colab runtime template, from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's default specifications.

string ai_platform_notebook_runtime_template = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for aiPlatformNotebookRuntimeTemplate to set.

Returns
Type Description
NotebookRuntimeOptions.Builder

This builder for chaining.

setGcsOutputBucket(String value)

public NotebookRuntimeOptions.Builder setGcsOutputBucket(String value)

Optional. The Google Cloud Storage location to upload the result to. Format: gs://bucket-name.

string gcs_output_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The gcsOutputBucket to set.

Returns
Type Description
NotebookRuntimeOptions.Builder

This builder for chaining.

setGcsOutputBucketBytes(ByteString value)

public NotebookRuntimeOptions.Builder setGcsOutputBucketBytes(ByteString value)

Optional. The Google Cloud Storage location to upload the result to. Format: gs://bucket-name.

string gcs_output_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for gcsOutputBucket to set.

Returns
Type Description
NotebookRuntimeOptions.Builder

This builder for chaining.