Package com.google.cloud.dataform.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllClusterExpressions(Iterable<String> values) A list of columns or SQL expressions used to cluster the table.addAllDependencyTargets(Iterable<? extends Target> values) A list of actions that this action depends on.addAllPostOperations(Iterable<String> values) SQL statements to be executed after creating the relation.addAllPreOperations(Iterable<String> values) SQL statements to be executed before creating the relation.addAllTags(Iterable<String> values) Arbitrary, user-defined tags on this action.addClusterExpressions(String value) A list of columns or SQL expressions used to cluster the table.addClusterExpressionsBytes(com.google.protobuf.ByteString value) A list of columns or SQL expressions used to cluster the table.addDependencyTargets(int index, Target value) A list of actions that this action depends on.addDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.addDependencyTargets(Target value) A list of actions that this action depends on.addDependencyTargets(Target.Builder builderForValue) A list of actions that this action depends on.A list of actions that this action depends on.addDependencyTargetsBuilder(int index) A list of actions that this action depends on.addPostOperations(String value) SQL statements to be executed after creating the relation.addPostOperationsBytes(com.google.protobuf.ByteString value) SQL statements to be executed after creating the relation.addPreOperations(String value) SQL statements to be executed before creating the relation.addPreOperationsBytes(com.google.protobuf.ByteString value) SQL statements to be executed before creating the relation.Arbitrary, user-defined tags on this action.addTagsBytes(com.google.protobuf.ByteString value) Arbitrary, user-defined tags on this action.build()clear()A list of columns or SQL expressions used to cluster the table.Optional.A list of actions that this action depends on.Whether this action is disabled (i.e. should not be run).Optional.Configures `INCREMENTAL_TABLE` settings for this relation.Sets the partition expiration in days.The SQL expression used to partition the relation.SQL statements to be executed after creating the relation.SQL statements to be executed before creating the relation.Descriptor for the relation and its columns.The type of this relation.Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.The SELECT query which returns rows which this relation should contain.Optional.Optional.Arbitrary, user-defined tags on this action.booleanAdditional options that will be provided as key/value pairs into the options clause of a create table/view statement.Deprecated.intAdditional options that will be provided as key/value pairs into the options clause of a create table/view statement.Additional options that will be provided as key/value pairs into the options clause of a create table/view statement.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.Additional options that will be provided as key/value pairs into the options clause of a create table/view statement.getClusterExpressions(int index) A list of columns or SQL expressions used to cluster the table.com.google.protobuf.ByteStringgetClusterExpressionsBytes(int index) A list of columns or SQL expressions used to cluster the table.intA list of columns or SQL expressions used to cluster the table.com.google.protobuf.ProtocolStringListA list of columns or SQL expressions used to cluster the table.Optional.com.google.protobuf.ByteStringOptional.getDependencyTargets(int index) A list of actions that this action depends on.getDependencyTargetsBuilder(int index) A list of actions that this action depends on.A list of actions that this action depends on.intA list of actions that this action depends on.A list of actions that this action depends on.getDependencyTargetsOrBuilder(int index) A list of actions that this action depends on.List<? extends TargetOrBuilder>A list of actions that this action depends on.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether this action is disabled (i.e. should not be run).Optional.intOptional.Configures `INCREMENTAL_TABLE` settings for this relation.Configures `INCREMENTAL_TABLE` settings for this relation.Configures `INCREMENTAL_TABLE` settings for this relation.Deprecated.intSets the partition expiration in days.The SQL expression used to partition the relation.com.google.protobuf.ByteStringThe SQL expression used to partition the relation.getPostOperations(int index) SQL statements to be executed after creating the relation.com.google.protobuf.ByteStringgetPostOperationsBytes(int index) SQL statements to be executed after creating the relation.intSQL statements to be executed after creating the relation.com.google.protobuf.ProtocolStringListSQL statements to be executed after creating the relation.getPreOperations(int index) SQL statements to be executed before creating the relation.com.google.protobuf.ByteStringgetPreOperationsBytes(int index) SQL statements to be executed before creating the relation.intSQL statements to be executed before creating the relation.com.google.protobuf.ProtocolStringListSQL statements to be executed before creating the relation.Descriptor for the relation and its columns.Descriptor for the relation and its columns.Descriptor for the relation and its columns.The type of this relation.intThe type of this relation.booleanSpecifies whether queries on this table must include a predicate filter that filters on the partitioning column.The SELECT query which returns rows which this relation should contain.com.google.protobuf.ByteStringThe SELECT query which returns rows which this relation should contain.Optional.com.google.protobuf.ByteStringOptional.Optional.intOptional.getTags(int index) Arbitrary, user-defined tags on this action.com.google.protobuf.ByteStringgetTagsBytes(int index) Arbitrary, user-defined tags on this action.intArbitrary, user-defined tags on this action.com.google.protobuf.ProtocolStringListArbitrary, user-defined tags on this action.booleanConfigures `INCREMENTAL_TABLE` settings for this relation.booleanDescriptor for the relation and its columns.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Configures `INCREMENTAL_TABLE` settings for this relation.Descriptor for the relation and its columns.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.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.Additional options that will be provided as key/value pairs into the options clause of a create table/view statement.removeDependencyTargets(int index) A list of actions that this action depends on.setClusterExpressions(int index, String value) A list of columns or SQL expressions used to cluster the table.setConnection(String value) Optional.setConnectionBytes(com.google.protobuf.ByteString value) Optional.setDependencyTargets(int index, Target value) A list of actions that this action depends on.setDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.setDisabled(boolean value) Whether this action is disabled (i.e. should not be run).Optional.setFileFormatValue(int value) Optional.Configures `INCREMENTAL_TABLE` settings for this relation.setIncrementalTableConfig(CompilationResultAction.Relation.IncrementalTableConfig.Builder builderForValue) Configures `INCREMENTAL_TABLE` settings for this relation.setPartitionExpirationDays(int value) Sets the partition expiration in days.setPartitionExpression(String value) The SQL expression used to partition the relation.setPartitionExpressionBytes(com.google.protobuf.ByteString value) The SQL expression used to partition the relation.setPostOperations(int index, String value) SQL statements to be executed after creating the relation.setPreOperations(int index, String value) SQL statements to be executed before creating the relation.Descriptor for the relation and its columns.setRelationDescriptor(RelationDescriptor.Builder builderForValue) Descriptor for the relation and its columns.The type of this relation.setRelationTypeValue(int value) The type of this relation.setRequirePartitionFilter(boolean value) Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.setSelectQuery(String value) The SELECT query which returns rows which this relation should contain.setSelectQueryBytes(com.google.protobuf.ByteString value) The SELECT query which returns rows which this relation should contain.setStorageUri(String value) Optional.setStorageUriBytes(com.google.protobuf.ByteString value) Optional.Optional.setTableFormatValue(int value) Optional.Arbitrary, user-defined tags on this action.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Relation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompilationResultAction.Relation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompilationResultAction.Relation.Builder>- Throws:
IOException
-
getDependencyTargetsList
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsListin interfaceCompilationResultAction.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:
getDependencyTargetsCountin interfaceCompilationResultAction.RelationOrBuilder
-
getDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsin interfaceCompilationResultAction.RelationOrBuilder
-
setDependencyTargets
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
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
addDependencyTargets
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
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
removeDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
getDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
getDependencyTargetsOrBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsOrBuilderin interfaceCompilationResultAction.RelationOrBuilder
-
getDependencyTargetsOrBuilderList
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsOrBuilderListin interfaceCompilationResultAction.RelationOrBuilder
-
addDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
addDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
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:
getDisabledin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The disabled.
-
setDisabled
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:
getTagsListin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Specified by:
getTagsCountin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The count of tags.
-
getTags
Arbitrary, user-defined tags on this action.
repeated string tags = 3;- Specified by:
getTagsin interfaceCompilationResultAction.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:
getTagsBytesin interfaceCompilationResultAction.RelationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
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
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:
hasRelationDescriptorin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- Whether the relationDescriptor field is set.
-
getRelationDescriptor
Descriptor for the relation and its columns.
.google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;- Specified by:
getRelationDescriptorin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The relationDescriptor.
-
setRelationDescriptor
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
Descriptor for the relation and its columns.
.google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4; -
clearRelationDescriptor
Descriptor for the relation and its columns.
.google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4; -
getRelationDescriptorBuilder
Descriptor for the relation and its columns.
.google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4; -
getRelationDescriptorOrBuilder
Descriptor for the relation and its columns.
.google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 4;- Specified by:
getRelationDescriptorOrBuilderin interfaceCompilationResultAction.RelationOrBuilder
-
getRelationTypeValue
public int getRelationTypeValue()The type of this relation.
.google.cloud.dataform.v1.CompilationResultAction.Relation.RelationType relation_type = 5;- Specified by:
getRelationTypeValuein interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The enum numeric value on the wire for relationType.
-
setRelationTypeValue
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:
getRelationTypein interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The relationType.
-
setRelationType
public CompilationResultAction.Relation.Builder setRelationType(CompilationResultAction.Relation.RelationType value) 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
The type of this relation.
.google.cloud.dataform.v1.CompilationResultAction.Relation.RelationType relation_type = 5;- Returns:
- This builder for chaining.
-
getSelectQuery
The SELECT query which returns rows which this relation should contain.
string select_query = 6;- Specified by:
getSelectQueryin interfaceCompilationResultAction.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:
getSelectQueryBytesin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The bytes for selectQuery.
-
setSelectQuery
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
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:
getPreOperationsListin interfaceCompilationResultAction.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:
getPreOperationsCountin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The count of preOperations.
-
getPreOperations
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;- Specified by:
getPreOperationsin interfaceCompilationResultAction.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:
getPreOperationsBytesin interfaceCompilationResultAction.RelationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the preOperations at the given index.
-
setPreOperations
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
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
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
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:
getPostOperationsListin interfaceCompilationResultAction.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:
getPostOperationsCountin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The count of postOperations.
-
getPostOperations
SQL statements to be executed after creating the relation.
repeated string post_operations = 8;- Specified by:
getPostOperationsin interfaceCompilationResultAction.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:
getPostOperationsBytesin interfaceCompilationResultAction.RelationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the postOperations at the given index.
-
setPostOperations
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
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
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
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:
hasIncrementalTableConfigin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- Whether the incrementalTableConfig field is set.
-
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:
getIncrementalTableConfigin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The incrementalTableConfig.
-
setIncrementalTableConfig
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.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; -
setIncrementalTableConfig
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.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; -
mergeIncrementalTableConfig
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.v1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; -
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:
getIncrementalTableConfigOrBuilderin interfaceCompilationResultAction.RelationOrBuilder
-
getPartitionExpression
The SQL expression used to partition the relation.
string partition_expression = 10;- Specified by:
getPartitionExpressionin interfaceCompilationResultAction.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:
getPartitionExpressionBytesin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The bytes for partitionExpression.
-
setPartitionExpression
The SQL expression used to partition the relation.
string partition_expression = 10;- Parameters:
value- The partitionExpression to set.- Returns:
- This builder for chaining.
-
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:
getClusterExpressionsListin interfaceCompilationResultAction.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:
getClusterExpressionsCountin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The count of clusterExpressions.
-
getClusterExpressions
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;- Specified by:
getClusterExpressionsin interfaceCompilationResultAction.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:
getClusterExpressionsBytesin interfaceCompilationResultAction.RelationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the clusterExpressions at the given index.
-
setClusterExpressions
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
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
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
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:
getPartitionExpirationDaysin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The partitionExpirationDays.
-
setPartitionExpirationDays
Sets the partition expiration in days.
int32 partition_expiration_days = 12;- Parameters:
value- The partitionExpirationDays to set.- Returns:
- This builder for chaining.
-
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:
getRequirePartitionFilterin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The requirePartitionFilter.
-
setRequirePartitionFilter
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
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.RelationOrBuilderAdditional 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:
getAdditionalOptionsCountin interfaceCompilationResultAction.RelationOrBuilder
-
containsAdditionalOptions
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:
containsAdditionalOptionsin interfaceCompilationResultAction.RelationOrBuilder
-
getAdditionalOptions
Deprecated.UsegetAdditionalOptionsMap()instead.- Specified by:
getAdditionalOptionsin interfaceCompilationResultAction.RelationOrBuilder
-
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:
getAdditionalOptionsMapin interfaceCompilationResultAction.RelationOrBuilder
-
getAdditionalOptionsOrDefault
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:
getAdditionalOptionsOrDefaultin interfaceCompilationResultAction.RelationOrBuilder
-
getAdditionalOptionsOrThrow
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:
getAdditionalOptionsOrThrowin interfaceCompilationResultAction.RelationOrBuilder
-
clearAdditionalOptions
-
removeAdditionalOptions
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.Use alternate mutation accessors instead. -
putAdditionalOptions
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
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
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:
getConnectionin interfaceCompilationResultAction.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:
getConnectionBytesin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The bytes for connection.
-
setConnection
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
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:
getTableFormatValuein interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The enum numeric value on the wire for tableFormat.
-
setTableFormatValue
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:
getTableFormatin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The tableFormat.
-
setTableFormat
public CompilationResultAction.Relation.Builder setTableFormat(CompilationResultAction.Relation.TableFormat 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 tableFormat to set.- Returns:
- This builder for chaining.
-
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:
getFileFormatValuein interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The enum numeric value on the wire for fileFormat.
-
setFileFormatValue
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:
getFileFormatin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The fileFormat.
-
setFileFormat
public CompilationResultAction.Relation.Builder setFileFormat(CompilationResultAction.Relation.FileFormat 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 fileFormat to set.- Returns:
- This builder for chaining.
-
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
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:
getStorageUriin interfaceCompilationResultAction.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:
getStorageUriBytesin interfaceCompilationResultAction.RelationOrBuilder- Returns:
- The bytes for storageUri.
-
setStorageUri
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
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.
-