public interface ImportProductsRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getErrorsConfig()
public abstract ImportErrorsConfig getErrorsConfig()The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;
| Type | Description |
| ImportErrorsConfig | The errorsConfig. |
getErrorsConfigOrBuilder()
public abstract ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;
| Type | Description |
| ImportErrorsConfigOrBuilder |
getInputConfig()
public abstract ProductInputConfig getInputConfig()Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ProductInputConfig | The inputConfig. |
getInputConfigOrBuilder()
public abstract ProductInputConfigOrBuilder getInputConfigOrBuilder()Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ProductInputConfigOrBuilder |
getNotificationPubsubTopic()
public abstract String getNotificationPubsubTopic() Pub/Sub topic for receiving notification. If this field is set,
when the import is finished, a notification will be sent to
specified Pub/Sub topic. The message data will be JSON string of a
Operation.
Format of the Pub/Sub topic is projects/{project}/topics/{topic}.
Only supported when
ImportProductsRequest.reconciliation_mode
is set to FULL.
string notification_pubsub_topic = 7;
| Type | Description |
| String | The notificationPubsubTopic. |
getNotificationPubsubTopicBytes()
public abstract ByteString getNotificationPubsubTopicBytes() Pub/Sub topic for receiving notification. If this field is set,
when the import is finished, a notification will be sent to
specified Pub/Sub topic. The message data will be JSON string of a
Operation.
Format of the Pub/Sub topic is projects/{project}/topics/{topic}.
Only supported when
ImportProductsRequest.reconciliation_mode
is set to FULL.
string notification_pubsub_topic = 7;
| 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) = { ... }
| 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) = { ... }
| 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.v2alpha.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
| 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.v2alpha.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
| Type | Description |
| int | The enum numeric value on the wire for reconciliationMode. |
getRequestId() (deprecated)
public abstract String getRequestId()Deprecated. google.cloud.retail.v2alpha.ImportProductsRequest.request_id is deprecated. See google/cloud/retail/v2alpha/import_config.proto;l=202
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];
| Type | Description |
| String | The requestId. |
getRequestIdBytes() (deprecated)
public abstract ByteString getRequestIdBytes()Deprecated. google.cloud.retail.v2alpha.ImportProductsRequest.request_id is deprecated. See google/cloud/retail/v2alpha/import_config.proto;l=202
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];
| 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, will by default update all fields.
.google.protobuf.FieldMask update_mask = 4;
| Type | Description |
| FieldMask | The updateMask. |
getUpdateMaskOrBuilder()
public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()Indicates which fields in the provided imported 'products' to update. If not set, will by default update all fields.
.google.protobuf.FieldMask update_mask = 4;
| Type | Description |
| FieldMaskOrBuilder |
hasErrorsConfig()
public abstract boolean hasErrorsConfig()The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;
| 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.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
| 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, will by default update all fields.
.google.protobuf.FieldMask update_mask = 4;
| Type | Description |
| boolean | Whether the updateMask field is set. |