Interface ImportedDataInfo.TableDefinitionOrBuilder (2.13.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

hasCsvOptions()

public abstract boolean hasCsvOptions()

CSV specific options.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean