Class WorkflowInvocation.Builder

  • All Implemented Interfaces:
    WorkflowInvocationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    WorkflowInvocation

    public static final class WorkflowInvocation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
    implements WorkflowInvocationOrBuilder
     Represents a single invocation of a compilation result.
     
    Protobuf type google.cloud.dataform.v1alpha2.WorkflowInvocation
    • Method Detail

      • 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.Builder<WorkflowInvocation.Builder>
      • clear

        public WorkflowInvocation.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • getDefaultInstanceForType

        public WorkflowInvocation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

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

        public WorkflowInvocation.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • setField

        public WorkflowInvocation.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • clearField

        public WorkflowInvocation.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • clearOneof

        public WorkflowInvocation.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • setRepeatedField

        public WorkflowInvocation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • addRepeatedField

        public WorkflowInvocation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • mergeFrom

        public WorkflowInvocation.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowInvocation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • mergeFrom

        public WorkflowInvocation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowInvocation.Builder>
        Throws:
        IOException
      • 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.
      • setName

        public WorkflowInvocation.Builder setName​(String value)
         Output only. The workflow invocation's name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public WorkflowInvocation.Builder clearName()
         Output only. The workflow invocation's name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public WorkflowInvocation.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The workflow invocation's name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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.
      • setCompilationResult

        public WorkflowInvocation.Builder setCompilationResult​(String value)
         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) = { ... }
        Parameters:
        value - The compilationResult to set.
        Returns:
        This builder for chaining.
      • clearCompilationResult

        public WorkflowInvocation.Builder clearCompilationResult()
         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) = { ... }
        Returns:
        This builder for chaining.
      • setCompilationResultBytes

        public WorkflowInvocation.Builder setCompilationResultBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for compilationResult to set.
        Returns:
        This builder for chaining.
      • hasInvocationConfig

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

        public WorkflowInvocation.Builder setInvocationConfig​(WorkflowInvocation.InvocationConfig value)
         Immutable. If left unset, a default InvocationConfig will be used.
         
        .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeInvocationConfig

        public WorkflowInvocation.Builder mergeInvocationConfig​(WorkflowInvocation.InvocationConfig value)
         Immutable. If left unset, a default InvocationConfig will be used.
         
        .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • clearInvocationConfig

        public WorkflowInvocation.Builder clearInvocationConfig()
         Immutable. If left unset, a default InvocationConfig will be used.
         
        .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • getInvocationConfigBuilder

        public WorkflowInvocation.InvocationConfig.Builder getInvocationConfigBuilder()
         Immutable. If left unset, a default InvocationConfig will be used.
         
        .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
      • getStateValue

        public int getStateValue()
         Output only. This workflow invocation's current state.
         
        .google.cloud.dataform.v1alpha2.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.
      • setStateValue

        public WorkflowInvocation.Builder setStateValue​(int value)
         Output only. This workflow invocation's current state.
         
        .google.cloud.dataform.v1alpha2.WorkflowInvocation.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 WorkflowInvocation.State getState()
         Output only. This workflow invocation's current state.
         
        .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface WorkflowInvocationOrBuilder
        Returns:
        The state.
      • setState

        public WorkflowInvocation.Builder setState​(WorkflowInvocation.State value)
         Output only. This workflow invocation's current state.
         
        .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public WorkflowInvocation.Builder clearState()
         Output only. This workflow invocation's current state.
         
        .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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.
      • setInvocationTiming

        public WorkflowInvocation.Builder setInvocationTiming​(com.google.type.Interval value)
         Output only. This workflow invocation's timing details.
         
        .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setInvocationTiming

        public WorkflowInvocation.Builder setInvocationTiming​(com.google.type.Interval.Builder builderForValue)
         Output only. This workflow invocation's timing details.
         
        .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeInvocationTiming

        public WorkflowInvocation.Builder mergeInvocationTiming​(com.google.type.Interval value)
         Output only. This workflow invocation's timing details.
         
        .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearInvocationTiming

        public WorkflowInvocation.Builder clearInvocationTiming()
         Output only. This workflow invocation's timing details.
         
        .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getInvocationTimingBuilder

        public com.google.type.Interval.Builder getInvocationTimingBuilder()
         Output only. This workflow invocation's timing details.
         
        .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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
      • setUnknownFields

        public final WorkflowInvocation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
      • mergeUnknownFields

        public final WorkflowInvocation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>