Class CompilationResultAction.Relation.Builder (0.43.0)

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

Represents a database relation.

Protobuf type google.cloud.dataform.v1beta1.CompilationResultAction.Relation

Static Methods

getDescriptor()

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

Methods

addAllClusterExpressions(Iterable<String> values)

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;

Parameter
Name Description
values Iterable<String>

The clusterExpressions to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addAllDependencyTargets(Iterable<? extends Target> values)

public CompilationResultAction.Relation.Builder addAllDependencyTargets(Iterable<? extends Target> values)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.Target>
Returns
Type Description
CompilationResultAction.Relation.Builder

addAllPostOperations(Iterable<String> values)

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

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Parameter
Name Description
values Iterable<String>

The postOperations to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addAllPreOperations(Iterable<String> values)

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

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Parameter
Name Description
values Iterable<String>

The preOperations to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addAllTags(Iterable<String> values)

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

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
values Iterable<String>

The tags to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addClusterExpressions(String value)

public CompilationResultAction.Relation.Builder addClusterExpressions(String value)

A list of columns or SQL expressions used to cluster the table.

repeated string cluster_expressions = 11;

Parameter
Name Description
value String

The clusterExpressions to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addClusterExpressionsBytes(ByteString value)

public CompilationResultAction.Relation.Builder addClusterExpressionsBytes(ByteString value)

A list of columns or SQL expressions used to cluster the table.

repeated string cluster_expressions = 11;

Parameter
Name Description
value ByteString

The bytes of the clusterExpressions to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addDependencyTargets(Target value)

