Class CompilationResultAction.Relation.IncrementalTableConfig.Builder

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

public static final class CompilationResultAction.Relation.IncrementalTableConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.IncrementalTableConfig.Builder> implements CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
 Contains settings for relations of type `INCREMENTAL_TABLE`.
 
Protobuf type google.cloud.dataform.v1.CompilationResultAction.Relation.IncrementalTableConfig
  • 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<CompilationResultAction.Relation.IncrementalTableConfig.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.IncrementalTableConfig.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.IncrementalTableConfig.Builder>
    • getDefaultInstanceForType

      public CompilationResultAction.Relation.IncrementalTableConfig 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

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

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

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

      public String getIncrementalSelectQuery()
       The SELECT query which returns rows which should be inserted into the
       relation if it already exists and is not being refreshed.
       
      string incremental_select_query = 1;
      Specified by:
      getIncrementalSelectQuery in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      The incrementalSelectQuery.
    • getIncrementalSelectQueryBytes

      public com.google.protobuf.ByteString getIncrementalSelectQueryBytes()
       The SELECT query which returns rows which should be inserted into the
       relation if it already exists and is not being refreshed.
       
      string incremental_select_query = 1;
      Specified by:
      getIncrementalSelectQueryBytes in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      The bytes for incrementalSelectQuery.
    • setIncrementalSelectQuery

       The SELECT query which returns rows which should be inserted into the
       relation if it already exists and is not being refreshed.
       
      string incremental_select_query = 1;
      Parameters:
      value - The incrementalSelectQuery to set.
      Returns:
      This builder for chaining.
    • clearIncrementalSelectQuery

       The SELECT query which returns rows which should be inserted into the
       relation if it already exists and is not being refreshed.
       
      string incremental_select_query = 1;
      Returns:
      This builder for chaining.
    • setIncrementalSelectQueryBytes

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder setIncrementalSelectQueryBytes(com.google.protobuf.ByteString value)
       The SELECT query which returns rows which should be inserted into the
       relation if it already exists and is not being refreshed.
       
      string incremental_select_query = 1;
      Parameters:
      value - The bytes for incrementalSelectQuery to set.
      Returns:
      This builder for chaining.
    • getRefreshDisabled

      public boolean getRefreshDisabled()
       Whether this table should be protected from being refreshed.
       
      bool refresh_disabled = 2;
      Specified by:
      getRefreshDisabled in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      The refreshDisabled.
    • setRefreshDisabled

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder setRefreshDisabled(boolean value)
       Whether this table should be protected from being refreshed.
       
      bool refresh_disabled = 2;
      Parameters:
      value - The refreshDisabled to set.
      Returns:
      This builder for chaining.
    • clearRefreshDisabled

       Whether this table should be protected from being refreshed.
       
      bool refresh_disabled = 2;
      Returns:
      This builder for chaining.
    • getUniqueKeyPartsList

      public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList()
       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Specified by:
      getUniqueKeyPartsList in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      A list containing the uniqueKeyParts.
    • getUniqueKeyPartsCount

      public int getUniqueKeyPartsCount()
       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Specified by:
      getUniqueKeyPartsCount in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      The count of uniqueKeyParts.
    • getUniqueKeyParts

      public String getUniqueKeyParts(int index)
       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Specified by:
      getUniqueKeyParts in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The uniqueKeyParts at the given index.
    • getUniqueKeyPartsBytes

      public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index)
       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Specified by:
      getUniqueKeyPartsBytes in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the uniqueKeyParts at the given index.
    • setUniqueKeyParts

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder setUniqueKeyParts(int index, String value)
       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Parameters:
      index - The index to set the value at.
      value - The uniqueKeyParts to set.
      Returns:
      This builder for chaining.
    • addUniqueKeyParts

       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Parameters:
      value - The uniqueKeyParts to add.
      Returns:
      This builder for chaining.
    • addAllUniqueKeyParts

       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Parameters:
      values - The uniqueKeyParts to add.
      Returns:
      This builder for chaining.
    • clearUniqueKeyParts

       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Returns:
      This builder for chaining.
    • addUniqueKeyPartsBytes

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder addUniqueKeyPartsBytes(com.google.protobuf.ByteString value)
       A set of columns or SQL expressions used to define row uniqueness.
       If any duplicates are discovered (as defined by `unique_key_parts`),
       only the newly selected rows (as defined by `incremental_select_query`)
       will be included in the relation.
       
      repeated string unique_key_parts = 3;
      Parameters:
      value - The bytes of the uniqueKeyParts to add.
      Returns:
      This builder for chaining.
    • getUpdatePartitionFilter

      public String getUpdatePartitionFilter()
       A SQL expression conditional used to limit the set of existing rows
       considered for a merge operation (see `unique_key_parts` for more
       information).
       
      string update_partition_filter = 4;
      Specified by:
      getUpdatePartitionFilter in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      The updatePartitionFilter.
    • getUpdatePartitionFilterBytes

      public com.google.protobuf.ByteString getUpdatePartitionFilterBytes()
       A SQL expression conditional used to limit the set of existing rows
       considered for a merge operation (see `unique_key_parts` for more
       information).
       
      string update_partition_filter = 4;
      Specified by:
      getUpdatePartitionFilterBytes in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      The bytes for updatePartitionFilter.
    • setUpdatePartitionFilter

       A SQL expression conditional used to limit the set of existing rows
       considered for a merge operation (see `unique_key_parts` for more
       information).
       
      string update_partition_filter = 4;
      Parameters:
      value - The updatePartitionFilter to set.
      Returns:
      This builder for chaining.
    • clearUpdatePartitionFilter

       A SQL expression conditional used to limit the set of existing rows
       considered for a merge operation (see `unique_key_parts` for more
       information).
       
      string update_partition_filter = 4;
      Returns:
      This builder for chaining.
    • setUpdatePartitionFilterBytes

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder setUpdatePartitionFilterBytes(com.google.protobuf.ByteString value)
       A SQL expression conditional used to limit the set of existing rows
       considered for a merge operation (see `unique_key_parts` for more
       information).
       
      string update_partition_filter = 4;
      Parameters:
      value - The bytes for updatePartitionFilter to set.
      Returns:
      This builder for chaining.
    • getIncrementalPreOperationsList

      public com.google.protobuf.ProtocolStringList getIncrementalPreOperationsList()
       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Specified by:
      getIncrementalPreOperationsList in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      A list containing the incrementalPreOperations.
    • getIncrementalPreOperationsCount

      public int getIncrementalPreOperationsCount()
       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Specified by:
      getIncrementalPreOperationsCount in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      The count of incrementalPreOperations.
    • getIncrementalPreOperations

      public String getIncrementalPreOperations(int index)
       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Specified by:
      getIncrementalPreOperations in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The incrementalPreOperations at the given index.
    • getIncrementalPreOperationsBytes

      public com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index)
       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Specified by:
      getIncrementalPreOperationsBytes in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the incrementalPreOperations at the given index.
    • setIncrementalPreOperations

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder setIncrementalPreOperations(int index, String value)
       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Parameters:
      index - The index to set the value at.
      value - The incrementalPreOperations to set.
      Returns:
      This builder for chaining.
    • addIncrementalPreOperations

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder addIncrementalPreOperations(String value)
       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Parameters:
      value - The incrementalPreOperations to add.
      Returns:
      This builder for chaining.
    • addAllIncrementalPreOperations

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder addAllIncrementalPreOperations(Iterable<String> values)
       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Parameters:
      values - The incrementalPreOperations to add.
      Returns:
      This builder for chaining.
    • clearIncrementalPreOperations

       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Returns:
      This builder for chaining.
    • addIncrementalPreOperationsBytes

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder addIncrementalPreOperationsBytes(com.google.protobuf.ByteString value)
       SQL statements to be executed before inserting new rows into the
       relation.
       
      repeated string incremental_pre_operations = 5;
      Parameters:
      value - The bytes of the incrementalPreOperations to add.
      Returns:
      This builder for chaining.
    • getIncrementalPostOperationsList

      public com.google.protobuf.ProtocolStringList getIncrementalPostOperationsList()
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Specified by:
      getIncrementalPostOperationsList in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      A list containing the incrementalPostOperations.
    • getIncrementalPostOperationsCount

      public int getIncrementalPostOperationsCount()
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Specified by:
      getIncrementalPostOperationsCount in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Returns:
      The count of incrementalPostOperations.
    • getIncrementalPostOperations

      public String getIncrementalPostOperations(int index)
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Specified by:
      getIncrementalPostOperations in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The incrementalPostOperations at the given index.
    • getIncrementalPostOperationsBytes

      public com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index)
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Specified by:
      getIncrementalPostOperationsBytes in interface CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the incrementalPostOperations at the given index.
    • setIncrementalPostOperations

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder setIncrementalPostOperations(int index, String value)
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Parameters:
      index - The index to set the value at.
      value - The incrementalPostOperations to set.
      Returns:
      This builder for chaining.
    • addIncrementalPostOperations

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder addIncrementalPostOperations(String value)
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Parameters:
      value - The incrementalPostOperations to add.
      Returns:
      This builder for chaining.
    • addAllIncrementalPostOperations

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder addAllIncrementalPostOperations(Iterable<String> values)
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Parameters:
      values - The incrementalPostOperations to add.
      Returns:
      This builder for chaining.
    • clearIncrementalPostOperations

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder clearIncrementalPostOperations()
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Returns:
      This builder for chaining.
    • addIncrementalPostOperationsBytes

      public CompilationResultAction.Relation.IncrementalTableConfig.Builder addIncrementalPostOperationsBytes(com.google.protobuf.ByteString value)
       SQL statements to be executed after inserting new rows into the
       relation.
       
      repeated string incremental_post_operations = 6;
      Parameters:
      value - The bytes of the incrementalPostOperations to add.
      Returns:
      This builder for chaining.