Class CompilationResultAction.Relation.Builder

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

public static final class CompilationResultAction.Relation.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.Builder> implements CompilationResultAction.RelationOrBuilder
 Represents a database relation.
 
Protobuf type google.cloud.dataform.v1.CompilationResultAction.Relation
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.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<CompilationResultAction.Relation.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<CompilationResultAction.Relation.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public CompilationResultAction.Relation.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<CompilationResultAction.Relation.Builder>
      Throws:
      IOException
    • getDependencyTargetsList

      public List<Target> getDependencyTargetsList()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargetsList in interface CompilationResultAction.RelationOrBuilder
    • getDependencyTargetsCount

      public int getDependencyTargetsCount()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargetsCount in interface CompilationResultAction.RelationOrBuilder
    • getDependencyTargets

      public Target getDependencyTargets(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargets in interface CompilationResultAction.RelationOrBuilder
    • setDependencyTargets

      public CompilationResultAction.Relation.Builder setDependencyTargets(int index, Target value)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • setDependencyTargets

      public CompilationResultAction.Relation.Builder setDependencyTargets(int index, Target.Builder builderForValue)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargets

      public CompilationResultAction.Relation.Builder addDependencyTargets(Target value)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargets

      public CompilationResultAction.Relation.Builder addDependencyTargets(int index, Target value)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargets

      public CompilationResultAction.Relation.Builder addDependencyTargets(Target.Builder builderForValue)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargets

      public CompilationResultAction.Relation.Builder addDependencyTargets(int index, Target.Builder builderForValue)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addAllDependencyTargets

      public CompilationResultAction.Relation.Builder addAllDependencyTargets(Iterable<? extends Target> values)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • clearDependencyTargets

      public CompilationResultAction.Relation.Builder clearDependencyTargets()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • removeDependencyTargets

      public CompilationResultAction.Relation.Builder removeDependencyTargets(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • getDependencyTargetsBuilder

      public Target.Builder getDependencyTargetsBuilder(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • getDependencyTargetsOrBuilder

      public TargetOrBuilder getDependencyTargetsOrBuilder(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargetsOrBuilder in interface CompilationResultAction.RelationOrBuilder
    • getDependencyTargetsOrBuilderList

      public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargetsOrBuilderList in interface CompilationResultAction.RelationOrBuilder
    • addDependencyTargetsBuilder

      public Target.Builder addDependencyTargetsBuilder()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargetsBuilder

      public Target.Builder addDependencyTargetsBuilder(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • getDependencyTargetsBuilderList

      public List<Target.Builder> getDependencyTargetsBuilderList()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • getDisabled

      public boolean getDisabled()
       Whether this action is disabled (i.e. should not be run).
       
      bool disabled = 2;
      Specified by:
      getDisabled in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The disabled.
    • setDisabled

      public CompilationResultAction.Relation.Builder setDisabled(boolean value)
       Whether this action is disabled (i.e. should not be run).
       
      bool disabled = 2;
      Parameters:
      value - The disabled to set.
      Returns:
      This builder for chaining.
    • clearDisabled

       Whether this action is disabled (i.e. should not be run).
       
      bool disabled = 2;
      Returns:
      This builder for chaining.
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Specified by:
      getTagsList in interface CompilationResultAction.RelationOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Specified by:
      getTagsCount in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Specified by:
      getTags in interface CompilationResultAction.RelationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Specified by:
      getTagsBytes in interface CompilationResultAction.RelationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public CompilationResultAction.Relation.Builder setTags(int index, String value)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public CompilationResultAction.Relation.Builder addTagsBytes(com.google.protobuf.ByteString value)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • hasRelationDescriptor

      public boolean hasRelationDescriptor()
       Descriptor for the relation and its columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;
      Specified by:
      hasRelationDescriptor in interface CompilationResultAction.RelationOrBuilder
      Returns:
      Whether the relationDescriptor field is set.
    • getRelationDescriptor

      public RelationDescriptor getRelationDescriptor()
       Descriptor for the relation and its columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;
      Specified by:
      getRelationDescriptor in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The relationDescriptor.
    • setRelationDescriptor

      public CompilationResultAction.Relation.Builder setRelationDescriptor(RelationDescriptor value)
       Descriptor for the relation and its columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;
    • setRelationDescriptor

      public CompilationResultAction.Relation.Builder setRelationDescriptor(RelationDescriptor.Builder builderForValue)
       Descriptor for the relation and its columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;
    • mergeRelationDescriptor

      public CompilationResultAction.Relation.Builder mergeRelationDescriptor(RelationDescriptor value)
       Descriptor for the relation and its columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;
    • clearRelationDescriptor

      public CompilationResultAction.Relation.Builder clearRelationDescriptor()
       Descriptor for the relation and its columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;
    • getRelationDescriptorBuilder

      public RelationDescriptor.Builder getRelationDescriptorBuilder()
       Descriptor for the relation and its columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;
    • getRelationDescriptorOrBuilder

      public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
       Descriptor for the relation and its columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;
      Specified by:
      getRelationDescriptorOrBuilder in interface CompilationResultAction.RelationOrBuilder
    • getRelationTypeValue

      public int getRelationTypeValue()
       The type of this relation.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.RelationType relation_type = 5;
      Specified by:
      getRelationTypeValue in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The enum numeric value on the wire for relationType.
    • setRelationTypeValue

      public CompilationResultAction.Relation.Builder setRelationTypeValue(int value)
       The type of this relation.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.RelationType relation_type = 5;
      Parameters:
      value - The enum numeric value on the wire for relationType to set.
      Returns:
      This builder for chaining.
    • getRelationType

       The type of this relation.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.RelationType relation_type = 5;
      Specified by:
      getRelationType in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The relationType.
    • setRelationType

       The type of this relation.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.RelationType relation_type = 5;
      Parameters:
      value - The relationType to set.
      Returns:
      This builder for chaining.
    • clearRelationType

      public CompilationResultAction.Relation.Builder clearRelationType()
       The type of this relation.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.RelationType relation_type = 5;
      Returns:
      This builder for chaining.
    • getSelectQuery

      public String getSelectQuery()
       The SELECT query which returns rows which this relation should contain.
       
      string select_query = 6;
      Specified by:
      getSelectQuery in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The selectQuery.
    • getSelectQueryBytes

      public com.google.protobuf.ByteString getSelectQueryBytes()
       The SELECT query which returns rows which this relation should contain.
       
      string select_query = 6;
      Specified by:
      getSelectQueryBytes in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The bytes for selectQuery.
    • setSelectQuery

      public CompilationResultAction.Relation.Builder setSelectQuery(String value)
       The SELECT query which returns rows which this relation should contain.
       
      string select_query = 6;
      Parameters:
      value - The selectQuery to set.
      Returns:
      This builder for chaining.
    • clearSelectQuery

      public CompilationResultAction.Relation.Builder clearSelectQuery()
       The SELECT query which returns rows which this relation should contain.
       
      string select_query = 6;
      Returns:
      This builder for chaining.
    • setSelectQueryBytes

      public CompilationResultAction.Relation.Builder setSelectQueryBytes(com.google.protobuf.ByteString value)
       The SELECT query which returns rows which this relation should contain.
       
      string select_query = 6;
      Parameters:
      value - The bytes for selectQuery to set.
      Returns:
      This builder for chaining.
    • getPreOperationsList

      public com.google.protobuf.ProtocolStringList getPreOperationsList()
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Specified by:
      getPreOperationsList in interface CompilationResultAction.RelationOrBuilder
      Returns:
      A list containing the preOperations.
    • getPreOperationsCount

      public int getPreOperationsCount()
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Specified by:
      getPreOperationsCount in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The count of preOperations.
    • getPreOperations

      public String getPreOperations(int index)
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Specified by:
      getPreOperations in interface CompilationResultAction.RelationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The preOperations at the given index.
    • getPreOperationsBytes

      public com.google.protobuf.ByteString getPreOperationsBytes(int index)
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Specified by:
      getPreOperationsBytes in interface CompilationResultAction.RelationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the preOperations at the given index.
    • setPreOperations

      public CompilationResultAction.Relation.Builder setPreOperations(int index, String value)
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Parameters:
      index - The index to set the value at.
      value - The preOperations to set.
      Returns:
      This builder for chaining.
    • addPreOperations

      public CompilationResultAction.Relation.Builder addPreOperations(String value)
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Parameters:
      value - The preOperations to add.
      Returns:
      This builder for chaining.
    • addAllPreOperations

      public CompilationResultAction.Relation.Builder addAllPreOperations(Iterable<String> values)
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Parameters:
      values - The preOperations to add.
      Returns:
      This builder for chaining.
    • clearPreOperations

      public CompilationResultAction.Relation.Builder clearPreOperations()
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Returns:
      This builder for chaining.
    • addPreOperationsBytes

      public CompilationResultAction.Relation.Builder addPreOperationsBytes(com.google.protobuf.ByteString value)
       SQL statements to be executed before creating the relation.
       
      repeated string pre_operations = 7;
      Parameters:
      value - The bytes of the preOperations to add.
      Returns:
      This builder for chaining.
    • getPostOperationsList

      public com.google.protobuf.ProtocolStringList getPostOperationsList()
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Specified by:
      getPostOperationsList in interface CompilationResultAction.RelationOrBuilder
      Returns:
      A list containing the postOperations.
    • getPostOperationsCount

      public int getPostOperationsCount()
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Specified by:
      getPostOperationsCount in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The count of postOperations.
    • getPostOperations

      public String getPostOperations(int index)
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Specified by:
      getPostOperations in interface CompilationResultAction.RelationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The postOperations at the given index.
    • getPostOperationsBytes

      public com.google.protobuf.ByteString getPostOperationsBytes(int index)
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Specified by:
      getPostOperationsBytes in interface CompilationResultAction.RelationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the postOperations at the given index.
    • setPostOperations

      public CompilationResultAction.Relation.Builder setPostOperations(int index, String value)
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Parameters:
      index - The index to set the value at.
      value - The postOperations to set.
      Returns:
      This builder for chaining.
    • addPostOperations

      public CompilationResultAction.Relation.Builder addPostOperations(String value)
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Parameters:
      value - The postOperations to add.
      Returns:
      This builder for chaining.
    • addAllPostOperations

      public CompilationResultAction.Relation.Builder addAllPostOperations(Iterable<String> values)
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Parameters:
      values - The postOperations to add.
      Returns:
      This builder for chaining.
    • clearPostOperations

      public CompilationResultAction.Relation.Builder clearPostOperations()
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Returns:
      This builder for chaining.
    • addPostOperationsBytes

      public CompilationResultAction.Relation.Builder addPostOperationsBytes(com.google.protobuf.ByteString value)
       SQL statements to be executed after creating the relation.
       
      repeated string post_operations = 8;
      Parameters:
      value - The bytes of the postOperations to add.
      Returns:
      This builder for chaining.
    • hasIncrementalTableConfig

      public boolean hasIncrementalTableConfig()
       Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
       `relation_type` is `INCREMENTAL_TABLE`.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
      Specified by:
      hasIncrementalTableConfig in interface CompilationResultAction.RelationOrBuilder
      Returns:
      Whether the incrementalTableConfig field is set.
    • getIncrementalTableConfig

      public CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig()
       Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
       `relation_type` is `INCREMENTAL_TABLE`.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
      Specified by:
      getIncrementalTableConfig in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The incrementalTableConfig.
    • setIncrementalTableConfig

       Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
       `relation_type` is `INCREMENTAL_TABLE`.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
    • setIncrementalTableConfig

       Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
       `relation_type` is `INCREMENTAL_TABLE`.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
    • mergeIncrementalTableConfig

       Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
       `relation_type` is `INCREMENTAL_TABLE`.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
    • clearIncrementalTableConfig

      public CompilationResultAction.Relation.Builder clearIncrementalTableConfig()
       Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
       `relation_type` is `INCREMENTAL_TABLE`.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
    • getIncrementalTableConfigBuilder

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder getIncrementalTableConfigBuilder()
       Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
       `relation_type` is `INCREMENTAL_TABLE`.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
    • getIncrementalTableConfigOrBuilder

      public CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder()
       Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
       `relation_type` is `INCREMENTAL_TABLE`.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
      Specified by:
      getIncrementalTableConfigOrBuilder in interface CompilationResultAction.RelationOrBuilder
    • getPartitionExpression

      public String getPartitionExpression()
       The SQL expression used to partition the relation.
       
      string partition_expression = 10;
      Specified by:
      getPartitionExpression in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The partitionExpression.
    • getPartitionExpressionBytes

      public com.google.protobuf.ByteString getPartitionExpressionBytes()
       The SQL expression used to partition the relation.
       
      string partition_expression = 10;
      Specified by:
      getPartitionExpressionBytes in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The bytes for partitionExpression.
    • setPartitionExpression

      public CompilationResultAction.Relation.Builder setPartitionExpression(String value)
       The SQL expression used to partition the relation.
       
      string partition_expression = 10;
      Parameters:
      value - The partitionExpression to set.
      Returns:
      This builder for chaining.
    • clearPartitionExpression

      public CompilationResultAction.Relation.Builder clearPartitionExpression()
       The SQL expression used to partition the relation.
       
      string partition_expression = 10;
      Returns:
      This builder for chaining.
    • setPartitionExpressionBytes

      public CompilationResultAction.Relation.Builder setPartitionExpressionBytes(com.google.protobuf.ByteString value)
       The SQL expression used to partition the relation.
       
      string partition_expression = 10;
      Parameters:
      value - The bytes for partitionExpression to set.
      Returns:
      This builder for chaining.
    • getClusterExpressionsList

      public com.google.protobuf.ProtocolStringList getClusterExpressionsList()
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Specified by:
      getClusterExpressionsList in interface CompilationResultAction.RelationOrBuilder
      Returns:
      A list containing the clusterExpressions.
    • getClusterExpressionsCount

      public int getClusterExpressionsCount()
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Specified by:
      getClusterExpressionsCount in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The count of clusterExpressions.
    • getClusterExpressions

      public String getClusterExpressions(int index)
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Specified by:
      getClusterExpressions in interface CompilationResultAction.RelationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The clusterExpressions at the given index.
    • getClusterExpressionsBytes

      public com.google.protobuf.ByteString getClusterExpressionsBytes(int index)
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Specified by:
      getClusterExpressionsBytes in interface CompilationResultAction.RelationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the clusterExpressions at the given index.
    • setClusterExpressions

      public CompilationResultAction.Relation.Builder setClusterExpressions(int index, String value)
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Parameters:
      index - The index to set the value at.
      value - The clusterExpressions to set.
      Returns:
      This builder for chaining.
    • addClusterExpressions

      public CompilationResultAction.Relation.Builder addClusterExpressions(String value)
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Parameters:
      value - The clusterExpressions to add.
      Returns:
      This builder for chaining.
    • addAllClusterExpressions

      public CompilationResultAction.Relation.Builder addAllClusterExpressions(Iterable<String> values)
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Parameters:
      values - The clusterExpressions to add.
      Returns:
      This builder for chaining.
    • clearClusterExpressions

      public CompilationResultAction.Relation.Builder clearClusterExpressions()
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Returns:
      This builder for chaining.
    • addClusterExpressionsBytes

      public CompilationResultAction.Relation.Builder addClusterExpressionsBytes(com.google.protobuf.ByteString value)
       A list of columns or SQL expressions used to cluster the table.
       
      repeated string cluster_expressions = 11;
      Parameters:
      value - The bytes of the clusterExpressions to add.
      Returns:
      This builder for chaining.
    • getPartitionExpirationDays

      public int getPartitionExpirationDays()
       Sets the partition expiration in days.
       
      int32 partition_expiration_days = 12;
      Specified by:
      getPartitionExpirationDays in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The partitionExpirationDays.
    • setPartitionExpirationDays

      public CompilationResultAction.Relation.Builder setPartitionExpirationDays(int value)
       Sets the partition expiration in days.
       
      int32 partition_expiration_days = 12;
      Parameters:
      value - The partitionExpirationDays to set.
      Returns:
      This builder for chaining.
    • clearPartitionExpirationDays

      public CompilationResultAction.Relation.Builder clearPartitionExpirationDays()
       Sets the partition expiration in days.
       
      int32 partition_expiration_days = 12;
      Returns:
      This builder for chaining.
    • getRequirePartitionFilter

      public boolean getRequirePartitionFilter()
       Specifies whether queries on this table must include a predicate filter
       that filters on the partitioning column.
       
      bool require_partition_filter = 13;
      Specified by:
      getRequirePartitionFilter in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The requirePartitionFilter.
    • setRequirePartitionFilter

      public CompilationResultAction.Relation.Builder setRequirePartitionFilter(boolean value)
       Specifies whether queries on this table must include a predicate filter
       that filters on the partitioning column.
       
      bool require_partition_filter = 13;
      Parameters:
      value - The requirePartitionFilter to set.
      Returns:
      This builder for chaining.
    • clearRequirePartitionFilter

      public CompilationResultAction.Relation.Builder clearRequirePartitionFilter()
       Specifies whether queries on this table must include a predicate filter
       that filters on the partitioning column.
       
      bool require_partition_filter = 13;
      Returns:
      This builder for chaining.
    • getAdditionalOptionsCount

      public int getAdditionalOptionsCount()
      Description copied from interface: CompilationResultAction.RelationOrBuilder
       Additional options that will be provided as key/value pairs into the
       options clause of a create table/view statement. See
       https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
       for more information on which options are supported.
       
      map<string, string> additional_options = 14;
      Specified by:
      getAdditionalOptionsCount in interface CompilationResultAction.RelationOrBuilder
    • containsAdditionalOptions

      public boolean containsAdditionalOptions(String key)
       Additional options that will be provided as key/value pairs into the
       options clause of a create table/view statement. See
       https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
       for more information on which options are supported.
       
      map<string, string> additional_options = 14;
      Specified by:
      containsAdditionalOptions in interface CompilationResultAction.RelationOrBuilder
    • getAdditionalOptions

      @Deprecated public Map<String,String> getAdditionalOptions()
      Deprecated.
      Specified by:
      getAdditionalOptions in interface CompilationResultAction.RelationOrBuilder
    • getAdditionalOptionsMap

      public Map<String,String> getAdditionalOptionsMap()
       Additional options that will be provided as key/value pairs into the
       options clause of a create table/view statement. See
       https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
       for more information on which options are supported.
       
      map<string, string> additional_options = 14;
      Specified by:
      getAdditionalOptionsMap in interface CompilationResultAction.RelationOrBuilder
    • getAdditionalOptionsOrDefault

      public String getAdditionalOptionsOrDefault(String key, String defaultValue)
       Additional options that will be provided as key/value pairs into the
       options clause of a create table/view statement. See
       https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
       for more information on which options are supported.
       
      map<string, string> additional_options = 14;
      Specified by:
      getAdditionalOptionsOrDefault in interface CompilationResultAction.RelationOrBuilder
    • getAdditionalOptionsOrThrow

      public String getAdditionalOptionsOrThrow(String key)
       Additional options that will be provided as key/value pairs into the
       options clause of a create table/view statement. See
       https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
       for more information on which options are supported.
       
      map<string, string> additional_options = 14;
      Specified by:
      getAdditionalOptionsOrThrow in interface CompilationResultAction.RelationOrBuilder
    • clearAdditionalOptions

      public CompilationResultAction.Relation.Builder clearAdditionalOptions()
    • removeAdditionalOptions

      public CompilationResultAction.Relation.Builder removeAdditionalOptions(String key)
       Additional options that will be provided as key/value pairs into the
       options clause of a create table/view statement. See
       https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
       for more information on which options are supported.
       
      map<string, string> additional_options = 14;
    • getMutableAdditionalOptions

      @Deprecated public Map<String,String> getMutableAdditionalOptions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAdditionalOptions

      public CompilationResultAction.Relation.Builder putAdditionalOptions(String key, String value)
       Additional options that will be provided as key/value pairs into the
       options clause of a create table/view statement. See
       https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
       for more information on which options are supported.
       
      map<string, string> additional_options = 14;
    • putAllAdditionalOptions

      public CompilationResultAction.Relation.Builder putAllAdditionalOptions(Map<String,String> values)
       Additional options that will be provided as key/value pairs into the
       options clause of a create table/view statement. See
       https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
       for more information on which options are supported.
       
      map<string, string> additional_options = 14;
    • getConnection

      public String getConnection()
       Optional. The connection specifying the credentials to be used to read
       and write to external storage, such as Cloud Storage. The connection can
       have the form `{project}.{location}.{connection_id}` or
       `projects/{project}/locations/{location}/connections/{connection_id}`,
       or be set to DEFAULT.
       
      string connection = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnection in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The connection.
    • getConnectionBytes

      public com.google.protobuf.ByteString getConnectionBytes()
       Optional. The connection specifying the credentials to be used to read
       and write to external storage, such as Cloud Storage. The connection can
       have the form `{project}.{location}.{connection_id}` or
       `projects/{project}/locations/{location}/connections/{connection_id}`,
       or be set to DEFAULT.
       
      string connection = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectionBytes in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The bytes for connection.
    • setConnection

      public CompilationResultAction.Relation.Builder setConnection(String value)
       Optional. The connection specifying the credentials to be used to read
       and write to external storage, such as Cloud Storage. The connection can
       have the form `{project}.{location}.{connection_id}` or
       `projects/{project}/locations/{location}/connections/{connection_id}`,
       or be set to DEFAULT.
       
      string connection = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The connection to set.
      Returns:
      This builder for chaining.
    • clearConnection

      public CompilationResultAction.Relation.Builder clearConnection()
       Optional. The connection specifying the credentials to be used to read
       and write to external storage, such as Cloud Storage. The connection can
       have the form `{project}.{location}.{connection_id}` or
       `projects/{project}/locations/{location}/connections/{connection_id}`,
       or be set to DEFAULT.
       
      string connection = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setConnectionBytes

      public CompilationResultAction.Relation.Builder setConnectionBytes(com.google.protobuf.ByteString value)
       Optional. The connection specifying the credentials to be used to read
       and write to external storage, such as Cloud Storage. The connection can
       have the form `{project}.{location}.{connection_id}` or
       `projects/{project}/locations/{location}/connections/{connection_id}`,
       or be set to DEFAULT.
       
      string connection = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for connection to set.
      Returns:
      This builder for chaining.
    • getTableFormatValue

      public int getTableFormatValue()
       Optional. The table format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.TableFormat table_format = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTableFormatValue in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The enum numeric value on the wire for tableFormat.
    • setTableFormatValue

      public CompilationResultAction.Relation.Builder setTableFormatValue(int value)
       Optional. The table format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.TableFormat table_format = 16 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for tableFormat to set.
      Returns:
      This builder for chaining.
    • getTableFormat

       Optional. The table format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.TableFormat table_format = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTableFormat in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The tableFormat.
    • setTableFormat

       Optional. The table format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.TableFormat table_format = 16 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The tableFormat to set.
      Returns:
      This builder for chaining.
    • clearTableFormat

      public CompilationResultAction.Relation.Builder clearTableFormat()
       Optional. The table format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.TableFormat table_format = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getFileFormatValue

      public int getFileFormatValue()
       Optional. The file format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.FileFormat file_format = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileFormatValue in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The enum numeric value on the wire for fileFormat.
    • setFileFormatValue

      public CompilationResultAction.Relation.Builder setFileFormatValue(int value)
       Optional. The file format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.FileFormat file_format = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for fileFormat to set.
      Returns:
      This builder for chaining.
    • getFileFormat

       Optional. The file format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.FileFormat file_format = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileFormat in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The fileFormat.
    • setFileFormat

       Optional. The file format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.FileFormat file_format = 17 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The fileFormat to set.
      Returns:
      This builder for chaining.
    • clearFileFormat

      public CompilationResultAction.Relation.Builder clearFileFormat()
       Optional. The file format for the BigQuery table.
       
      .google.cloud.dataform.v1.CompilationResultAction.Relation.FileFormat file_format = 17 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getStorageUri

      public String getStorageUri()
       Optional. The fully qualified location prefix of the external folder
       where table data is stored. The URI should be in the format
       `gs://bucket/path_to_table/`.
       
      string storage_uri = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageUri in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The storageUri.
    • getStorageUriBytes

      public com.google.protobuf.ByteString getStorageUriBytes()
       Optional. The fully qualified location prefix of the external folder
       where table data is stored. The URI should be in the format
       `gs://bucket/path_to_table/`.
       
      string storage_uri = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStorageUriBytes in interface CompilationResultAction.RelationOrBuilder
      Returns:
      The bytes for storageUri.
    • setStorageUri

      public CompilationResultAction.Relation.Builder setStorageUri(String value)
       Optional. The fully qualified location prefix of the external folder
       where table data is stored. The URI should be in the format
       `gs://bucket/path_to_table/`.
       
      string storage_uri = 18 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The storageUri to set.
      Returns:
      This builder for chaining.
    • clearStorageUri

      public CompilationResultAction.Relation.Builder clearStorageUri()
       Optional. The fully qualified location prefix of the external folder
       where table data is stored. The URI should be in the format
       `gs://bucket/path_to_table/`.
       
      string storage_uri = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setStorageUriBytes

      public CompilationResultAction.Relation.Builder setStorageUriBytes(com.google.protobuf.ByteString value)
       Optional. The fully qualified location prefix of the external folder
       where table data is stored. The URI should be in the format
       `gs://bucket/path_to_table/`.
       
      string storage_uri = 18 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for storageUri to set.
      Returns:
      This builder for chaining.