Class WorkflowInvocationAction.Builder (0.20.0)

public static final class WorkflowInvocationAction.Builder extends GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder> implements WorkflowInvocationActionOrBuilder

Represents a single action in a workflow invocation.

Protobuf type google.cloud.dataform.v1alpha2.WorkflowInvocationAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkflowInvocationAction build()
Returns
Type Description
WorkflowInvocationAction

buildPartial()

public WorkflowInvocationAction buildPartial()
Returns
Type Description
WorkflowInvocationAction

clear()

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

clearBigqueryAction()

public WorkflowInvocationAction.Builder clearBigqueryAction()

Output only. The workflow action's bigquery action details.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.Builder

clearCanonicalTarget()

public WorkflowInvocationAction.Builder clearCanonicalTarget()

Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.Builder

clearFailureReason()

public WorkflowInvocationAction.Builder clearFailureReason()

Output only. If and only if action's state is FAILED a failure reason is set.

string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInvocationTiming()

public WorkflowInvocationAction.Builder clearInvocationTiming()

Output only. This action's timing details. start_time will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. end_time will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public WorkflowInvocationAction.Builder clearState()

Output only. This action's current state.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.Builder

This builder for chaining.

clearTarget()

public WorkflowInvocationAction.Builder clearTarget()

Output only. This action's identifier. Unique within the workflow invocation.

.google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.Builder

clone()

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

getBigqueryAction()

public WorkflowInvocationAction.BigQueryAction getBigqueryAction()

Output only. The workflow action's bigquery action details.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryAction

The bigqueryAction.

getBigqueryActionBuilder()

public WorkflowInvocationAction.BigQueryAction.Builder getBigqueryActionBuilder()

Output only. The workflow action's bigquery action details.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryAction.Builder

getBigqueryActionOrBuilder()

public WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder()

Output only. The workflow action's bigquery action details.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryActionOrBuilder

getCanonicalTarget()

public Target getCanonicalTarget()

Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Target

The canonicalTarget.

getCanonicalTargetBuilder()

public Target.Builder getCanonicalTargetBuilder()

Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Target.Builder

getCanonicalTargetOrBuilder()

public TargetOrBuilder getCanonicalTargetOrBuilder()

Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TargetOrBuilder

getDefaultInstanceForType()

public WorkflowInvocationAction getDefaultInstanceForType()
Returns
Type Description
WorkflowInvocationAction

getDescriptorForType()

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

getFailureReason()

public String getFailureReason()

Output only. If and only if action's state is FAILED a failure reason is set.

string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The failureReason.

getFailureReasonBytes()

public ByteString getFailureReasonBytes()

Output only. If and only if action's state is FAILED a failure reason is set.

string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for failureReason.

getInvocationTiming()

public Interval getInvocationTiming()

Output only. This action's timing details. start_time will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. end_time will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Interval

The invocationTiming.

getInvocationTimingBuilder()

public Interval.Builder getInvocationTimingBuilder()

Output only. This action's timing details. start_time will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. end_time will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Interval.Builder

getInvocationTimingOrBuilder()

public IntervalOrBuilder getInvocationTimingOrBuilder()

Output only. This action's timing details. start_time will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. end_time will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.IntervalOrBuilder

getState()

public WorkflowInvocationAction.State getState()

Output only. This action's current state.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.State

The state.

getStateValue()

public int getStateValue()

Output only. This action's current state.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTarget()

public Target getTarget()

Output only. This action's identifier. Unique within the workflow invocation.

.google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Target

The target.

getTargetBuilder()

public Target.Builder getTargetBuilder()

Output only. This action's identifier. Unique within the workflow invocation.

.google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Target.Builder

getTargetOrBuilder()

public TargetOrBuilder getTargetOrBuilder()

Output only. This action's identifier. Unique within the workflow invocation.

.google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TargetOrBuilder

hasBigqueryAction()

public boolean hasBigqueryAction()

Output only. The workflow action's bigquery action details.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the bigqueryAction field is set.

hasCanonicalTarget()

public boolean hasCanonicalTarget()

Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the canonicalTarget field is set.

hasInvocationTiming()

public boolean hasInvocationTiming()

Output only. This action's timing details. start_time will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. end_time will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the invocationTiming field is set.

hasTarget()

public boolean hasTarget()

