Class WorkflowInvocationAction.Builder (0.12.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.v1beta1.WorkflowInvocationAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkflowInvocationAction build()
Returns
TypeDescription
WorkflowInvocationAction

buildPartial()

public WorkflowInvocationAction buildPartial()
Returns
TypeDescription
WorkflowInvocationAction

clear()

public WorkflowInvocationAction.Builder clear()
Returns
TypeDescription
WorkflowInvocationAction.Builder
Overrides

clearBigqueryAction()

public WorkflowInvocationAction.Builder clearBigqueryAction()

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

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

Returns
TypeDescription
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.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
TypeDescription
WorkflowInvocationAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public WorkflowInvocationAction.Builder clearState()

Output only. This action's current state.

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

Returns
TypeDescription
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.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowInvocationAction.Builder

clone()

public WorkflowInvocationAction.Builder clone()
Returns
TypeDescription
WorkflowInvocationAction.Builder
Overrides

getBigqueryAction()

public WorkflowInvocationAction.BigQueryAction getBigqueryAction()

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

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

Returns
TypeDescription
WorkflowInvocationAction.BigQueryAction

The bigqueryAction.

getBigqueryActionBuilder()

public WorkflowInvocationAction.BigQueryAction.Builder getBigqueryActionBuilder()

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

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

Returns
TypeDescription
WorkflowInvocationAction.BigQueryAction.Builder

getBigqueryActionOrBuilder()

public WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder()

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

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

Returns
TypeDescription
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.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TargetOrBuilder

getDefaultInstanceForType()

public WorkflowInvocationAction getDefaultInstanceForType()
Returns
TypeDescription
WorkflowInvocationAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.type.IntervalOrBuilder

getState()

public WorkflowInvocationAction.State getState()

Output only. This action's current state.

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

Returns
TypeDescription
WorkflowInvocationAction.State

The state.

getStateValue()

public int getStateValue()

Output only. This action's current state.

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

Returns
TypeDescription
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.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Target

The target.

getTargetBuilder()

public Target.Builder getTargetBuilder()

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

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

Returns
TypeDescription
Target.Builder

getTargetOrBuilder()

public TargetOrBuilder getTargetOrBuilder()

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

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

Returns
TypeDescription
TargetOrBuilder

hasBigqueryAction()

public boolean hasBigqueryAction()

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

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

Returns
TypeDescription
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.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
TypeDescription
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.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the target field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueWorkflowInvocationAction.BigQueryAction
Returns
TypeDescription
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.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTarget
Returns
TypeDescription
WorkflowInvocationAction.Builder

mergeFrom(WorkflowInvocationAction other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WorkflowInvocationAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Interval
Returns
TypeDescription
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.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTarget
Returns
TypeDescription
WorkflowInvocationAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowInvocationAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueWorkflowInvocationAction.BigQueryAction
Returns
TypeDescription
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.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueWorkflowInvocationAction.BigQueryAction.Builder
Returns
TypeDescription
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.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTarget
Returns
TypeDescription
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.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueTarget.Builder
Returns
TypeDescription
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
NameDescription
valueString

The failureReason to set.

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

The bytes for failureReason to set.

Returns
TypeDescription
WorkflowInvocationAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WorkflowInvocationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Interval
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Interval.Builder
Returns
TypeDescription
WorkflowInvocationAction.Builder

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

public WorkflowInvocationAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WorkflowInvocationAction.Builder
Overrides

setState(WorkflowInvocationAction.State value)

public WorkflowInvocationAction.Builder setState(WorkflowInvocationAction.State value)

Output only. This action's current state.

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

Parameter
NameDescription
valueWorkflowInvocationAction.State

The state to set.

Returns
TypeDescription
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.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTarget
Returns
TypeDescription
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.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueTarget.Builder
Returns
TypeDescription
WorkflowInvocationAction.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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