Package com.google.cloud.retail.v2alpha
Interface BigQuerySourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BigQuerySource,BigQuerySource.Builder
@Generated
public interface BigQuerySourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe schema to use when parsing the data from the source.com.google.protobuf.ByteStringThe schema to use when parsing the data from the source.Required.com.google.protobuf.ByteStringRequired.Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.com.google.protobuf.ByteStringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters.com.google.protobuf.ByteStringThe project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters.Required.com.google.protobuf.ByteStringRequired.booleanBigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPartitionDate
boolean hasPartitionDate()BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 6;- Returns:
- Whether the partitionDate field is set.
-
getPartitionDate
Date getPartitionDate()BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 6;- Returns:
- The partitionDate.
-
getPartitionDateOrBuilder
DateOrBuilder getPartitionDateOrBuilder()BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
.google.type.Date partition_date = 6; -
getProjectId
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;- Returns:
- The projectId.
-
getProjectIdBytes
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;- Returns:
- The bytes for projectId.
-
getDatasetId
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];- Returns:
- The datasetId.
-
getDatasetIdBytes
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];- Returns:
- The bytes for datasetId.
-
getTableId
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];- Returns:
- The tableId.
-
getTableIdBytes
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];- Returns:
- The bytes for tableId.
-
getGcsStagingDir
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;- Returns:
- The gcsStagingDir.
-
getGcsStagingDirBytes
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;- Returns:
- The bytes for gcsStagingDir.
-
getDataSchema
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.v2alpha.Product] per line. Each product must have a valid [Product.id][google.cloud.retail.v2alpha.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.v2alpha.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;- Returns:
- The dataSchema.
-
getDataSchemaBytes
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.v2alpha.Product] per line. Each product must have a valid [Product.id][google.cloud.retail.v2alpha.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.v2alpha.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;- Returns:
- The bytes for dataSchema.
-
getPartitionCase
BigQuerySource.PartitionCase getPartitionCase()
-