Class ImportedDataInfo (2.11.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.11.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ImportedDataInfo   extends   GeneratedMessageV3   implements   ImportedDataInfoOrBuilder  
   Describes data which should be imported.
 Protobuf type google.cloud.bigquery.datatransfer.v1.ImportedDataInfo
Static Fields
   
  DESTINATION_TABLE_DESCRIPTION_FIELD_NUMBER 
  
    
public   static   final   int   DESTINATION_TABLE_DESCRIPTION_FIELD_NUMBER  
  Field Value 
  
  DESTINATION_TABLE_ID_FIELD_NUMBER 
  
    
public   static   final   int   DESTINATION_TABLE_ID_FIELD_NUMBER  
  Field Value 
  
  SQL_FIELD_NUMBER 
  
    
public   static   final   int   SQL_FIELD_NUMBER  
  Field Value 
  
  TABLE_DEFS_FIELD_NUMBER 
  
    
public   static   final   int   TABLE_DEFS_FIELD_NUMBER  
  Field Value 
  
  USER_DEFINED_FUNCTIONS_FIELD_NUMBER 
  
    
public   static   final   int   USER_DEFINED_FUNCTIONS_FIELD_NUMBER  
  Field Value 
  
  WRITE_DISPOSITION_FIELD_NUMBER 
  
    
public   static   final   int   WRITE_DISPOSITION_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   ImportedDataInfo   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   ImportedDataInfo . Builder   newBuilder ()  
  Returns 
  
  newBuilder(ImportedDataInfo prototype) 
  
    
public   static   ImportedDataInfo . Builder   newBuilder ( ImportedDataInfo   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   ImportedDataInfo   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   ImportedDataInfo   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   ImportedDataInfo   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        databyte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportedDataInfo   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   ImportedDataInfo   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportedDataInfo   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   ImportedDataInfo   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   ImportedDataInfo   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   ImportedDataInfo   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   ImportedDataInfo   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   ImportedDataInfo   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportedDataInfo   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<ImportedDataInfo>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ImportedDataInfo   getDefaultInstanceForType ()  
  Returns 
  
  getDestinationTableDescription() 
  
    
public   String   getDestinationTableDescription ()  
   The description of a destination table. This can be several sentences
 or paragraphs describing the table contents in detail.
 string destination_table_description = 10;
Returns 
  
  getDestinationTableDescriptionBytes() 
  
    
public   ByteString   getDestinationTableDescriptionBytes ()  
   The description of a destination table. This can be several sentences
 or paragraphs describing the table contents in detail.
 string destination_table_description = 10;
Returns 
  
  getDestinationTableId() 
  
    
public   String   getDestinationTableId ()  
   Table where results should be written.
 string destination_table_id = 2;
Returns 
  
  getDestinationTableIdBytes() 
  
    
public   ByteString   getDestinationTableIdBytes ()  
   Table where results should be written.
 string destination_table_id = 2;
Returns 
  
  getParserForType() 
  
    
public   Parser<ImportedDataInfo>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getSql() 
  
   SQL query to run. When empty, API checks that there is only one
 table_def specified and loads this table. Only Standard SQL queries
 are accepted. Legacy SQL is not allowed.
 string sql = 1;
Returns 
  
  getSqlBytes() 
  
    
public   ByteString   getSqlBytes ()  
   SQL query to run. When empty, API checks that there is only one
 table_def specified and loads this table. Only Standard SQL queries
 are accepted. Legacy SQL is not allowed.
 string sql = 1;
Returns 
  
  getTableDefs(int index) 
  
    
public   ImportedDataInfo . TableDefinition   getTableDefs ( int   index )  
   When used WITHOUT the "sql" parameter, describes the schema of the
 destination table.
 When used WITH the "sql" parameter, describes tables with data stored
 outside of BigQuery.
 
 repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition table_defs = 3;
 
Parameter 
  
    
      
        Name Description  
      
        indexint  
     
  
  Returns 
  
  getTableDefsCount() 
  
    
public   int   getTableDefsCount ()  
   When used WITHOUT the "sql" parameter, describes the schema of the
 destination table.
 When used WITH the "sql" parameter, describes tables with data stored
 outside of BigQuery.
 
 repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition table_defs = 3;
 
Returns 
  
  getTableDefsList() 
  
    
public   List<ImportedDataInfo . TableDefinition >  getTableDefsList ()  
   When used WITHOUT the "sql" parameter, describes the schema of the
 destination table.
 When used WITH the "sql" parameter, describes tables with data stored
 outside of BigQuery.
 
 repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition table_defs = 3;
 
Returns 
  
  getTableDefsOrBuilder(int index) 
  
    
public   ImportedDataInfo . TableDefinitionOrBuilder   getTableDefsOrBuilder ( int   index )  
   When used WITHOUT the "sql" parameter, describes the schema of the
 destination table.
 When used WITH the "sql" parameter, describes tables with data stored
 outside of BigQuery.
 
 repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition table_defs = 3;
 
Parameter 
  
    
      
        Name Description  
      
        indexint  
     
  
  Returns 
  
  getTableDefsOrBuilderList() 
  
    
public   List <?   extends   ImportedDataInfo . TableDefinitionOrBuilder >  getTableDefsOrBuilderList ()  
   When used WITHOUT the "sql" parameter, describes the schema of the
 destination table.
 When used WITH the "sql" parameter, describes tables with data stored
 outside of BigQuery.
 
 repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition table_defs = 3;
 
Returns 
  
    
      
        Type Description  
      
        List <? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinitionOrBuilder > 
     
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  getUserDefinedFunctions(int index) 
  
    
public   String   getUserDefinedFunctions ( int   index )  
   Inline code for User-defined function resources.
 Ignored when "sql" parameter is empty.
 repeated string user_defined_functions = 4;
Parameter 
  
    
      
        Name Description  
      
        indexint  
     
  
  Returns 
  
  getUserDefinedFunctionsBytes(int index) 
  
    
public   ByteString   getUserDefinedFunctionsBytes ( int   index )  
   Inline code for User-defined function resources.
 Ignored when "sql" parameter is empty.
 repeated string user_defined_functions = 4;
Parameter 
  
    
      
        Name Description  
      
        indexint  
     
  
  Returns 
  
  getUserDefinedFunctionsCount() 
  
    
public   int   getUserDefinedFunctionsCount ()  
   Inline code for User-defined function resources.
 Ignored when "sql" parameter is empty.
 repeated string user_defined_functions = 4;
Returns 
  
  getUserDefinedFunctionsList() 
  
    
public   ProtocolStringList   getUserDefinedFunctionsList ()  
   Inline code for User-defined function resources.
 Ignored when "sql" parameter is empty.
 repeated string user_defined_functions = 4;
Returns 
  
  getWriteDisposition() 
  
    
public   WriteDisposition   getWriteDisposition ()  
   Specifies the action if the destination table already exists.
 .google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;
Returns 
  
  getWriteDispositionValue() 
  
    
public   int   getWriteDispositionValue ()  
   Specifies the action if the destination table already exists.
 .google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;
Returns 
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   ImportedDataInfo . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ImportedDataInfo . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   ImportedDataInfo . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-28 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-28 UTC."],[],[]]