Interface ImportedDataInfo.TableDefinitionOrBuilder (2.45.0)

public static interface ImportedDataInfo.TableDefinitionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCsvOptions()

public abstract ImportedDataInfo.TableDefinition.CsvOptions getCsvOptions()

CSV specific options.

.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;

Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptions

getCsvOptionsOrBuilder()

public abstract ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder getCsvOptionsOrBuilder()

CSV specific options.

.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;

Returns
Type Description
ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder

getEncoding()

public abstract ImportedDataInfo.Encoding getEncoding()

Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.

.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;

Returns
Type Description
ImportedDataInfo.Encoding

getEncodingValue()

public abstract 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

getFormat()

public abstract ImportedDataInfo.Format getFormat()

Describes the format of the data in source_uri.

.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;

Returns
Type Description
ImportedDataInfo.Format

getFormatValue()

public abstract 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 abstract BoolValue getIgnoreUnknownValues()

Indicates if extra values that are not represented in the table schema is allowed.

.google.protobuf.BoolValue ignore_unknown_values = 10;

Returns
Type Description
BoolValue

getIgnoreUnknownValuesOrBuilder()

public abstract BoolValueOrBuilder getIgnoreUnknownValuesOrBuilder()

Indicates if extra values that are not represented in the table schema is allowed.

.google.protobuf.BoolValue ignore_unknown_values = 10;

Returns
Type Description
BoolValueOrBuilder

getMaxBadRecords()

public abstract 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

getSchema()

public abstract 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;

Returns
Type Description
ImportedDataInfo.RecordSchema

getSchemaOrBuilder()

public abstract 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;

Returns
Type Description
ImportedDataInfo.RecordSchemaOrBuilder

getSourceUris(int index)

public abstract 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
Returns
Type Description
String

getSourceUrisBytes(int index)

public abstract 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
Returns
Type Description
ByteString

getSourceUrisCount()

public abstract 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 abstract List<String> getSourceUrisList()

URIs for the data to be imported. All URIs must be from the same storage system.

repeated string source_uris = 2;

Returns
Type Description
List<String>

getTableId()

public abstract String getTableId()

BigQuery table_id (required). This will be used to reference this table in the query.

string table_id = 1;

Returns
Type Description
String

getTableIdBytes()

public abstract ByteString getTableIdBytes()

BigQuery table_id (required). This will be used to reference this table in the query.

string table_id = 1;

Returns
Type Description
ByteString

hasCsvOptions()

public abstract boolean hasCsvOptions()

CSV specific options.

.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;

Returns
Type Description
boolean

hasIgnoreUnknownValues()

public abstract boolean hasIgnoreUnknownValues()

Indicates if extra values that are not represented in the table schema is allowed.

.google.protobuf.BoolValue ignore_unknown_values = 10;

Returns
Type Description
boolean

hasSchema()

public abstract 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;

Returns
Type Description
boolean