Class WorkflowInvocation

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

    public final class WorkflowInvocation
    extends com.google.protobuf.GeneratedMessageV3
    implements WorkflowInvocationOrBuilder
     Represents a single invocation of a compilation result.
     
    Protobuf type google.cloud.dataform.v1beta1.WorkflowInvocation
    See Also:
    Serialized Form
    • Field Detail

      • COMPILATION_RESULT_FIELD_NUMBER

        public static final int COMPILATION_RESULT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INVOCATION_CONFIG_FIELD_NUMBER

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

        public static final int INVOCATION_TIMING_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
      • getName

        public String getName()
         Output only. The workflow invocation's name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface WorkflowInvocationOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The workflow invocation's name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface WorkflowInvocationOrBuilder
        Returns:
        The bytes for name.
      • getCompilationResult

        public String getCompilationResult()
         Immutable. The name of the compilation result to compile. Must be in the format
         `projects/*/locations/*/repositories/*/compilationResults/*`.
         
        string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getCompilationResult in interface WorkflowInvocationOrBuilder
        Returns:
        The compilationResult.
      • getCompilationResultBytes

        public com.google.protobuf.ByteString getCompilationResultBytes()
         Immutable. The name of the compilation result to compile. Must be in the format
         `projects/*/locations/*/repositories/*/compilationResults/*`.
         
        string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getCompilationResultBytes in interface WorkflowInvocationOrBuilder
        Returns:
        The bytes for compilationResult.
      • hasInvocationConfig

        public boolean hasInvocationConfig()
         Immutable. If left unset, a default InvocationConfig will be used.
         
        .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasInvocationConfig in interface WorkflowInvocationOrBuilder
        Returns:
        Whether the invocationConfig field is set.
      • getStateValue

        public int getStateValue()
         Output only. This workflow invocation's current state.
         
        .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface WorkflowInvocationOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public WorkflowInvocation.State getState()
         Output only. This workflow invocation's current state.
         
        .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface WorkflowInvocationOrBuilder
        Returns:
        The state.
      • hasInvocationTiming

        public boolean hasInvocationTiming()
         Output only. This workflow invocation's timing details.
         
        .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasInvocationTiming in interface WorkflowInvocationOrBuilder
        Returns:
        Whether the invocationTiming field is set.
      • getInvocationTiming

        public com.google.type.Interval getInvocationTiming()
         Output only. This workflow invocation's timing details.
         
        .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getInvocationTiming in interface WorkflowInvocationOrBuilder
        Returns:
        The invocationTiming.
      • getInvocationTimingOrBuilder

        public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder()
         Output only. This workflow invocation's timing details.
         
        .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getInvocationTimingOrBuilder in interface WorkflowInvocationOrBuilder
      • 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 WorkflowInvocation parseFrom​(ByteBuffer data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static WorkflowInvocation parseFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

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

        public com.google.protobuf.Parser<WorkflowInvocation> 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 WorkflowInvocation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder