Class WorkflowInvocationAction.NotebookAction.Builder (0.61.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkflowInvocationAction.NotebookAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder
Overrides

build()

public WorkflowInvocationAction.NotebookAction build()
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction

buildPartial()

public WorkflowInvocationAction.NotebookAction buildPartial()
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction

clear()

public WorkflowInvocationAction.NotebookAction.Builder clear()
Returns
TypeDescription
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
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public WorkflowInvocationAction.NotebookAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkflowInvocationAction.NotebookAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder
Overrides

clone()

public WorkflowInvocationAction.NotebookAction.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for contents.

getDefaultInstanceForType()

public WorkflowInvocationAction.NotebookAction getDefaultInstanceForType()
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for jobId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkflowInvocationAction.NotebookAction other)

public WorkflowInvocationAction.NotebookAction.Builder mergeFrom(WorkflowInvocationAction.NotebookAction other)
Parameter
NameDescription
otherWorkflowInvocationAction.NotebookAction
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkflowInvocationAction.NotebookAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WorkflowInvocationAction.NotebookAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowInvocationAction.NotebookAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The contents to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for contents to set.

Returns
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WorkflowInvocationAction.NotebookAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The jobId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowInvocationAction.NotebookAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkflowInvocationAction.NotebookAction.Builder
Overrides