Class CompilationResultAction.Relation.IncrementalTableConfig.Builder (0.26.0)

public static final class CompilationResultAction.Relation.IncrementalTableConfig.Builder extends GeneratedMessageV3.Builder<CompilationResultAction.Relation.IncrementalTableConfig.Builder> implements CompilationResultAction.Relation.IncrementalTableConfigOrBuilder

Contains settings for relations of type INCREMENTAL_TABLE.

Protobuf type google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CompilationResultAction.Relation.IncrementalTableConfig.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllIncrementalPostOperations(Iterable<String> values)

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;

Parameter
Name Description
values Iterable<String>

The incrementalPostOperations to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

addAllIncrementalPreOperations(Iterable<String> values)

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;

Parameter
Name Description
values Iterable<String>

The incrementalPreOperations to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

addAllUniqueKeyParts(Iterable<String> values)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder addAllUniqueKeyParts(Iterable<String> values)

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;

Parameter
Name Description
values Iterable<String>

The uniqueKeyParts to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

addIncrementalPostOperations(String value)

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;

Parameter
Name Description
value String

The incrementalPostOperations to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

addIncrementalPostOperationsBytes(ByteString value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder addIncrementalPostOperationsBytes(ByteString value)

SQL statements to be executed after inserting new rows into the relation.

repeated string incremental_post_operations = 6;

Parameter
Name Description
value ByteString

The bytes of the incrementalPostOperations to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

addIncrementalPreOperations(String value)

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;

Parameter
Name Description
value String

The incrementalPreOperations to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

addIncrementalPreOperationsBytes(ByteString value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder addIncrementalPreOperationsBytes(ByteString value)

SQL statements to be executed before inserting new rows into the relation.

repeated string incremental_pre_operations = 5;

Parameter
Name Description
value ByteString

The bytes of the incrementalPreOperations to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

addUniqueKeyParts(String value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder addUniqueKeyParts(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;

Parameter
Name Description
value String

The uniqueKeyParts to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

addUniqueKeyPartsBytes(ByteString value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder addUniqueKeyPartsBytes(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;

Parameter
Name Description
value ByteString

The bytes of the uniqueKeyParts to add.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

build()

public CompilationResultAction.Relation.IncrementalTableConfig build()
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig

buildPartial()

public CompilationResultAction.Relation.IncrementalTableConfig buildPartial()
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig

clear()

public CompilationResultAction.Relation.IncrementalTableConfig.Builder clear()
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

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
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

clearIncrementalPreOperations()

public CompilationResultAction.Relation.IncrementalTableConfig.Builder clearIncrementalPreOperations()

SQL statements to be executed before inserting new rows into the relation.

repeated string incremental_pre_operations = 5;

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

clearIncrementalSelectQuery()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

clearRefreshDisabled()

public CompilationResultAction.Relation.IncrementalTableConfig.Builder clearRefreshDisabled()

Whether this table should be protected from being refreshed.

bool refresh_disabled = 2;

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

clearUniqueKeyParts()

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

This builder for chaining.

clearUpdatePartitionFilter()

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

This builder for chaining.

clone()

public CompilationResultAction.Relation.IncrementalTableConfig.Builder clone()
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

getDefaultInstanceForType()

public CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType()
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIncrementalPostOperations(int index)

public String getIncrementalPostOperations(int index)

SQL statements to be executed after inserting new rows into the relation.

repeated string incremental_post_operations = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The incrementalPostOperations at the given index.

getIncrementalPostOperationsBytes(int index)

public ByteString getIncrementalPostOperationsBytes(int index)

SQL statements to be executed after inserting new rows into the relation.

repeated string incremental_post_operations = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the incrementalPostOperations at the given index.

getIncrementalPostOperationsCount()

public int getIncrementalPostOperationsCount()

SQL statements to be executed after inserting new rows into the relation.

repeated string incremental_post_operations = 6;

Returns
Type Description
int

The count of incrementalPostOperations.

getIncrementalPostOperationsList()

public ProtocolStringList getIncrementalPostOperationsList()

SQL statements to be executed after inserting new rows into the relation.

repeated string incremental_post_operations = 6;

Returns
Type Description
ProtocolStringList

A list containing the incrementalPostOperations.

getIncrementalPreOperations(int index)

public String getIncrementalPreOperations(int index)

SQL statements to be executed before inserting new rows into the relation.

repeated string incremental_pre_operations = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The incrementalPreOperations at the given index.

getIncrementalPreOperationsBytes(int index)

public ByteString getIncrementalPreOperationsBytes(int index)

SQL statements to be executed before inserting new rows into the relation.

repeated string incremental_pre_operations = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the incrementalPreOperations at the given index.

getIncrementalPreOperationsCount()

public int getIncrementalPreOperationsCount()

SQL statements to be executed before inserting new rows into the relation.

repeated string incremental_pre_operations = 5;

Returns
Type Description
int

The count of incrementalPreOperations.

getIncrementalPreOperationsList()

public ProtocolStringList getIncrementalPreOperationsList()

SQL statements to be executed before inserting new rows into the relation.

repeated string incremental_pre_operations = 5;

Returns
Type Description
ProtocolStringList

A list containing the incrementalPreOperations.

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;

Returns
Type Description
String

The incrementalSelectQuery.

getIncrementalSelectQueryBytes()

public 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;

Returns
Type Description
ByteString

The bytes for incrementalSelectQuery.

getRefreshDisabled()

public boolean getRefreshDisabled()

Whether this table should be protected from being refreshed.

bool refresh_disabled = 2;

Returns
Type Description
boolean

The refreshDisabled.

getUniqueKeyParts(int index)

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The uniqueKeyParts at the given index.

getUniqueKeyPartsBytes(int index)

public 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the uniqueKeyParts at the given index.

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;

Returns
Type Description
int

The count of uniqueKeyParts.

getUniqueKeyPartsList()

public 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;

Returns
Type Description
ProtocolStringList

A list containing the uniqueKeyParts.

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;

Returns
Type Description
String

The updatePartitionFilter.

getUpdatePartitionFilterBytes()

public 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;

Returns
Type Description
ByteString

The bytes for updatePartitionFilter.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompilationResultAction.Relation.IncrementalTableConfig other)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder mergeFrom(CompilationResultAction.Relation.IncrementalTableConfig other)
Parameter
Name Description
other CompilationResultAction.Relation.IncrementalTableConfig
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResultAction.Relation.IncrementalTableConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

setIncrementalPostOperations(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The incrementalPostOperations to set.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

setIncrementalPreOperations(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The incrementalPreOperations to set.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

setIncrementalSelectQuery(String value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder setIncrementalSelectQuery(String 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;

Parameter
Name Description
value String

The incrementalSelectQuery to set.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

setIncrementalSelectQueryBytes(ByteString value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder setIncrementalSelectQueryBytes(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;

Parameter
Name Description
value ByteString

The bytes for incrementalSelectQuery to set.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

setRefreshDisabled(boolean value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder setRefreshDisabled(boolean value)

Whether this table should be protected from being refreshed.

bool refresh_disabled = 2;

Parameter
Name Description
value boolean

The refreshDisabled to set.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

setUniqueKeyParts(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The uniqueKeyParts to set.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResultAction.Relation.IncrementalTableConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder
Overrides

setUpdatePartitionFilter(String value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder setUpdatePartitionFilter(String 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;

Parameter
Name Description
value String

The updatePartitionFilter to set.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.

setUpdatePartitionFilterBytes(ByteString value)

public CompilationResultAction.Relation.IncrementalTableConfig.Builder setUpdatePartitionFilterBytes(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;

Parameter
Name Description
value ByteString

The bytes for updatePartitionFilter to set.

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

This builder for chaining.