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 type
google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition| Modifier and Type | Class and Description |
|---|---|
static class |
ImportedDataInfo.TableDefinition.Builder
External table definition.
|
static class |
ImportedDataInfo.TableDefinition.CsvOptions
CSV specific options.
|
static interface |
ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder |
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 |
CSV_OPTIONS_FIELD_NUMBER |
static int |
ENCODING_FIELD_NUMBER |
static int |
FORMAT_FIELD_NUMBER |
static int |
IGNORE_UNKNOWN_VALUES_FIELD_NUMBER |
static int |
MAX_BAD_RECORDS_FIELD_NUMBER |
static int |
SCHEMA_FIELD_NUMBER |
static int |
SOURCE_URIS_FIELD_NUMBER |
static int |
TABLE_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ImportedDataInfo.TableDefinition.CsvOptions |
getCsvOptions()
CSV specific options.
|
ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder |
getCsvOptionsOrBuilder()
CSV specific options.
|
static ImportedDataInfo.TableDefinition |
getDefaultInstance() |
ImportedDataInfo.TableDefinition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ImportedDataInfo.Encoding |
getEncoding()
Character encoding of the input when applicable (CSV, JSON).
|
int |
getEncodingValue()
Character encoding of the input when applicable (CSV, JSON).
|
ImportedDataInfo.Format |
getFormat()
Describes the format of the data in source_uri.
|
int |
getFormatValue()
Describes the format of the data in source_uri.
|
com.google.protobuf.BoolValue |
getIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is
allowed.
|
com.google.protobuf.BoolValueOrBuilder |
getIgnoreUnknownValuesOrBuilder()
Indicates if extra values that are not represented in the table schema is
allowed.
|
int |
getMaxBadRecords()
Specify the maximum number of bad records that can be ignored.
|
com.google.protobuf.Parser<ImportedDataInfo.TableDefinition> |
getParserForType() |
ImportedDataInfo.RecordSchema |
getSchema()
Optional schema for the data.
|
ImportedDataInfo.RecordSchemaOrBuilder |
getSchemaOrBuilder()
Optional schema for the data.
|
int |
getSerializedSize() |
String |
getSourceUris(int index)
URIs for the data to be imported.
|
com.google.protobuf.ByteString |
getSourceUrisBytes(int index)
URIs for the data to be imported.
|
int |
getSourceUrisCount()
URIs for the data to be imported.
|
com.google.protobuf.ProtocolStringList |
getSourceUrisList()
URIs for the data to be imported.
|
String |
getTableId()
BigQuery table_id (required).
|
com.google.protobuf.ByteString |
getTableIdBytes()
BigQuery table_id (required).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCsvOptions()
CSV specific options.
|
int |
hashCode() |
boolean |
hasIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is
allowed.
|
boolean |
hasSchema()
Optional schema for the data.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportedDataInfo.TableDefinition.Builder |
newBuilder() |
static ImportedDataInfo.TableDefinition.Builder |
newBuilder(ImportedDataInfo.TableDefinition prototype) |
ImportedDataInfo.TableDefinition.Builder |
newBuilderForType() |
protected ImportedDataInfo.TableDefinition.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ImportedDataInfo.TableDefinition |
parseDelimitedFrom(InputStream input) |
static ImportedDataInfo.TableDefinition |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo.TableDefinition |
parseFrom(byte[] data) |
static ImportedDataInfo.TableDefinition |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo.TableDefinition |
parseFrom(ByteBuffer data) |
static ImportedDataInfo.TableDefinition |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo.TableDefinition |
parseFrom(com.google.protobuf.ByteString data) |
static ImportedDataInfo.TableDefinition |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo.TableDefinition |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportedDataInfo.TableDefinition |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportedDataInfo.TableDefinition |
parseFrom(InputStream input) |
static ImportedDataInfo.TableDefinition |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition> |
parser() |
ImportedDataInfo.TableDefinition.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 TABLE_ID_FIELD_NUMBER
public static final int SOURCE_URIS_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
public static final int MAX_BAD_RECORDS_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
public static final int CSV_OPTIONS_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
public static final int IGNORE_UNKNOWN_VALUES_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 getTableId()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;getTableId in interface ImportedDataInfo.TableDefinitionOrBuilderpublic com.google.protobuf.ByteString getTableIdBytes()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;getTableIdBytes in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;getSourceUrisList in interface ImportedDataInfo.TableDefinitionOrBuilderpublic int getSourceUrisCount()
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;getSourceUrisCount in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;getSourceUris in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;getSourceUrisBytes in interface ImportedDataInfo.TableDefinitionOrBuilderpublic int getFormatValue()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;getFormatValue in interface ImportedDataInfo.TableDefinitionOrBuilderpublic ImportedDataInfo.Format getFormat()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;getFormat in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;getMaxBadRecords in interface ImportedDataInfo.TableDefinitionOrBuilderpublic int getEncodingValue()
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;getEncodingValue in interface ImportedDataInfo.TableDefinitionOrBuilderpublic ImportedDataInfo.Encoding getEncoding()
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;getEncoding in interface ImportedDataInfo.TableDefinitionOrBuilderpublic boolean hasCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
hasCsvOptions in interface ImportedDataInfo.TableDefinitionOrBuilderpublic ImportedDataInfo.TableDefinition.CsvOptions getCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
getCsvOptions in interface ImportedDataInfo.TableDefinitionOrBuilderpublic ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder getCsvOptionsOrBuilder()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
getCsvOptionsOrBuilder in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;hasSchema in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;getSchema in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;getSchemaOrBuilder in interface ImportedDataInfo.TableDefinitionOrBuilderpublic boolean hasIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;hasIgnoreUnknownValues in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;getIgnoreUnknownValues in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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;getIgnoreUnknownValuesOrBuilder in interface ImportedDataInfo.TableDefinitionOrBuilderpublic 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.TableDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportedDataInfo.TableDefinition parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportedDataInfo.TableDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportedDataInfo.TableDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportedDataInfo.TableDefinition.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportedDataInfo.TableDefinition.Builder newBuilder()
public static ImportedDataInfo.TableDefinition.Builder newBuilder(ImportedDataInfo.TableDefinition prototype)
public ImportedDataInfo.TableDefinition.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportedDataInfo.TableDefinition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportedDataInfo.TableDefinition getDefaultInstance()
public static com.google.protobuf.Parser<ImportedDataInfo.TableDefinition> parser()
public com.google.protobuf.Parser<ImportedDataInfo.TableDefinition> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportedDataInfo.TableDefinition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.