public static final class ImportProductsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportProductsRequest.Builder> implements ImportProductsRequestOrBuilder
Request message for Import methods.Protobuf type
google.cloud.retail.v2alpha.ImportProductsRequest| Modifier and Type | Method and Description |
|---|---|
ImportProductsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportProductsRequest |
build() |
ImportProductsRequest |
buildPartial() |
ImportProductsRequest.Builder |
clear() |
ImportProductsRequest.Builder |
clearErrorsConfig()
The desired location of errors incurred during the Import.
|
ImportProductsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportProductsRequest.Builder |
clearInputConfig()
Required.
|
ImportProductsRequest.Builder |
clearNotificationPubsubTopic()
Full Pub/Sub topic name for receiving notification.
|
ImportProductsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportProductsRequest.Builder |
clearParent()
Required.
|
ImportProductsRequest.Builder |
clearReconciliationMode()
The mode of reconciliation between existing products and the products to be
imported.
|
ImportProductsRequest.Builder |
clearRequestId()
Deprecated.
google.cloud.retail.v2alpha.ImportProductsRequest.request_id is deprecated. See
google/cloud/retail/v2alpha/import_config.proto;l=189
|
ImportProductsRequest.Builder |
clearSkipDefaultBranchProtection()
If true, this performs the FULL import even if it would delete a large
proportion of the products in the default branch, which could potentially
cause outages if you have live predict/search traffic.
|
ImportProductsRequest.Builder |
clearUpdateMask()
Indicates which fields in the provided imported `products` to update.
|
ImportProductsRequest.Builder |
clone() |
ImportProductsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ImportErrorsConfig |
getErrorsConfig()
The desired location of errors incurred during the Import.
|
ImportErrorsConfig.Builder |
getErrorsConfigBuilder()
The desired location of errors incurred during the Import.
|
ImportErrorsConfigOrBuilder |
getErrorsConfigOrBuilder()
The desired location of errors incurred during the Import.
|
ProductInputConfig |
getInputConfig()
Required.
|
ProductInputConfig.Builder |
getInputConfigBuilder()
Required.
|
ProductInputConfigOrBuilder |
getInputConfigOrBuilder()
Required.
|
String |
getNotificationPubsubTopic()
Full Pub/Sub topic name for receiving notification.
|
com.google.protobuf.ByteString |
getNotificationPubsubTopicBytes()
Full Pub/Sub topic name for receiving notification.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
ImportProductsRequest.ReconciliationMode |
getReconciliationMode()
The mode of reconciliation between existing products and the products to be
imported.
|
int |
getReconciliationModeValue()
The mode of reconciliation between existing products and the products to be
imported.
|
String |
getRequestId()
Deprecated.
google.cloud.retail.v2alpha.ImportProductsRequest.request_id is deprecated. See
google/cloud/retail/v2alpha/import_config.proto;l=189
|
com.google.protobuf.ByteString |
getRequestIdBytes()
Deprecated.
google.cloud.retail.v2alpha.ImportProductsRequest.request_id is deprecated. See
google/cloud/retail/v2alpha/import_config.proto;l=189
|
boolean |
getSkipDefaultBranchProtection()
If true, this performs the FULL import even if it would delete a large
proportion of the products in the default branch, which could potentially
cause outages if you have live predict/search traffic.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Indicates which fields in the provided imported `products` to update.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Indicates which fields in the provided imported `products` to update.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Indicates which fields in the provided imported `products` to update.
|
boolean |
hasErrorsConfig()
The desired location of errors incurred during the Import.
|
boolean |
hasInputConfig()
Required.
|
boolean |
hasUpdateMask()
Indicates which fields in the provided imported `products` to update.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportProductsRequest.Builder |
mergeErrorsConfig(ImportErrorsConfig value)
The desired location of errors incurred during the Import.
|
ImportProductsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportProductsRequest.Builder |
mergeFrom(ImportProductsRequest other) |
ImportProductsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportProductsRequest.Builder |
mergeInputConfig(ProductInputConfig value)
Required.
|
ImportProductsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportProductsRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Indicates which fields in the provided imported `products` to update.
|
ImportProductsRequest.Builder |
setErrorsConfig(ImportErrorsConfig.Builder builderForValue)
The desired location of errors incurred during the Import.
|
ImportProductsRequest.Builder |
setErrorsConfig(ImportErrorsConfig value)
The desired location of errors incurred during the Import.
|
ImportProductsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportProductsRequest.Builder |
setInputConfig(ProductInputConfig.Builder builderForValue)
Required.
|
ImportProductsRequest.Builder |
setInputConfig(ProductInputConfig value)
Required.
|
ImportProductsRequest.Builder |
setNotificationPubsubTopic(String value)
Full Pub/Sub topic name for receiving notification.
|
ImportProductsRequest.Builder |
setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value)
Full Pub/Sub topic name for receiving notification.
|
ImportProductsRequest.Builder |
setParent(String value)
Required.
|
ImportProductsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ImportProductsRequest.Builder |
setReconciliationMode(ImportProductsRequest.ReconciliationMode value)
The mode of reconciliation between existing products and the products to be
imported.
|
ImportProductsRequest.Builder |
setReconciliationModeValue(int value)
The mode of reconciliation between existing products and the products to be
imported.
|
ImportProductsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportProductsRequest.Builder |
setRequestId(String value)
Deprecated.
google.cloud.retail.v2alpha.ImportProductsRequest.request_id is deprecated. See
google/cloud/retail/v2alpha/import_config.proto;l=189
|
ImportProductsRequest.Builder |
setRequestIdBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.retail.v2alpha.ImportProductsRequest.request_id is deprecated. See
google/cloud/retail/v2alpha/import_config.proto;l=189
|
ImportProductsRequest.Builder |
setSkipDefaultBranchProtection(boolean value)
If true, this performs the FULL import even if it would delete a large
proportion of the products in the default branch, which could potentially
cause outages if you have live predict/search traffic.
|
ImportProductsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportProductsRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Indicates which fields in the provided imported `products` to update.
|
ImportProductsRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Indicates which fields in the provided imported `products` to update.
|
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<ImportProductsRequest.Builder>public ImportProductsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductsRequest.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<ImportProductsRequest.Builder>public ImportProductsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportProductsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportProductsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportProductsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductsRequest.Builder>public ImportProductsRequest.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<ImportProductsRequest.Builder>public ImportProductsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductsRequest.Builder>public ImportProductsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductsRequest.Builder>public ImportProductsRequest.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<ImportProductsRequest.Builder>public ImportProductsRequest.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<ImportProductsRequest.Builder>public ImportProductsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportProductsRequest.Builder>public ImportProductsRequest.Builder mergeFrom(ImportProductsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductsRequest.Builder>public ImportProductsRequest.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<ImportProductsRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface ImportProductsRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getParentBytes in interface ImportProductsRequestOrBuilderpublic ImportProductsRequest.Builder setParent(String value)
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) = { ... }
value - The parent to set.public ImportProductsRequest.Builder clearParent()
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) = { ... }
public ImportProductsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for parent to set.@Deprecated public String getRequestId()
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];getRequestId in interface ImportProductsRequestOrBuilder@Deprecated public com.google.protobuf.ByteString getRequestIdBytes()
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];getRequestIdBytes in interface ImportProductsRequestOrBuilder@Deprecated public ImportProductsRequest.Builder setRequestId(String value)
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];value - The requestId to set.@Deprecated public ImportProductsRequest.Builder clearRequestId()
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];@Deprecated public ImportProductsRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Deprecated. This field has no effect.
string request_id = 6 [deprecated = true];value - The bytes for requestId to set.public boolean hasInputConfig()
Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
hasInputConfig in interface ImportProductsRequestOrBuilderpublic ProductInputConfig getInputConfig()
Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
getInputConfig in interface ImportProductsRequestOrBuilderpublic ImportProductsRequest.Builder setInputConfig(ProductInputConfig value)
Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
public ImportProductsRequest.Builder setInputConfig(ProductInputConfig.Builder builderForValue)
Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
public ImportProductsRequest.Builder mergeInputConfig(ProductInputConfig value)
Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
public ImportProductsRequest.Builder clearInputConfig()
Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
public ProductInputConfig.Builder getInputConfigBuilder()
Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
public ProductInputConfigOrBuilder getInputConfigOrBuilder()
Required. The desired input location of the data.
.google.cloud.retail.v2alpha.ProductInputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];
getInputConfigOrBuilder in interface ImportProductsRequestOrBuilderpublic boolean hasErrorsConfig()
The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;hasErrorsConfig in interface ImportProductsRequestOrBuilderpublic ImportErrorsConfig getErrorsConfig()
The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;getErrorsConfig in interface ImportProductsRequestOrBuilderpublic ImportProductsRequest.Builder setErrorsConfig(ImportErrorsConfig value)
The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;public ImportProductsRequest.Builder setErrorsConfig(ImportErrorsConfig.Builder builderForValue)
The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;public ImportProductsRequest.Builder mergeErrorsConfig(ImportErrorsConfig value)
The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;public ImportProductsRequest.Builder clearErrorsConfig()
The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;public ImportErrorsConfig.Builder getErrorsConfigBuilder()
The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()
The desired location of errors incurred during the Import.
.google.cloud.retail.v2alpha.ImportErrorsConfig errors_config = 3;getErrorsConfigOrBuilder in interface ImportProductsRequestOrBuilderpublic boolean hasUpdateMask()
Indicates which fields in the provided imported `products` to update. If not set, all fields are updated.
.google.protobuf.FieldMask update_mask = 4;hasUpdateMask in interface ImportProductsRequestOrBuilderpublic com.google.protobuf.FieldMask getUpdateMask()
Indicates which fields in the provided imported `products` to update. If not set, all fields are updated.
.google.protobuf.FieldMask update_mask = 4;getUpdateMask in interface ImportProductsRequestOrBuilderpublic ImportProductsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Indicates which fields in the provided imported `products` to update. If not set, all fields are updated.
.google.protobuf.FieldMask update_mask = 4;public ImportProductsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Indicates which fields in the provided imported `products` to update. If not set, all fields are updated.
.google.protobuf.FieldMask update_mask = 4;public ImportProductsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Indicates which fields in the provided imported `products` to update. If not set, all fields are updated.
.google.protobuf.FieldMask update_mask = 4;public ImportProductsRequest.Builder clearUpdateMask()
Indicates which fields in the provided imported `products` to update. If not set, all fields are updated.
.google.protobuf.FieldMask update_mask = 4;public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Indicates which fields in the provided imported `products` to update. If not set, all fields are updated.
.google.protobuf.FieldMask update_mask = 4;public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided imported `products` to update. If not set, all fields are updated.
.google.protobuf.FieldMask update_mask = 4;getUpdateMaskOrBuilder in interface ImportProductsRequestOrBuilderpublic 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.INCREMENTAL].
.google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
getReconciliationModeValue in interface ImportProductsRequestOrBuilderpublic ImportProductsRequest.Builder setReconciliationModeValue(int value)
The mode of reconciliation between existing products and the products to be imported. Defaults to [ReconciliationMode.INCREMENTAL][google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode.INCREMENTAL].
.google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
value - The enum numeric value on the wire for reconciliationMode to set.public 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.INCREMENTAL].
.google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
getReconciliationMode in interface ImportProductsRequestOrBuilderpublic ImportProductsRequest.Builder setReconciliationMode(ImportProductsRequest.ReconciliationMode value)
The mode of reconciliation between existing products and the products to be imported. Defaults to [ReconciliationMode.INCREMENTAL][google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode.INCREMENTAL].
.google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
value - The reconciliationMode to set.public ImportProductsRequest.Builder clearReconciliationMode()
The mode of reconciliation between existing products and the products to be imported. Defaults to [ReconciliationMode.INCREMENTAL][google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode.INCREMENTAL].
.google.cloud.retail.v2alpha.ImportProductsRequest.ReconciliationMode reconciliation_mode = 5;
public 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][google.longrunning.Operation].
Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has
to be within the same project as
[ImportProductsRequest.parent][google.cloud.retail.v2alpha.ImportProductsRequest.parent].
Make sure that `service-<project
number>@gcp-sa-retail.iam.gserviceaccount.com` has the
`pubsub.topics.publish` IAM permission on the topic.
string notification_pubsub_topic = 7;getNotificationPubsubTopic in interface ImportProductsRequestOrBuilderpublic com.google.protobuf.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][google.longrunning.Operation].
Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has
to be within the same project as
[ImportProductsRequest.parent][google.cloud.retail.v2alpha.ImportProductsRequest.parent].
Make sure that `service-<project
number>@gcp-sa-retail.iam.gserviceaccount.com` has the
`pubsub.topics.publish` IAM permission on the topic.
string notification_pubsub_topic = 7;getNotificationPubsubTopicBytes in interface ImportProductsRequestOrBuilderpublic ImportProductsRequest.Builder setNotificationPubsubTopic(String value)
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][google.longrunning.Operation].
Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has
to be within the same project as
[ImportProductsRequest.parent][google.cloud.retail.v2alpha.ImportProductsRequest.parent].
Make sure that `service-<project
number>@gcp-sa-retail.iam.gserviceaccount.com` has the
`pubsub.topics.publish` IAM permission on the topic.
string notification_pubsub_topic = 7;value - The notificationPubsubTopic to set.public ImportProductsRequest.Builder clearNotificationPubsubTopic()
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][google.longrunning.Operation].
Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has
to be within the same project as
[ImportProductsRequest.parent][google.cloud.retail.v2alpha.ImportProductsRequest.parent].
Make sure that `service-<project
number>@gcp-sa-retail.iam.gserviceaccount.com` has the
`pubsub.topics.publish` IAM permission on the topic.
string notification_pubsub_topic = 7;public ImportProductsRequest.Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value)
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][google.longrunning.Operation].
Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has
to be within the same project as
[ImportProductsRequest.parent][google.cloud.retail.v2alpha.ImportProductsRequest.parent].
Make sure that `service-<project
number>@gcp-sa-retail.iam.gserviceaccount.com` has the
`pubsub.topics.publish` IAM permission on the topic.
string notification_pubsub_topic = 7;value - The bytes for notificationPubsubTopic to set.public boolean getSkipDefaultBranchProtection()
If true, this performs the FULL import even if it would delete a large proportion of the products in the default branch, which could potentially cause outages if you have live predict/search traffic. Only supported when [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2alpha.ImportProductsRequest.reconciliation_mode] is set to `FULL`.
bool skip_default_branch_protection = 8;getSkipDefaultBranchProtection in interface ImportProductsRequestOrBuilderpublic ImportProductsRequest.Builder setSkipDefaultBranchProtection(boolean value)
If true, this performs the FULL import even if it would delete a large proportion of the products in the default branch, which could potentially cause outages if you have live predict/search traffic. Only supported when [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2alpha.ImportProductsRequest.reconciliation_mode] is set to `FULL`.
bool skip_default_branch_protection = 8;value - The skipDefaultBranchProtection to set.public ImportProductsRequest.Builder clearSkipDefaultBranchProtection()
If true, this performs the FULL import even if it would delete a large proportion of the products in the default branch, which could potentially cause outages if you have live predict/search traffic. Only supported when [ImportProductsRequest.reconciliation_mode][google.cloud.retail.v2alpha.ImportProductsRequest.reconciliation_mode] is set to `FULL`.
bool skip_default_branch_protection = 8;public final ImportProductsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductsRequest.Builder>public final ImportProductsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportProductsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.