Class BigQueryTable.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BigQueryTable.Builder>
com.google.privacy.dlp.v2.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.GeneratedMessage.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 Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public BigQueryTable.Builder mergeFrom(BigQueryTable other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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 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 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 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 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 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.
    • getDatasetId

      public String getDatasetId()
       Dataset ID of the table.
       
      string dataset_id = 2;
      Specified by:
      getDatasetId in interface BigQueryTableOrBuilder
      Returns:
      The datasetId.
    • 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.
    • getTableId

      public String getTableId()
       Name of the table.
       
      string table_id = 3;
      Specified by:
      getTableId in interface BigQueryTableOrBuilder
      Returns:
      The tableId.
    • 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.