public CompilationResultAction.Relation.Builder addDependencyTargets(Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
value Target
Returns
Type Description
CompilationResultAction.Relation.Builder

addDependencyTargets(Target.Builder builderForValue)

public CompilationResultAction.Relation.Builder addDependencyTargets(Target.Builder builderForValue)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Relation.Builder

addDependencyTargets(int index, Target value)

public CompilationResultAction.Relation.Builder addDependencyTargets(int index, Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
value Target
Returns
Type Description
CompilationResultAction.Relation.Builder

addDependencyTargets(int index, Target.Builder builderForValue)

public CompilationResultAction.Relation.Builder addDependencyTargets(int index, Target.Builder builderForValue)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Relation.Builder

addDependencyTargetsBuilder()

public Target.Builder addDependencyTargetsBuilder()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
Target.Builder

addDependencyTargetsBuilder(int index)

public Target.Builder addDependencyTargetsBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target.Builder

addPostOperations(String value)

public CompilationResultAction.Relation.Builder addPostOperations(String value)

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Parameter
Name Description
value String

The postOperations to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addPostOperationsBytes(ByteString value)

public CompilationResultAction.Relation.Builder addPostOperationsBytes(ByteString value)

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Parameter
Name Description
value ByteString

The bytes of the postOperations to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addPreOperations(String value)

public CompilationResultAction.Relation.Builder addPreOperations(String value)

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Parameter
Name Description
value String

The preOperations to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addPreOperationsBytes(ByteString value)

public CompilationResultAction.Relation.Builder addPreOperationsBytes(ByteString value)

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Parameter
Name Description
value ByteString

The bytes of the preOperations to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTags(String value)

public CompilationResultAction.Relation.Builder addTags(String value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
value String

The tags to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

addTagsBytes(ByteString value)

public CompilationResultAction.Relation.Builder addTagsBytes(ByteString value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
value ByteString

The bytes of the tags to add.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

build()

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

buildPartial()

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

clear()

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

clearAdditionalOptions()

public CompilationResultAction.Relation.Builder clearAdditionalOptions()
Returns
Type Description
CompilationResultAction.Relation.Builder

clearClusterExpressions()

public CompilationResultAction.Relation.Builder clearClusterExpressions()

A list of columns or SQL expressions used to cluster the table.

repeated string cluster_expressions = 11;

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

clearDependencyTargets()

public CompilationResultAction.Relation.Builder clearDependencyTargets()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
CompilationResultAction.Relation.Builder

clearDisabled()

public CompilationResultAction.Relation.Builder clearDisabled()

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIncrementalTableConfig()

public CompilationResultAction.Relation.Builder clearIncrementalTableConfig()

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;

Returns
Type Description
CompilationResultAction.Relation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitionExpirationDays()

public CompilationResultAction.Relation.Builder clearPartitionExpirationDays()

Sets the partition expiration in days.

int32 partition_expiration_days = 12;

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

clearPartitionExpression()

public CompilationResultAction.Relation.Builder clearPartitionExpression()

The SQL expression used to partition the relation.

string partition_expression = 10;

Returns
Type Description
CompilationResultAction.Relation.Builder

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

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

This builder for chaining.

clearRelationDescriptor()

public CompilationResultAction.Relation.Builder clearRelationDescriptor()

Descriptor for the relation and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;

Returns
Type Description
CompilationResultAction.Relation.Builder

clearRelationType()

public CompilationResultAction.Relation.Builder clearRelationType()

The type of this relation.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5;

Returns
Type Description
CompilationResultAction.Relation.Builder

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

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

This builder for chaining.

clearTags()

public CompilationResultAction.Relation.Builder clearTags()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

clone()

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

containsAdditionalOptions(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAdditionalOptions() (deprecated)

public Map<String,String> getAdditionalOptions()
Returns
Type Description
Map<String,String>

getAdditionalOptionsCount()

public int getAdditionalOptionsCount()

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;

Returns
Type Description
int

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;

Returns
Type Description
Map<String,String>

getAdditionalOptionsOrDefault(String key, String defaultValue)

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;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAdditionalOptionsOrThrow(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
String

getClusterExpressions(int index)

public String getClusterExpressions(int index)

A list of columns or SQL expressions used to cluster the table.

repeated string cluster_expressions = 11;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The clusterExpressions at the given index.

getClusterExpressionsBytes(int index)

public ByteString getClusterExpressionsBytes(int index)

A list of columns or SQL expressions used to cluster the table.

repeated string cluster_expressions = 11;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the clusterExpressions at the given index.

getClusterExpressionsCount()

public int getClusterExpressionsCount()

A list of columns or SQL expressions used to cluster the table.

repeated string cluster_expressions = 11;

Returns
Type Description
int

The count of clusterExpressions.

getClusterExpressionsList()

public ProtocolStringList getClusterExpressionsList()

A list of columns or SQL expressions used to cluster the table.

repeated string cluster_expressions = 11;

Returns
Type Description
ProtocolStringList

A list containing the clusterExpressions.

getDefaultInstanceForType()

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

getDependencyTargets(int index)

public Target getDependencyTargets(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target

getDependencyTargetsBuilder(int index)

public Target.Builder getDependencyTargetsBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target.Builder

getDependencyTargetsBuilderList()

public List<Target.Builder> getDependencyTargetsBuilderList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<Builder>

getDependencyTargetsCount()

public int getDependencyTargetsCount()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
int

getDependencyTargetsList()

public List<Target> getDependencyTargetsList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<Target>

getDependencyTargetsOrBuilder(int index)

public TargetOrBuilder getDependencyTargetsOrBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetOrBuilder

getDependencyTargetsOrBuilderList()

public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.TargetOrBuilder>

getDescriptorForType()

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

getDisabled()

public boolean getDisabled()

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Returns
Type Description
boolean

The disabled.

getIncrementalTableConfig()

public CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig()

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig

The incrementalTableConfig.

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.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfig.Builder

getIncrementalTableConfigOrBuilder()

public CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder()

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;

Returns
Type Description
CompilationResultAction.Relation.IncrementalTableConfigOrBuilder

getMutableAdditionalOptions() (deprecated)

public Map<String,String> getMutableAdditionalOptions()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getPartitionExpirationDays()

public int getPartitionExpirationDays()

Sets the partition expiration in days.

int32 partition_expiration_days = 12;

Returns
Type Description
int

The partitionExpirationDays.

getPartitionExpression()

public String getPartitionExpression()

The SQL expression used to partition the relation.

string partition_expression = 10;

Returns
Type Description
String

The partitionExpression.

getPartitionExpressionBytes()

public ByteString getPartitionExpressionBytes()

The SQL expression used to partition the relation.

string partition_expression = 10;

Returns
Type Description
ByteString

The bytes for partitionExpression.

getPostOperations(int index)

public String getPostOperations(int index)

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The postOperations at the given index.

getPostOperationsBytes(int index)

public ByteString getPostOperationsBytes(int index)

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the postOperations at the given index.

getPostOperationsCount()

public int getPostOperationsCount()

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Returns
Type Description
int

The count of postOperations.

getPostOperationsList()

public ProtocolStringList getPostOperationsList()

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Returns
Type Description
ProtocolStringList

A list containing the postOperations.

getPreOperations(int index)

public String getPreOperations(int index)

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The preOperations at the given index.

getPreOperationsBytes(int index)

public ByteString getPreOperationsBytes(int index)

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the preOperations at the given index.

getPreOperationsCount()

public int getPreOperationsCount()

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Returns
Type Description
int

The count of preOperations.

getPreOperationsList()

public ProtocolStringList getPreOperationsList()

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Returns
Type Description
ProtocolStringList

A list containing the preOperations.

getRelationDescriptor()

public RelationDescriptor getRelationDescriptor()

Descriptor for the relation and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;

Returns
Type Description
RelationDescriptor

The relationDescriptor.

getRelationDescriptorBuilder()

public RelationDescriptor.Builder getRelationDescriptorBuilder()

Descriptor for the relation and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;

Returns
Type Description
RelationDescriptor.Builder

getRelationDescriptorOrBuilder()

public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()

Descriptor for the relation and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;

Returns
Type Description
RelationDescriptorOrBuilder

getRelationType()

public CompilationResultAction.Relation.RelationType getRelationType()

The type of this relation.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5;

Returns
Type Description
CompilationResultAction.Relation.RelationType

The relationType.

getRelationTypeValue()

public int getRelationTypeValue()

The type of this relation.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5;

Returns
Type Description
int

The enum numeric value on the wire for relationType.

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;

Returns
Type Description
boolean

The requirePartitionFilter.

getSelectQuery()

public String getSelectQuery()

The SELECT query which returns rows which this relation should contain.

string select_query = 6;

Returns
Type Description
String

The selectQuery.

getSelectQueryBytes()

public ByteString getSelectQueryBytes()

The SELECT query which returns rows which this relation should contain.

string select_query = 6;

Returns
Type Description
ByteString

The bytes for selectQuery.

getTags(int index)

public String getTags(int index)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public ByteString getTagsBytes(int index)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public int getTagsCount()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
ProtocolStringList

A list containing the tags.

hasIncrementalTableConfig()

public boolean hasIncrementalTableConfig()

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;

Returns
Type Description
boolean

Whether the incrementalTableConfig field is set.

hasRelationDescriptor()

public boolean hasRelationDescriptor()

Descriptor for the relation and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;

Returns
Type Description
boolean

Whether the relationDescriptor field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompilationResultAction.Relation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIncrementalTableConfig(CompilationResultAction.Relation.IncrementalTableConfig value)

public CompilationResultAction.Relation.Builder mergeIncrementalTableConfig(CompilationResultAction.Relation.IncrementalTableConfig value)

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;

Parameter
Name Description
value CompilationResultAction.Relation.IncrementalTableConfig
Returns
Type Description
CompilationResultAction.Relation.Builder

mergeRelationDescriptor(RelationDescriptor value)

public CompilationResultAction.Relation.Builder mergeRelationDescriptor(RelationDescriptor value)

Descriptor for the relation and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;

Parameter
Name Description
value RelationDescriptor
Returns
Type Description
CompilationResultAction.Relation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAdditionalOptions(String key, String value)

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;

Parameters
Name Description
key String
value String
Returns
Type Description
CompilationResultAction.Relation.Builder

putAllAdditionalOptions(Map<String,String> values)

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;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
CompilationResultAction.Relation.Builder

removeAdditionalOptions(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
CompilationResultAction.Relation.Builder

removeDependencyTargets(int index)

public CompilationResultAction.Relation.Builder removeDependencyTargets(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
CompilationResultAction.Relation.Builder

setClusterExpressions(int index, String value)

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

The index to set the value at.

value String

The clusterExpressions to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setDependencyTargets(int index, Target value)

public CompilationResultAction.Relation.Builder setDependencyTargets(int index, Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
value Target
Returns
Type Description
CompilationResultAction.Relation.Builder

setDependencyTargets(int index, Target.Builder builderForValue)

public CompilationResultAction.Relation.Builder setDependencyTargets(int index, Target.Builder builderForValue)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Relation.Builder

setDisabled(boolean value)

public CompilationResultAction.Relation.Builder setDisabled(boolean value)

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncrementalTableConfig(CompilationResultAction.Relation.IncrementalTableConfig value)

public CompilationResultAction.Relation.Builder setIncrementalTableConfig(CompilationResultAction.Relation.IncrementalTableConfig value)

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;

Parameter
Name Description
value CompilationResultAction.Relation.IncrementalTableConfig
Returns
Type Description
CompilationResultAction.Relation.Builder

setIncrementalTableConfig(CompilationResultAction.Relation.IncrementalTableConfig.Builder builderForValue)

public CompilationResultAction.Relation.Builder setIncrementalTableConfig(CompilationResultAction.Relation.IncrementalTableConfig.Builder builderForValue)

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;

Parameter
Name Description
builderForValue CompilationResultAction.Relation.IncrementalTableConfig.Builder
Returns
Type Description
CompilationResultAction.Relation.Builder

setPartitionExpirationDays(int value)

public CompilationResultAction.Relation.Builder setPartitionExpirationDays(int value)

Sets the partition expiration in days.

int32 partition_expiration_days = 12;

Parameter
Name Description
value int

The partitionExpirationDays to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setPartitionExpression(String value)

public CompilationResultAction.Relation.Builder setPartitionExpression(String value)

The SQL expression used to partition the relation.

string partition_expression = 10;

Parameter
Name Description
value String

The partitionExpression to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setPartitionExpressionBytes(ByteString value)

public CompilationResultAction.Relation.Builder setPartitionExpressionBytes(ByteString value)

The SQL expression used to partition the relation.

string partition_expression = 10;

Parameter
Name Description
value ByteString

The bytes for partitionExpression to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setPostOperations(int index, String value)

public CompilationResultAction.Relation.Builder setPostOperations(int index, String value)

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Parameters
Name Description
index int

The index to set the value at.

value String

The postOperations to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setPreOperations(int index, String value)

public CompilationResultAction.Relation.Builder setPreOperations(int index, String value)

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Parameters
Name Description
index int

The index to set the value at.

value String

The preOperations to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setRelationDescriptor(RelationDescriptor value)

public CompilationResultAction.Relation.Builder setRelationDescriptor(RelationDescriptor value)

Descriptor for the relation and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;

Parameter
Name Description
value RelationDescriptor
Returns
Type Description
CompilationResultAction.Relation.Builder

setRelationDescriptor(RelationDescriptor.Builder builderForValue)

public CompilationResultAction.Relation.Builder setRelationDescriptor(RelationDescriptor.Builder builderForValue)

Descriptor for the relation and its columns.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;

Parameter
Name Description
builderForValue RelationDescriptor.Builder
Returns
Type Description
CompilationResultAction.Relation.Builder

setRelationType(CompilationResultAction.Relation.RelationType value)

public CompilationResultAction.Relation.Builder setRelationType(CompilationResultAction.Relation.RelationType value)

The type of this relation.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5;

Parameter
Name Description
value CompilationResultAction.Relation.RelationType

The relationType to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setRelationTypeValue(int value)

public CompilationResultAction.Relation.Builder setRelationTypeValue(int value)

The type of this relation.

.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5;

Parameter
Name Description
value int

The enum numeric value on the wire for relationType to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

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

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

setRequirePartitionFilter(boolean value)

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;

Parameter
Name Description
value boolean

The requirePartitionFilter to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setSelectQuery(String value)

public CompilationResultAction.Relation.Builder setSelectQuery(String value)

The SELECT query which returns rows which this relation should contain.

string select_query = 6;

Parameter
Name Description
value String

The selectQuery to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setSelectQueryBytes(ByteString value)

public CompilationResultAction.Relation.Builder setSelectQueryBytes(ByteString value)

The SELECT query which returns rows which this relation should contain.

string select_query = 6;

Parameter
Name Description
value ByteString

The bytes for selectQuery to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setTags(int index, String value)

public CompilationResultAction.Relation.Builder setTags(int index, String value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The tags to set.

Returns
Type Description
CompilationResultAction.Relation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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