Class WorkflowInvocationAction.NotebookAction.Builder (0.84.0)

public static final class WorkflowInvocationAction.NotebookAction.Builder extends GeneratedMessage.Builder<WorkflowInvocationAction.NotebookAction.Builder> implements WorkflowInvocationAction.NotebookActionOrBuilder

Represents a workflow action that will run against a Notebook runtime.

Protobuf type google.cloud.dataform.v1beta1.WorkflowInvocationAction.NotebookAction

Static Methods

getDescriptor()

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

Methods

build()

public WorkflowInvocationAction.NotebookAction build()
Returns
Type Description
WorkflowInvocationAction.NotebookAction

buildPartial()

public WorkflowInvocationAction.NotebookAction buildPartial()
Returns
Type Description
WorkflowInvocationAction.NotebookAction

clear()

public WorkflowInvocationAction.NotebookAction.Builder clear()
Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder
Overrides

clearContents()

public WorkflowInvocationAction.NotebookAction.Builder clearContents()

Output only. The code contents of a Notebook to be run.

string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.

clearJobId()

public WorkflowInvocationAction.NotebookAction.Builder clearJobId()

Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.

string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.

getContents()

public String getContents()

Output only. The code contents of a Notebook to be run.

string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The contents.

getContentsBytes()

public ByteString getContentsBytes()

Output only. The code contents of a Notebook to be run.

string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for contents.

getDefaultInstanceForType()

public WorkflowInvocationAction.NotebookAction getDefaultInstanceForType()
Returns
Type Description
WorkflowInvocationAction.NotebookAction

getDescriptorForType()

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

getJobId()

public String getJobId()

Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.

string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.

string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for jobId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkflowInvocationAction.NotebookAction other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContents(String value)

public WorkflowInvocationAction.NotebookAction.Builder setContents(String value)

Output only. The code contents of a Notebook to be run.

string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The contents to set.

Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.

setContentsBytes(ByteString value)

public WorkflowInvocationAction.NotebookAction.Builder setContentsBytes(ByteString value)

Output only. The code contents of a Notebook to be run.

string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for contents to set.

Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.

setJobId(String value)

public WorkflowInvocationAction.NotebookAction.Builder setJobId(String value)

Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.

string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The jobId to set.

Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public WorkflowInvocationAction.NotebookAction.Builder setJobIdBytes(ByteString value)

Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.

string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for jobId to set.

Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.