public static final class BigQuerySource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder> implements BigQuerySourceOrBuilder
BigQuery source import data from.Protobuf type
google.cloud.retail.v2.BigQuerySource| Modifier and Type | Method and Description |
|---|---|
BigQuerySource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BigQuerySource.Builder |
clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
BigQuerySource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BigQuerySource.Builder |
clearPartition() |
BigQuerySource.Builder |
clearPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
|
BigQuerySource.Builder |
clearProjectId()
The project ID (can be project # or ID) that the BigQuery source is in with
a length limit of 128 characters.
|
BigQuerySource.Builder |
clearTableId()
Required.
|
BigQuerySource.Builder |
clone() |
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 (can be project # or ID) that the BigQuery source is in with
a length limit of 128 characters.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The project ID (can be project # or ID) that the BigQuery source is in with
a length limit of 128 characters.
|
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 (can be project # or ID) that the BigQuery source is in with
a length limit of 128 characters.
|
BigQuerySource.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID (can be project # or ID) that the BigQuery source is in with
a length limit of 128 characters.
|
BigQuerySource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BigQuerySource.Builder |
setTableId(String value)
Required.
|
BigQuerySource.Builder |
setTableIdBytes(com.google.protobuf.ByteString value)
Required.
|
BigQuerySource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>public BigQuerySource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>public BigQuerySource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>public BigQuerySource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>public BigQuerySource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>public BigQuerySource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>public 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.GeneratedMessageV3.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. Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
.google.type.Date partition_date = 6;hasPartitionDate in interface BigQuerySourceOrBuilderpublic com.google.type.Date getPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
.google.type.Date partition_date = 6;getPartitionDate in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setPartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
.google.type.Date partition_date = 6;public BigQuerySource.Builder setPartitionDate(com.google.type.Date.Builder builderForValue)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
.google.type.Date partition_date = 6;public BigQuerySource.Builder mergePartitionDate(com.google.type.Date value)
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
.google.type.Date partition_date = 6;public BigQuerySource.Builder clearPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
.google.type.Date partition_date = 6;public com.google.type.Date.Builder getPartitionDateBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
.google.type.Date partition_date = 6;public com.google.type.DateOrBuilder getPartitionDateOrBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
.google.type.Date partition_date = 6;getPartitionDateOrBuilder in interface BigQuerySourceOrBuilderpublic String getProjectId()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 5;getProjectId in interface BigQuerySourceOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 5;getProjectIdBytes in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setProjectId(String value)
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 5;value - The projectId to set.public BigQuerySource.Builder clearProjectId()
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 5;public BigQuerySource.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 5;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 = 1 [(.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 = 1 [(.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 = 1 [(.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 = 1 [(.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 = 1 [(.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 = 2 [(.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 = 2 [(.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 = 2 [(.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 = 2 [(.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 = 2 [(.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 = 3;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 = 3;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 = 3;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 = 3;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 = 3;value - The bytes for gcsStagingDir to set.public String getDataSchema()
The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON [Product][google.cloud.retail.v2.Product] per line. Each product must have a valid [Product.id][google.cloud.retail.v2.Product.id]. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON [UserEvent][google.cloud.retail.v2.UserEvent] per line. * `user_event_ga360`: The schema is available here: https://support.google.com/analytics/answer/3437719. * `user_event_ga4`: The schema is available here: https://support.google.com/analytics/answer/7029846. Supported values for autocomplete imports: * `suggestions` (default): One JSON completion suggestion per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One JSON allow suggestion per line.
string data_schema = 4;getDataSchema in interface BigQuerySourceOrBuilderpublic com.google.protobuf.ByteString getDataSchemaBytes()
The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON [Product][google.cloud.retail.v2.Product] per line. Each product must have a valid [Product.id][google.cloud.retail.v2.Product.id]. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON [UserEvent][google.cloud.retail.v2.UserEvent] per line. * `user_event_ga360`: The schema is available here: https://support.google.com/analytics/answer/3437719. * `user_event_ga4`: The schema is available here: https://support.google.com/analytics/answer/7029846. Supported values for autocomplete imports: * `suggestions` (default): One JSON completion suggestion per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One JSON allow suggestion per line.
string data_schema = 4;getDataSchemaBytes in interface BigQuerySourceOrBuilderpublic BigQuerySource.Builder setDataSchema(String value)
The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON [Product][google.cloud.retail.v2.Product] per line. Each product must have a valid [Product.id][google.cloud.retail.v2.Product.id]. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON [UserEvent][google.cloud.retail.v2.UserEvent] per line. * `user_event_ga360`: The schema is available here: https://support.google.com/analytics/answer/3437719. * `user_event_ga4`: The schema is available here: https://support.google.com/analytics/answer/7029846. Supported values for autocomplete imports: * `suggestions` (default): One JSON completion suggestion per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One JSON allow suggestion per line.
string data_schema = 4;value - The dataSchema to set.public BigQuerySource.Builder clearDataSchema()
The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON [Product][google.cloud.retail.v2.Product] per line. Each product must have a valid [Product.id][google.cloud.retail.v2.Product.id]. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON [UserEvent][google.cloud.retail.v2.UserEvent] per line. * `user_event_ga360`: The schema is available here: https://support.google.com/analytics/answer/3437719. * `user_event_ga4`: The schema is available here: https://support.google.com/analytics/answer/7029846. Supported values for autocomplete imports: * `suggestions` (default): One JSON completion suggestion per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One JSON allow suggestion per line.
string data_schema = 4;public BigQuerySource.Builder setDataSchemaBytes(com.google.protobuf.ByteString value)
The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON [Product][google.cloud.retail.v2.Product] per line. Each product must have a valid [Product.id][google.cloud.retail.v2.Product.id]. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON [UserEvent][google.cloud.retail.v2.UserEvent] per line. * `user_event_ga360`: The schema is available here: https://support.google.com/analytics/answer/3437719. * `user_event_ga4`: The schema is available here: https://support.google.com/analytics/answer/7029846. Supported values for autocomplete imports: * `suggestions` (default): One JSON completion suggestion per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One JSON allow suggestion per line.
string data_schema = 4;value - The bytes for dataSchema to set.public final BigQuerySource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>public final BigQuerySource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQuerySource.Builder>Copyright © 2024 Google LLC. All rights reserved.