Class ImportedDataInfo (2.10.0)

publicfinalclass ImportedDataInfoextendsGeneratedMessageV3implementsImportedDataInfoOrBuilder

Describes data which should be imported.

Protobuf type google.cloud.bigquery.datatransfer.v1.ImportedDataInfo

Inherited Members

Static Fields

DESTINATION_TABLE_DESCRIPTION_FIELD_NUMBER

publicstaticfinalintDESTINATION_TABLE_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_TABLE_ID_FIELD_NUMBER

publicstaticfinalintDESTINATION_TABLE_ID_FIELD_NUMBER
Field Value
Type Description
int

SQL_FIELD_NUMBER

publicstaticfinalintSQL_FIELD_NUMBER
Field Value
Type Description
int

TABLE_DEFS_FIELD_NUMBER

publicstaticfinalintTABLE_DEFS_FIELD_NUMBER
Field Value
Type Description
int

USER_DEFINED_FUNCTIONS_FIELD_NUMBER

publicstaticfinalintUSER_DEFINED_FUNCTIONS_FIELD_NUMBER
Field Value
Type Description
int

WRITE_DISPOSITION_FIELD_NUMBER

publicstaticfinalintWRITE_DISPOSITION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticImportedDataInfogetDefaultInstance()
Returns
Type Description

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

newBuilder()

publicstaticImportedDataInfo.BuildernewBuilder()
Returns
Type Description

newBuilder(ImportedDataInfo prototype)

publicstaticImportedDataInfo.BuildernewBuilder(ImportedDataInfoprototype)
Parameter
Name Description
prototype ImportedDataInfo
Returns
Type Description

parseDelimitedFrom(InputStream input)

publicstaticImportedDataInfoparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticImportedDataInfoparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data)

publicstaticImportedDataInfoparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticImportedDataInfoparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data)

publicstaticImportedDataInfoparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticImportedDataInfoparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input)

publicstaticImportedDataInfoparseFrom(CodedInputStreaminput)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticImportedDataInfoparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input)

publicstaticImportedDataInfoparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticImportedDataInfoparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data)

publicstaticImportedDataInfoparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticImportedDataInfoparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parser()

publicstaticParser<ImportedDataInfo>parser()
Returns
Type Description

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicImportedDataInfogetDefaultInstanceForType()
Returns
Type Description

getDestinationTableDescription()

publicStringgetDestinationTableDescription()

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

getDestinationTableDescriptionBytes()

publicByteStringgetDestinationTableDescriptionBytes()

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

getDestinationTableId()

publicStringgetDestinationTableId()

Table where results should be written.

string destination_table_id = 2;

Returns
Type Description

getDestinationTableIdBytes()

publicByteStringgetDestinationTableIdBytes()

Table where results should be written.

string destination_table_id = 2;

Returns
Type Description

getParserForType()

publicParser<ImportedDataInfo>getParserForType()
Returns
Type Description
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSql()

publicStringgetSql()

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

getSqlBytes()

publicByteStringgetSqlBytes()

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

getTableDefs(int index)

publicImportedDataInfo.TableDefinitiongetTableDefs(intindex)

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
index int
Returns
Type Description

getTableDefsCount()

publicintgetTableDefsCount()

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()

publicList<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
Type Description

getTableDefsOrBuilder(int index)

publicImportedDataInfo.TableDefinitionOrBuildergetTableDefsOrBuilder(intindex)

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
index int
Returns
Type Description

getTableDefsOrBuilderList()

publicList<?extendsImportedDataInfo.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()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
Overrides

getUserDefinedFunctions(int index)

publicStringgetUserDefinedFunctions(intindex)

Inline code for User-defined function resources. Ignored when "sql" parameter is empty.

repeated string user_defined_functions = 4;

Parameter
Name Description
index int
Returns
Type Description

getUserDefinedFunctionsBytes(int index)

publicByteStringgetUserDefinedFunctionsBytes(intindex)

Inline code for User-defined function resources. Ignored when "sql" parameter is empty.

repeated string user_defined_functions = 4;

Parameter
Name Description
index int
Returns
Type Description

getUserDefinedFunctionsCount()

publicintgetUserDefinedFunctionsCount()

Inline code for User-defined function resources. Ignored when "sql" parameter is empty.

repeated string user_defined_functions = 4;

Returns
Type Description
int

getUserDefinedFunctionsList()

publicProtocolStringListgetUserDefinedFunctionsList()

Inline code for User-defined function resources. Ignored when "sql" parameter is empty.

repeated string user_defined_functions = 4;

Returns
Type Description

getWriteDisposition()

publicWriteDispositiongetWriteDisposition()

Specifies the action if the destination table already exists.

.google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;

Returns
Type Description

getWriteDispositionValue()

publicintgetWriteDispositionValue()

Specifies the action if the destination table already exists.

.google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;

Returns
Type Description
int

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

newBuilderForType()

publicImportedDataInfo.BuildernewBuilderForType()
Returns
Type Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedImportedDataInfo.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Overrides

toBuilder()

publicImportedDataInfo.BuildertoBuilder()
Returns
Type Description

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
Overrides Exceptions
Type Description

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月30日 UTC.