Class BigQueryTable.Builder

  • All Implemented Interfaces:
    BigQueryTableOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    BigQueryTable

    public static final class BigQueryTable.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
    implements BigQueryTableOrBuilder
     Message defining the location of a BigQuery table. A table is uniquely
     identified  by its project_id, dataset_id, and table_name. Within a query
     a table is often referenced with a string in the format of:
     `<project_id>:<dataset_id>.<table_id>` or
     `<project_id>.<dataset_id>.<table_id>`.
     
    Protobuf type google.privacy.dlp.v2.BigQueryTable
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • clear

        public BigQueryTable.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • getDefaultInstanceForType

        public BigQueryTable getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BigQueryTable build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BigQueryTable buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public BigQueryTable.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • setField

        public BigQueryTable.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • clearField

        public BigQueryTable.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • clearOneof

        public BigQueryTable.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • setRepeatedField

        public BigQueryTable.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      int index,
                                                      Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • addRepeatedField

        public BigQueryTable.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • mergeFrom

        public BigQueryTable.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQueryTable.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • mergeFrom

        public BigQueryTable.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQueryTable.Builder>
        Throws:
        IOException
      • getProjectId

        public String getProjectId()
         The Google Cloud Platform project ID of the project containing the table.
         If omitted, project ID is inferred from the API call.
         
        string project_id = 1;
        Specified by:
        getProjectId in interface BigQueryTableOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         The Google Cloud Platform project ID of the project containing the table.
         If omitted, project ID is inferred from the API call.
         
        string project_id = 1;
        Specified by:
        getProjectIdBytes in interface BigQueryTableOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        public BigQueryTable.Builder setProjectId​(String value)
         The Google Cloud Platform project ID of the project containing the table.
         If omitted, project ID is inferred from the API call.
         
        string project_id = 1;
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        public BigQueryTable.Builder clearProjectId()
         The Google Cloud Platform project ID of the project containing the table.
         If omitted, project ID is inferred from the API call.
         
        string project_id = 1;
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        public BigQueryTable.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
         The Google Cloud Platform project ID of the project containing the table.
         If omitted, project ID is inferred from the API call.
         
        string project_id = 1;
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getDatasetIdBytes

        public com.google.protobuf.ByteString getDatasetIdBytes()
         Dataset ID of the table.
         
        string dataset_id = 2;
        Specified by:
        getDatasetIdBytes in interface BigQueryTableOrBuilder
        Returns:
        The bytes for datasetId.
      • setDatasetId

        public BigQueryTable.Builder setDatasetId​(String value)
         Dataset ID of the table.
         
        string dataset_id = 2;
        Parameters:
        value - The datasetId to set.
        Returns:
        This builder for chaining.
      • clearDatasetId

        public BigQueryTable.Builder clearDatasetId()
         Dataset ID of the table.
         
        string dataset_id = 2;
        Returns:
        This builder for chaining.
      • setDatasetIdBytes

        public BigQueryTable.Builder setDatasetIdBytes​(com.google.protobuf.ByteString value)
         Dataset ID of the table.
         
        string dataset_id = 2;
        Parameters:
        value - The bytes for datasetId to set.
        Returns:
        This builder for chaining.
      • getTableIdBytes

        public com.google.protobuf.ByteString getTableIdBytes()
         Name of the table.
         
        string table_id = 3;
        Specified by:
        getTableIdBytes in interface BigQueryTableOrBuilder
        Returns:
        The bytes for tableId.
      • setTableId

        public BigQueryTable.Builder setTableId​(String value)
         Name of the table.
         
        string table_id = 3;
        Parameters:
        value - The tableId to set.
        Returns:
        This builder for chaining.
      • clearTableId

        public BigQueryTable.Builder clearTableId()
         Name of the table.
         
        string table_id = 3;
        Returns:
        This builder for chaining.
      • setTableIdBytes

        public BigQueryTable.Builder setTableIdBytes​(com.google.protobuf.ByteString value)
         Name of the table.
         
        string table_id = 3;
        Parameters:
        value - The bytes for tableId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final BigQueryTable.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>
      • mergeUnknownFields

        public final BigQueryTable.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryTable.Builder>