Output only. This action's identifier. Unique within the workflow invocation.

.google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the target field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigqueryAction(WorkflowInvocationAction.BigQueryAction value)

public WorkflowInvocationAction.Builder mergeBigqueryAction(WorkflowInvocationAction.BigQueryAction value)

Output only. The workflow action's bigquery action details.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkflowInvocationAction.BigQueryAction
Returns
Type Description
WorkflowInvocationAction.Builder

mergeCanonicalTarget(Target value)

public WorkflowInvocationAction.Builder mergeCanonicalTarget(Target value)

Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Target
Returns
Type Description
WorkflowInvocationAction.Builder

mergeFrom(WorkflowInvocationAction other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInvocationTiming(Interval value)

public WorkflowInvocationAction.Builder mergeInvocationTiming(Interval value)

Output only. This action's timing details. start_time will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. end_time will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
WorkflowInvocationAction.Builder

mergeTarget(Target value)

public WorkflowInvocationAction.Builder mergeTarget(Target value)

Output only. This action's identifier. Unique within the workflow invocation.

.google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Target
Returns
Type Description
WorkflowInvocationAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigqueryAction(WorkflowInvocationAction.BigQueryAction value)

public WorkflowInvocationAction.Builder setBigqueryAction(WorkflowInvocationAction.BigQueryAction value)

Output only. The workflow action's bigquery action details.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkflowInvocationAction.BigQueryAction
Returns
Type Description
WorkflowInvocationAction.Builder

setBigqueryAction(WorkflowInvocationAction.BigQueryAction.Builder builderForValue)

public WorkflowInvocationAction.Builder setBigqueryAction(WorkflowInvocationAction.BigQueryAction.Builder builderForValue)

Output only. The workflow action's bigquery action details.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WorkflowInvocationAction.BigQueryAction.Builder
Returns
Type Description
WorkflowInvocationAction.Builder

setCanonicalTarget(Target value)

public WorkflowInvocationAction.Builder setCanonicalTarget(Target value)

Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Target
Returns
Type Description
WorkflowInvocationAction.Builder

setCanonicalTarget(Target.Builder builderForValue)

public WorkflowInvocationAction.Builder setCanonicalTarget(Target.Builder builderForValue)

Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

.google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Target.Builder
Returns
Type Description
WorkflowInvocationAction.Builder

setFailureReason(String value)

public WorkflowInvocationAction.Builder setFailureReason(String value)

Output only. If and only if action's state is FAILED a failure reason is set.

string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The failureReason to set.

Returns
Type Description
WorkflowInvocationAction.Builder

This builder for chaining.

setFailureReasonBytes(ByteString value)

public WorkflowInvocationAction.Builder setFailureReasonBytes(ByteString value)

Output only. If and only if action's state is FAILED a failure reason is set.

string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for failureReason to set.

Returns
Type Description
WorkflowInvocationAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInvocationTiming(Interval value)

public WorkflowInvocationAction.Builder setInvocationTiming(Interval value)

Output only. This action's timing details. start_time will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. end_time will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
WorkflowInvocationAction.Builder

setInvocationTiming(Interval.Builder builderForValue)

public WorkflowInvocationAction.Builder setInvocationTiming(Interval.Builder builderForValue)

Output only. This action's timing details. start_time will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. end_time will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
WorkflowInvocationAction.Builder

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

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

setState(WorkflowInvocationAction.State value)

public WorkflowInvocationAction.Builder setState(WorkflowInvocationAction.State value)

Output only. This action's current state.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkflowInvocationAction.State

The state to set.

Returns
Type Description
WorkflowInvocationAction.Builder

This builder for chaining.

setStateValue(int value)

public WorkflowInvocationAction.Builder setStateValue(int value)

Output only. This action's current state.

.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
WorkflowInvocationAction.Builder

This builder for chaining.

setTarget(Target value)

public WorkflowInvocationAction.Builder setTarget(Target value)

Output only. This action's identifier. Unique within the workflow invocation.

.google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Target
Returns
Type Description
WorkflowInvocationAction.Builder

setTarget(Target.Builder builderForValue)

public WorkflowInvocationAction.Builder setTarget(Target.Builder builderForValue)

Output only. This action's identifier. Unique within the workflow invocation.

.google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Target.Builder
Returns
Type Description
WorkflowInvocationAction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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