Class ImportedDataInfo.TableDefinition
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition
-
- All Implemented Interfaces:
ImportedDataInfo.TableDefinitionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ImportedDataInfo
public static final class ImportedDataInfo.TableDefinition extends com.google.protobuf.GeneratedMessageV3 implements ImportedDataInfo.TableDefinitionOrBuilder
External table definition. These tables can be referenced with 'name' in the query and can be read just like any other table.
Protobuf typegoogle.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImportedDataInfo.TableDefinition.BuilderExternal table definition.static classImportedDataInfo.TableDefinition.CsvOptionsCSV specific options.static interfaceImportedDataInfo.TableDefinition.CsvOptionsOrBuilder-
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 intCSV_OPTIONS_FIELD_NUMBERstatic intENCODING_FIELD_NUMBERstatic intFORMAT_FIELD_NUMBERstatic intIGNORE_UNKNOWN_VALUES_FIELD_NUMBERstatic intMAX_BAD_RECORDS_FIELD_NUMBERstatic intSCHEMA_FIELD_NUMBERstatic intSOURCE_URIS_FIELD_NUMBERstatic intTABLE_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ImportedDataInfo.TableDefinition.CsvOptionsgetCsvOptions()CSV specific options.ImportedDataInfo.TableDefinition.CsvOptionsOrBuildergetCsvOptionsOrBuilder()CSV specific options.static ImportedDataInfo.TableDefinitiongetDefaultInstance()ImportedDataInfo.TableDefinitiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ImportedDataInfo.EncodinggetEncoding()Character encoding of the input when applicable (CSV, JSON).intgetEncodingValue()Character encoding of the input when applicable (CSV, JSON).ImportedDataInfo.FormatgetFormat()Describes the format of the data in source_uri.intgetFormatValue()Describes the format of the data in source_uri.com.google.protobuf.BoolValuegetIgnoreUnknownValues()Indicates if extra values that are not represented in the table schema is allowed.com.google.protobuf.BoolValueOrBuildergetIgnoreUnknownValuesOrBuilder()Indicates if extra values that are not represented in the table schema is allowed.intgetMaxBadRecords()Specify the maximum number of bad records that can be ignored.com.google.protobuf.Parser<ImportedDataInfo.TableDefinition>getParserForType()ImportedDataInfo.RecordSchemagetSchema()Optional schema for the data.ImportedDataInfo.RecordSchemaOrBuildergetSchemaOrBuilder()Optional schema for the data.intgetSerializedSize()StringgetSourceUris(int index)URIs for the data to be imported.com.google.protobuf.ByteStringgetSourceUrisBytes(int index)URIs for the data to be imported.intgetSourceUrisCount()URIs for the data to be imported.com.google.protobuf.ProtocolStringListgetSourceUrisList()URIs for the data to be imported.StringgetTableId()BigQuery table_id (required).com.google.protobuf.ByteStringgetTableIdBytes()BigQuery table_id (required).com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCsvOptions()CSV specific options.inthashCode()booleanhasIgnoreUnknownValues()Indicates if extra values that are not represented in the table schema is allowed.booleanhasSchema()Optional schema for the data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ImportedDataInfo.TableDefinition.BuildernewBuilder()static ImportedDataInfo.TableDefinition.BuildernewBuilder(ImportedDataInfo.TableDefinition prototype)ImportedDataInfo.TableDefinition.BuildernewBuilderForType()protected ImportedDataInfo.TableDefinition.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static ImportedDataInfo.TableDefinitionparseDelimitedFrom(InputStream input)static ImportedDataInfo.TableDefinitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinitionparseFrom(byte[] data)static ImportedDataInfo.TableDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinitionparseFrom(com.google.protobuf.ByteString data)static ImportedDataInfo.TableDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinitionparseFrom(com.google.protobuf.CodedInputStream input)static ImportedDataInfo.TableDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinitionparseFrom(InputStream input)static ImportedDataInfo.TableDefinitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImportedDataInfo.TableDefinitionparseFrom(ByteBuffer data)static ImportedDataInfo.TableDefinitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition>parser()ImportedDataInfo.TableDefinition.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
-
TABLE_ID_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_URIS_FIELD_NUMBER
public static final int SOURCE_URIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_BAD_RECORDS_FIELD_NUMBER
public static final int MAX_BAD_RECORDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CSV_OPTIONS_FIELD_NUMBER
public static final int CSV_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IGNORE_UNKNOWN_VALUES_FIELD_NUMBER
public static final int IGNORE_UNKNOWN_VALUES_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
-
getTableId
public String getTableId()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;- Specified by:
getTableIdin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getTableIdBytes
public com.google.protobuf.ByteString getTableIdBytes()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;- Specified by:
getTableIdBytesin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSourceUrisList
public com.google.protobuf.ProtocolStringList getSourceUrisList()
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;- Specified by:
getSourceUrisListin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSourceUrisCount
public int getSourceUrisCount()
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;- Specified by:
getSourceUrisCountin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSourceUris
public String getSourceUris(int index)
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;- Specified by:
getSourceUrisin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSourceUrisBytes
public com.google.protobuf.ByteString getSourceUrisBytes(int index)
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;- Specified by:
getSourceUrisBytesin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getFormatValue
public int getFormatValue()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;- Specified by:
getFormatValuein interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getFormat
public ImportedDataInfo.Format getFormat()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;- Specified by:
getFormatin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getMaxBadRecords
public int getMaxBadRecords()
Specify the maximum number of bad records that can be ignored. If bad records exceed this threshold the query is aborted.
int32 max_bad_records = 4;- Specified by:
getMaxBadRecordsin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getEncodingValue
public int getEncodingValue()
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;- Specified by:
getEncodingValuein interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getEncoding
public ImportedDataInfo.Encoding getEncoding()
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;- Specified by:
getEncodingin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
hasCsvOptions
public boolean hasCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;- Specified by:
hasCsvOptionsin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getCsvOptions
public ImportedDataInfo.TableDefinition.CsvOptions getCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;- Specified by:
getCsvOptionsin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getCsvOptionsOrBuilder
public ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder getCsvOptionsOrBuilder()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;- Specified by:
getCsvOptionsOrBuilderin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
hasSchema
public boolean hasSchema()
Optional schema for the data. When not specified for JSON and CSV formats we will try to detect it automatically.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 7;- Specified by:
hasSchemain interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSchema
public ImportedDataInfo.RecordSchema getSchema()
Optional schema for the data. When not specified for JSON and CSV formats we will try to detect it automatically.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 7;- Specified by:
getSchemain interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getSchemaOrBuilder
public ImportedDataInfo.RecordSchemaOrBuilder getSchemaOrBuilder()
Optional schema for the data. When not specified for JSON and CSV formats we will try to detect it automatically.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 7;- Specified by:
getSchemaOrBuilderin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
hasIgnoreUnknownValues
public boolean hasIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;- Specified by:
hasIgnoreUnknownValuesin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getIgnoreUnknownValues
public com.google.protobuf.BoolValue getIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;- Specified by:
getIgnoreUnknownValuesin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
getIgnoreUnknownValuesOrBuilder
public com.google.protobuf.BoolValueOrBuilder getIgnoreUnknownValuesOrBuilder()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;- Specified by:
getIgnoreUnknownValuesOrBuilderin interfaceImportedDataInfo.TableDefinitionOrBuilder
-
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.TableDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition 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.TableDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImportedDataInfo.TableDefinition parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImportedDataInfo.TableDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ImportedDataInfo.TableDefinition.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ImportedDataInfo.TableDefinition.Builder newBuilder()
-
newBuilder
public static ImportedDataInfo.TableDefinition.Builder newBuilder(ImportedDataInfo.TableDefinition prototype)
-
toBuilder
public ImportedDataInfo.TableDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImportedDataInfo.TableDefinition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ImportedDataInfo.TableDefinition getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition> parser()
-
getParserForType
public com.google.protobuf.Parser<ImportedDataInfo.TableDefinition> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImportedDataInfo.TableDefinition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-