Class InvocationConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InvocationConfig.Builder>
com.google.cloud.dataform.v1.InvocationConfig.Builder
All Implemented Interfaces:
InvocationConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InvocationConfig

public static final class InvocationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<InvocationConfig.Builder> implements InvocationConfigOrBuilder
 Includes various configuration options for a workflow invocation.
 If both `included_targets` and `included_tags` are unset, all actions
 will be included.
 
Protobuf type google.cloud.dataform.v1.InvocationConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InvocationConfig.Builder>
    • clear

      public InvocationConfig.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.GeneratedMessage.Builder<InvocationConfig.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.GeneratedMessage.Builder<InvocationConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public InvocationConfig.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<InvocationConfig.Builder>
    • mergeFrom

      public InvocationConfig.Builder mergeFrom(InvocationConfig other)
    • isInitialized

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

      public InvocationConfig.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<InvocationConfig.Builder>
      Throws:
      IOException
    • getIncludedTargetsList

      public List<Target> getIncludedTargetsList()
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTargetsList in interface InvocationConfigOrBuilder
    • getIncludedTargetsCount

      public int getIncludedTargetsCount()
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTargetsCount in interface InvocationConfigOrBuilder
    • getIncludedTargets

      public Target getIncludedTargets(int index)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTargets in interface InvocationConfigOrBuilder
    • setIncludedTargets

      public InvocationConfig.Builder setIncludedTargets(int index, Target value)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setIncludedTargets

      public InvocationConfig.Builder setIncludedTargets(int index, Target.Builder builderForValue)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludedTargets

      public InvocationConfig.Builder addIncludedTargets(Target value)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludedTargets

      public InvocationConfig.Builder addIncludedTargets(int index, Target value)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludedTargets

      public InvocationConfig.Builder addIncludedTargets(Target.Builder builderForValue)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludedTargets

      public InvocationConfig.Builder addIncludedTargets(int index, Target.Builder builderForValue)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllIncludedTargets

      public InvocationConfig.Builder addAllIncludedTargets(Iterable<? extends Target> values)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearIncludedTargets

      public InvocationConfig.Builder clearIncludedTargets()
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeIncludedTargets

      public InvocationConfig.Builder removeIncludedTargets(int index)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludedTargetsBuilder

      public Target.Builder getIncludedTargetsBuilder(int index)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludedTargetsOrBuilder

      public TargetOrBuilder getIncludedTargetsOrBuilder(int index)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTargetsOrBuilder in interface InvocationConfigOrBuilder
    • getIncludedTargetsOrBuilderList

      public List<? extends TargetOrBuilder> getIncludedTargetsOrBuilderList()
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTargetsOrBuilderList in interface InvocationConfigOrBuilder
    • addIncludedTargetsBuilder

      public Target.Builder addIncludedTargetsBuilder()
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludedTargetsBuilder

      public Target.Builder addIncludedTargetsBuilder(int index)
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludedTargetsBuilderList

      public List<Target.Builder> getIncludedTargetsBuilderList()
       Optional. The set of action identifiers to include.
       
      repeated .google.cloud.dataform.v1.Target included_targets = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludedTagsList

      public com.google.protobuf.ProtocolStringList getIncludedTagsList()
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTagsList in interface InvocationConfigOrBuilder
      Returns:
      A list containing the includedTags.
    • getIncludedTagsCount

      public int getIncludedTagsCount()
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTagsCount in interface InvocationConfigOrBuilder
      Returns:
      The count of includedTags.
    • getIncludedTags

      public String getIncludedTags(int index)
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTags in interface InvocationConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The includedTags at the given index.
    • getIncludedTagsBytes

      public com.google.protobuf.ByteString getIncludedTagsBytes(int index)
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludedTagsBytes in interface InvocationConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the includedTags at the given index.
    • setIncludedTags

      public InvocationConfig.Builder setIncludedTags(int index, String value)
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The includedTags to set.
      Returns:
      This builder for chaining.
    • addIncludedTags

      public InvocationConfig.Builder addIncludedTags(String value)
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The includedTags to add.
      Returns:
      This builder for chaining.
    • addAllIncludedTags

      public InvocationConfig.Builder addAllIncludedTags(Iterable<String> values)
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The includedTags to add.
      Returns:
      This builder for chaining.
    • clearIncludedTags

      public InvocationConfig.Builder clearIncludedTags()
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addIncludedTagsBytes

      public InvocationConfig.Builder addIncludedTagsBytes(com.google.protobuf.ByteString value)
       Optional. The set of tags to include.
       
      repeated string included_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the includedTags to add.
      Returns:
      This builder for chaining.
    • getTransitiveDependenciesIncluded

      public boolean getTransitiveDependenciesIncluded()
       Optional. When set to true, transitive dependencies of included actions
       will be executed.
       
      bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTransitiveDependenciesIncluded in interface InvocationConfigOrBuilder
      Returns:
      The transitiveDependenciesIncluded.
    • setTransitiveDependenciesIncluded

      public InvocationConfig.Builder setTransitiveDependenciesIncluded(boolean value)
       Optional. When set to true, transitive dependencies of included actions
       will be executed.
       
      bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The transitiveDependenciesIncluded to set.
      Returns:
      This builder for chaining.
    • clearTransitiveDependenciesIncluded

      public InvocationConfig.Builder clearTransitiveDependenciesIncluded()
       Optional. When set to true, transitive dependencies of included actions
       will be executed.
       
      bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getTransitiveDependentsIncluded

      public boolean getTransitiveDependentsIncluded()
       Optional. When set to true, transitive dependents of included actions will
       be executed.
       
      bool transitive_dependents_included = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTransitiveDependentsIncluded in interface InvocationConfigOrBuilder
      Returns:
      The transitiveDependentsIncluded.
    • setTransitiveDependentsIncluded

      public InvocationConfig.Builder setTransitiveDependentsIncluded(boolean value)
       Optional. When set to true, transitive dependents of included actions will
       be executed.
       
      bool transitive_dependents_included = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The transitiveDependentsIncluded to set.
      Returns:
      This builder for chaining.
    • clearTransitiveDependentsIncluded

      public InvocationConfig.Builder clearTransitiveDependentsIncluded()
       Optional. When set to true, transitive dependents of included actions will
       be executed.
       
      bool transitive_dependents_included = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getFullyRefreshIncrementalTablesEnabled

      public boolean getFullyRefreshIncrementalTablesEnabled()
       Optional. When set to true, any incremental tables will be fully refreshed.
       
      bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFullyRefreshIncrementalTablesEnabled in interface InvocationConfigOrBuilder
      Returns:
      The fullyRefreshIncrementalTablesEnabled.
    • setFullyRefreshIncrementalTablesEnabled

      public InvocationConfig.Builder setFullyRefreshIncrementalTablesEnabled(boolean value)
       Optional. When set to true, any incremental tables will be fully refreshed.
       
      bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The fullyRefreshIncrementalTablesEnabled to set.
      Returns:
      This builder for chaining.
    • clearFullyRefreshIncrementalTablesEnabled

      public InvocationConfig.Builder clearFullyRefreshIncrementalTablesEnabled()
       Optional. When set to true, any incremental tables will be fully refreshed.
       
      bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getServiceAccount

      public String getServiceAccount()
       Optional. The service account to run workflow invocations under.
       
      string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccount in interface InvocationConfigOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      public com.google.protobuf.ByteString getServiceAccountBytes()
       Optional. The service account to run workflow invocations under.
       
      string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccountBytes in interface InvocationConfigOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public InvocationConfig.Builder setServiceAccount(String value)
       Optional. The service account to run workflow invocations under.
       
      string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      public InvocationConfig.Builder clearServiceAccount()
       Optional. The service account to run workflow invocations under.
       
      string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      public InvocationConfig.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       Optional. The service account to run workflow invocations under.
       
      string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.
    • hasQueryPriority

      public boolean hasQueryPriority()
       Optional. Specifies the priority for query execution in BigQuery.
       More information can be found at
       https://cloud.google.com/bigquery/docs/running-queries#queries.
       
      optional .google.cloud.dataform.v1.InvocationConfig.QueryPriority query_priority = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasQueryPriority in interface InvocationConfigOrBuilder
      Returns:
      Whether the queryPriority field is set.
    • getQueryPriorityValue

      public int getQueryPriorityValue()
       Optional. Specifies the priority for query execution in BigQuery.
       More information can be found at
       https://cloud.google.com/bigquery/docs/running-queries#queries.
       
      optional .google.cloud.dataform.v1.InvocationConfig.QueryPriority query_priority = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQueryPriorityValue in interface InvocationConfigOrBuilder
      Returns:
      The enum numeric value on the wire for queryPriority.
    • setQueryPriorityValue

      public InvocationConfig.Builder setQueryPriorityValue(int value)
       Optional. Specifies the priority for query execution in BigQuery.
       More information can be found at
       https://cloud.google.com/bigquery/docs/running-queries#queries.
       
      optional .google.cloud.dataform.v1.InvocationConfig.QueryPriority query_priority = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for queryPriority to set.
      Returns:
      This builder for chaining.
    • getQueryPriority

      public InvocationConfig.QueryPriority getQueryPriority()
       Optional. Specifies the priority for query execution in BigQuery.
       More information can be found at
       https://cloud.google.com/bigquery/docs/running-queries#queries.
       
      optional .google.cloud.dataform.v1.InvocationConfig.QueryPriority query_priority = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQueryPriority in interface InvocationConfigOrBuilder
      Returns:
      The queryPriority.
    • setQueryPriority

       Optional. Specifies the priority for query execution in BigQuery.
       More information can be found at
       https://cloud.google.com/bigquery/docs/running-queries#queries.
       
      optional .google.cloud.dataform.v1.InvocationConfig.QueryPriority query_priority = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The queryPriority to set.
      Returns:
      This builder for chaining.
    • clearQueryPriority

      public InvocationConfig.Builder clearQueryPriority()
       Optional. Specifies the priority for query execution in BigQuery.
       More information can be found at
       https://cloud.google.com/bigquery/docs/running-queries#queries.
       
      optional .google.cloud.dataform.v1.InvocationConfig.QueryPriority query_priority = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.