Class BigQuerySource (2.18.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.18.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  BigQuerySource   extends   GeneratedMessageV3   implements   BigQuerySourceOrBuilder  
   BigQuery source import data from.
 Protobuf type google.cloud.retail.v2alpha.BigQuerySource
Static Fields
   
  DATASET_ID_FIELD_NUMBER 
  
    
public   static   final   int   DATASET_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  DATA_SCHEMA_FIELD_NUMBER 
  
    
public   static   final   int   DATA_SCHEMA_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  GCS_STAGING_DIR_FIELD_NUMBER 
  
    
public   static   final   int   GCS_STAGING_DIR_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PARTITION_DATE_FIELD_NUMBER 
  
    
public   static   final   int   PARTITION_DATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PROJECT_ID_FIELD_NUMBER 
  
    
public   static   final   int   PROJECT_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TABLE_ID_FIELD_NUMBER 
  
    
public   static   final   int   TABLE_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   BigQuerySource   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   BigQuerySource . Builder   newBuilder ()  
  
  newBuilder(BigQuerySource prototype) 
  
    
public   static   BigQuerySource . Builder   newBuilder ( BigQuerySource   prototype )  
  
  
  
    
public   static   BigQuerySource   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   BigQuerySource   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   BigQuerySource   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BigQuerySource   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   BigQuerySource   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BigQuerySource   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BigQuerySource   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   BigQuerySource   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   BigQuerySource   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   BigQuerySource   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   BigQuerySource   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   BigQuerySource   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<BigQuerySource>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDataSchema() 
  
    
public   String   getDataSchema ()  
   The schema to use when parsing the data from the source.
 Supported values for product imports:
 string data_schema = 4;
    
      
        Returns  
      
        Type Description  
      
        String The dataSchema.
 
     
  
  getDataSchemaBytes() 
  
    
public   ByteString   getDataSchemaBytes ()  
   The schema to use when parsing the data from the source.
 Supported values for product imports:
 string data_schema = 4;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for dataSchema.
 
     
  
  getDatasetId() 
  
    
public   String   getDatasetId ()  
   Required. The BigQuery data set to copy the data from with a length limit
 of 1,024 characters.
 string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The datasetId.
 
     
  
  getDatasetIdBytes() 
  
    
public   ByteString   getDatasetIdBytes ()  
   Required. The BigQuery data set to copy the data from with a length limit
 of 1,024 characters.
 string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for datasetId.
 
     
  
  getDefaultInstanceForType() 
  
    
public   BigQuerySource   getDefaultInstanceForType ()  
  
  getGcsStagingDir() 
  
    
public   String   getGcsStagingDir ()  
   Intermediate Cloud Storage directory used for the import with a length
 limit of 2,000 characters. Can be specified if one wants to have the
 BigQuery export to a specific Cloud Storage directory.
 string gcs_staging_dir = 3;
    
      
        Returns  
      
        Type Description  
      
        String The gcsStagingDir.
 
     
  
  getGcsStagingDirBytes() 
  
    
public   ByteString   getGcsStagingDirBytes ()  
   Intermediate Cloud Storage directory used for the import with a length
 limit of 2,000 characters. Can be specified if one wants to have the
 BigQuery export to a specific Cloud Storage directory.
 string gcs_staging_dir = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for gcsStagingDir.
 
     
  
  getParserForType() 
  
    
public   Parser<BigQuerySource>   getParserForType ()  
  
  Overrides 
  
  getPartitionCase() 
  
    
public   BigQuerySource . PartitionCase   getPartitionCase ()  
  
  getPartitionDate() 
  
    
public   Date   getPartitionDate ()  
   BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
 Only supported in
 ImportProductsRequest .
 .google.type.Date partition_date = 6;
    
      
        Returns  
      
        Type Description  
      
        com.google.type.Date The partitionDate.
 
     
  
  getPartitionDateOrBuilder() 
  
    
public   DateOrBuilder   getPartitionDateOrBuilder ()  
   BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
 Only supported in
 ImportProductsRequest .
 .google.type.Date partition_date = 6;
    
      
        Returns  
      
        Type Description  
      
        com.google.type.DateOrBuilder  
     
  
  getProjectId() 
  
    
public   String   getProjectId ()  
   The project ID (can be project # or ID) that the BigQuery source is in with
 a length limit of 128 characters. If not specified, inherits the project
 ID from the parent request.
 string project_id = 5;
    
      
        Returns  
      
        Type Description  
      
        String The projectId.
 
     
  
  getProjectIdBytes() 
  
    
public   ByteString   getProjectIdBytes ()  
   The project ID (can be project # or ID) that the BigQuery source is in with
 a length limit of 128 characters. If not specified, inherits the project
 ID from the parent request.
 string project_id = 5;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for projectId.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getTableId() 
  
    
public   String   getTableId ()  
   Required. The BigQuery table to copy the data from with a length limit of
 1,024 characters.
 string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The tableId.
 
     
  
  getTableIdBytes() 
  
    
public   ByteString   getTableIdBytes ()  
   Required. The BigQuery table to copy the data from with a length limit of
 1,024 characters.
 string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for tableId.
 
     
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  
  Overrides 
  
  hasPartitionDate() 
  
    
public   boolean   hasPartitionDate ()  
   BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
 Only supported in
 ImportProductsRequest .
 .google.type.Date partition_date = 6;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the partitionDate field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   BigQuerySource . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   BigQuerySource . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   BigQuerySource . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]