Class WorkflowInvocationAction.NotebookAction.Builder (0.59.0)

public static final class WorkflowInvocationAction.NotebookAction.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkflowInvocationAction.NotebookAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public WorkflowInvocationAction.NotebookAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkflowInvocationAction.NotebookAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowInvocationAction.NotebookAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public WorkflowInvocationAction.NotebookAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WorkflowInvocationAction.NotebookAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowInvocationAction.NotebookAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkflowInvocationAction.NotebookAction.Builder
Overrides