Class WorkflowInvocationAction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
- com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder
-
- All Implemented Interfaces:
WorkflowInvocationActionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- WorkflowInvocationAction
public static final class WorkflowInvocationAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder> implements WorkflowInvocationActionOrBuilder
Represents a single action in a workflow invocation.
Protobuf typegoogle.cloud.dataform.v1alpha2.WorkflowInvocationAction
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
clear
public WorkflowInvocationAction.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
getDefaultInstanceForType
public WorkflowInvocationAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowInvocationAction build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowInvocationAction buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowInvocationAction.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
setField
public WorkflowInvocationAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
clearField
public WorkflowInvocationAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
clearOneof
public WorkflowInvocationAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
setRepeatedField
public WorkflowInvocationAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
addRepeatedField
public WorkflowInvocationAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
mergeFrom
public WorkflowInvocationAction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowInvocationAction.Builder>
-
mergeFrom
public WorkflowInvocationAction.Builder mergeFrom(WorkflowInvocationAction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
mergeFrom
public WorkflowInvocationAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowInvocationAction.Builder>
- Throws:
IOException
-
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];
- Specified by:
hasTarget
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- Whether the target field is set.
-
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];
- Specified by:
getTarget
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- The target.
-
setTarget
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];
-
setTarget
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];
-
mergeTarget
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];
-
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];
-
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];
-
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];
- Specified by:
getTargetOrBuilder
in interfaceWorkflowInvocationActionOrBuilder
-
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];
- Specified by:
hasCanonicalTarget
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- Whether the canonicalTarget field is set.
-
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];
- Specified by:
getCanonicalTarget
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- The canonicalTarget.
-
setCanonicalTarget
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];
-
setCanonicalTarget
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];
-
mergeCanonicalTarget
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];
-
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];
-
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];
-
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];
- Specified by:
getCanonicalTargetOrBuilder
in interfaceWorkflowInvocationActionOrBuilder
-
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];
- Specified by:
getStateValue
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getState
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- The state.
-
setState
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];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];
- Specified by:
getFailureReason
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- The failureReason.
-
getFailureReasonBytes
public com.google.protobuf.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];
- Specified by:
getFailureReasonBytes
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- The bytes for failureReason.
-
setFailureReason
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];
- Parameters:
value
- The failureReason to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setFailureReasonBytes
public WorkflowInvocationAction.Builder setFailureReasonBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for failureReason to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasInvocationTiming
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- Whether the invocationTiming field is set.
-
getInvocationTiming
public com.google.type.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];
- Specified by:
getInvocationTiming
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- The invocationTiming.
-
setInvocationTiming
public WorkflowInvocationAction.Builder setInvocationTiming(com.google.type.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];
-
setInvocationTiming
public WorkflowInvocationAction.Builder setInvocationTiming(com.google.type.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];
-
mergeInvocationTiming
public WorkflowInvocationAction.Builder mergeInvocationTiming(com.google.type.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];
-
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];
-
getInvocationTimingBuilder
public com.google.type.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];
-
getInvocationTimingOrBuilder
public com.google.type.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];
- Specified by:
getInvocationTimingOrBuilder
in interfaceWorkflowInvocationActionOrBuilder
-
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];
- Specified by:
hasBigqueryAction
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- Whether the bigqueryAction field is set.
-
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];
- Specified by:
getBigqueryAction
in interfaceWorkflowInvocationActionOrBuilder
- Returns:
- The bigqueryAction.
-
setBigqueryAction
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];
-
setBigqueryAction
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];
-
mergeBigqueryAction
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];
-
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];
-
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];
-
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];
- Specified by:
getBigqueryActionOrBuilder
in interfaceWorkflowInvocationActionOrBuilder
-
setUnknownFields
public final WorkflowInvocationAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
mergeUnknownFields
public final WorkflowInvocationAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocationAction.Builder>
-
-