Class ImportedDataInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo
-
- All Implemented Interfaces:
ImportedDataInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ImportedDataInfo extends com.google.protobuf.GeneratedMessageV3 implements ImportedDataInfoOrBuilder
Describes data which should be imported.
Protobuf typegoogle.cloud.bigquery.datatransfer.v1.ImportedDataInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImportedDataInfo.BuilderDescribes data which should be imported.static classImportedDataInfo.EncodingEncoding of input data in CSV/JSON format.static classImportedDataInfo.FieldSchemaDefines schema of a field in the imported data.static interfaceImportedDataInfo.FieldSchemaOrBuilderstatic classImportedDataInfo.FormatData format.static classImportedDataInfo.RecordSchemaDescribes schema of the data to be ingested.static interfaceImportedDataInfo.RecordSchemaOrBuilderstatic classImportedDataInfo.TableDefinitionExternal table definition.static interfaceImportedDataInfo.TableDefinitionOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intDESTINATION_TABLE_DESCRIPTION_FIELD_NUMBERstatic intDESTINATION_TABLE_ID_FIELD_NUMBERstatic intSQL_FIELD_NUMBERstatic intTABLE_DEFS_FIELD_NUMBERstatic intUSER_DEFINED_FUNCTIONS_FIELD_NUMBERstatic intWRITE_DISPOSITION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static ImportedDataInfogetDefaultInstance()ImportedDataInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDestinationTableDescription()The description of a destination table.com.google.protobuf.ByteStringgetDestinationTableDescriptionBytes()The description of a destination table.StringgetDestinationTableId()Table where results should be written.com.google.protobuf.ByteStringgetDestinationTableIdBytes()Table where results should be written.com.google.protobuf.Parser<ImportedDataInfo>getParserForType()intgetSerializedSize()StringgetSql()SQL query to run.com.google.protobuf.ByteStringgetSqlBytes()SQL query to run.ImportedDataInfo.TableDefinitiongetTableDefs(int index)When used WITHOUT the "sql" parameter, describes the schema of the destination table.intgetTableDefsCount()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.TableDefinitionOrBuildergetTableDefsOrBuilder(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.UnknownFieldSetgetUnknownFields()StringgetUserDefinedFunctions(int index)Inline code for User-defined function resources.com.google.protobuf.ByteStringgetUserDefinedFunctionsBytes(int index)Inline code for User-defined function resources.intgetUserDefinedFunctionsCount()Inline code for User-defined function resources.com.google.protobuf.ProtocolStringListgetUserDefinedFunctionsList()Inline code for User-defined function resources.WriteDispositiongetWriteDisposition()Specifies the action if the destination table already exists.intgetWriteDispositionValue()Specifies the action if the destination table already exists.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ImportedDataInfo.BuildernewBuilder()static ImportedDataInfo.BuildernewBuilder(ImportedDataInfo prototype)ImportedDataInfo.BuildernewBuilderForType()protected ImportedDataInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static ImportedDataInfoparseDelimitedFrom(InputStream input)static ImportedDataInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfoparseFrom(byte[] data)static ImportedDataInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfoparseFrom(com.google.protobuf.ByteString data)static ImportedDataInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfoparseFrom(com.google.protobuf.CodedInputStream input)static ImportedDataInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfoparseFrom(InputStream input)static ImportedDataInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfoparseFrom(ByteBuffer data)static ImportedDataInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ImportedDataInfo>parser()ImportedDataInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SQL_FIELD_NUMBER
public static final int SQL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESTINATION_TABLE_ID_FIELD_NUMBER
public static final int DESTINATION_TABLE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESTINATION_TABLE_DESCRIPTION_FIELD_NUMBER
public static final int DESTINATION_TABLE_DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLE_DEFS_FIELD_NUMBER
public static final int TABLE_DEFS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_DEFINED_FUNCTIONS_FIELD_NUMBER
public static final int USER_DEFINED_FUNCTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WRITE_DISPOSITION_FIELD_NUMBER
public static final int WRITE_DISPOSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSql
public 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;- Specified by:
getSqlin interfaceImportedDataInfoOrBuilder
-
getSqlBytes
public 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;- Specified by:
getSqlBytesin interfaceImportedDataInfoOrBuilder
-
getDestinationTableId
public String getDestinationTableId()
Table where results should be written.
string destination_table_id = 2;- Specified by:
getDestinationTableIdin interfaceImportedDataInfoOrBuilder
-
getDestinationTableIdBytes
public com.google.protobuf.ByteString getDestinationTableIdBytes()
Table where results should be written.
string destination_table_id = 2;- Specified by:
getDestinationTableIdBytesin interfaceImportedDataInfoOrBuilder
-
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;- Specified by:
getDestinationTableDescriptionin interfaceImportedDataInfoOrBuilder
-
getDestinationTableDescriptionBytes
public 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;- Specified by:
getDestinationTableDescriptionBytesin interfaceImportedDataInfoOrBuilder
-
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;- Specified by:
getTableDefsListin interfaceImportedDataInfoOrBuilder
-
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;- Specified by:
getTableDefsOrBuilderListin interfaceImportedDataInfoOrBuilder
-
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;- Specified by:
getTableDefsCountin interfaceImportedDataInfoOrBuilder
-
getTableDefs
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;- Specified by:
getTableDefsin interfaceImportedDataInfoOrBuilder
-
getTableDefsOrBuilder
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;- Specified by:
getTableDefsOrBuilderin interfaceImportedDataInfoOrBuilder
-
getUserDefinedFunctionsList
public com.google.protobuf.ProtocolStringList getUserDefinedFunctionsList()
Inline code for User-defined function resources. Ignored when "sql" parameter is empty.
repeated string user_defined_functions = 4;- Specified by:
getUserDefinedFunctionsListin interfaceImportedDataInfoOrBuilder
-
getUserDefinedFunctionsCount
public int getUserDefinedFunctionsCount()
Inline code for User-defined function resources. Ignored when "sql" parameter is empty.
repeated string user_defined_functions = 4;- Specified by:
getUserDefinedFunctionsCountin interfaceImportedDataInfoOrBuilder
-
getUserDefinedFunctions
public String getUserDefinedFunctions(int index)
Inline code for User-defined function resources. Ignored when "sql" parameter is empty.
repeated string user_defined_functions = 4;- Specified by:
getUserDefinedFunctionsin interfaceImportedDataInfoOrBuilder
-
getUserDefinedFunctionsBytes
public 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;- Specified by:
getUserDefinedFunctionsBytesin interfaceImportedDataInfoOrBuilder
-
getWriteDispositionValue
public int getWriteDispositionValue()
Specifies the action if the destination table already exists.
.google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;- Specified by:
getWriteDispositionValuein interfaceImportedDataInfoOrBuilder
-
getWriteDisposition
public WriteDisposition getWriteDisposition()
Specifies the action if the destination table already exists.
.google.cloud.bigquery.datatransfer.v1.WriteDisposition write_disposition = 6;- Specified by:
getWriteDispositionin interfaceImportedDataInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ImportedDataInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImportedDataInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImportedDataInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ImportedDataInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ImportedDataInfo.Builder newBuilder()
-
newBuilder
public static ImportedDataInfo.Builder newBuilder(ImportedDataInfo prototype)
-
toBuilder
public ImportedDataInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImportedDataInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ImportedDataInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ImportedDataInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<ImportedDataInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImportedDataInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-