Class WorkflowInvocationAction

  • All Implemented Interfaces:
    WorkflowInvocationActionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class WorkflowInvocationAction
    extends com.google.protobuf.GeneratedMessageV3
    implements WorkflowInvocationActionOrBuilder
     Represents a single action in a workflow invocation.
     
    Protobuf type google.cloud.dataform.v1alpha2.WorkflowInvocationAction
    See Also:
    Serialized Form
    • Field Detail

      • CANONICAL_TARGET_FIELD_NUMBER

        public static final int CANONICAL_TARGET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAILURE_REASON_FIELD_NUMBER

        public static final int FAILURE_REASON_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INVOCATION_TIMING_FIELD_NUMBER

        public static final int INVOCATION_TIMING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BIGQUERY_ACTION_FIELD_NUMBER

        public static final int BIGQUERY_ACTION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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 interface WorkflowInvocationActionOrBuilder
        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 interface WorkflowInvocationActionOrBuilder
        Returns:
        The target.
      • 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 interface WorkflowInvocationActionOrBuilder
        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 interface WorkflowInvocationActionOrBuilder
        Returns:
        The canonicalTarget.
      • 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 interface WorkflowInvocationActionOrBuilder
      • 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 interface WorkflowInvocationActionOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • 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 interface WorkflowInvocationActionOrBuilder
        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 interface WorkflowInvocationActionOrBuilder
        Returns:
        The bytes for failureReason.
      • 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 interface WorkflowInvocationActionOrBuilder
        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 interface WorkflowInvocationActionOrBuilder
        Returns:
        The invocationTiming.
      • 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 interface WorkflowInvocationActionOrBuilder
      • 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 interface WorkflowInvocationActionOrBuilder
        Returns:
        Whether the bigqueryAction field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static WorkflowInvocationAction parseFrom​(ByteBuffer data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowInvocationAction parseFrom​(ByteBuffer data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowInvocationAction parseFrom​(com.google.protobuf.ByteString data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowInvocationAction parseFrom​(com.google.protobuf.ByteString data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowInvocationAction parseFrom​(byte[] data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowInvocationAction parseFrom​(byte[] data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public WorkflowInvocationAction.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public WorkflowInvocationAction.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected WorkflowInvocationAction.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<WorkflowInvocationAction> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public WorkflowInvocationAction getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder