public static final class ImportedDataInfo.TableDefinition extends 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CSV_OPTIONS_FIELD_NUMBER
public static final int CSV_OPTIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int FORMAT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IGNORE_UNKNOWN_VALUES_FIELD_NUMBER
public static final int IGNORE_UNKNOWN_VALUES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAX_BAD_RECORDS_FIELD_NUMBER
public static final int MAX_BAD_RECORDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_URIS_FIELD_NUMBER
public static final int SOURCE_URIS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TABLE_ID_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ImportedDataInfo.TableDefinition getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportedDataInfo.TableDefinition.Builder newBuilder()
newBuilder(ImportedDataInfo.TableDefinition prototype)
public static ImportedDataInfo.TableDefinition.Builder newBuilder(ImportedDataInfo.TableDefinition prototype)
public static ImportedDataInfo.TableDefinition parseDelimitedFrom(InputStream input)
public static ImportedDataInfo.TableDefinition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportedDataInfo.TableDefinition parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportedDataInfo.TableDefinition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition parseFrom(CodedInputStream input)
public static ImportedDataInfo.TableDefinition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition parseFrom(InputStream input)
public static ImportedDataInfo.TableDefinition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportedDataInfo.TableDefinition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.TableDefinition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportedDataInfo.TableDefinition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCsvOptions()
public ImportedDataInfo.TableDefinition.CsvOptions getCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
getCsvOptionsOrBuilder()
public ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder getCsvOptionsOrBuilder()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
getDefaultInstanceForType()
public ImportedDataInfo.TableDefinition getDefaultInstanceForType()
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;
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;
Returns |
---|
Type | Description |
int | |
public ImportedDataInfo.Format getFormat()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
public int getFormatValue()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
Returns |
---|
Type | Description |
int | |
getIgnoreUnknownValues()
public BoolValue getIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is
allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
getIgnoreUnknownValuesOrBuilder()
public BoolValueOrBuilder getIgnoreUnknownValuesOrBuilder()
Indicates if extra values that are not represented in the table schema is
allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
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;
Returns |
---|
Type | Description |
int | |
getParserForType()
public Parser<ImportedDataInfo.TableDefinition> getParserForType()
Overrides
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;
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSourceUris(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getSourceUrisBytes(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
|
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;
Returns |
---|
Type | Description |
int | |
getSourceUrisList()
public ProtocolStringList getSourceUrisList()
URIs for the data to be imported. All URIs must be from the same storage
system.
repeated string source_uris = 2;
getTableId()
public String getTableId()
BigQuery table_id (required). This will be used to reference this
table in the query.
string table_id = 1;
getTableIdBytes()
public ByteString getTableIdBytes()
BigQuery table_id (required). This will be used to reference this
table in the query.
string table_id = 1;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasCsvOptions()
public boolean hasCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
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;
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;
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportedDataInfo.TableDefinition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportedDataInfo.TableDefinition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
toBuilder()
public ImportedDataInfo.TableDefinition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides