diff --git a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java index e0f21db3..fc359221 100644 --- a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java +++ b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java @@ -403,9 +403,9 @@ public final UnaryCallable updateCatalogCallable( *
  • UserEventService will only join events with products from branch {newBranch}. * * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -461,9 +461,9 @@ public final void setDefaultBranch(CatalogName catalog) { *

  • UserEventService will only join events with products from branch {newBranch}. * * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -517,9 +517,9 @@ public final void setDefaultBranch(String catalog) { *

  • UserEventService will only join events with products from branch {newBranch}. * * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -576,9 +576,9 @@ public final void setDefaultBranch(SetDefaultBranchRequest request) { *

  • UserEventService will only join events with products from branch {newBranch}. * * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -607,9 +607,9 @@ public final UnaryCallable setDefaultBranchCalla * [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] * method under a specified parent catalog. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -638,9 +638,9 @@ public final GetDefaultBranchResponse getDefaultBranch(CatalogName catalog) { * [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] * method under a specified parent catalog. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -667,9 +667,9 @@ public final GetDefaultBranchResponse getDefaultBranch(String catalog) { * [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] * method under a specified parent catalog. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -696,9 +696,9 @@ public final GetDefaultBranchResponse getDefaultBranch(GetDefaultBranchRequest r * [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] * method under a specified parent catalog. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * diff --git a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CompletionServiceClient.java b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CompletionServiceClient.java index dc9ba687..2844d0ee 100644 --- a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CompletionServiceClient.java +++ b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CompletionServiceClient.java @@ -33,9 +33,9 @@ /** * Service Description: Auto-completion service for retail. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a form + * [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using + * Retail Search. * *

    This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: @@ -173,9 +173,9 @@ public final OperationsClient getOperationsClient() { /** * Completes the specified prefix with keyword suggestions. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -206,9 +206,9 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest request) { /** * Completes the specified prefix with keyword suggestions. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -241,9 +241,9 @@ public final UnaryCallable complete * *

    Request processing may be synchronous. Partial updating is not supported. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -274,9 +274,9 @@ public final UnaryCallable complete * *

    Request processing may be synchronous. Partial updating is not supported. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -307,9 +307,9 @@ public final UnaryCallable complete * *

    Request processing may be synchronous. Partial updating is not supported. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * diff --git a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java index 2358c680..57b9a6d8 100644 --- a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java +++ b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java @@ -911,9 +911,9 @@ public final UnaryCallable importProductsCalla * [AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces], and * [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1005,9 +1005,9 @@ public final OperationFuture setInve * [AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces], and * [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1066,9 +1066,9 @@ public final OperationFuture setInve * [AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces], and * [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1127,9 +1127,9 @@ public final OperationFuture setInve * [AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces], and * [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1165,9 +1165,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1210,9 +1210,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1254,9 +1254,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1298,9 +1298,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1342,9 +1342,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1385,9 +1385,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1430,9 +1430,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1474,9 +1474,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1518,9 +1518,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -1564,9 +1564,9 @@ public final UnaryCallable setInventoryCallable( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * diff --git a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java index 31769129..cda1f5fa 100644 --- a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java +++ b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java @@ -37,9 +37,9 @@ /** * Service Description: Service for search. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a form + * [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using + * Retail Search. * *

    This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: @@ -176,9 +176,9 @@ public SearchServiceStub getStub() { /** * Performs a search. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -222,9 +222,9 @@ public final SearchPagedResponse search(SearchRequest request) { /** * Performs a search. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * @@ -268,9 +268,9 @@ public final UnaryCallable searchPagedCallab /** * Performs a search. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a + * form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in + * using Retail Search. * *

    Sample code: * diff --git a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java index 10ff0bb1..44780b0e 100644 --- a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java +++ b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java @@ -35,9 +35,9 @@ * *

    Service Description: Auto-completion service for retail. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a form + * [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using + * Retail Search. * *

    Sample for CompletionServiceClient: * @@ -100,9 +100,9 @@ * *

    Service Description: Service for search. * - *

    This feature is only available for users who have Retail Search enabled. Contact Retail - * Support (retail-search-support{@literal @}google.com) if you are interested in using Retail - * Search. + *

    This feature is only available for users who have Retail Search enabled. Please submit a form + * [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using + * Retail Search. * *

    Sample for SearchServiceClient: * diff --git a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/CatalogServiceStubSettings.java b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/CatalogServiceStubSettings.java index 8acfd767..b63de9c9 100644 --- a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/CatalogServiceStubSettings.java +++ b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/CatalogServiceStubSettings.java @@ -294,11 +294,11 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); definitions.put( - "retry_policy_0_codes", + "retry_policy_1_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + definitions.put( + "retry_policy_2_codes", ImmutableSet.copyOf( Lists.newArrayList( StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); @@ -414,13 +419,24 @@ public static class Builder extends StubSettings.BuildernewUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(ImportProductsResponse.class)) @@ -579,8 +595,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(SetInventoryResponse.class)) @@ -603,8 +619,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create( @@ -629,8 +645,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create( diff --git a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/SearchServiceStubSettings.java b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/SearchServiceStubSettings.java index 9af7dcc3..b204cc6b 100644 --- a/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/SearchServiceStubSettings.java +++ b/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/SearchServiceStubSettings.java @@ -256,11 +256,11 @@ public static class Builder extends StubSettings.BuildernewArrayList( StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + definitions.put( + "retry_policy_1_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + definitions.put( + "retry_policy_2_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -286,13 +296,35 @@ public static class Builder extends StubSettings.BuildernewUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(PurgeUserEventsResponse.class)) @@ -411,8 +443,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(ImportUserEventsResponse.class)) diff --git a/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogServiceGrpc.java b/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogServiceGrpc.java index cdcf37d2..d5d52b5a 100644 --- a/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogServiceGrpc.java +++ b/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogServiceGrpc.java @@ -324,8 +324,8 @@ public void updateCatalog( * * UserEventService will only join events with products from branch * {newBranch}. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void setDefaultBranch( @@ -343,8 +343,8 @@ public void setDefaultBranch( * [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] * method under a specified parent catalog. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void getDefaultBranch( @@ -473,8 +473,8 @@ public void updateCatalog( * * UserEventService will only join events with products from branch * {newBranch}. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void setDefaultBranch( @@ -494,8 +494,8 @@ public void setDefaultBranch( * [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] * method under a specified parent catalog. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void getDefaultBranch( @@ -588,8 +588,8 @@ public com.google.cloud.retail.v2.Catalog updateCatalog( * * UserEventService will only join events with products from branch * {newBranch}. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.protobuf.Empty setDefaultBranch( @@ -606,8 +606,8 @@ public com.google.protobuf.Empty setDefaultBranch( * [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] * method under a specified parent catalog. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.cloud.retail.v2.GetDefaultBranchResponse getDefaultBranch( @@ -697,8 +697,8 @@ protected CatalogServiceFutureStub build( * * UserEventService will only join events with products from branch * {newBranch}. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.common.util.concurrent.ListenableFuture @@ -715,8 +715,8 @@ protected CatalogServiceFutureStub build( * [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] * method under a specified parent catalog. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.common.util.concurrent.ListenableFuture< diff --git a/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionServiceGrpc.java b/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionServiceGrpc.java index c328621e..d1df5027 100644 --- a/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionServiceGrpc.java +++ b/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionServiceGrpc.java @@ -23,8 +23,8 @@ *

      * Auto-completion service for retail.
      * This feature is only available for users who have Retail Search enabled.
    - * Contact Retail Support (retail-search-support@google.com) if you are
    - * interested in using Retail Search.
    + * Please submit a form [here](https://cloud.google.com/contact) to contact
    + * cloud sales if you are interested in using Retail Search.
      * 
    */ @javax.annotation.Generated( @@ -177,8 +177,8 @@ public CompletionServiceFutureStub newStub( *
        * Auto-completion service for retail.
        * This feature is only available for users who have Retail Search enabled.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in using Retail Search.
    +   * Please submit a form [here](https://cloud.google.com/contact) to contact
    +   * cloud sales if you are interested in using Retail Search.
        * 
    */ public abstract static class CompletionServiceImplBase implements io.grpc.BindableService { @@ -189,8 +189,8 @@ public abstract static class CompletionServiceImplBase implements io.grpc.Bindab *
          * Completes the specified prefix with keyword suggestions.
          * This feature is only available for users who have Retail Search enabled.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in using Retail Search.
    +     * Please submit a form [here](https://cloud.google.com/contact) to contact
    +     * cloud sales if you are interested in using Retail Search.
          * 
    */ public void completeQuery( @@ -208,8 +208,8 @@ public void completeQuery( * Bulk import of processed completion dataset. * Request processing may be synchronous. Partial updating is not supported. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void importCompletionData( @@ -245,8 +245,8 @@ public final io.grpc.ServerServiceDefinition bindService() { *
        * Auto-completion service for retail.
        * This feature is only available for users who have Retail Search enabled.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in using Retail Search.
    +   * Please submit a form [here](https://cloud.google.com/contact) to contact
    +   * cloud sales if you are interested in using Retail Search.
        * 
    */ public static final class CompletionServiceStub @@ -267,8 +267,8 @@ protected CompletionServiceStub build( *
          * Completes the specified prefix with keyword suggestions.
          * This feature is only available for users who have Retail Search enabled.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in using Retail Search.
    +     * Please submit a form [here](https://cloud.google.com/contact) to contact
    +     * cloud sales if you are interested in using Retail Search.
          * 
    */ public void completeQuery( @@ -288,8 +288,8 @@ public void completeQuery( * Bulk import of processed completion dataset. * Request processing may be synchronous. Partial updating is not supported. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void importCompletionData( @@ -308,8 +308,8 @@ public void importCompletionData( *
        * Auto-completion service for retail.
        * This feature is only available for users who have Retail Search enabled.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in using Retail Search.
    +   * Please submit a form [here](https://cloud.google.com/contact) to contact
    +   * cloud sales if you are interested in using Retail Search.
        * 
    */ public static final class CompletionServiceBlockingStub @@ -331,8 +331,8 @@ protected CompletionServiceBlockingStub build( *
          * Completes the specified prefix with keyword suggestions.
          * This feature is only available for users who have Retail Search enabled.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in using Retail Search.
    +     * Please submit a form [here](https://cloud.google.com/contact) to contact
    +     * cloud sales if you are interested in using Retail Search.
          * 
    */ public com.google.cloud.retail.v2.CompleteQueryResponse completeQuery( @@ -348,8 +348,8 @@ public com.google.cloud.retail.v2.CompleteQueryResponse completeQuery( * Bulk import of processed completion dataset. * Request processing may be synchronous. Partial updating is not supported. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.longrunning.Operation importCompletionData( @@ -365,8 +365,8 @@ public com.google.longrunning.Operation importCompletionData( *
        * Auto-completion service for retail.
        * This feature is only available for users who have Retail Search enabled.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in using Retail Search.
    +   * Please submit a form [here](https://cloud.google.com/contact) to contact
    +   * cloud sales if you are interested in using Retail Search.
        * 
    */ public static final class CompletionServiceFutureStub @@ -387,8 +387,8 @@ protected CompletionServiceFutureStub build( *
          * Completes the specified prefix with keyword suggestions.
          * This feature is only available for users who have Retail Search enabled.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in using Retail Search.
    +     * Please submit a form [here](https://cloud.google.com/contact) to contact
    +     * cloud sales if you are interested in using Retail Search.
          * 
    */ public com.google.common.util.concurrent.ListenableFuture< @@ -405,8 +405,8 @@ protected CompletionServiceFutureStub build( * Bulk import of processed completion dataset. * Request processing may be synchronous. Partial updating is not supported. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.common.util.concurrent.ListenableFuture diff --git a/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductServiceGrpc.java b/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductServiceGrpc.java index d13641d6..cc600650 100644 --- a/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductServiceGrpc.java +++ b/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductServiceGrpc.java @@ -602,8 +602,8 @@ public void importProducts( * and * [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void setInventory( @@ -628,8 +628,8 @@ public void setInventory( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void addFulfillmentPlaces( @@ -654,8 +654,8 @@ public void addFulfillmentPlaces( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void removeFulfillmentPlaces( @@ -881,8 +881,8 @@ public void importProducts( * and * [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void setInventory( @@ -909,8 +909,8 @@ public void setInventory( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void addFulfillmentPlaces( @@ -937,8 +937,8 @@ public void addFulfillmentPlaces( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public void removeFulfillmentPlaces( @@ -1089,8 +1089,8 @@ public com.google.longrunning.Operation importProducts( * and * [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.longrunning.Operation setInventory( @@ -1114,8 +1114,8 @@ public com.google.longrunning.Operation setInventory( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.longrunning.Operation addFulfillmentPlaces( @@ -1139,8 +1139,8 @@ public com.google.longrunning.Operation addFulfillmentPlaces( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.longrunning.Operation removeFulfillmentPlaces( @@ -1289,8 +1289,8 @@ protected ProductServiceFutureStub build( * and * [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.common.util.concurrent.ListenableFuture @@ -1314,8 +1314,8 @@ protected ProductServiceFutureStub build( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.common.util.concurrent.ListenableFuture @@ -1339,8 +1339,8 @@ protected ProductServiceFutureStub build( * [GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or * [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. * */ public com.google.common.util.concurrent.ListenableFuture diff --git a/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceGrpc.java b/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceGrpc.java index dc941d6d..769c37ab 100644 --- a/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceGrpc.java +++ b/grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceGrpc.java @@ -23,8 +23,8 @@ *
      * Service for search.
      * This feature is only available for users who have Retail Search enabled.
    - * Contact Retail Support (retail-search-support@google.com) if you are
    - * interested in using Retail Search.
    + * Please submit a form [here](https://cloud.google.com/contact) to contact
    + * cloud sales if you are interested in using Retail Search.
      * 
    */ @javax.annotation.Generated( @@ -125,8 +125,8 @@ public SearchServiceFutureStub newStub( *
        * Service for search.
        * This feature is only available for users who have Retail Search enabled.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in using Retail Search.
    +   * Please submit a form [here](https://cloud.google.com/contact) to contact
    +   * cloud sales if you are interested in using Retail Search.
        * 
    */ public abstract static class SearchServiceImplBase implements io.grpc.BindableService { @@ -137,8 +137,8 @@ public abstract static class SearchServiceImplBase implements io.grpc.BindableSe *
          * Performs a search.
          * This feature is only available for users who have Retail Search enabled.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in using Retail Search.
    +     * Please submit a form [here](https://cloud.google.com/contact) to contact
    +     * cloud sales if you are interested in using Retail Search.
          * 
    */ public void search( @@ -166,8 +166,8 @@ public final io.grpc.ServerServiceDefinition bindService() { *
        * Service for search.
        * This feature is only available for users who have Retail Search enabled.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in using Retail Search.
    +   * Please submit a form [here](https://cloud.google.com/contact) to contact
    +   * cloud sales if you are interested in using Retail Search.
        * 
    */ public static final class SearchServiceStub @@ -187,8 +187,8 @@ protected SearchServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions c *
          * Performs a search.
          * This feature is only available for users who have Retail Search enabled.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in using Retail Search.
    +     * Please submit a form [here](https://cloud.google.com/contact) to contact
    +     * cloud sales if you are interested in using Retail Search.
          * 
    */ public void search( @@ -205,8 +205,8 @@ public void search( *
        * Service for search.
        * This feature is only available for users who have Retail Search enabled.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in using Retail Search.
    +   * Please submit a form [here](https://cloud.google.com/contact) to contact
    +   * cloud sales if you are interested in using Retail Search.
        * 
    */ public static final class SearchServiceBlockingStub @@ -227,8 +227,8 @@ protected SearchServiceBlockingStub build( *
          * Performs a search.
          * This feature is only available for users who have Retail Search enabled.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in using Retail Search.
    +     * Please submit a form [here](https://cloud.google.com/contact) to contact
    +     * cloud sales if you are interested in using Retail Search.
          * 
    */ public com.google.cloud.retail.v2.SearchResponse search( @@ -244,8 +244,8 @@ public com.google.cloud.retail.v2.SearchResponse search( *
        * Service for search.
        * This feature is only available for users who have Retail Search enabled.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in using Retail Search.
    +   * Please submit a form [here](https://cloud.google.com/contact) to contact
    +   * cloud sales if you are interested in using Retail Search.
        * 
    */ public static final class SearchServiceFutureStub @@ -266,8 +266,8 @@ protected SearchServiceFutureStub build( *
          * Performs a search.
          * This feature is only available for users who have Retail Search enabled.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in using Retail Search.
    +     * Please submit a form [here](https://cloud.google.com/contact) to contact
    +     * cloud sales if you are interested in using Retail Search.
          * 
    */ public com.google.common.util.concurrent.ListenableFuture< diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java index dd7e053a..ead167f6 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java @@ -490,8 +490,8 @@ public com.google.protobuf.ByteString getDeviceTypeBytes() { * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -522,8 +522,8 @@ public java.lang.String getDataset() { * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -549,8 +549,10 @@ public com.google.protobuf.ByteString getDatasetBytes() { * * *
    -   * Completion max suggestions.
    -   * The maximum allowed max suggestions is 20. The default value is 20.
    +   * Completion max suggestions. If left unset or set to 0, then will fallback
    +   * to the configured value [CompletionConfig.max_suggestions][].
    +   * The maximum allowed max suggestions is 20. If it is set higher, it will be
    +   * capped by 20.
        * 
    * * int32 max_suggestions = 5; @@ -1734,8 +1736,8 @@ public Builder setDeviceTypeBytes(com.google.protobuf.ByteString value) { * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -1765,8 +1767,8 @@ public java.lang.String getDataset() { * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -1796,8 +1798,8 @@ public com.google.protobuf.ByteString getDatasetBytes() { * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -1826,8 +1828,8 @@ public Builder setDataset(java.lang.String value) { * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -1852,8 +1854,8 @@ public Builder clearDataset() { * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -1877,8 +1879,10 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { * * *
    -     * Completion max suggestions.
    -     * The maximum allowed max suggestions is 20. The default value is 20.
    +     * Completion max suggestions. If left unset or set to 0, then will fallback
    +     * to the configured value [CompletionConfig.max_suggestions][].
    +     * The maximum allowed max suggestions is 20. If it is set higher, it will be
    +     * capped by 20.
          * 
    * * int32 max_suggestions = 5; @@ -1893,8 +1897,10 @@ public int getMaxSuggestions() { * * *
    -     * Completion max suggestions.
    -     * The maximum allowed max suggestions is 20. The default value is 20.
    +     * Completion max suggestions. If left unset or set to 0, then will fallback
    +     * to the configured value [CompletionConfig.max_suggestions][].
    +     * The maximum allowed max suggestions is 20. If it is set higher, it will be
    +     * capped by 20.
          * 
    * * int32 max_suggestions = 5; @@ -1912,8 +1918,10 @@ public Builder setMaxSuggestions(int value) { * * *
    -     * Completion max suggestions.
    -     * The maximum allowed max suggestions is 20. The default value is 20.
    +     * Completion max suggestions. If left unset or set to 0, then will fallback
    +     * to the configured value [CompletionConfig.max_suggestions][].
    +     * The maximum allowed max suggestions is 20. If it is set higher, it will be
    +     * capped by 20.
          * 
    * * int32 max_suggestions = 5; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java index a40e5ed7..d2ad4899 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java @@ -242,8 +242,8 @@ public interface CompleteQueryRequestOrBuilder * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -263,8 +263,8 @@ public interface CompleteQueryRequestOrBuilder * Current supported values: * * user-data * * cloud-retail - * This option is not automatically enabled. Before using cloud-retail, - * contact retail-search-support@google.com first. + * This option requires additional allowlisting. Before using cloud-retail, + * contact Cloud Retail support team first. * * * string dataset = 6; @@ -277,8 +277,10 @@ public interface CompleteQueryRequestOrBuilder * * *
    -   * Completion max suggestions.
    -   * The maximum allowed max suggestions is 20. The default value is 20.
    +   * Completion max suggestions. If left unset or set to 0, then will fallback
    +   * to the configured value [CompletionConfig.max_suggestions][].
    +   * The maximum allowed max suggestions is 20. If it is set higher, it will be
    +   * capped by 20.
        * 
    * * int32 max_suggestions = 5; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponse.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponse.java index 5a6d4656..16bc1949 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponse.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponse.java @@ -2038,9 +2038,9 @@ public com.google.protobuf.ByteString getAttributionTokenBytes() { * * *
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -2068,9 +2068,9 @@ public com.google.protobuf.ByteString getAttributionTokenBytes() {
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -2099,9 +2099,9 @@ public com.google.protobuf.ByteString getAttributionTokenBytes() {
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -2128,9 +2128,9 @@ public int getRecentSearchResultsCount() {
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -2158,9 +2158,9 @@ public com.google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult getRe
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3189,9 +3189,9 @@ private void ensureRecentSearchResultsIsMutable() {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3222,9 +3222,9 @@ private void ensureRecentSearchResultsIsMutable() {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3254,9 +3254,9 @@ public int getRecentSearchResultsCount() {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3287,9 +3287,9 @@ public int getRecentSearchResultsCount() {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3326,9 +3326,9 @@ public Builder setRecentSearchResults(
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3364,9 +3364,9 @@ public Builder setRecentSearchResults(
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3403,9 +3403,9 @@ public Builder addRecentSearchResults(
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3442,9 +3442,9 @@ public Builder addRecentSearchResults(
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3479,9 +3479,9 @@ public Builder addRecentSearchResults(
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3517,9 +3517,9 @@ public Builder addRecentSearchResults(
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3555,9 +3555,9 @@ public Builder addAllRecentSearchResults(
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3590,9 +3590,9 @@ public Builder clearRecentSearchResults() {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3625,9 +3625,9 @@ public Builder removeRecentSearchResults(int index) {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3654,9 +3654,9 @@ public Builder removeRecentSearchResults(int index) {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3687,9 +3687,9 @@ public Builder removeRecentSearchResults(int index) {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3721,9 +3721,9 @@ public Builder removeRecentSearchResults(int index) {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3753,9 +3753,9 @@ public Builder removeRecentSearchResults(int index) {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -3786,9 +3786,9 @@ public Builder removeRecentSearchResults(int index) {
          *
          *
          * 
    -     * Matched recent searches of this user. This field is a restricted feature.
    -     * Contact Retail Support (retail-search-support@google.com) if you are
    -     * interested in enabling it.
    +     * Matched recent searches of this user. The maximum number of recent searches
    +     * is 10. This field is a restricted feature. Contact Retail Search support
    +     * team if you are interested in enabling it.
          * This feature is only available when
          * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
          * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponseOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponseOrBuilder.java
    index 31fc2c53..9a0704cc 100644
    --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponseOrBuilder.java
    +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponseOrBuilder.java
    @@ -128,9 +128,9 @@ public interface CompleteQueryResponseOrBuilder
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -155,9 +155,9 @@ public interface CompleteQueryResponseOrBuilder
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -182,9 +182,9 @@ com.google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult getRecentSea
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -208,9 +208,9 @@ com.google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult getRecentSea
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    @@ -236,9 +236,9 @@ com.google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult getRecentSea
        *
        *
        * 
    -   * Matched recent searches of this user. This field is a restricted feature.
    -   * Contact Retail Support (retail-search-support@google.com) if you are
    -   * interested in enabling it.
    +   * Matched recent searches of this user. The maximum number of recent searches
    +   * is 10. This field is a restricted feature. Contact Retail Search support
    +   * team if you are interested in enabling it.
        * This feature is only available when
        * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id]
        * field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported.
    diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfig.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfig.java
    index f051064f..6b8c403a 100644
    --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfig.java
    +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfig.java
    @@ -168,7 +168,7 @@ public SourceCase getSourceCase() {
        *
        * 
        * Required. BigQuery input source.
    -   * Add the IAM permission “BigQuery Data Viewer” for
    +   * Add the IAM permission "BigQuery Data Viewer" for
        * cloud-retail-customer-data-access@system.gserviceaccount.com before
        * using this feature otherwise an error is thrown.
        * 
    @@ -188,7 +188,7 @@ public boolean hasBigQuerySource() { * *
        * Required. BigQuery input source.
    -   * Add the IAM permission “BigQuery Data Viewer” for
    +   * Add the IAM permission "BigQuery Data Viewer" for
        * cloud-retail-customer-data-access@system.gserviceaccount.com before
        * using this feature otherwise an error is thrown.
        * 
    @@ -211,7 +211,7 @@ public com.google.cloud.retail.v2.BigQuerySource getBigQuerySource() { * *
        * Required. BigQuery input source.
    -   * Add the IAM permission “BigQuery Data Viewer” for
    +   * Add the IAM permission "BigQuery Data Viewer" for
        * cloud-retail-customer-data-access@system.gserviceaccount.com before
        * using this feature otherwise an error is thrown.
        * 
    @@ -599,7 +599,7 @@ public Builder clearSource() { * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    @@ -619,7 +619,7 @@ public boolean hasBigQuerySource() { * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    @@ -649,7 +649,7 @@ public com.google.cloud.retail.v2.BigQuerySource getBigQuerySource() { * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    @@ -676,7 +676,7 @@ public Builder setBigQuerySource(com.google.cloud.retail.v2.BigQuerySource value * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    @@ -701,7 +701,7 @@ public Builder setBigQuerySource( * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    @@ -737,7 +737,7 @@ public Builder mergeBigQuerySource(com.google.cloud.retail.v2.BigQuerySource val * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    @@ -767,7 +767,7 @@ public Builder clearBigQuerySource() { * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    @@ -784,7 +784,7 @@ public com.google.cloud.retail.v2.BigQuerySource.Builder getBigQuerySourceBuilde * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    @@ -809,7 +809,7 @@ public com.google.cloud.retail.v2.BigQuerySourceOrBuilder getBigQuerySourceOrBui * *
          * Required. BigQuery input source.
    -     * Add the IAM permission “BigQuery Data Viewer” for
    +     * Add the IAM permission "BigQuery Data Viewer" for
          * cloud-retail-customer-data-access@system.gserviceaccount.com before
          * using this feature otherwise an error is thrown.
          * 
    diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfigOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfigOrBuilder.java index 2ce05279..04baa004 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfigOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfigOrBuilder.java @@ -28,7 +28,7 @@ public interface CompletionDataInputConfigOrBuilder * *
        * Required. BigQuery input source.
    -   * Add the IAM permission “BigQuery Data Viewer” for
    +   * Add the IAM permission "BigQuery Data Viewer" for
        * cloud-retail-customer-data-access@system.gserviceaccount.com before
        * using this feature otherwise an error is thrown.
        * 
    @@ -45,7 +45,7 @@ public interface CompletionDataInputConfigOrBuilder * *
        * Required. BigQuery input source.
    -   * Add the IAM permission “BigQuery Data Viewer” for
    +   * Add the IAM permission "BigQuery Data Viewer" for
        * cloud-retail-customer-data-access@system.gserviceaccount.com before
        * using this feature otherwise an error is thrown.
        * 
    @@ -62,7 +62,7 @@ public interface CompletionDataInputConfigOrBuilder * *
        * Required. BigQuery input source.
    -   * Add the IAM permission “BigQuery Data Viewer” for
    +   * Add the IAM permission "BigQuery Data Viewer" for
        * cloud-retail-customer-data-access@system.gserviceaccount.com before
        * using this feature otherwise an error is thrown.
        * 
    diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java index 7b9ed09c..11ea2517 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java @@ -221,12 +221,12 @@ public enum ReconciliationMode implements com.google.protobuf.ProtocolMessageEnu * products may be deleted if they are not present in the source location. * Can only be while using * [BigQuerySource][google.cloud.retail.v2.BigQuerySource]. - * Add the IAM permission “BigQuery Data Viewer” for + * Add the IAM permission "BigQuery Data Viewer" for * cloud-retail-customer-data-access@system.gserviceaccount.com before * using this feature otherwise an error is thrown. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. *
    * * FULL = 2; @@ -263,12 +263,12 @@ public enum ReconciliationMode implements com.google.protobuf.ProtocolMessageEnu * products may be deleted if they are not present in the source location. * Can only be while using * [BigQuerySource][google.cloud.retail.v2.BigQuerySource]. - * Add the IAM permission “BigQuery Data Viewer” for + * Add the IAM permission "BigQuery Data Viewer" for * cloud-retail-customer-data-access@system.gserviceaccount.com before * using this feature otherwise an error is thrown. * This feature is only available for users who have Retail Search enabled. - * Contact Retail Support (retail-search-support@google.com) if you are - * interested in using Retail Search. + * Please submit a form [here](https://cloud.google.com/contact) to contact + * cloud sales if you are interested in using Retail Search. *
    * * FULL = 2; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java index a4ed14a2..ed9d54f5 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java @@ -1509,6 +1509,8 @@ public com.google.protobuf.ByteString getCollectionMemberIdsBytes(int index) { * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -1543,6 +1545,8 @@ public java.lang.String getGtin() { * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -2046,13 +2050,9 @@ public int getAttributesCount() { * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -2091,13 +2091,9 @@ public boolean containsAttributes(java.lang.String key) { * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -2127,13 +2123,9 @@ public boolean containsAttributes(java.lang.String key) { * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -2168,13 +2160,9 @@ public com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -3016,7 +3004,7 @@ public com.google.protobuf.ByteString getSizesBytes(int index) { * *
        * The material of the product. For example, "leather", "wooden".
    -   * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +   * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
        * string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
        * Google Merchant Center property
    @@ -3036,7 +3024,7 @@ public com.google.protobuf.ProtocolStringList getMaterialsList() {
        *
        * 
        * The material of the product. For example, "leather", "wooden".
    -   * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +   * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
        * string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
        * Google Merchant Center property
    @@ -3056,7 +3044,7 @@ public int getMaterialsCount() {
        *
        * 
        * The material of the product. For example, "leather", "wooden".
    -   * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +   * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
        * string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
        * Google Merchant Center property
    @@ -3077,7 +3065,7 @@ public java.lang.String getMaterials(int index) {
        *
        * 
        * The material of the product. For example, "leather", "wooden".
    -   * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +   * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
        * string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
        * Google Merchant Center property
    @@ -3102,7 +3090,7 @@ public com.google.protobuf.ByteString getMaterialsBytes(int index) {
        * 
        * The pattern or graphic print of the product. For example, "striped", "polka
        * dot", "paisley".
    -   * A maximum of 5 values are allowed per
    +   * A maximum of 20 values are allowed per
        * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
        * encoded string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
    @@ -3124,7 +3112,7 @@ public com.google.protobuf.ProtocolStringList getPatternsList() {
        * 
        * The pattern or graphic print of the product. For example, "striped", "polka
        * dot", "paisley".
    -   * A maximum of 5 values are allowed per
    +   * A maximum of 20 values are allowed per
        * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
        * encoded string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
    @@ -3146,7 +3134,7 @@ public int getPatternsCount() {
        * 
        * The pattern or graphic print of the product. For example, "striped", "polka
        * dot", "paisley".
    -   * A maximum of 5 values are allowed per
    +   * A maximum of 20 values are allowed per
        * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
        * encoded string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
    @@ -3169,7 +3157,7 @@ public java.lang.String getPatterns(int index) {
        * 
        * The pattern or graphic print of the product. For example, "striped", "polka
        * dot", "paisley".
    -   * A maximum of 5 values are allowed per
    +   * A maximum of 20 values are allowed per
        * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
        * encoded string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
    @@ -3464,8 +3452,11 @@ public com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder() {
        * following fields are always returned in by default:
        * * [name][google.cloud.retail.v2.Product.name]
        * * [color_info][google.cloud.retail.v2.Product.color_info]
    -   * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is
    +   * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
        * returned.
    +   * Note: Returning more fields in
    +   * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase
    +   * response payload size and serving latency.
        * 
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -3519,8 +3510,11 @@ public boolean hasRetrievableFields() { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -3576,8 +3570,11 @@ public com.google.protobuf.FieldMask getRetrievableFields() { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -6402,6 +6399,8 @@ public Builder addCollectionMemberIdsBytes(com.google.protobuf.ByteString value) * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -6435,6 +6434,8 @@ public java.lang.String getGtin() { * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -6468,6 +6469,8 @@ public com.google.protobuf.ByteString getGtinBytes() { * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -6500,6 +6503,8 @@ public Builder setGtin(java.lang.String value) { * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -6528,6 +6533,8 @@ public Builder clearGtin() { * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -7623,13 +7630,9 @@ public int getAttributesCount() { * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -7668,13 +7671,9 @@ public boolean containsAttributes(java.lang.String key) { * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -7704,13 +7703,9 @@ public boolean containsAttributes(java.lang.String key) { * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -7745,13 +7740,9 @@ public com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -7793,13 +7784,9 @@ public Builder clearAttributes() { * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -7837,13 +7824,9 @@ public Builder removeAttributes(java.lang.String key) { * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -7879,13 +7862,9 @@ public Builder putAttributes( * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -10751,7 +10730,7 @@ private void ensureMaterialsIsMutable() { * *
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10771,7 +10750,7 @@ public com.google.protobuf.ProtocolStringList getMaterialsList() {
          *
          * 
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10791,7 +10770,7 @@ public int getMaterialsCount() {
          *
          * 
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10812,7 +10791,7 @@ public java.lang.String getMaterials(int index) {
          *
          * 
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10833,7 +10812,7 @@ public com.google.protobuf.ByteString getMaterialsBytes(int index) {
          *
          * 
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10861,7 +10840,7 @@ public Builder setMaterials(int index, java.lang.String value) {
          *
          * 
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10888,7 +10867,7 @@ public Builder addMaterials(java.lang.String value) {
          *
          * 
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10912,7 +10891,7 @@ public Builder addAllMaterials(java.lang.Iterable values) {
          *
          * 
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10935,7 +10914,7 @@ public Builder clearMaterials() {
          *
          * 
          * The material of the product. For example, "leather", "wooden".
    -     * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +     * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
          * string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
          * Google Merchant Center property
    @@ -10974,7 +10953,7 @@ private void ensurePatternsIsMutable() {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -10996,7 +10975,7 @@ public com.google.protobuf.ProtocolStringList getPatternsList() {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -11018,7 +10997,7 @@ public int getPatternsCount() {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -11041,7 +11020,7 @@ public java.lang.String getPatterns(int index) {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -11064,7 +11043,7 @@ public com.google.protobuf.ByteString getPatternsBytes(int index) {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -11094,7 +11073,7 @@ public Builder setPatterns(int index, java.lang.String value) {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -11123,7 +11102,7 @@ public Builder addPatterns(java.lang.String value) {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -11149,7 +11128,7 @@ public Builder addAllPatterns(java.lang.Iterable values) {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -11174,7 +11153,7 @@ public Builder clearPatterns() {
          * 
          * The pattern or graphic print of the product. For example, "striped", "polka
          * dot", "paisley".
    -     * A maximum of 5 values are allowed per
    +     * A maximum of 20 values are allowed per
          * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
          * encoded string with a length limit of 128 characters. Otherwise, an
          * INVALID_ARGUMENT error is returned.
    @@ -12093,8 +12072,11 @@ public com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder() {
          * following fields are always returned in by default:
          * * [name][google.cloud.retail.v2.Product.name]
          * * [color_info][google.cloud.retail.v2.Product.color_info]
    -     * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is
    +     * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
          * returned.
    +     * Note: Returning more fields in
    +     * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase
    +     * response payload size and serving latency.
          * 
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -12147,8 +12129,11 @@ public boolean hasRetrievableFields() { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -12207,8 +12192,11 @@ public com.google.protobuf.FieldMask getRetrievableFields() { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -12269,8 +12257,11 @@ public Builder setRetrievableFields(com.google.protobuf.FieldMask value) { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -12328,8 +12319,11 @@ public Builder setRetrievableFields(com.google.protobuf.FieldMask.Builder builde * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -12394,8 +12388,11 @@ public Builder mergeRetrievableFields(com.google.protobuf.FieldMask value) { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -12454,8 +12451,11 @@ public Builder clearRetrievableFields() { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -12508,8 +12508,11 @@ public com.google.protobuf.FieldMask.Builder getRetrievableFieldsBuilder() { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -12566,8 +12569,11 @@ public com.google.protobuf.FieldMaskOrBuilder getRetrievableFieldsOrBuilder() { * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductDetail.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductDetail.java index 1ee2338a..5774a629 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductDetail.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductDetail.java @@ -139,9 +139,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
        * Required. [Product][google.cloud.retail.v2.Product] information.
    -   * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -   * ingesting an event, all other product fields are ignored as we will look
    -   * them up from the catalog.
    +   * Required field(s):
    +   * * [Product.id][google.cloud.retail.v2.Product.id]
    +   * Optional override field(s):
    +   * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +   * If any supported optional fields are provided, we will treat them as a full
    +   * override when looking up product information from the catalog. Thus, it is
    +   * important to ensure that the overriding fields are accurate and
    +   * complete.
    +   * All other product fields are ignored and instead populated via catalog
    +   * lookup after event ingestion.
        * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -158,9 +165,16 @@ public boolean hasProduct() { * *
        * Required. [Product][google.cloud.retail.v2.Product] information.
    -   * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -   * ingesting an event, all other product fields are ignored as we will look
    -   * them up from the catalog.
    +   * Required field(s):
    +   * * [Product.id][google.cloud.retail.v2.Product.id]
    +   * Optional override field(s):
    +   * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +   * If any supported optional fields are provided, we will treat them as a full
    +   * override when looking up product information from the catalog. Thus, it is
    +   * important to ensure that the overriding fields are accurate and
    +   * complete.
    +   * All other product fields are ignored and instead populated via catalog
    +   * lookup after event ingestion.
        * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -177,9 +191,16 @@ public com.google.cloud.retail.v2.Product getProduct() { * *
        * Required. [Product][google.cloud.retail.v2.Product] information.
    -   * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -   * ingesting an event, all other product fields are ignored as we will look
    -   * them up from the catalog.
    +   * Required field(s):
    +   * * [Product.id][google.cloud.retail.v2.Product.id]
    +   * Optional override field(s):
    +   * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +   * If any supported optional fields are provided, we will treat them as a full
    +   * override when looking up product information from the catalog. Thus, it is
    +   * important to ensure that the overriding fields are accurate and
    +   * complete.
    +   * All other product fields are ignored and instead populated via catalog
    +   * lookup after event ingestion.
        * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -611,9 +632,16 @@ public Builder mergeFrom( * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -629,9 +657,16 @@ public boolean hasProduct() { * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -653,9 +688,16 @@ public com.google.cloud.retail.v2.Product getProduct() { * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -679,9 +721,16 @@ public Builder setProduct(com.google.cloud.retail.v2.Product value) { * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -702,9 +751,16 @@ public Builder setProduct(com.google.cloud.retail.v2.Product.Builder builderForV * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -732,9 +788,16 @@ public Builder mergeProduct(com.google.cloud.retail.v2.Product value) { * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -756,9 +819,16 @@ public Builder clearProduct() { * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -774,9 +844,16 @@ public com.google.cloud.retail.v2.Product.Builder getProductBuilder() { * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -796,9 +873,16 @@ public com.google.cloud.retail.v2.ProductOrBuilder getProductOrBuilder() { * *
          * Required. [Product][google.cloud.retail.v2.Product] information.
    -     * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -     * ingesting an event, all other product fields are ignored as we will look
    -     * them up from the catalog.
    +     * Required field(s):
    +     * * [Product.id][google.cloud.retail.v2.Product.id]
    +     * Optional override field(s):
    +     * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +     * If any supported optional fields are provided, we will treat them as a full
    +     * override when looking up product information from the catalog. Thus, it is
    +     * important to ensure that the overriding fields are accurate and
    +     * complete.
    +     * All other product fields are ignored and instead populated via catalog
    +     * lookup after event ingestion.
          * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductDetailOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductDetailOrBuilder.java index 1506b07e..3ffec3d2 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductDetailOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductDetailOrBuilder.java @@ -28,9 +28,16 @@ public interface ProductDetailOrBuilder * *
        * Required. [Product][google.cloud.retail.v2.Product] information.
    -   * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -   * ingesting an event, all other product fields are ignored as we will look
    -   * them up from the catalog.
    +   * Required field(s):
    +   * * [Product.id][google.cloud.retail.v2.Product.id]
    +   * Optional override field(s):
    +   * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +   * If any supported optional fields are provided, we will treat them as a full
    +   * override when looking up product information from the catalog. Thus, it is
    +   * important to ensure that the overriding fields are accurate and
    +   * complete.
    +   * All other product fields are ignored and instead populated via catalog
    +   * lookup after event ingestion.
        * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -44,9 +51,16 @@ public interface ProductDetailOrBuilder * *
        * Required. [Product][google.cloud.retail.v2.Product] information.
    -   * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -   * ingesting an event, all other product fields are ignored as we will look
    -   * them up from the catalog.
    +   * Required field(s):
    +   * * [Product.id][google.cloud.retail.v2.Product.id]
    +   * Optional override field(s):
    +   * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +   * If any supported optional fields are provided, we will treat them as a full
    +   * override when looking up product information from the catalog. Thus, it is
    +   * important to ensure that the overriding fields are accurate and
    +   * complete.
    +   * All other product fields are ignored and instead populated via catalog
    +   * lookup after event ingestion.
        * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -60,9 +74,16 @@ public interface ProductDetailOrBuilder * *
        * Required. [Product][google.cloud.retail.v2.Product] information.
    -   * Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
    -   * ingesting an event, all other product fields are ignored as we will look
    -   * them up from the catalog.
    +   * Required field(s):
    +   * * [Product.id][google.cloud.retail.v2.Product.id]
    +   * Optional override field(s):
    +   * * [Product.price_info][google.cloud.retail.v2.Product.price_info]
    +   * If any supported optional fields are provided, we will treat them as a full
    +   * override when looking up product information from the catalog. Thus, it is
    +   * important to ensure that the overriding fields are accurate and
    +   * complete.
    +   * All other product fields are ignored and instead populated via catalog
    +   * lookup after event ingestion.
        * 
    * * .google.cloud.retail.v2.Product product = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java index e1659da5..0f99170e 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java @@ -399,6 +399,8 @@ public interface ProductOrBuilder * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -422,6 +424,8 @@ public interface ProductOrBuilder * The Global Trade Item Number (GTIN) of the product. * This field must be a UTF-8 encoded string with a length limit of 128 * characters. Otherwise, an INVALID_ARGUMENT error is returned. + * This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is + * returned. * Google Merchant Center property * [gtin](https://support.google.com/merchants/answer/6324461). * Schema.org property @@ -792,13 +796,9 @@ public interface ProductOrBuilder * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -824,13 +824,9 @@ public interface ProductOrBuilder * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -859,13 +855,9 @@ public interface ProductOrBuilder * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -891,13 +883,9 @@ public interface ProductOrBuilder * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -924,13 +912,9 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * }`. * This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT * error is returned: - * * Max entries count: 200 by default; 100 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. + * * Max entries count: 200. * * The key must be a UTF-8 encoded string with a length limit of 128 * characters. - * * Max indexable entries count: 200 by default; 40 for - * [Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]. - * * Max searchable entries count: 30. * * For indexable attribute, the key must match the pattern: * [a-zA-Z0-9][a-zA-Z0-9_]*. For example, key0LikeThis or KEY_1_LIKE_THIS. *
    @@ -1594,7 +1578,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * *
        * The material of the product. For example, "leather", "wooden".
    -   * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +   * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
        * string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
        * Google Merchant Center property
    @@ -1612,7 +1596,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault(
        *
        * 
        * The material of the product. For example, "leather", "wooden".
    -   * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +   * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
        * string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
        * Google Merchant Center property
    @@ -1630,7 +1614,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault(
        *
        * 
        * The material of the product. For example, "leather", "wooden".
    -   * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +   * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
        * string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
        * Google Merchant Center property
    @@ -1649,7 +1633,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault(
        *
        * 
        * The material of the product. For example, "leather", "wooden".
    -   * A maximum of 5 values are allowed. Each value must be a UTF-8 encoded
    +   * A maximum of 20 values are allowed. Each value must be a UTF-8 encoded
        * string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
        * Google Merchant Center property
    @@ -1670,7 +1654,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault(
        * 
        * The pattern or graphic print of the product. For example, "striped", "polka
        * dot", "paisley".
    -   * A maximum of 5 values are allowed per
    +   * A maximum of 20 values are allowed per
        * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
        * encoded string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
    @@ -1690,7 +1674,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault(
        * 
        * The pattern or graphic print of the product. For example, "striped", "polka
        * dot", "paisley".
    -   * A maximum of 5 values are allowed per
    +   * A maximum of 20 values are allowed per
        * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
        * encoded string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
    @@ -1710,7 +1694,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault(
        * 
        * The pattern or graphic print of the product. For example, "striped", "polka
        * dot", "paisley".
    -   * A maximum of 5 values are allowed per
    +   * A maximum of 20 values are allowed per
        * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
        * encoded string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
    @@ -1731,7 +1715,7 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault(
        * 
        * The pattern or graphic print of the product. For example, "striped", "polka
        * dot", "paisley".
    -   * A maximum of 5 values are allowed per
    +   * A maximum of 20 values are allowed per
        * [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8
        * encoded string with a length limit of 128 characters. Otherwise, an
        * INVALID_ARGUMENT error is returned.
    @@ -1984,8 +1968,11 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault(
        * following fields are always returned in by default:
        * * [name][google.cloud.retail.v2.Product.name]
        * * [color_info][google.cloud.retail.v2.Product.color_info]
    -   * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is
    +   * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
        * returned.
    +   * Note: Returning more fields in
    +   * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase
    +   * response payload size and serving latency.
        * 
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -2036,8 +2023,11 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; @@ -2088,8 +2078,11 @@ com.google.cloud.retail.v2.CustomAttribute getAttributesOrDefault( * following fields are always returned in by default: * * [name][google.cloud.retail.v2.Product.name] * * [color_info][google.cloud.retail.v2.Product.color_info] - * Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + * Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is * returned. + * Note: Returning more fields in + * [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + * response payload size and serving latency. *
    * * .google.protobuf.FieldMask retrievable_fields = 30; diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequest.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequest.java index 99c85998..7279612b 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequest.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequest.java @@ -633,34 +633,34 @@ public interface FacetKeyOrBuilder * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -678,34 +678,34 @@ public interface FacetKeyOrBuilder * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1032,7 +1032,8 @@ public interface FacetKeyOrBuilder * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -1056,7 +1057,8 @@ public interface FacetKeyOrBuilder * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -1305,34 +1307,34 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1361,34 +1363,34 @@ public java.lang.String getKey() { * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1775,7 +1777,8 @@ public com.google.protobuf.ByteString getContainsBytes(int index) { * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -1810,7 +1813,8 @@ public java.lang.String getOrderBy() { * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -2442,34 +2446,34 @@ public Builder mergeFrom( * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2497,34 +2501,34 @@ public java.lang.String getKey() { * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2552,34 +2556,34 @@ public com.google.protobuf.ByteString getKeyBytes() { * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2606,34 +2610,34 @@ public Builder setKey(java.lang.String value) { * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2656,34 +2660,34 @@ public Builder clearKey() { * Allowed facet keys when * [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] * is not specified: - * Textual facet keys: - * * brands - * * categories - * * genders - * * ageGroups - * * availability - * * colorFamilies - * * colors - * * sizes - * * materials - * * patterns - * * conditions - * * attributes.key - * * pickupInStore - * * shipToStore - * * sameDayDelivery - * * nextDayDelivery - * * customFulfillment1 - * * customFulfillment2 - * * customFulfillment3 - * * customFulfillment4 - * * customFulfillment5 - * Numeric facet keys: - * * price - * * discount - * * rating - * * ratingCount - * * attributes.key + * * textual_field = + * * "brands" + * * "categories" + * * "genders" + * * "ageGroups" + * * "availability" + * * "colorFamilies" + * * "colors" + * * "sizes" + * * "materials" + * * "patterns" + * * "conditions" + * * "attributes.key" + * * "pickupInStore" + * * "shipToStore" + * * "sameDayDelivery" + * * "nextDayDelivery" + * * "customFulfillment1" + * * "customFulfillment2" + * * "customFulfillment3" + * * "customFulfillment4" + * * "customFulfillment5" + * * numerical_field = + * * "price" + * * "discount" + * * "rating" + * * "ratingCount" + * * "attributes.key" *
    * * string key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -3808,7 +3812,8 @@ public Builder addContainsBytes(com.google.protobuf.ByteString value) { * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -3842,7 +3847,8 @@ public java.lang.String getOrderBy() { * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -3876,7 +3882,8 @@ public com.google.protobuf.ByteString getOrderByBytes() { * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -3909,7 +3916,8 @@ public Builder setOrderBy(java.lang.String value) { * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -3938,7 +3946,8 @@ public Builder clearOrderBy() { * order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical * intervals are sorted in the order given by * [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - * [FulfillmentInfo.ids][] are sorted in the order given by + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * are sorted in the order given by * [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. *
    * @@ -6579,12 +6588,10 @@ public interface ConditionBoostSpecOrBuilder * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -6602,12 +6609,10 @@ public interface ConditionBoostSpecOrBuilder * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -6754,12 +6759,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -6788,12 +6791,10 @@ public java.lang.String getCondition() { * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -7209,12 +7210,10 @@ public Builder mergeFrom( * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -7242,12 +7241,10 @@ public java.lang.String getCondition() { * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -7275,12 +7272,10 @@ public com.google.protobuf.ByteString getConditionBytes() { * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -7307,12 +7302,10 @@ public Builder setCondition(java.lang.String value) { * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -7335,12 +7328,10 @@ public Builder clearCondition() { * detail syntax and limitations. * Examples: * * To boost products with product ID "product_1" or "product_2", and - * color "Red" or "Blue": - * ``` - * (id: ANY("product_1", "product_2")) - * AND - * (colorFamilies: ANY("Red", "Blue")) - * ``` + * color + * "Red" or "Blue": + * * (id: ANY("product_1", "product_2")) AND (colorFamilies: + * ANY("Red","Blue")) *
    * * string condition = 1; @@ -8527,6 +8518,21 @@ public interface QueryExpansionSpecOrBuilder * @return The condition. */ com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition getCondition(); + + /** + * + * + *
    +     * Whether to pin unexpanded results. If this field is set to true,
    +     * unexpanded products are always at the top of the search results, followed
    +     * by the expanded results.
    +     * 
    + * + * bool pin_unexpanded_results = 2; + * + * @return The pinUnexpandedResults. + */ + boolean getPinUnexpandedResults(); } /** * @@ -8588,6 +8594,11 @@ private QueryExpansionSpec( condition_ = rawValue; break; } + case 16: + { + pinUnexpandedResults_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -8829,6 +8840,26 @@ public com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition get : result; } + public static final int PIN_UNEXPANDED_RESULTS_FIELD_NUMBER = 2; + private boolean pinUnexpandedResults_; + /** + * + * + *
    +     * Whether to pin unexpanded results. If this field is set to true,
    +     * unexpanded products are always at the top of the search results, followed
    +     * by the expanded results.
    +     * 
    + * + * bool pin_unexpanded_results = 2; + * + * @return The pinUnexpandedResults. + */ + @java.lang.Override + public boolean getPinUnexpandedResults() { + return pinUnexpandedResults_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -8849,6 +8880,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(1, condition_); } + if (pinUnexpandedResults_ != false) { + output.writeBool(2, pinUnexpandedResults_); + } unknownFields.writeTo(output); } @@ -8864,6 +8898,9 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, condition_); } + if (pinUnexpandedResults_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, pinUnexpandedResults_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -8881,6 +8918,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec) obj; if (condition_ != other.condition_) return false; + if (getPinUnexpandedResults() != other.getPinUnexpandedResults()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8894,6 +8932,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CONDITION_FIELD_NUMBER; hash = (53 * hash) + condition_; + hash = (37 * hash) + PIN_UNEXPANDED_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPinUnexpandedResults()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -9045,6 +9085,8 @@ public Builder clear() { super.clear(); condition_ = 0; + pinUnexpandedResults_ = false; + return this; } @@ -9074,6 +9116,7 @@ public com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec buildPartial( com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec result = new com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec(this); result.condition_ = condition_; + result.pinUnexpandedResults_ = pinUnexpandedResults_; onBuilt(); return result; } @@ -9130,6 +9173,9 @@ public Builder mergeFrom(com.google.cloud.retail.v2.SearchRequest.QueryExpansion if (other.condition_ != 0) { setConditionValue(other.getConditionValue()); } + if (other.getPinUnexpandedResults() != false) { + setPinUnexpandedResults(other.getPinUnexpandedResults()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -9266,6 +9312,64 @@ public Builder clearCondition() { return this; } + private boolean pinUnexpandedResults_; + /** + * + * + *
    +       * Whether to pin unexpanded results. If this field is set to true,
    +       * unexpanded products are always at the top of the search results, followed
    +       * by the expanded results.
    +       * 
    + * + * bool pin_unexpanded_results = 2; + * + * @return The pinUnexpandedResults. + */ + @java.lang.Override + public boolean getPinUnexpandedResults() { + return pinUnexpandedResults_; + } + /** + * + * + *
    +       * Whether to pin unexpanded results. If this field is set to true,
    +       * unexpanded products are always at the top of the search results, followed
    +       * by the expanded results.
    +       * 
    + * + * bool pin_unexpanded_results = 2; + * + * @param value The pinUnexpandedResults to set. + * @return This builder for chaining. + */ + public Builder setPinUnexpandedResults(boolean value) { + + pinUnexpandedResults_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +       * Whether to pin unexpanded results. If this field is set to true,
    +       * unexpanded products are always at the top of the search results, followed
    +       * by the expanded results.
    +       * 
    + * + * bool pin_unexpanded_results = 2; + * + * @return This builder for chaining. + */ + public Builder clearPinUnexpandedResults() { + + pinUnexpandedResults_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9957,9 +10061,8 @@ public com.google.cloud.retail.v2.SearchRequest.FacetSpecOrBuilder getFacetSpecs *
        * The specification for dynamically generated facets. Notice that only
        * textual facets can be dynamically generated.
    -   * This feature requires additional allowlisting. Contact Retail Support
    -   * (retail-search-support@google.com) if you are interested in using dynamic
    -   * facet feature.
    +   * This feature requires additional allowlisting. Contact Retail Search
    +   * support team if you are interested in using dynamic facet feature.
        * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -9976,9 +10079,8 @@ public boolean hasDynamicFacetSpec() { *
        * The specification for dynamically generated facets. Notice that only
        * textual facets can be dynamically generated.
    -   * This feature requires additional allowlisting. Contact Retail Support
    -   * (retail-search-support@google.com) if you are interested in using dynamic
    -   * facet feature.
    +   * This feature requires additional allowlisting. Contact Retail Search
    +   * support team if you are interested in using dynamic facet feature.
        * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -9997,9 +10099,8 @@ public com.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec getDynamicFacet *
        * The specification for dynamically generated facets. Notice that only
        * textual facets can be dynamically generated.
    -   * This feature requires additional allowlisting. Contact Retail Support
    -   * (retail-search-support@google.com) if you are interested in using dynamic
    -   * facet feature.
    +   * This feature requires additional allowlisting. Contact Retail Search
    +   * support team if you are interested in using dynamic facet feature.
        * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -10127,10 +10228,9 @@ public com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec getQueryExpan * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -10139,24 +10239,42 @@ public com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec getQueryExpan * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. *
    @@ -10180,10 +10298,9 @@ public com.google.protobuf.ProtocolStringList getVariantRollupKeysList() { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -10192,24 +10309,42 @@ public com.google.protobuf.ProtocolStringList getVariantRollupKeysList() { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. *
    @@ -10233,10 +10368,9 @@ public int getVariantRollupKeysCount() { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -10245,24 +10379,42 @@ public int getVariantRollupKeysCount() { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -10287,10 +10439,9 @@ public java.lang.String getVariantRollupKeys(int index) { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -10299,24 +10450,42 @@ public java.lang.String getVariantRollupKeys(int index) { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -12858,9 +13027,8 @@ public com.google.cloud.retail.v2.SearchRequest.FacetSpec.Builder addFacetSpecsB *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -12876,9 +13044,8 @@ public boolean hasDynamicFacetSpec() { *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -12900,9 +13067,8 @@ public com.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec getDynamicFacet *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -12927,9 +13093,8 @@ public Builder setDynamicFacetSpec( *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -12951,9 +13116,8 @@ public Builder setDynamicFacetSpec( *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -12983,9 +13147,8 @@ public Builder mergeDynamicFacetSpec( *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -13007,9 +13170,8 @@ public Builder clearDynamicFacetSpec() { *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -13026,9 +13188,8 @@ public Builder clearDynamicFacetSpec() { *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -13049,9 +13210,8 @@ public Builder clearDynamicFacetSpec() { *
          * The specification for dynamically generated facets. Notice that only
          * textual facets can be dynamically generated.
    -     * This feature requires additional allowlisting. Contact Retail Support
    -     * (retail-search-support@google.com) if you are interested in using dynamic
    -     * facet feature.
    +     * This feature requires additional allowlisting. Contact Retail Search
    +     * support team if you are interested in using dynamic facet feature.
          * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -13489,10 +13649,9 @@ private void ensureVariantRollupKeysIsMutable() { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13501,24 +13660,42 @@ private void ensureVariantRollupKeysIsMutable() { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -13542,10 +13719,9 @@ public com.google.protobuf.ProtocolStringList getVariantRollupKeysList() { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13554,24 +13730,42 @@ public com.google.protobuf.ProtocolStringList getVariantRollupKeysList() { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -13595,10 +13789,9 @@ public int getVariantRollupKeysCount() { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13607,24 +13800,42 @@ public int getVariantRollupKeysCount() { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -13649,10 +13860,9 @@ public java.lang.String getVariantRollupKeys(int index) { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13661,24 +13871,42 @@ public java.lang.String getVariantRollupKeys(int index) { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -13703,10 +13931,9 @@ public com.google.protobuf.ByteString getVariantRollupKeysBytes(int index) { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13715,24 +13942,42 @@ public com.google.protobuf.ByteString getVariantRollupKeysBytes(int index) { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -13764,10 +14009,9 @@ public Builder setVariantRollupKeys(int index, java.lang.String value) { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13776,24 +14020,42 @@ public Builder setVariantRollupKeys(int index, java.lang.String value) { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -13824,10 +14086,9 @@ public Builder addVariantRollupKeys(java.lang.String value) { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13836,24 +14097,42 @@ public Builder addVariantRollupKeys(java.lang.String value) { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -13881,10 +14160,9 @@ public Builder addAllVariantRollupKeys(java.lang.Iterable valu * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13893,24 +14171,42 @@ public Builder addAllVariantRollupKeys(java.lang.Iterable valu * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -13937,10 +14233,9 @@ public Builder clearVariantRollupKeys() { * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -13949,24 +14244,42 @@ public Builder clearVariantRollupKeys() { * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequestOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequestOrBuilder.java index f4deeea9..de18fb45 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequestOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequestOrBuilder.java @@ -428,9 +428,8 @@ public interface SearchRequestOrBuilder *
        * The specification for dynamically generated facets. Notice that only
        * textual facets can be dynamically generated.
    -   * This feature requires additional allowlisting. Contact Retail Support
    -   * (retail-search-support@google.com) if you are interested in using dynamic
    -   * facet feature.
    +   * This feature requires additional allowlisting. Contact Retail Search
    +   * support team if you are interested in using dynamic facet feature.
        * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -444,9 +443,8 @@ public interface SearchRequestOrBuilder *
        * The specification for dynamically generated facets. Notice that only
        * textual facets can be dynamically generated.
    -   * This feature requires additional allowlisting. Contact Retail Support
    -   * (retail-search-support@google.com) if you are interested in using dynamic
    -   * facet feature.
    +   * This feature requires additional allowlisting. Contact Retail Search
    +   * support team if you are interested in using dynamic facet feature.
        * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -460,9 +458,8 @@ public interface SearchRequestOrBuilder *
        * The specification for dynamically generated facets. Notice that only
        * textual facets can be dynamically generated.
    -   * This feature requires additional allowlisting. Contact Retail Support
    -   * (retail-search-support@google.com) if you are interested in using dynamic
    -   * facet feature.
    +   * This feature requires additional allowlisting. Contact Retail Search
    +   * support team if you are interested in using dynamic facet feature.
        * 
    * * .google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 21; @@ -558,10 +555,9 @@ public interface SearchRequestOrBuilder * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -570,24 +566,42 @@ public interface SearchRequestOrBuilder * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -609,10 +623,9 @@ public interface SearchRequestOrBuilder * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -621,24 +634,42 @@ public interface SearchRequestOrBuilder * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -660,10 +691,9 @@ public interface SearchRequestOrBuilder * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -672,24 +702,42 @@ public interface SearchRequestOrBuilder * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * @@ -712,10 +760,9 @@ public interface SearchRequestOrBuilder * Notice that rollup [variant][google.cloud.retail.v2.Product.Type.VARIANT] * [Product][google.cloud.retail.v2.Product]s attributes will lead to extra * query latency. Maximum number of keys is 10. - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * a fulfillment type and a fulfillment ID must be provided in the format of - * "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + * fulfillment type and a fulfillment ID must be provided in the format of + * "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", * "pickupInStore" is fulfillment type and "store123" is the store ID. * Supported keys are: * * colorFamilies @@ -724,24 +771,42 @@ public interface SearchRequestOrBuilder * * discount * * attributes.key, where key is any key in the * [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - * * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - * * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SHIP_TO_STORE][]. - * * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - * * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - * * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - * * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - * * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - * * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - * * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - * [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + * * pickupInStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "pickup-in-store". + * * shipToStore.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "ship-to-store". + * * sameDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "same-day-delivery". + * * nextDayDelivery.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "next-day-delivery". + * * customFulfillment1.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-1". + * * customFulfillment2.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-2". + * * customFulfillment3.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-3". + * * customFulfillment4.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-4". + * * customFulfillment5.id, where id is any + * [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + * for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + * "custom-type-5". * If this field is set to an invalid value other than these, an * INVALID_ARGUMENT error is returned. * diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchResponse.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchResponse.java index 4b07a3a0..7d907da9 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchResponse.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchResponse.java @@ -436,10 +436,9 @@ com.google.protobuf.FieldMask getMatchingVariantFieldsOrDefault( * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -474,10 +473,9 @@ com.google.protobuf.FieldMask getMatchingVariantFieldsOrDefault( * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -515,10 +513,9 @@ com.google.protobuf.FieldMask getMatchingVariantFieldsOrDefault( * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -553,10 +550,9 @@ com.google.protobuf.FieldMask getMatchingVariantFieldsOrDefault( * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -592,10 +588,9 @@ com.google.protobuf.Value getVariantRollupValuesOrDefault( * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -1119,10 +1114,9 @@ public int getVariantRollupValuesCount() { * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -1169,10 +1163,9 @@ public java.util.Map getVariantRoll * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -1210,10 +1203,9 @@ public java.util.Map getVariantRoll * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -1257,10 +1249,9 @@ public com.google.protobuf.Value getVariantRollupValuesOrDefault( * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -2469,10 +2460,9 @@ public int getVariantRollupValuesCount() { * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -2519,10 +2509,9 @@ public java.util.Map getVariantRoll * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -2561,10 +2550,9 @@ public java.util.Map getVariantRoll * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -2608,10 +2596,9 @@ public com.google.protobuf.Value getVariantRollupValuesOrDefault( * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -2662,10 +2649,9 @@ public Builder clearVariantRollupValues() { * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -2712,10 +2698,9 @@ public Builder removeVariantRollupValues(java.lang.String key) { * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -2759,10 +2744,9 @@ public Builder putVariantRollupValues(java.lang.String key, com.google.protobuf. * } * } * } - * For - * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - * the rollup values is a double value with type - * [google.protobuf.Value][google.protobuf.Value]. For example: + * For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + * values is a double value with type + * [google.protobuf.Value][google.protobuf.Value]. For example, * `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there * are 10 variants in this product are available in the store "store1". * @@ -5423,6 +5407,21 @@ public interface QueryExpansionInfoOrBuilder * @return The expandedQuery. */ boolean getExpandedQuery(); + + /** + * + * + *
    +     * Number of pinned results. This field will only be set when expansion
    +     * happens and [SearchRequest.query_expansion_spec.pin_unexpanded_results][]
    +     * is set to true.
    +     * 
    + * + * int64 pinned_result_count = 2; + * + * @return The pinnedResultCount. + */ + long getPinnedResultCount(); } /** * @@ -5480,6 +5479,11 @@ private QueryExpansionInfo( expandedQuery_ = input.readBool(); break; } + case 16: + { + pinnedResultCount_ = input.readInt64(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -5532,6 +5536,26 @@ public boolean getExpandedQuery() { return expandedQuery_; } + public static final int PINNED_RESULT_COUNT_FIELD_NUMBER = 2; + private long pinnedResultCount_; + /** + * + * + *
    +     * Number of pinned results. This field will only be set when expansion
    +     * happens and [SearchRequest.query_expansion_spec.pin_unexpanded_results][]
    +     * is set to true.
    +     * 
    + * + * int64 pinned_result_count = 2; + * + * @return The pinnedResultCount. + */ + @java.lang.Override + public long getPinnedResultCount() { + return pinnedResultCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -5549,6 +5573,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (expandedQuery_ != false) { output.writeBool(1, expandedQuery_); } + if (pinnedResultCount_ != 0L) { + output.writeInt64(2, pinnedResultCount_); + } unknownFields.writeTo(output); } @@ -5561,6 +5588,9 @@ public int getSerializedSize() { if (expandedQuery_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, expandedQuery_); } + if (pinnedResultCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, pinnedResultCount_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -5578,6 +5608,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.retail.v2.SearchResponse.QueryExpansionInfo) obj; if (getExpandedQuery() != other.getExpandedQuery()) return false; + if (getPinnedResultCount() != other.getPinnedResultCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5591,6 +5622,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPANDED_QUERY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandedQuery()); + hash = (37 * hash) + PINNED_RESULT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPinnedResultCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -5742,6 +5775,8 @@ public Builder clear() { super.clear(); expandedQuery_ = false; + pinnedResultCount_ = 0L; + return this; } @@ -5771,6 +5806,7 @@ public com.google.cloud.retail.v2.SearchResponse.QueryExpansionInfo buildPartial com.google.cloud.retail.v2.SearchResponse.QueryExpansionInfo result = new com.google.cloud.retail.v2.SearchResponse.QueryExpansionInfo(this); result.expandedQuery_ = expandedQuery_; + result.pinnedResultCount_ = pinnedResultCount_; onBuilt(); return result; } @@ -5827,6 +5863,9 @@ public Builder mergeFrom(com.google.cloud.retail.v2.SearchResponse.QueryExpansio if (other.getExpandedQuery() != false) { setExpandedQuery(other.getExpandedQuery()); } + if (other.getPinnedResultCount() != 0L) { + setPinnedResultCount(other.getPinnedResultCount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -5910,6 +5949,64 @@ public Builder clearExpandedQuery() { return this; } + private long pinnedResultCount_; + /** + * + * + *
    +       * Number of pinned results. This field will only be set when expansion
    +       * happens and [SearchRequest.query_expansion_spec.pin_unexpanded_results][]
    +       * is set to true.
    +       * 
    + * + * int64 pinned_result_count = 2; + * + * @return The pinnedResultCount. + */ + @java.lang.Override + public long getPinnedResultCount() { + return pinnedResultCount_; + } + /** + * + * + *
    +       * Number of pinned results. This field will only be set when expansion
    +       * happens and [SearchRequest.query_expansion_spec.pin_unexpanded_results][]
    +       * is set to true.
    +       * 
    + * + * int64 pinned_result_count = 2; + * + * @param value The pinnedResultCount to set. + * @return This builder for chaining. + */ + public Builder setPinnedResultCount(long value) { + + pinnedResultCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +       * Number of pinned results. This field will only be set when expansion
    +       * happens and [SearchRequest.query_expansion_spec.pin_unexpanded_results][]
    +       * is set to true.
    +       * 
    + * + * int64 pinned_result_count = 2; + * + * @return This builder for chaining. + */ + public Builder clearPinnedResultCount() { + + pinnedResultCount_ = 0L; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceProto.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceProto.java index a50b5b12..c850e430 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceProto.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceProto.java @@ -101,7 +101,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "il/v2/product.proto\032 google/protobuf/fie" + "ld_mask.proto\032\034google/protobuf/struct.pr" + "oto\032\037google/protobuf/timestamp.proto\032\036go" - + "ogle/protobuf/wrappers.proto\"\351\013\n\rSearchR" + + "ogle/protobuf/wrappers.proto\"\211\014\n\rSearchR" + "equest\022\026\n\tplacement\030\001 \001(\tB\003\340A\002\0221\n\006branch" + "\030\002 \001(\tB!\372A\036\n\034retail.googleapis.com/Branc" + "h\022\r\n\005query\030\003 \001(\t\022\027\n\nvisitor_id\030\004 \001(\tB\003\340A" @@ -135,52 +135,53 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\001 \003(\0132B.google.cloud.retail.v2.SearchRe" + "quest.BoostSpec.ConditionBoostSpec\0326\n\022Co" + "nditionBoostSpec\022\021\n\tcondition\030\001 \001(\t\022\r\n\005b" - + "oost\030\002 \001(\002\032\253\001\n\022QueryExpansionSpec\022U\n\tcon" + + "oost\030\002 \001(\002\032\313\001\n\022QueryExpansionSpec\022U\n\tcon" + "dition\030\001 \001(\0162B.google.cloud.retail.v2.Se" + "archRequest.QueryExpansionSpec.Condition" - + "\">\n\tCondition\022\031\n\025CONDITION_UNSPECIFIED\020\000" - + "\022\014\n\010DISABLED\020\001\022\010\n\004AUTO\020\003\"\367\010\n\016SearchRespo" - + "nse\022D\n\007results\030\001 \003(\01323.google.cloud.reta" - + "il.v2.SearchResponse.SearchResult\022<\n\006fac" - + "ets\030\002 \003(\0132,.google.cloud.retail.v2.Searc" - + "hResponse.Facet\022\022\n\ntotal_size\030\003 \001(\005\022\027\n\017c" - + "orrected_query\030\004 \001(\t\022\031\n\021attribution_toke" - + "n\030\005 \001(\t\022\027\n\017next_page_token\030\006 \001(\t\022W\n\024quer" - + "y_expansion_info\030\007 \001(\01329.google.cloud.re" - + "tail.v2.SearchResponse.QueryExpansionInf" - + "o\022\024\n\014redirect_uri\030\n \001(\t\032\370\003\n\014SearchResult" - + "\022\n\n\002id\030\001 \001(\t\0220\n\007product\030\002 \001(\0132\037.google.c" - + "loud.retail.v2.Product\022\036\n\026matching_varia" - + "nt_count\030\003 \001(\005\022o\n\027matching_variant_field" - + "s\030\004 \003(\0132N.google.cloud.retail.v2.SearchR" - + "esponse.SearchResult.MatchingVariantFiel" - + "dsEntry\022k\n\025variant_rollup_values\030\005 \003(\0132L" - + ".google.cloud.retail.v2.SearchResponse.S" - + "earchResult.VariantRollupValuesEntry\032X\n\032" - + "MatchingVariantFieldsEntry\022\013\n\003key\030\001 \001(\t\022" - + ")\n\005value\030\002 \001(\0132\032.google.protobuf.FieldMa" - + "sk:\0028\001\032R\n\030VariantRollupValuesEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf" - + ".Value:\0028\001\032\347\001\n\005Facet\022\013\n\003key\030\001 \001(\t\022G\n\006val" - + "ues\030\002 \003(\01327.google.cloud.retail.v2.Searc" - + "hResponse.Facet.FacetValue\022\025\n\rdynamic_fa" - + "cet\030\003 \001(\010\032q\n\nFacetValue\022\017\n\005value\030\001 \001(\tH\000" - + "\0224\n\010interval\030\002 \001(\0132 .google.cloud.retail" - + ".v2.IntervalH\000\022\r\n\005count\030\003 \001(\003B\r\n\013facet_v" - + "alue\032,\n\022QueryExpansionInfo\022\026\n\016expanded_q" - + "uery\030\001 \001(\0102\206\002\n\rSearchService\022\251\001\n\006Search\022" - + "%.google.cloud.retail.v2.SearchRequest\032&" - + ".google.cloud.retail.v2.SearchResponse\"P" - + "\202\323\344\223\002J\"E/v2/{placement=projects/*/locati" - + "ons/*/catalogs/*/placements/*}:search:\001*" - + "\032I\312A\025retail.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformB\307\001\n\032" - + "com.google.cloud.retail.v2B\022SearchServic" - + "eProtoP\001Z\n\tCond" + + "ition\022\031\n\025CONDITION_UNSPECIFIED\020\000\022\014\n\010DISA" + + "BLED\020\001\022\010\n\004AUTO\020\003\"\224\t\n\016SearchResponse\022D\n\007r" + + "esults\030\001 \003(\01323.google.cloud.retail.v2.Se" + + "archResponse.SearchResult\022<\n\006facets\030\002 \003(" + + "\0132,.google.cloud.retail.v2.SearchRespons" + + "e.Facet\022\022\n\ntotal_size\030\003 \001(\005\022\027\n\017corrected" + + "_query\030\004 \001(\t\022\031\n\021attribution_token\030\005 \001(\t\022" + + "\027\n\017next_page_token\030\006 \001(\t\022W\n\024query_expans" + + "ion_info\030\007 \001(\01329.google.cloud.retail.v2." + + "SearchResponse.QueryExpansionInfo\022\024\n\014red" + + "irect_uri\030\n \001(\t\032\370\003\n\014SearchResult\022\n\n\002id\030\001" + + " \001(\t\0220\n\007product\030\002 \001(\0132\037.google.cloud.ret" + + "ail.v2.Product\022\036\n\026matching_variant_count" + + "\030\003 \001(\005\022o\n\027matching_variant_fields\030\004 \003(\0132" + + "N.google.cloud.retail.v2.SearchResponse." + + "SearchResult.MatchingVariantFieldsEntry\022" + + "k\n\025variant_rollup_values\030\005 \003(\0132L.google." + + "cloud.retail.v2.SearchResponse.SearchRes" + + "ult.VariantRollupValuesEntry\032X\n\032Matching" + + "VariantFieldsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005value" + + "\030\002 \001(\0132\032.google.protobuf.FieldMask:\0028\001\032R" + + "\n\030VariantRollupValuesEntry\022\013\n\003key\030\001 \001(\t\022" + + "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:\002" + + "8\001\032\347\001\n\005Facet\022\013\n\003key\030\001 \001(\t\022G\n\006values\030\002 \003(" + + "\01327.google.cloud.retail.v2.SearchRespons" + + "e.Facet.FacetValue\022\025\n\rdynamic_facet\030\003 \001(" + + "\010\032q\n\nFacetValue\022\017\n\005value\030\001 \001(\tH\000\0224\n\010inte" + + "rval\030\002 \001(\0132 .google.cloud.retail.v2.Inte" + + "rvalH\000\022\r\n\005count\030\003 \001(\003B\r\n\013facet_value\032I\n\022" + + "QueryExpansionInfo\022\026\n\016expanded_query\030\001 \001" + + "(\010\022\033\n\023pinned_result_count\030\002 \001(\0032\206\002\n\rSear" + + "chService\022\251\001\n\006Search\022%.google.cloud.reta" + + "il.v2.SearchRequest\032&.google.cloud.retai" + + "l.v2.SearchResponse\"P\202\323\344\223\002J\"E/v2/{placem" + + "ent=projects/*/locations/*/catalogs/*/pl" + + "acements/*}:search:\001*\032I\312A\025retail.googlea" + + "pis.com\322A.https://www.googleapis.com/aut" + + "h/cloud-platformB\307\001\n\032com.google.cloud.re" + + "tail.v2B\022SearchServiceProtoP\001Z attributes = 12; @@ -426,7 +425,7 @@ message Product { // The material of the product. For example, "leather", "wooden". // - // A maximum of 5 values are allowed. Each value must be a UTF-8 encoded + // A maximum of 20 values are allowed. Each value must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. // @@ -438,7 +437,7 @@ message Product { // The pattern or graphic print of the product. For example, "striped", "polka // dot", "paisley". // - // A maximum of 5 values are allowed per + // A maximum of 20 values are allowed per // [Product][google.cloud.retail.v2.Product]. Each value must be a UTF-8 // encoded string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. @@ -525,8 +524,12 @@ message Product { // * [name][google.cloud.retail.v2.Product.name] // * [color_info][google.cloud.retail.v2.Product.color_info] // - // Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is + // Maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is // returned. + // + // Note: Returning more fields in + // [SearchResponse][google.cloud.retail.v2.SearchResponse] may increase + // response payload size and serving latency. google.protobuf.FieldMask retrievable_fields = 30; // Output only. Product variants grouped together on primary product which diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto index dac78fbc..3c381eb3 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -143,8 +143,8 @@ service ProductService { // [RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. // // This feature is only available for users who have Retail Search enabled. - // Contact Retail Support (retail-search-support@google.com) if you are - // interested in using Retail Search. + // Please submit a form [here](https://cloud.google.com/contact) to contact + // cloud sales if you are interested in using Retail Search. rpc SetInventory(SetInventoryRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" @@ -170,8 +170,8 @@ service ProductService { // [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. // // This feature is only available for users who have Retail Search enabled. - // Contact Retail Support (retail-search-support@google.com) if you are - // interested in using Retail Search. + // Please submit a form [here](https://cloud.google.com/contact) to contact + // cloud sales if you are interested in using Retail Search. rpc AddFulfillmentPlaces(AddFulfillmentPlacesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -198,8 +198,8 @@ service ProductService { // [ListProducts][google.cloud.retail.v2.ProductService.ListProducts]. // // This feature is only available for users who have Retail Search enabled. - // Contact Retail Support (retail-search-support@google.com) if you are - // interested in using Retail Search. + // Please submit a form [here](https://cloud.google.com/contact) to contact + // cloud sales if you are interested in using Retail Search. rpc RemoveFulfillmentPlaces(RemoveFulfillmentPlacesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/purge_config.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/purge_config.proto index 588bb39b..6c8ce100 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/purge_config.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/purge_config.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/search_service.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/search_service.proto index 4522d546..38ccb464 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/search_service.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/search_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,8 +39,8 @@ option ruby_package = "Google::Cloud::Retail::V2"; // Service for search. // // This feature is only available for users who have Retail Search enabled. -// Contact Retail Support (retail-search-support@google.com) if you are -// interested in using Retail Search. +// Please submit a form [here](https://cloud.google.com/contact) to contact +// cloud sales if you are interested in using Retail Search. service SearchService { option (google.api.default_host) = "retail.googleapis.com"; option (google.api.oauth_scopes) = @@ -49,8 +49,8 @@ service SearchService { // Performs a search. // // This feature is only available for users who have Retail Search enabled. - // Contact Retail Support (retail-search-support@google.com) if you are - // interested in using Retail Search. + // Please submit a form [here](https://cloud.google.com/contact) to contact + // cloud sales if you are interested in using Retail Search. rpc Search(SearchRequest) returns (SearchResponse) { option (google.api.http) = { post: "/v2/{placement=projects/*/locations/*/catalogs/*/placements/*}:search" @@ -74,35 +74,35 @@ message SearchRequest { // [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query] // is not specified: // - // Textual facet keys: - // * brands - // * categories - // * genders - // * ageGroups - // * availability - // * colorFamilies - // * colors - // * sizes - // * materials - // * patterns - // * conditions - // * attributes.key - // * pickupInStore - // * shipToStore - // * sameDayDelivery - // * nextDayDelivery - // * customFulfillment1 - // * customFulfillment2 - // * customFulfillment3 - // * customFulfillment4 - // * customFulfillment5 + // * textual_field = + // * "brands" + // * "categories" + // * "genders" + // * "ageGroups" + // * "availability" + // * "colorFamilies" + // * "colors" + // * "sizes" + // * "materials" + // * "patterns" + // * "conditions" + // * "attributes.key" + // * "pickupInStore" + // * "shipToStore" + // * "sameDayDelivery" + // * "nextDayDelivery" + // * "customFulfillment1" + // * "customFulfillment2" + // * "customFulfillment3" + // * "customFulfillment4" + // * "customFulfillment5" // - // Numeric facet keys: - // * price - // * discount - // * rating - // * ratingCount - // * attributes.key + // * numerical_field = + // * "price" + // * "discount" + // * "rating" + // * "ratingCount" + // * "attributes.key" string key = 1 [(google.api.field_behavior) = REQUIRED]; // Set only if values should be bucketized into intervals. Must be set @@ -166,7 +166,8 @@ message SearchRequest { // order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical // intervals are sorted in the order given by // [FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]; - // [FulfillmentInfo.ids][] are sorted in the order given by + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // are sorted in the order given by // [FacetSpec.FacetKey.restricted_values][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.restricted_values]. string order_by = 4; @@ -287,12 +288,10 @@ message SearchRequest { // Examples: // // * To boost products with product ID "product_1" or "product_2", and - // color "Red" or "Blue": - // ``` - // (id: ANY("product_1", "product_2")) - // AND - // (colorFamilies: ANY("Red", "Blue")) - // ``` + // color + // "Red" or "Blue": + // * (id: ANY("product_1", "product_2")) AND (colorFamilies: + // ANY("Red","Blue")) string condition = 1; // Strength of the condition boost, which should be in [-1, 1]. Negative @@ -343,6 +342,11 @@ message SearchRequest { // The condition under which query expansion should occur. Default to // [Condition.DISABLED][google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition.DISABLED]. Condition condition = 1; + + // Whether to pin unexpanded results. If this field is set to true, + // unexpanded products are always at the top of the search results, followed + // by the expanded results. + bool pin_unexpanded_results = 2; } // Required. The resource name of the search engine placement, such as @@ -441,9 +445,8 @@ message SearchRequest { // The specification for dynamically generated facets. Notice that only // textual facets can be dynamically generated. // - // This feature requires additional allowlisting. Contact Retail Support - // (retail-search-support@google.com) if you are interested in using dynamic - // facet feature. + // This feature requires additional allowlisting. Contact Retail Search + // support team if you are interested in using dynamic facet feature. DynamicFacetSpec dynamic_facet_spec = 21; // Boost specification to boost certain products. @@ -462,10 +465,9 @@ message SearchRequest { // [Product][google.cloud.retail.v2.Product]s attributes will lead to extra // query latency. Maximum number of keys is 10. // - // For - // [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - // a fulfillment type and a fulfillment ID must be provided in the format of - // "fulfillmentType.filfillmentId". E.g., in "pickupInStore.store123", + // For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], a + // fulfillment type and a fulfillment ID must be provided in the format of + // "fulfillmentType.fulfillmentId". E.g., in "pickupInStore.store123", // "pickupInStore" is fulfillment type and "store123" is the store ID. // // Supported keys are: @@ -476,24 +478,42 @@ message SearchRequest { // * discount // * attributes.key, where key is any key in the // [Product.attributes][google.cloud.retail.v2.Product.attributes] map. - // * pickupInStore.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.PICKUP_IN_STORE][]. - // * shipToStore.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.SHIP_TO_STORE][]. - // * sameDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.SAME_DAY_DELIVERY][]. - // * nextDayDelivery.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][]. - // * customFulfillment1.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.CUSTOM_TYPE_1][]. - // * customFulfillment2.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.CUSTOM_TYPE_2][]. - // * customFulfillment3.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.CUSTOM_TYPE_3][]. - // * customFulfillment4.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.CUSTOM_TYPE_4][]. - // * customFulfillment5.id, where id is any [FulfillmentInfo.ids][] for type - // [FulfillmentInfo.Type.CUSTOM_TYPE_5][]. + // * pickupInStore.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "pickup-in-store". + // * shipToStore.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "ship-to-store". + // * sameDayDelivery.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "same-day-delivery". + // * nextDayDelivery.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "next-day-delivery". + // * customFulfillment1.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "custom-type-1". + // * customFulfillment2.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "custom-type-2". + // * customFulfillment3.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "custom-type-3". + // * customFulfillment4.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "custom-type-4". + // * customFulfillment5.id, where id is any + // [FulfillmentInfo.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids] + // for [FulfillmentInfo.type][google.cloud.retail.v2.FulfillmentInfo.type] + // "custom-type-5". // // If this field is set to an invalid value other than these, an // INVALID_ARGUMENT error is returned. @@ -583,10 +603,9 @@ message SearchResponse { // } // } // - // For - // [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info], - // the rollup values is a double value with type - // [google.protobuf.Value][google.protobuf.Value]. For example: + // For [FulfillmentInfo][google.cloud.retail.v2.FulfillmentInfo], the rollup + // values is a double value with type + // [google.protobuf.Value][google.protobuf.Value]. For example, // `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there // are 10 variants in this product are available in the store "store1". map variant_rollup_values = 5; @@ -625,6 +644,11 @@ message SearchResponse { message QueryExpansionInfo { // Bool describing whether query expansion has occurred. bool expanded_query = 1; + + // Number of pinned results. This field will only be set when expansion + // happens and [SearchRequest.query_expansion_spec.pin_unexpanded_results][] + // is set to true. + int64 pinned_result_count = 2; } // A list of matched items. The order represents the ranking. diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event.proto index 7534edf3..e4bb810b 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -258,9 +258,21 @@ message UserEvent { message ProductDetail { // Required. [Product][google.cloud.retail.v2.Product] information. // - // Only [Product.id][google.cloud.retail.v2.Product.id] field is used when - // ingesting an event, all other product fields are ignored as we will look - // them up from the catalog. + // Required field(s): + // + // * [Product.id][google.cloud.retail.v2.Product.id] + // + // Optional override field(s): + // + // * [Product.price_info][google.cloud.retail.v2.Product.price_info] + // + // If any supported optional fields are provided, we will treat them as a full + // override when looking up product information from the catalog. Thus, it is + // important to ensure that the overriding fields are accurate and + // complete. + // + // All other product fields are ignored and instead populated via catalog + // lookup after event ingestion. Product product = 1 [(google.api.field_behavior) = REQUIRED]; // Quantity of the product associated with the user event. diff --git a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event_service.proto b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event_service.proto index 4dbd1dc7..2d48a511 100644 --- a/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event_service.proto +++ b/proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/synth.metadata b/synth.metadata index 5bfc1e19..5c3d858f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e1738ee972b49fd0c4d4718b035444495142b781", - "internalRef": "391407209" + "sha": "cb637a6db2a0e406d656055a286ad921134c7d57", + "internalRef": "392712211" } }, {