Class CompilationResultAction.Relation (0.8.0)

public static final class CompilationResultAction.Relation extends GeneratedMessageV3 implements CompilationResultAction.RelationOrBuilder

Represents a database relation.

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

Inheritance

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

Static Fields

ADDITIONAL_OPTIONS_FIELD_NUMBER

public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

CLUSTER_EXPRESSIONS_FIELD_NUMBER

public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER
Field Value
Type Description
int

DEPENDENCY_TARGETS_FIELD_NUMBER

public static final int DEPENDENCY_TARGETS_FIELD_NUMBER
Field Value
Type Description
int

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
Type Description
int

INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER

public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PARTITION_EXPIRATION_DAYS_FIELD_NUMBER

public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER
Field Value
Type Description
int

PARTITION_EXPRESSION_FIELD_NUMBER

public static final int PARTITION_EXPRESSION_FIELD_NUMBER
Field Value
Type Description
int

POST_OPERATIONS_FIELD_NUMBER

public static final int POST_OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

PRE_OPERATIONS_FIELD_NUMBER

public static final int PRE_OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

RELATION_DESCRIPTOR_FIELD_NUMBER

public static final int RELATION_DESCRIPTOR_FIELD_NUMBER
Field Value
Type Description
int

RELATION_TYPE_FIELD_NUMBER

public static final int RELATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

REQUIRE_PARTITION_FILTER_FIELD_NUMBER

public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER
Field Value
Type Description
int

SELECT_QUERY_FIELD_NUMBER

public static final int SELECT_QUERY_FIELD_NUMBER
Field Value
Type Description
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompilationResultAction.Relation getDefaultInstance()
Returns
Type Description
CompilationResultAction.Relation

getDescriptor()

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

newBuilder()

public static CompilationResultAction.Relation.Builder newBuilder()
Returns
Type Description
CompilationResultAction.Relation.Builder

newBuilder(CompilationResultAction.Relation prototype)

public static CompilationResultAction.Relation.Builder newBuilder(CompilationResultAction.Relation prototype)
Parameter
Name Description
prototype CompilationResultAction.Relation
Returns
Type Description
CompilationResultAction.Relation.Builder

parseDelimitedFrom(InputStream input)

public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CompilationResultAction.Relation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompilationResultAction.Relation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompilationResultAction.Relation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CompilationResultAction.Relation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CompilationResultAction.Relation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Relation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CompilationResultAction.Relation> parser()
Returns
Type Description
Parser<Relation>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdditionalOptions()

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

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>

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.

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

getParserForType()

public Parser<CompilationResultAction.Relation> getParserForType()
Returns
Type Description
Parser<Relation>
Overrides

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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompilationResultAction.Relation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompilationResultAction.Relation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException