public static final class CompilationResultAction.Relation extends GeneratedMessageV3 implements CompilationResultAction.RelationOrBuilder
Represents a database relation.
Protobuf type google.cloud.dataform.v1beta1.CompilationResultAction.Relation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEPENDENCY_TARGETS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
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 |
|
public static final int PRE_OPERATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RELATION_DESCRIPTOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RELATION_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SELECT_QUERY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TAGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static CompilationResultAction.Relation getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CompilationResultAction.Relation.Builder newBuilder()
public static CompilationResultAction.Relation.Builder newBuilder(CompilationResultAction.Relation prototype)
public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input)
public static CompilationResultAction.Relation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Relation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static CompilationResultAction.Relation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Relation parseFrom(ByteString data)
public static CompilationResultAction.Relation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Relation parseFrom(CodedInputStream input)
public static CompilationResultAction.Relation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Relation parseFrom(InputStream input)
public static CompilationResultAction.Relation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResultAction.Relation parseFrom(ByteBuffer data)
public static CompilationResultAction.Relation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CompilationResultAction.Relation> parser()
Methods
public boolean containsAdditionalOptions(String key)
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Map<String,String> getAdditionalOptions()
public int getAdditionalOptionsCount()
Returns |
Type |
Description |
int |
|
public Map<String,String> getAdditionalOptionsMap()
public String getAdditionalOptionsOrDefault(String key, String defaultValue)
Returns |
Type |
Description |
String |
|
public String getAdditionalOptionsOrThrow(String key)
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
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.
|
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.
|
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.
|
public ProtocolStringList getClusterExpressionsList()
A list of columns or SQL expressions used to cluster the table.
repeated string cluster_expressions = 11;
public CompilationResultAction.Relation getDefaultInstanceForType()
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 |
|
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 |
|
public List<Target> getDependencyTargetsList()
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;
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
|
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> |
|
public boolean getDisabled()
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;
Returns |
Type |
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.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9;
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;
public Parser<CompilationResultAction.Relation> getParserForType()
Overrides
public int getPartitionExpirationDays()
Sets the partition expiration in days.
int32 partition_expiration_days = 12;
Returns |
Type |
Description |
int |
The partitionExpirationDays.
|
public String getPartitionExpression()
The SQL expression used to partition the relation.
string partition_expression = 10;
Returns |
Type |
Description |
String |
The partitionExpression.
|
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;
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.
|
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.
|
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.
|
public ProtocolStringList getPreOperationsList()
SQL statements to be executed before creating the relation.
repeated string pre_operations = 7;
public RelationDescriptor getRelationDescriptor()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;
public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
Descriptor for the relation and its columns.
.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4;
public CompilationResultAction.Relation.RelationType getRelationType()
The type of this relation.
.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5;
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.
|
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.
|
public String getSelectQuery()
The SELECT query which returns rows which this relation should contain.
string select_query = 6;
Returns |
Type |
Description |
String |
The selectQuery.
|
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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
public int getTagsCount()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
Returns |
Type |
Description |
int |
The count of tags.
|
public ProtocolStringList getTagsList()
Arbitrary, user-defined tags on this action.
repeated string tags = 3;
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
public final boolean isInitialized()
Overrides
public CompilationResultAction.Relation.Builder newBuilderForType()
protected CompilationResultAction.Relation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public CompilationResultAction.Relation.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides