public static final class CompilationResultAction.Relation extends GeneratedMessageV3 implements CompilationResultAction.RelationOrBuilder
Represents a database relation.
Protobuf type google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
Static Fields
public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER
Field Valuepublic static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER
Field Valuepublic static final int DEPENDENCY_TARGETS_FIELD_NUMBER
Field Valuepublic static final int DISABLED_FIELD_NUMBER
Field Valuepublic static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER
Field Valuepublic static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER
Field Valuepublic static final int PARTITION_EXPRESSION_FIELD_NUMBER
Field ValuePOST_OPERATIONS_FIELD_NUMBER
public static final int POST_OPERATIONS_FIELD_NUMBER
Field Valuepublic static final int PRE_OPERATIONS_FIELD_NUMBER
Field Valuepublic static final int RELATION_DESCRIPTOR_FIELD_NUMBER
Field Valuepublic static final int RELATION_TYPE_FIELD_NUMBER
Field Valuepublic static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER
Field Valuepublic static final int SELECT_QUERY_FIELD_NUMBER
Field Valuepublic static final int TAGS_FIELD_NUMBER
Field ValueStatic Methods
public static CompilationResultAction.Relation getDefaultInstance()
Returnspublic static final Descriptors.Descriptor getDescriptor()
Returnspublic static CompilationResultAction.Relation.Builder newBuilder()
Returnspublic static CompilationResultAction.Relation.Builder newBuilder(CompilationResultAction.Relation )
ParameterReturnspublic static CompilationResultAction.Relation parseDelimitedFrom(InputStream input)
ParameterReturnsExceptionspublic static CompilationResultAction.Relation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(byte[] data)
ParameterName | Description |
data | byte[]
|
ReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(ByteString data)
ParameterReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(CodedInputStream input)
ParameterReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(InputStream input)
ParameterReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(ByteBuffer data)
ParameterReturnsExceptionspublic static CompilationResultAction.Relation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Parser<CompilationResultAction.Relation> parser()
ReturnsMethods
public boolean containsAdditionalOptions(String key)
ParameterReturnspublic boolean equals(Object obj)
ParameterReturnsOverridespublic Map<String,String> getAdditionalOptions()
Returnspublic int getAdditionalOptionsCount()
Returnspublic Map<String,String> getAdditionalOptionsMap()
Returnspublic String getAdditionalOptionsOrDefault(String key, String defaultValue)
ParametersReturnspublic String getAdditionalOptionsOrThrow(String key)
ParameterReturnspublic String getClusterExpressions(int index)
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
ParameterName | Description |
index | int
The index of the element to return. |
ReturnsType | Description |
String | The clusterExpressions at the given index. |
public ByteString getClusterExpressionsBytes(int index)
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
ParameterName | Description |
index | int
The index of the value to return. |
ReturnsType | Description |
ByteString | The bytes of the clusterExpressions at the given index. |
public int getClusterExpressionsCount()
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
ReturnsType | Description |
int | The count of clusterExpressions. |
public ProtocolStringList getClusterExpressionsList()
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
Returnspublic CompilationResultAction.Relation getDefaultInstanceForType()
Returnspublic Target getDependencyTargets(int index)
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
ParameterReturnspublic int getDependencyTargetsCount()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returnspublic List<Target> getDependencyTargetsList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
Returnspublic TargetOrBuilder getDependencyTargetsOrBuilder(int index)
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
ParameterReturnspublic List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1;
ReturnsType | Description |
List<? extends com.google.cloud.dataform.v1alpha2.TargetOrBuilder> | |
public boolean getDisabled()
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;
ReturnsType | Description |
boolean | The disabled. |
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;
Returnspublic 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;
Returnspublic Parser<CompilationResultAction.Relation> getParserForType()
ReturnsOverridespublic int getPartitionExpirationDays()
Sets the partition expiration in days.
int32 partition_expiration_days = 12;
ReturnsType | Description |
int | The partitionExpirationDays. |
public String getPartitionExpression()
The SQL expression used to partition the relation.
string partition_expression = 10;
ReturnsType | Description |
String | The partitionExpression. |
public ByteString getPartitionExpressionBytes()
The SQL expression used to partition the relation.
string partition_expression = 10;
ReturnsType | 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;
ParameterName | Description |
index | int
The index of the element to return. |
ReturnsType | 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;
ParameterName | Description |
index | int
The index of the value to return. |
ReturnsType | 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;
ReturnsType | Description |
int | The count of postOperations. |
getPostOperationsList()
public ProtocolStringList getPostOperationsList()
SQL statements to be executed after creating the relation.
repeated string post_operations = 8;
Returnspublic String getPreOperations(int index)
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
ParameterName | Description |
index | int
The index of the element to return. |
ReturnsType | Description |
String | The preOperations at the given index. |
public ByteString getPreOperationsBytes(int index)
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
ParameterName | Description |
index | int
The index of the value to return. |
ReturnsType | Description |
ByteString | The bytes of the preOperations at the given index. |
public int getPreOperationsCount()
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
ReturnsType | Description |
int | The count of preOperations. |
public ProtocolStringList getPreOperationsList()
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
Returnspublic RelationDescriptor getRelationDescriptor()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
Returnspublic RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
Returnspublic CompilationResultAction.Relation.RelationType getRelationType()
The type of this relation.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5;
Returnspublic int getRelationTypeValue()
The type of this relation.
.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5;
ReturnsType | Description |
int | The enum numeric value on the wire for relationType. |
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;
ReturnsType | Description |
boolean | The requirePartitionFilter. |
public String getSelectQuery()
The SELECT query which returns rows which this relation should contain.
string select_query = 6;
ReturnsType | Description |
String | The selectQuery. |
public ByteString getSelectQueryBytes()
The SELECT query which returns rows which this relation should contain.
string select_query = 6;
ReturnsType | Description |
ByteString | The bytes for selectQuery. |
public int getSerializedSize()
ReturnsOverridespublic String getTags(int index)
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
ParameterName | Description |
index | int
The index of the element to return. |
ReturnsType | Description |
String | The tags at the given index. |
public ByteString getTagsBytes(int index)
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
ParameterName | Description |
index | int
The index of the value to return. |
ReturnsType | Description |
ByteString | The bytes of the tags at the given index. |
public int getTagsCount()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
ReturnsType | Description |
int | The count of tags. |
public ProtocolStringList getTagsList()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
Returnspublic final UnknownFieldSet getUnknownFields()
ReturnsOverridespublic 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;
ReturnsType | Description |
boolean | Whether the incrementalTableConfig field is set. |
public boolean hasRelationDescriptor()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4;
ReturnsType | Description |
boolean | Whether the relationDescriptor field is set. |
ReturnsOverridesprotected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
ReturnsOverridesprotected MapField internalGetMapField(int number)
ParameterReturnsOverridespublic final boolean isInitialized()
ReturnsOverridespublic CompilationResultAction.Relation.Builder newBuilderForType()
Returnsprotected CompilationResultAction.Relation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
ParameterReturnsOverridesprotected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
ParameterReturnsOverridespublic CompilationResultAction.Relation.Builder toBuilder()
Returnspublic void writeTo(CodedOutputStream output)
ParameterOverridesExceptions