- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.17
- 2.2.6
- 2.1.23
- 2.0.27
public static final class ImportedDataInfo.TableDefinition.Builder extends GeneratedMessageV3.Builder<ImportedDataInfo.TableDefinition.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportedDataInfo.TableDefinition.BuilderImplements
ImportedDataInfo.TableDefinitionOrBuilderMethods
addAllSourceUris(Iterable<String> values)
public ImportedDataInfo.TableDefinition.Builder addAllSourceUris(Iterable<String> values)
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
Name | Description |
values | Iterable<String> |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo.TableDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
addSourceUris(String value)
public ImportedDataInfo.TableDefinition.Builder addSourceUris(String value)
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
Name | Description |
value | String |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
addSourceUrisBytes(ByteString value)
public ImportedDataInfo.TableDefinition.Builder addSourceUrisBytes(ByteString value)
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
Name | Description |
value | ByteString |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
build()
public ImportedDataInfo.TableDefinition build()
Type | Description |
ImportedDataInfo.TableDefinition |
buildPartial()
public ImportedDataInfo.TableDefinition buildPartial()
Type | Description |
ImportedDataInfo.TableDefinition |
clear()
public ImportedDataInfo.TableDefinition.Builder clear()
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearCsvOptions()
public ImportedDataInfo.TableDefinition.Builder clearCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearEncoding()
public ImportedDataInfo.TableDefinition.Builder clearEncoding()
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImportedDataInfo.TableDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearFormat()
public ImportedDataInfo.TableDefinition.Builder clearFormat()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearIgnoreUnknownValues()
public ImportedDataInfo.TableDefinition.Builder clearIgnoreUnknownValues()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearMaxBadRecords()
public ImportedDataInfo.TableDefinition.Builder clearMaxBadRecords()
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;
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportedDataInfo.TableDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearSchema()
public ImportedDataInfo.TableDefinition.Builder clearSchema()
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;
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearSourceUris()
public ImportedDataInfo.TableDefinition.Builder clearSourceUris()
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clearTableId()
public ImportedDataInfo.TableDefinition.Builder clearTableId()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
clone()
public ImportedDataInfo.TableDefinition.Builder clone()
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
getCsvOptions()
public ImportedDataInfo.TableDefinition.CsvOptions getCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
Type | Description |
ImportedDataInfo.TableDefinition.CsvOptions |
getCsvOptionsBuilder()
public ImportedDataInfo.TableDefinition.CsvOptions.Builder getCsvOptionsBuilder()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
Type | Description |
ImportedDataInfo.TableDefinition.CsvOptions.Builder |
getCsvOptionsOrBuilder()
public ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder getCsvOptionsOrBuilder()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
Type | Description |
ImportedDataInfo.TableDefinition.CsvOptionsOrBuilder |
getDefaultInstanceForType()
public ImportedDataInfo.TableDefinition getDefaultInstanceForType()
Type | Description |
ImportedDataInfo.TableDefinition |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
ImportedDataInfo.Encoding |
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;
Type | Description |
int |
getFormat()
public ImportedDataInfo.Format getFormat()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
Type | Description |
ImportedDataInfo.Format |
getFormatValue()
public int getFormatValue()
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
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;
Type | Description |
BoolValue |
getIgnoreUnknownValuesBuilder()
public BoolValue.Builder getIgnoreUnknownValuesBuilder()
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
Type | Description |
Builder |
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;
Type | Description |
BoolValueOrBuilder |
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;
Type | Description |
int |
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;
Type | Description |
ImportedDataInfo.RecordSchema |
getSchemaBuilder()
public ImportedDataInfo.RecordSchema.Builder getSchemaBuilder()
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;
Type | Description |
ImportedDataInfo.RecordSchema.Builder |
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;
Type | Description |
ImportedDataInfo.RecordSchemaOrBuilder |
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;
Name | Description |
index | int |
Type | Description |
String |
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;
Name | Description |
index | int |
Type | Description |
ByteString |
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;
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;
Type | Description |
ProtocolStringList |
getTableId()
public String getTableId()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;
Type | Description |
String |
getTableIdBytes()
public ByteString getTableIdBytes()
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;
Type | Description |
ByteString |
hasCsvOptions()
public boolean hasCsvOptions()
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
Type | Description |
boolean |
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;
Type | Description |
boolean |
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;
Type | Description |
boolean |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCsvOptions(ImportedDataInfo.TableDefinition.CsvOptions value)
public ImportedDataInfo.TableDefinition.Builder mergeCsvOptions(ImportedDataInfo.TableDefinition.CsvOptions value)
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
Name | Description |
value | ImportedDataInfo.TableDefinition.CsvOptions |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
mergeFrom(ImportedDataInfo.TableDefinition other)
public ImportedDataInfo.TableDefinition.Builder mergeFrom(ImportedDataInfo.TableDefinition other)
Name | Description |
other | ImportedDataInfo.TableDefinition |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportedDataInfo.TableDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ImportedDataInfo.TableDefinition.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
mergeIgnoreUnknownValues(BoolValue value)
public ImportedDataInfo.TableDefinition.Builder mergeIgnoreUnknownValues(BoolValue value)
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
Name | Description |
value | BoolValue |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
mergeSchema(ImportedDataInfo.RecordSchema value)
public ImportedDataInfo.TableDefinition.Builder mergeSchema(ImportedDataInfo.RecordSchema value)
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;
Name | Description |
value | ImportedDataInfo.RecordSchema |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo.TableDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setCsvOptions(ImportedDataInfo.TableDefinition.CsvOptions value)
public ImportedDataInfo.TableDefinition.Builder setCsvOptions(ImportedDataInfo.TableDefinition.CsvOptions value)
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
Name | Description |
value | ImportedDataInfo.TableDefinition.CsvOptions |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setCsvOptions(ImportedDataInfo.TableDefinition.CsvOptions.Builder builderForValue)
public ImportedDataInfo.TableDefinition.Builder setCsvOptions(ImportedDataInfo.TableDefinition.CsvOptions.Builder builderForValue)
CSV specific options.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions csv_options = 6;
Name | Description |
builderForValue | ImportedDataInfo.TableDefinition.CsvOptions.Builder |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setEncoding(ImportedDataInfo.Encoding value)
public ImportedDataInfo.TableDefinition.Builder setEncoding(ImportedDataInfo.Encoding value)
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;
Name | Description |
value | ImportedDataInfo.Encoding |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setEncodingValue(int value)
public ImportedDataInfo.TableDefinition.Builder setEncodingValue(int value)
Character encoding of the input when applicable (CSV, JSON). Defaults to UTF8.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Encoding encoding = 5;
Name | Description |
value | int |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo.TableDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setFormat(ImportedDataInfo.Format value)
public ImportedDataInfo.TableDefinition.Builder setFormat(ImportedDataInfo.Format value)
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
Name | Description |
value | ImportedDataInfo.Format |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setFormatValue(int value)
public ImportedDataInfo.TableDefinition.Builder setFormatValue(int value)
Describes the format of the data in source_uri.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format format = 3;
Name | Description |
value | int |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setIgnoreUnknownValues(BoolValue value)
public ImportedDataInfo.TableDefinition.Builder setIgnoreUnknownValues(BoolValue value)
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
Name | Description |
value | BoolValue |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setIgnoreUnknownValues(BoolValue.Builder builderForValue)
public ImportedDataInfo.TableDefinition.Builder setIgnoreUnknownValues(BoolValue.Builder builderForValue)
Indicates if extra values that are not represented in the table schema is allowed.
.google.protobuf.BoolValue ignore_unknown_values = 10;
Name | Description |
builderForValue | Builder |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setMaxBadRecords(int value)
public ImportedDataInfo.TableDefinition.Builder setMaxBadRecords(int value)
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;
Name | Description |
value | int |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportedDataInfo.TableDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setSchema(ImportedDataInfo.RecordSchema value)
public ImportedDataInfo.TableDefinition.Builder setSchema(ImportedDataInfo.RecordSchema value)
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;
Name | Description |
value | ImportedDataInfo.RecordSchema |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setSchema(ImportedDataInfo.RecordSchema.Builder builderForValue)
public ImportedDataInfo.TableDefinition.Builder setSchema(ImportedDataInfo.RecordSchema.Builder builderForValue)
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;
Name | Description |
builderForValue | ImportedDataInfo.RecordSchema.Builder |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setSourceUris(int index, String value)
public ImportedDataInfo.TableDefinition.Builder setSourceUris(int index, String value)
URIs for the data to be imported. All URIs must be from the same storage system.
repeated string source_uris = 2;
Name | Description |
index | int |
value | String |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setTableId(String value)
public ImportedDataInfo.TableDefinition.Builder setTableId(String value)
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;
Name | Description |
value | String |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setTableIdBytes(ByteString value)
public ImportedDataInfo.TableDefinition.Builder setTableIdBytes(ByteString value)
BigQuery table_id (required). This will be used to reference this table in the query.
string table_id = 1;
Name | Description |
value | ByteString |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo.TableDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ImportedDataInfo.TableDefinition.Builder |