public final class ImportedDataInfo extends com.google.protobuf.GeneratedMessageV3 implements ImportedDataInfoOrBuilder
Describes data which should be imported.Protobuf type
google.cloud.bigquery.datatransfer.v1.ImportedDataInfo| Modifier and Type | Class and Description |
|---|---|
static class |
ImportedDataInfo.Builder
Describes data which should be imported.
|
static class |
ImportedDataInfo.Encoding
Encoding of input data in CSV/JSON format.
|
static class |
ImportedDataInfo.FieldSchema
Defines schema of a field in the imported data.
|
static interface |
ImportedDataInfo.FieldSchemaOrBuilder |
static class |
ImportedDataInfo.Format
Data format.
|
static class |
ImportedDataInfo.RecordSchema
Describes schema of the data to be ingested.
|
static interface |
ImportedDataInfo.RecordSchemaOrBuilder |
static class |
ImportedDataInfo.TableDefinition
External table definition.
|
static interface |
ImportedDataInfo.TableDefinitionOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DESTINATION_TABLE_DESCRIPTION_FIELD_NUMBER |
static int |
DESTINATION_TABLE_ID_FIELD_NUMBER |
static int |
SQL_FIELD_NUMBER |
static int |
TABLE_DEFS_FIELD_NUMBER |
static int |
USER_DEFINED_FUNCTIONS_FIELD_NUMBER |
static int |
WRITE_DISPOSITION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ImportedDataInfo |
getDefaultInstance() |
ImportedDataInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestinationTableDescription()
The description of a destination table.
|
com.google.protobuf.ByteString |
getDestinationTableDescriptionBytes()
The description of a destination table.
|
String |
getDestinationTableId()
Table where results should be written.
|
com.google.protobuf.ByteString |
getDestinationTableIdBytes()
Table where results should be written.
|
com.google.protobuf.Parser<ImportedDataInfo> |
getParserForType() |
int |
getSerializedSize() |
String |
getSql()
SQL query to run.
|
com.google.protobuf.ByteString |
getSqlBytes()
SQL query to run.
|
ImportedDataInfo.TableDefinition |
getTableDefs(int index)
When used WITHOUT the "sql" parameter, describes the schema of the
destination table.
|
int |
getTableDefsCount()
When used WITHOUT the "sql" parameter, describes the schema of the
destination table.
|
List<ImportedDataInfo.TableDefinition> |
getTableDefsList()
When used WITHOUT the "sql" parameter, describes the schema of the
destination table.
|
ImportedDataInfo.TableDefinitionOrBuilder |
getTableDefsOrBuilder(int index)
When used WITHOUT the "sql" parameter, describes the schema of the
destination table.
|
List<? extends ImportedDataInfo.TableDefinitionOrBuilder> |
getTableDefsOrBuilderList()
When used WITHOUT the "sql" parameter, describes the schema of the
destination table.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUserDefinedFunctions(int index)
Inline code for User-defined function resources.
|
com.google.protobuf.ByteString |
getUserDefinedFunctionsBytes(int index)
Inline code for User-defined function resources.
|
int |
getUserDefinedFunctionsCount()
Inline code for User-defined function resources.
|
com.google.protobuf.ProtocolStringList |
getUserDefinedFunctionsList()
Inline code for User-defined function resources.
|
WriteDisposition |
getWriteDisposition()
Specifies the action if the destination table already exists.
|
int |
getWriteDispositionValue()
Specifies the action if the destination table already exists.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportedDataInfo.Builder |
newBuilder() |
static ImportedDataInfo.Builder |
newBuilder(ImportedDataInfo prototype) |
ImportedDataInfo.Builder |
newBuilderForType() |
protected ImportedDataInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ImportedDataInfo |
parseDelimitedFrom(InputStream input) |
static ImportedDataInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo |
parseFrom(byte[] data) |
static ImportedDataInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo |
parseFrom(ByteBuffer data) |
static ImportedDataInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo |
parseFrom(com.google.protobuf.ByteString data) |
static ImportedDataInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportedDataInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo |
parseFrom(InputStream input) |
static ImportedDataInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportedDataInfo> |
parser() |
ImportedDataInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SQL_FIELD_NUMBER
public static final int DESTINATION_TABLE_ID_FIELD_NUMBER
public static final int DESTINATION_TABLE_DESCRIPTION_FIELD_NUMBER
public static final int TABLE_DEFS_FIELD_NUMBER
public static final int USER_DEFINED_FUNCTIONS_FIELD_NUMBER
public static final int WRITE_DISPOSITION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String 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;getSql in interface ImportedDataInfoOrBuilderpublic com.google.protobuf.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;getSqlBytes in interface ImportedDataInfoOrBuilderpublic String getDestinationTableId()
Table where results should be written.
string destination_table_id = 2;getDestinationTableId in interface ImportedDataInfoOrBuilderpublic com.google.protobuf.ByteString getDestinationTableIdBytes()
Table where results should be written.
string destination_table_id = 2;getDestinationTableIdBytes in interface ImportedDataInfoOrBuilderpublic 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;getDestinationTableDescription in interface ImportedDataInfoOrBuilderpublic com.google.protobuf.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;getDestinationTableDescriptionBytes in interface ImportedDataInfoOrBuilderpublic 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;
getTableDefsList in interface ImportedDataInfoOrBuilderpublic 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;
getTableDefsOrBuilderList in interface ImportedDataInfoOrBuilderpublic 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;
getTableDefsCount in interface ImportedDataInfoOrBuilderpublic 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;
getTableDefs in interface ImportedDataInfoOrBuilderpublic 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;
getTableDefsOrBuilder in interface ImportedDataInfoOrBuilderpublic com.google.protobuf.ProtocolStringList getUserDefinedFunctionsList()
Inline code for User-defined function resources. Ignored when "sql" parameter is empty.
repeated string user_defined_functions = 4;getUserDefinedFunctionsList in interface ImportedDataInfoOrBuilderpublic int getUserDefinedFunctionsCount()
Inline code for User-defined function resources. Ignored when "sql" parameter is empty.
repeated string user_defined_functions = 4;getUserDefinedFunctionsCount in interface ImportedDataInfoOrBuilderpublic String getUserDefinedFunctions(int index)
Inline code for User-defined function resources. Ignored when "sql" parameter is empty.
repeated string user_defined_functions = 4;getUserDefinedFunctions in interface ImportedDataInfoOrBuilderpublic com.google.protobuf.ByteString getUserDefinedFunctionsBytes(int index)
Inline code for User-defined function resources. Ignored when "sql" parameter is empty.
repeated string user_defined_functions = 4;getUserDefinedFunctionsBytes in interface ImportedDataInfoOrBuilderpublic int getWriteDispositionValue()
Specifies the action if the destination table already exists.
.google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;getWriteDispositionValue in interface ImportedDataInfoOrBuilderpublic WriteDisposition getWriteDisposition()
Specifies the action if the destination table already exists.
.google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;getWriteDisposition in interface ImportedDataInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ImportedDataInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportedDataInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportedDataInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportedDataInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportedDataInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportedDataInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportedDataInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportedDataInfo.Builder newBuilder()
public static ImportedDataInfo.Builder newBuilder(ImportedDataInfo prototype)
public ImportedDataInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportedDataInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportedDataInfo getDefaultInstance()
public static com.google.protobuf.Parser<ImportedDataInfo> parser()
public com.google.protobuf.Parser<ImportedDataInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportedDataInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.