Class CompilationResultAction.Relation (0.2.1)

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
TypeDescription
int

CLUSTER_EXPRESSIONS_FIELD_NUMBER

public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

DEPENDENCY_TARGETS_FIELD_NUMBER

public static final int DEPENDENCY_TARGETS_FIELD_NUMBER
Field Value
TypeDescription
int

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
TypeDescription
int

INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER

public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

PARTITION_EXPIRATION_DAYS_FIELD_NUMBER

public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER
Field Value
TypeDescription
int

PARTITION_EXPRESSION_FIELD_NUMBER

public static final int PARTITION_EXPRESSION_FIELD_NUMBER
Field Value
TypeDescription
int

POST_OPERATIONS_FIELD_NUMBER

public static final int POST_OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

PRE_OPERATIONS_FIELD_NUMBER

public static final int PRE_OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

RELATION_DESCRIPTOR_FIELD_NUMBER

public static final int RELATION_DESCRIPTOR_FIELD_NUMBER
Field Value
TypeDescription
int

RELATION_TYPE_FIELD_NUMBER

public static final int RELATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

REQUIRE_PARTITION_FILTER_FIELD_NUMBER

public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

SELECT_QUERY_FIELD_NUMBER

public static final int SELECT_QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CompilationResultAction.Relation getDefaultInstance()
Returns
TypeDescription
CompilationResultAction.Relation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CompilationResultAction.Relation.Builder newBuilder()
Returns
TypeDescription
CompilationResultAction.Relation.Builder

newBuilder(CompilationResultAction.Relation prototype)

public static CompilationResultAction.Relation.Builder newBuilder(CompilationResultAction.Relation prototype)
Parameter
NameDescription
prototypeCompilationResultAction.Relation
Returns
TypeDescription
CompilationResultAction.Relation.Builder

parseDelimitedFrom(InputStream input)

public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CompilationResultAction.Relation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompilationResultAction.Relation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompilationResultAction.Relation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CompilationResultAction.Relation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CompilationResultAction.Relation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompilationResultAction.Relation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompilationResultAction.Relation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CompilationResultAction.Relation> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAdditionalOptions()

public Map<String,String> getAdditionalOptions()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the clusterExpressions.

getDefaultInstanceForType()

public CompilationResultAction.Relation getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Target

getDependencyTargetsCount()

public int getDependencyTargetsCount()

A list of actions that this action depends on.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CompilationResultAction.Relation.IncrementalTableConfigOrBuilder

getParserForType()

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

getPartitionExpirationDays()

public int getPartitionExpirationDays()

Sets the partition expiration in days.

int32 partition_expiration_days = 12;

Returns
TypeDescription
int

The partitionExpirationDays.

getPartitionExpression()

public String getPartitionExpression()

The SQL expression used to partition the relation.

string partition_expression = 10;

Returns
TypeDescription
String

The partitionExpression.

getPartitionExpressionBytes()

public ByteString getPartitionExpressionBytes()

The SQL expression used to partition the relation.

string partition_expression = 10;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of postOperations.

getPostOperationsList()

public ProtocolStringList getPostOperationsList()

SQL statements to be executed after creating the relation.

repeated string post_operations = 8;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of preOperations.

getPreOperationsList()

public ProtocolStringList getPreOperationsList()

SQL statements to be executed before creating the relation.

repeated string pre_operations = 7;

Returns
TypeDescription
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
TypeDescription
RelationDescriptor

The relationDescriptor.

getRelationDescriptorOrBuilder()

public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()

Descriptor for the relation and its columns.

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

Returns
TypeDescription
RelationDescriptorOrBuilder

getRelationType()

public CompilationResultAction.Relation.RelationType getRelationType()

The type of this relation.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The requirePartitionFilter.

getSelectQuery()

public String getSelectQuery()

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

string select_query = 6;

Returns
TypeDescription
String

The selectQuery.

getSelectQueryBytes()

public ByteString getSelectQueryBytes()

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

string select_query = 6;

Returns
TypeDescription
ByteString

The bytes for selectQuery.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTags(int index)

public String getTags(int index)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the tags.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the relationDescriptor field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CompilationResultAction.Relation.Builder newBuilderForType()
Returns
TypeDescription
CompilationResultAction.Relation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompilationResultAction.Relation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CompilationResultAction.Relation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CompilationResultAction.Relation.Builder toBuilder()
Returns
TypeDescription
CompilationResultAction.Relation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException