- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.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.39.0
- 2.38.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.26.0
- 2.25.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.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public interface ImportProductsRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getErrorsConfig()
public abstract ImportErrorsConfig getErrorsConfig()
The desired location of errors incurred during the Import.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
Returns | |
---|---|
Type | Description |
ImportErrorsConfig |
The errorsConfig. |
getErrorsConfigOrBuilder()
public abstract ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()
The desired location of errors incurred during the Import.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
Returns | |
---|---|
Type | Description |
ImportErrorsConfigOrBuilder |
getInputConfig()
public abstract ProductInputConfig getInputConfig()
Required. The desired input location of the data.
.google.cloud.retail.v2.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProductInputConfig |
The inputConfig. |
getInputConfigOrBuilder()
public abstract ProductInputConfigOrBuilder getInputConfigOrBuilder()
Required. The desired input location of the data.
.google.cloud.retail.v2.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProductInputConfigOrBuilder |
getNotificationPubsubTopic()
public abstract String getNotificationPubsubTopic()
Full Pub/Sub topic name for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation.
Format of the Pub/Sub topic is projects/{project}/topics/{topic}
. It has
to be within the same project as
ImportProductsRequest.parent.
Make sure that both
cloud-retail-customer-data-access@system.gserviceaccount.com
and
service-<project number>@gcp-sa-retail.iam.gserviceaccount.com
have the pubsub.topics.publish
IAM permission on the topic.
Only supported when
ImportProductsRequest.reconciliation_mode
is set to FULL
.
string notification_pubsub_topic = 7;
Returns | |
---|---|
Type | Description |
String |
The notificationPubsubTopic. |
getNotificationPubsubTopicBytes()
public abstract ByteString getNotificationPubsubTopicBytes()
Full Pub/Sub topic name for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation.
Format of the Pub/Sub topic is projects/{project}/topics/{topic}
. It has
to be within the same project as
ImportProductsRequest.parent.
Make sure that both
cloud-retail-customer-data-access@system.gserviceaccount.com
and
service-<project number>@gcp-sa-retail.iam.gserviceaccount.com
have the pubsub.topics.publish
IAM permission on the topic.
Only supported when
ImportProductsRequest.reconciliation_mode
is set to FULL
.
string notification_pubsub_topic = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for notificationPubsubTopic. |
getParent()
public abstract String getParent()
Required.
projects/1234/locations/global/catalogs/default_catalog/branches/default_branch
If no updateMask is specified, requires products.create permission. If updateMask is specified, requires products.update permission.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required.
projects/1234/locations/global/catalogs/default_catalog/branches/default_branch
If no updateMask is specified, requires products.create permission. If updateMask is specified, requires products.update permission.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getReconciliationMode()
public abstract ImportProductsRequest.ReconciliationMode getReconciliationMode()
The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.
.google.cloud.retail.v2.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
Returns | |
---|---|
Type | Description |
ImportProductsRequest.ReconciliationMode |
The reconciliationMode. |
getReconciliationModeValue()
public abstract int getReconciliationModeValue()
The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.
.google.cloud.retail.v2.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for reconciliationMode. |
getRequestId() (deprecated)
public abstract String getRequestId()
Deprecated. google.cloud.retail.v2.ImportProductsRequest.request_id is deprecated. See google/cloud/retail/v2/import_config.proto;l=189
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];
Returns | |
---|---|
Type | Description |
String |
The requestId. |
getRequestIdBytes() (deprecated)
public abstract ByteString getRequestIdBytes()
Deprecated. google.cloud.retail.v2.ImportProductsRequest.request_id is deprecated. See google/cloud/retail/v2/import_config.proto;l=189
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
getUpdateMask()
public abstract FieldMask getUpdateMask()
Indicates which fields in the provided imported products
to update. If
not set, all fields are updated. If provided, only the existing product
fields are updated. Missing products will not be created.
.google.protobuf.FieldMask update_mask = 4;
Returns | |
---|---|
Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskOrBuilder()
public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided imported products
to update. If
not set, all fields are updated. If provided, only the existing product
fields are updated. Missing products will not be created.
.google.protobuf.FieldMask update_mask = 4;
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
hasErrorsConfig()
public abstract boolean hasErrorsConfig()
The desired location of errors incurred during the Import.
.google.cloud.retail.v2.ImportErrorsConfig errors_config = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the errorsConfig field is set. |
hasInputConfig()
public abstract boolean hasInputConfig()
Required. The desired input location of the data.
.google.cloud.retail.v2.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the inputConfig field is set. |
hasUpdateMask()
public abstract boolean hasUpdateMask()
Indicates which fields in the provided imported products
to update. If
not set, all fields are updated. If provided, only the existing product
fields are updated. Missing products will not be created.
.google.protobuf.FieldMask update_mask = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateMask field is set. |