Class CompilationResultAction.Relation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
-
- All Implemented Interfaces:
CompilationResultAction.RelationOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- CompilationResultAction
public static final class CompilationResultAction.Relation extends com.google.protobuf.GeneratedMessageV3 implements CompilationResultAction.RelationOrBuilder
Represents a database relation.
Protobuf typegoogle.cloud.dataform.v1alpha2.CompilationResultAction.Relation
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompilationResultAction.Relation.Builder
Represents a database relation.static class
CompilationResultAction.Relation.IncrementalTableConfig
Contains settings for relations of type `INCREMENTAL_TABLE`.static interface
CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
static class
CompilationResultAction.Relation.RelationType
Indicates the type of this relation.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADDITIONAL_OPTIONS_FIELD_NUMBER
static int
CLUSTER_EXPRESSIONS_FIELD_NUMBER
static int
DEPENDENCY_TARGETS_FIELD_NUMBER
static int
DISABLED_FIELD_NUMBER
static int
INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER
static int
PARTITION_EXPIRATION_DAYS_FIELD_NUMBER
static int
PARTITION_EXPRESSION_FIELD_NUMBER
static int
POST_OPERATIONS_FIELD_NUMBER
static int
PRE_OPERATIONS_FIELD_NUMBER
static int
RELATION_DESCRIPTOR_FIELD_NUMBER
static int
RELATION_TYPE_FIELD_NUMBER
static int
REQUIRE_PARTITION_FILTER_FIELD_NUMBER
static int
SELECT_QUERY_FIELD_NUMBER
static int
TAGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAdditionalOptions(String key)
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement.boolean
equals(Object obj)
Map<String,String>
getAdditionalOptions()
Deprecated.int
getAdditionalOptionsCount()
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement.Map<String,String>
getAdditionalOptionsMap()
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement.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.String
getAdditionalOptionsOrThrow(String key)
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement.String
getClusterExpressions(int index)
A list of columns or SQL expressions used to cluster the table.com.google.protobuf.ByteString
getClusterExpressionsBytes(int index)
A list of columns or SQL expressions used to cluster the table.int
getClusterExpressionsCount()
A list of columns or SQL expressions used to cluster the table.com.google.protobuf.ProtocolStringList
getClusterExpressionsList()
A list of columns or SQL expressions used to cluster the table.static CompilationResultAction.Relation
getDefaultInstance()
CompilationResultAction.Relation
getDefaultInstanceForType()
Target
getDependencyTargets(int index)
A list of actions that this action depends on.int
getDependencyTargetsCount()
A list of actions that this action depends on.List<Target>
getDependencyTargetsList()
A list of actions that this action depends on.TargetOrBuilder
getDependencyTargetsOrBuilder(int index)
A list of actions that this action depends on.List<? extends TargetOrBuilder>
getDependencyTargetsOrBuilderList()
A list of actions that this action depends on.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getDisabled()
Whether this action is disabled (i.e.CompilationResultAction.Relation.IncrementalTableConfig
getIncrementalTableConfig()
Configures `INCREMENTAL_TABLE` settings for this relation.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder
getIncrementalTableConfigOrBuilder()
Configures `INCREMENTAL_TABLE` settings for this relation.com.google.protobuf.Parser<CompilationResultAction.Relation>
getParserForType()
int
getPartitionExpirationDays()
Sets the partition expiration in days.String
getPartitionExpression()
The SQL expression used to partition the relation.com.google.protobuf.ByteString
getPartitionExpressionBytes()
The SQL expression used to partition the relation.String
getPostOperations(int index)
SQL statements to be executed after creating the relation.com.google.protobuf.ByteString
getPostOperationsBytes(int index)
SQL statements to be executed after creating the relation.int
getPostOperationsCount()
SQL statements to be executed after creating the relation.com.google.protobuf.ProtocolStringList
getPostOperationsList()
SQL statements to be executed after creating the relation.String
getPreOperations(int index)
SQL statements to be executed before creating the relation.com.google.protobuf.ByteString
getPreOperationsBytes(int index)
SQL statements to be executed before creating the relation.int
getPreOperationsCount()
SQL statements to be executed before creating the relation.com.google.protobuf.ProtocolStringList
getPreOperationsList()
SQL statements to be executed before creating the relation.RelationDescriptor
getRelationDescriptor()
Descriptor for the relation and its columns.RelationDescriptorOrBuilder
getRelationDescriptorOrBuilder()
Descriptor for the relation and its columns.CompilationResultAction.Relation.RelationType
getRelationType()
The type of this relation.int
getRelationTypeValue()
The type of this relation.boolean
getRequirePartitionFilter()
Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.String
getSelectQuery()
The SELECT query which returns rows which this relation should contain.com.google.protobuf.ByteString
getSelectQueryBytes()
The SELECT query which returns rows which this relation should contain.int
getSerializedSize()
String
getTags(int index)
Arbitrary, user-defined tags on this action.com.google.protobuf.ByteString
getTagsBytes(int index)
Arbitrary, user-defined tags on this action.int
getTagsCount()
Arbitrary, user-defined tags on this action.com.google.protobuf.ProtocolStringList
getTagsList()
Arbitrary, user-defined tags on this action.int
hashCode()
boolean
hasIncrementalTableConfig()
Configures `INCREMENTAL_TABLE` settings for this relation.boolean
hasRelationDescriptor()
Descriptor for the relation and its columns.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static CompilationResultAction.Relation.Builder
newBuilder()
static CompilationResultAction.Relation.Builder
newBuilder(CompilationResultAction.Relation prototype)
CompilationResultAction.Relation.Builder
newBuilderForType()
protected CompilationResultAction.Relation.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static CompilationResultAction.Relation
parseDelimitedFrom(InputStream input)
static CompilationResultAction.Relation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation
parseFrom(byte[] data)
static CompilationResultAction.Relation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation
parseFrom(com.google.protobuf.ByteString data)
static CompilationResultAction.Relation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation
parseFrom(com.google.protobuf.CodedInputStream input)
static CompilationResultAction.Relation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation
parseFrom(InputStream input)
static CompilationResultAction.Relation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResultAction.Relation
parseFrom(ByteBuffer data)
static CompilationResultAction.Relation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CompilationResultAction.Relation>
parser()
CompilationResultAction.Relation.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DEPENDENCY_TARGETS_FIELD_NUMBER
public static final int DEPENDENCY_TARGETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATION_DESCRIPTOR_FIELD_NUMBER
public static final int RELATION_DESCRIPTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATION_TYPE_FIELD_NUMBER
public static final int RELATION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELECT_QUERY_FIELD_NUMBER
public static final int SELECT_QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRE_OPERATIONS_FIELD_NUMBER
public static final int PRE_OPERATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POST_OPERATIONS_FIELD_NUMBER
public static final int POST_OPERATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER
public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_EXPRESSION_FIELD_NUMBER
public static final int PARTITION_EXPRESSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_EXPRESSIONS_FIELD_NUMBER
public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_EXPIRATION_DAYS_FIELD_NUMBER
public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUIRE_PARTITION_FILTER_FIELD_NUMBER
public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_OPTIONS_FIELD_NUMBER
public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDependencyTargetsList
public List<Target> getDependencyTargetsList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
- Specified by:
getDependencyTargetsList
in interfaceCompilationResultAction.RelationOrBuilder
-
getDependencyTargetsOrBuilderList
public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
- Specified by:
getDependencyTargetsOrBuilderList
in interfaceCompilationResultAction.RelationOrBuilder
-
getDependencyTargetsCount
public int getDependencyTargetsCount()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
- Specified by:
getDependencyTargetsCount
in interfaceCompilationResultAction.RelationOrBuilder
-
getDependencyTargets
public Target getDependencyTargets(int index)
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
- Specified by:
getDependencyTargets
in interfaceCompilationResultAction.RelationOrBuilder
-
getDependencyTargetsOrBuilder
public TargetOrBuilder getDependencyTargetsOrBuilder(int index)
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
- Specified by:
getDependencyTargetsOrBuilder
in interfaceCompilationResultAction.RelationOrBuilder
-
getDisabled
public boolean getDisabled()
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;
- Specified by:
getDisabled
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The disabled.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
- Specified by:
getTagsList
in 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:
getTagsCount
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
- Specified by:
getTags
in 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:
getTagsBytes
in interfaceCompilationResultAction.RelationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
hasRelationDescriptor
public boolean hasRelationDescriptor()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
- Specified by:
hasRelationDescriptor
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- Whether the relationDescriptor field is set.
-
getRelationDescriptor
public RelationDescriptor getRelationDescriptor()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
- Specified by:
getRelationDescriptor
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The relationDescriptor.
-
getRelationDescriptorOrBuilder
public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
- Specified by:
getRelationDescriptorOrBuilder
in interfaceCompilationResultAction.RelationOrBuilder
-
getRelationTypeValue
public int getRelationTypeValue()
The type of this relation.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5;
- Specified by:
getRelationTypeValue
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The enum numeric value on the wire for relationType.
-
getRelationType
public CompilationResultAction.Relation.RelationType getRelationType()
The type of this relation.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5;
- Specified by:
getRelationType
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The relationType.
-
getSelectQuery
public String getSelectQuery()
The SELECT query which returns rows which this relation should contain.
string select_query = 6;
- Specified by:
getSelectQuery
in 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:
getSelectQueryBytes
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The bytes for selectQuery.
-
getPreOperationsList
public com.google.protobuf.ProtocolStringList getPreOperationsList()
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
- Specified by:
getPreOperationsList
in 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:
getPreOperationsCount
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The count of preOperations.
-
getPreOperations
public String getPreOperations(int index)
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
- Specified by:
getPreOperations
in 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:
getPreOperationsBytes
in interfaceCompilationResultAction.RelationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the preOperations at the given index.
-
getPostOperationsList
public com.google.protobuf.ProtocolStringList getPostOperationsList()
SQL statements to be executed after creating the relation.
repeated string post_operations = 8;
- Specified by:
getPostOperationsList
in 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:
getPostOperationsCount
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The count of postOperations.
-
getPostOperations
public String getPostOperations(int index)
SQL statements to be executed after creating the relation.
repeated string post_operations = 8;
- Specified by:
getPostOperations
in 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:
getPostOperationsBytes
in interfaceCompilationResultAction.RelationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the postOperations at the given index.
-
hasIncrementalTableConfig
public boolean hasIncrementalTableConfig()
Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
- Specified by:
hasIncrementalTableConfig
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- Whether the incrementalTableConfig field is set.
-
getIncrementalTableConfig
public CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig()
Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
- Specified by:
getIncrementalTableConfig
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The incrementalTableConfig.
-
getIncrementalTableConfigOrBuilder
public CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder()
Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
- Specified by:
getIncrementalTableConfigOrBuilder
in interfaceCompilationResultAction.RelationOrBuilder
-
getPartitionExpression
public String getPartitionExpression()
The SQL expression used to partition the relation.
string partition_expression = 10;
- Specified by:
getPartitionExpression
in 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:
getPartitionExpressionBytes
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The bytes for partitionExpression.
-
getClusterExpressionsList
public com.google.protobuf.ProtocolStringList getClusterExpressionsList()
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
- Specified by:
getClusterExpressionsList
in 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:
getClusterExpressionsCount
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The count of clusterExpressions.
-
getClusterExpressions
public String getClusterExpressions(int index)
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
- Specified by:
getClusterExpressions
in 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:
getClusterExpressionsBytes
in interfaceCompilationResultAction.RelationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the clusterExpressions at the given index.
-
getPartitionExpirationDays
public int getPartitionExpirationDays()
Sets the partition expiration in days.
int32 partition_expiration_days = 12;
- Specified by:
getPartitionExpirationDays
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The partitionExpirationDays.
-
getRequirePartitionFilter
public boolean getRequirePartitionFilter()
Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.
bool require_partition_filter = 13;
- Specified by:
getRequirePartitionFilter
in interfaceCompilationResultAction.RelationOrBuilder
- Returns:
- The requirePartitionFilter.
-
getAdditionalOptionsCount
public int getAdditionalOptionsCount()
Description copied from interface:CompilationResultAction.RelationOrBuilder
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
map<string, string> additional_options = 14;
- Specified by:
getAdditionalOptionsCount
in interfaceCompilationResultAction.RelationOrBuilder
-
containsAdditionalOptions
public boolean containsAdditionalOptions(String key)
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
map<string, string> additional_options = 14;
- Specified by:
containsAdditionalOptions
in interfaceCompilationResultAction.RelationOrBuilder
-
getAdditionalOptions
@Deprecated public Map<String,String> getAdditionalOptions()
Deprecated.UsegetAdditionalOptionsMap()
instead.- Specified by:
getAdditionalOptions
in interfaceCompilationResultAction.RelationOrBuilder
-
getAdditionalOptionsMap
public Map<String,String> getAdditionalOptionsMap()
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
map<string, string> additional_options = 14;
- Specified by:
getAdditionalOptionsMap
in interfaceCompilationResultAction.RelationOrBuilder
-
getAdditionalOptionsOrDefault
public String getAdditionalOptionsOrDefault(String key, String defaultValue)
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
map<string, string> additional_options = 14;
- Specified by:
getAdditionalOptionsOrDefault
in interfaceCompilationResultAction.RelationOrBuilder
-
getAdditionalOptionsOrThrow
public String getAdditionalOptionsOrThrow(String key)
Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
map<string, string> additional_options = 14;
- Specified by:
getAdditionalOptionsOrThrow
in interfaceCompilationResultAction.RelationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CompilationResultAction.Relation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResultAction.Relation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CompilationResultAction.Relation.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CompilationResultAction.Relation.Builder newBuilder()
-
newBuilder
public static CompilationResultAction.Relation.Builder newBuilder(CompilationResultAction.Relation prototype)
-
toBuilder
public CompilationResultAction.Relation.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CompilationResultAction.Relation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CompilationResultAction.Relation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CompilationResultAction.Relation> parser()
-
getParserForType
public com.google.protobuf.Parser<CompilationResultAction.Relation> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CompilationResultAction.Relation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-