Class CompilationResultAction.Relation

    • Field Detail

      • DEPENDENCY_TARGETS_FIELD_NUMBER

        public static final int DEPENDENCY_TARGETS_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 class com.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 class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getTagsList

        public com.google.protobuf.ProtocolStringList getTagsList()
         Arbitrary, user-defined tags on this action.
         
        repeated string tags = 3;
        Specified by:
        getTagsList in interface CompilationResultAction.RelationOrBuilder
        Returns:
        A list containing the tags.
      • getTags

        public String getTags​(int index)
         Arbitrary, user-defined tags on this action.
         
        repeated string tags = 3;
        Specified by:
        getTags in interface CompilationResultAction.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 interface CompilationResultAction.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 interface CompilationResultAction.RelationOrBuilder
        Returns:
        Whether the relationDescriptor field is set.
      • getRelationTypeValue

        public int getRelationTypeValue()
         The type of this relation.
         
        .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5;
        Specified by:
        getRelationTypeValue in interface CompilationResultAction.RelationOrBuilder
        Returns:
        The enum numeric value on the wire for relationType.
      • 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 interface CompilationResultAction.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 interface CompilationResultAction.RelationOrBuilder
        Returns:
        A list containing the 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 interface CompilationResultAction.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 interface CompilationResultAction.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 interface CompilationResultAction.RelationOrBuilder
        Returns:
        A list containing the 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 interface CompilationResultAction.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 interface CompilationResultAction.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 interface CompilationResultAction.RelationOrBuilder
        Returns:
        Whether the incrementalTableConfig field is set.
      • 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 interface CompilationResultAction.RelationOrBuilder
        Returns:
        A list containing the 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 interface CompilationResultAction.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 interface CompilationResultAction.RelationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the clusterExpressions at the given index.
      • 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 interface CompilationResultAction.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 interface CompilationResultAction.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 interface CompilationResultAction.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 interface CompilationResultAction.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 interface CompilationResultAction.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 interface CompilationResultAction.RelationOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • 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
      • newBuilderForType

        public CompilationResultAction.Relation.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CompilationResultAction.Relation.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CompilationResultAction.Relation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CompilationResultAction.Relation> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CompilationResultAction.Relation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder