Class ImportedDataInfo (2.15.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.15.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  
      
        Type Description  
      
        int  
     
  
  DESTINATION_TABLE_ID_FIELD_NUMBER 
  
    
public   static   final   int   DESTINATION_TABLE_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SQL_FIELD_NUMBER 
  
    
public   static   final   int   SQL_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TABLE_DEFS_FIELD_NUMBER 
  
    
public   static   final   int   TABLE_DEFS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  USER_DEFINED_FUNCTIONS_FIELD_NUMBER 
  
    
public   static   final   int   USER_DEFINED_FUNCTIONS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  WRITE_DISPOSITION_FIELD_NUMBER 
  
    
public   static   final   int   WRITE_DISPOSITION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   ImportedDataInfo   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   ImportedDataInfo . Builder   newBuilder ()  
  
  newBuilder(ImportedDataInfo prototype) 
  
    
public   static   ImportedDataInfo . Builder   newBuilder ( ImportedDataInfo   prototype )  
  
  
  
    
public   static   ImportedDataInfo   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ImportedDataInfo   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   ImportedDataInfo   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportedDataInfo   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   ImportedDataInfo   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportedDataInfo   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ImportedDataInfo   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ImportedDataInfo   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ImportedDataInfo   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ImportedDataInfo   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   ImportedDataInfo   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportedDataInfo   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<ImportedDataInfo>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ImportedDataInfo   getDefaultInstanceForType ()  
  
  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  
      
        Type Description  
      
        String  
     
  
  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;
getDestinationTableId() 
  
    
public   String   getDestinationTableId ()  
   Table where results should be written.
 string destination_table_id = 2;
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getDestinationTableIdBytes() 
  
    
public   ByteString   getDestinationTableIdBytes ()  
   Table where results should be written.
 string destination_table_id = 2;
getParserForType() 
  
    
public   Parser<ImportedDataInfo>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  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  
      
        Type Description  
      
        String  
     
  
  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;
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  
     
  
  
  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  
      
        Type Description  
      
        int  
     
  
  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;
 
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  
     
  
  
  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 ()  
  
  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  
      
        Type Description  
      
        String  
     
  
  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  
     
  
  
  getUserDefinedFunctionsCount() 
  
    
public   int   getUserDefinedFunctionsCount ()  
   Inline code for User-defined function resources.
 Ignored when "sql" parameter is empty.
 repeated string user_defined_functions = 4;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getUserDefinedFunctionsList() 
  
    
public   ProtocolStringList   getUserDefinedFunctionsList ()  
   Inline code for User-defined function resources.
 Ignored when "sql" parameter is empty.
 repeated string user_defined_functions = 4;
getWriteDisposition() 
  
    
public   WriteDisposition   getWriteDisposition ()  
   Specifies the action if the destination table already exists.
 .google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;
getWriteDispositionValue() 
  
    
public   int   getWriteDispositionValue ()  
   Specifies the action if the destination table already exists.
 .google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   ImportedDataInfo . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ImportedDataInfo . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  toBuilder() 
  
    
public   ImportedDataInfo . 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-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."],[],[]]