public static final class BigQuerySource.Builder extends com.google.protobuf.GeneratedMessage.Builder<BigQuerySource.Builder> implements BigQuerySourceOrBuilder
BigQuery source import data from.Protobuf type
google.cloud.discoveryengine.v1.BigQuerySource| Modifier and Type | Method and Description |
|---|---|
BigQuerySource |
build() |
BigQuerySource |
buildPartial() |
BigQuerySource.Builder |
clear() |
BigQuerySource.Builder |
clearDataSchema()
The schema to use when parsing the data from the source.
|
BigQuerySource.Builder |
clearDatasetId()
Required.
|
BigQuerySource.Builder |
clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
BigQuerySource.Builder |
clearPartition() |
BigQuerySource.Builder |
clearPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
BigQuerySource.Builder |
clearProjectId()
The project ID or the project number that contains the BigQuery source.
|
BigQuerySource.Builder |
clearTableId()
Required.
|
String |
getDataSchema()
The schema to use when parsing the data from the source.
|
com.google.protobuf.ByteString |
getDataSchemaBytes()
The schema to use when parsing the data from the source.
|
String |
getDatasetId()
Required.
|
com.google.protobuf.ByteString |
getDatasetIdBytes()
Required.
|
BigQuerySource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
com.google.protobuf.ByteString |
getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
BigQuerySource.PartitionCase |
getPartitionCase() |
com.google.type.Date |
getPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
com.google.type.Date.Builder |
getPartitionDateBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
com.google.type.DateOrBuilder |
getPartitionDateOrBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
String |
getProjectId()
The project ID or the project number that contains the BigQuery source.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The project ID or the project number that contains the BigQuery source.
|
String |
getTableId()
Required.
|
com.google.protobuf.ByteString |
getTableIdBytes()
Required.
|
boolean |
hasPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BigQuerySource.Builder |
mergeFrom(BigQuerySource other) |
BigQuerySource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BigQuerySource.Builder |
mergeFrom(com.google.protobuf.Message other) |
BigQuerySource.Builder |
mergePartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
BigQuerySource.Builder |
setDataSchema(String value)
The schema to use when parsing the data from the source.
|
BigQuerySource.Builder |
setDataSchemaBytes(com.google.protobuf.ByteString value)
The schema to use when parsing the data from the source.
|
BigQuerySource.Builder |
setDatasetId(String value)
Required.
|
BigQuerySource.Builder |
setDatasetIdBytes(com.google.protobuf.ByteString value)
Required.
|
BigQuerySource.Builder |
setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
BigQuerySource.Builder |
setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
BigQuerySource.Builder |
setPartitionDate(com.google.type.Date.Builder builderForValue)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
BigQuerySource.Builder |
setPartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
BigQuerySource.Builder |
setProjectId(String value)
The project ID or the project number that contains the BigQuery source.
|
BigQuerySource.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID or the project number that contains the BigQuery source.
|
BigQuerySource.Builder |
setTableId(String value)
Required.
|
BigQuerySource.Builder |
setTableIdBytes(com.google.protobuf.ByteString value)
Required.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BigQuerySource.Builder>public BigQuerySource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<BigQuerySource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BigQuerySource.Builder>public BigQuerySource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BigQuerySource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BigQuerySource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BigQuerySource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQuerySource.Builder>public BigQuerySource.Builder mergeFrom(BigQuerySource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<BigQuerySource.Builder>public BigQuerySource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQuerySource.Builder>IOExceptionpublic BigQuerySource.PartitionCase getPartitionCase()
getPartitionCase in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder clearPartition()
public boolean hasPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;hasPartitionDate in interface BigQuerySourceOrBuilderpublic com.google.type.Date getPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;getPartitionDate in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setPartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;public BigQuerySource.Builder setPartitionDate(com.google.type.Date.Builder builderForValue)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;public BigQuerySource.Builder mergePartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;public BigQuerySource.Builder clearPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;public com.google.type.Date.Builder getPartitionDateBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;public com.google.type.DateOrBuilder getPartitionDateOrBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 5;getPartitionDateOrBuilder in interface BigQuerySourceOrBuilderpublic String getProjectId()
The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;getProjectId in interface BigQuerySourceOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;getProjectIdBytes in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setProjectId(String value)
The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;value - The projectId to set.public BigQuerySource.Builder clearProjectId()
The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;public BigQuerySource.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;value - The bytes for projectId to set.public String getDatasetId()
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];getDatasetId in interface BigQuerySourceOrBuilderpublic com.google.protobuf.ByteString getDatasetIdBytes()
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];getDatasetIdBytes in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setDatasetId(String value)
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The datasetId to set.public BigQuerySource.Builder clearDatasetId()
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];public BigQuerySource.Builder setDatasetIdBytes(com.google.protobuf.ByteString value)
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for datasetId to set.public String getTableId()
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];getTableId in interface BigQuerySourceOrBuilderpublic com.google.protobuf.ByteString getTableIdBytes()
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];getTableIdBytes in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setTableId(String value)
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The tableId to set.public BigQuerySource.Builder clearTableId()
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];public BigQuerySource.Builder setTableIdBytes(com.google.protobuf.ByteString value)
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for tableId to set.public String getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;getGcsStagingDir in interface BigQuerySourceOrBuilderpublic com.google.protobuf.ByteString getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;getGcsStagingDirBytes in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;value - The gcsStagingDir to set.public BigQuerySource.Builder clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;public BigQuerySource.Builder setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 4;value - The bytes for gcsStagingDir to set.public String getDataSchema()
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.
string data_schema = 6;getDataSchema in interface BigQuerySourceOrBuilderpublic com.google.protobuf.ByteString getDataSchemaBytes()
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.
string data_schema = 6;getDataSchemaBytes in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setDataSchema(String value)
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.
string data_schema = 6;value - The dataSchema to set.public BigQuerySource.Builder clearDataSchema()
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.
string data_schema = 6;public BigQuerySource.Builder setDataSchemaBytes(com.google.protobuf.ByteString value)
The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1.UserEvent] per row. Supported values for document imports: * `document` (default): One [Document][google.cloud.discoveryengine.v1.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.
string data_schema = 6;value - The bytes for dataSchema to set.Copyright © 2026 Google LLC. All rights reserved.