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 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
-
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 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 ImportedDataInfo
parseFrom(ByteBuffer data)
static ImportedDataInfo
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ImportedDataInfo>
parser()
ImportedDataInfo.Builder
toBuilder()
void
writeTo(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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getSql
in 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:
getSqlBytes
in interfaceImportedDataInfoOrBuilder
-
getDestinationTableId
public String getDestinationTableId()
Table where results should be written.
string destination_table_id = 2;
- Specified by:
getDestinationTableId
in interfaceImportedDataInfoOrBuilder
-
getDestinationTableIdBytes
public com.google.protobuf.ByteString getDestinationTableIdBytes()
Table where results should be written.
string destination_table_id = 2;
- Specified by:
getDestinationTableIdBytes
in 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:
getDestinationTableDescription
in 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:
getDestinationTableDescriptionBytes
in 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:
getTableDefsList
in 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:
getTableDefsOrBuilderList
in 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:
getTableDefsCount
in 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:
getTableDefs
in 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:
getTableDefsOrBuilder
in 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:
getUserDefinedFunctionsList
in 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:
getUserDefinedFunctionsCount
in 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:
getUserDefinedFunctions
in 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:
getUserDefinedFunctionsBytes
in 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:
getWriteDispositionValue
in 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:
getWriteDisposition
in interfaceImportedDataInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImportedDataInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImportedDataInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-