Skip to content
Permalink
Browse files
feat(v2): add restricted Retail Search features (#150)
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/c16bd71c-6830-42f0-96fc-68471d7d7bb8/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 387366941
Source-Link: googleapis/googleapis@cea896d
  • Loading branch information
yoshi-automation committed Jul 30, 2021
1 parent bedc83a commit a9aedeabd7903db8ca3bbc46fe8ece674590cd77
Showing with 89,976 additions and 4,002 deletions.
  1. +352 −3 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java
  2. +23 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceSettings.java
  3. +365 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CompletionServiceClient.java
  4. +211 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CompletionServiceSettings.java
  5. +997 −5 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java
  6. +95 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceSettings.java
  7. +429 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java
  8. +185 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceSettings.java
  9. +3 −3 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/UserEventServiceClient.java
  10. +45 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/gapic_metadata.json
  11. +65 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java
  12. +13 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/CatalogServiceStub.java
  13. +57 −2 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/CatalogServiceStubSettings.java
  14. +61 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/CompletionServiceStub.java
  15. +364 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/CompletionServiceStubSettings.java
  16. +72 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/GrpcCatalogServiceStub.java
  17. +113 −0 ...ud-retail/src/main/java/com/google/cloud/retail/v2/stub/GrpcCompletionServiceCallableFactory.java
  18. +217 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/GrpcCompletionServiceStub.java
  19. +207 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/GrpcProductServiceStub.java
  20. +113 −0 ...-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/GrpcSearchServiceCallableFactory.java
  21. +168 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/GrpcSearchServiceStub.java
  22. +55 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/ProductServiceStub.java
  23. +339 −2 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/ProductServiceStubSettings.java
  24. +46 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/SearchServiceStub.java
  25. +339 −0 google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/SearchServiceStubSettings.java
  26. +150 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/CatalogServiceClientTest.java
  27. +207 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/CompletionServiceClientTest.java
  28. +43 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/MockCatalogServiceImpl.java
  29. +59 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/MockCompletionService.java
  30. +103 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/MockCompletionServiceImpl.java
  31. +84 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/MockProductServiceImpl.java
  32. +59 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/MockSearchService.java
  33. +80 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/MockSearchServiceImpl.java
  34. +414 −2 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/ProductServiceClientTest.java
  35. +182 −0 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/SearchServiceClientTest.java
  36. +7 −2 google-cloud-retail/src/test/java/com/google/cloud/retail/v2/UserEventServiceClientTest.java
  37. +373 −0 grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogServiceGrpc.java
  38. +522 −0 grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionServiceGrpc.java
  39. +695 −3 grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductServiceGrpc.java
  40. +377 −0 grpc-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceGrpc.java
  41. +12 −2 proto-google-cloud-retail-v2/clirr-ignored-differences.xml
  42. +461 −0 ...google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesMetadata.java
  43. +24 −0 ...oud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesMetadataOrBuilder.java
  44. +1,801 −0 ...-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequest.java
  45. +275 −0 ...loud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesRequestOrBuilder.java
  46. +461 −0 ...google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesResponse.java
  47. +24 −0 ...oud-retail-v2/src/main/java/com/google/cloud/retail/v2/AddFulfillmentPlacesResponseOrBuilder.java
  48. +1,257 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Audience.java
  49. +203 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/AudienceOrBuilder.java
  50. +423 −21 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/BigQuerySource.java
  51. +52 −6 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/BigQuerySourceOrBuilder.java
  52. +21 −15 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogProto.java
  53. +73 −18 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogServiceProto.java
  54. +1,255 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ColorInfo.java
  55. +203 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ColorInfoOrBuilder.java
  56. +129 −20 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CommonProto.java
  57. +1,979 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequest.java
  58. +289 −0 ...oogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryRequestOrBuilder.java
  59. +3,885 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponse.java
  60. +262 −0 ...ogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompleteQueryResponseOrBuilder.java
  61. +895 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfig.java
  62. +77 −0 ...-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDataInputConfigOrBuilder.java
  63. +929 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDetail.java
  64. +94 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionDetailOrBuilder.java
  65. +190 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CompletionServiceProto.java
  66. +335 −2 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CustomAttribute.java
  67. +74 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CustomAttributeOrBuilder.java
  68. +63 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/DeleteProductRequest.java
  69. +18 −0 ...oogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/DeleteProductRequestOrBuilder.java
  70. +1,105 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfo.java
  71. +157 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/FulfillmentInfoOrBuilder.java
  72. +20 −20 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/GcsSource.java
  73. +6 −6 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/GcsSourceOrBuilder.java
  74. +643 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/GetDefaultBranchRequest.java
  75. +52 −0 ...le-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/GetDefaultBranchRequestOrBuilder.java
  76. +1,099 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/GetDefaultBranchResponse.java
  77. +114 −0 ...e-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/GetDefaultBranchResponseOrBuilder.java
  78. +1,168 −0 ...-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportCompletionDataRequest.java
  79. +130 −0 ...loud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportCompletionDataRequestOrBuilder.java
  80. +943 −0 ...google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportCompletionDataResponse.java
  81. +76 −0 ...oud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportCompletionDataResponseOrBuilder.java
  82. +145 −66 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportConfigProto.java
  83. +395 −1 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportMetadata.java
  84. +60 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportMetadataOrBuilder.java
  85. +847 −7 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequest.java
  86. +115 −2 ...ogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportProductsRequestOrBuilder.java
  87. +21 −7 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportUserEventsRequest.java
  88. +6 −2 ...le-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportUserEventsRequestOrBuilder.java
  89. +1,157 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Interval.java
  90. +129 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/IntervalOrBuilder.java
  91. +1,802 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ListProductsRequest.java
  92. +270 −0 ...google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ListProductsRequestOrBuilder.java
  93. +1,151 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ListProductsResponse.java
  94. +107 −0 ...oogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ListProductsResponseOrBuilder.java
  95. +317 −210 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PredictRequest.java
  96. +137 −73 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PredictRequestOrBuilder.java
  97. +2,996 −549 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PriceInfo.java
  98. +213 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PriceInfoOrBuilder.java
  99. +10,090 −2,464 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Product.java
  100. +23 −23 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductInlineSource.java
  101. +5 −5 ...google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductInlineSourceOrBuilder.java
  102. +42 −42 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductLevelConfig.java
  103. +12 −12 ...-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductLevelConfigOrBuilder.java
  104. +1,359 −32 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductOrBuilder.java
  105. +75 −36 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductProto.java
  106. +225 −45 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ProductServiceProto.java
  107. +673 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Promotion.java
  108. +62 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PromotionOrBuilder.java
  109. +7 −7 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PurgeUserEventsRequest.java
  110. +2 −2 ...gle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/PurgeUserEventsRequestOrBuilder.java
  111. +952 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/Rating.java
  112. +109 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RatingOrBuilder.java
  113. +462 −0 ...gle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesMetadata.java
  114. +24 −0 ...-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesMetadataOrBuilder.java
  115. +1,754 −0 ...ogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequest.java
  116. +259 −0 ...d-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesRequestOrBuilder.java
  117. +462 −0 ...gle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesResponse.java
  118. +24 −0 ...-retail-v2/src/main/java/com/google/cloud/retail/v2/RemoveFulfillmentPlacesResponseOrBuilder.java
  119. +15,557 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequest.java
  120. +854 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchRequestOrBuilder.java
  121. +8,390 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchResponse.java
  122. +303 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchResponseOrBuilder.java
  123. +371 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SearchServiceProto.java
  124. +1,043 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SetDefaultBranchRequest.java
  125. +114 −0 ...le-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SetDefaultBranchRequestOrBuilder.java
  126. +459 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SetInventoryMetadata.java
  127. +24 −0 ...oogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SetInventoryMetadataOrBuilder.java
  128. +1,805 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SetInventoryRequest.java
  129. +253 −0 ...google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SetInventoryRequestOrBuilder.java
  130. +459 −0 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SetInventoryResponse.java
  131. +24 −0 ...oogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/SetInventoryResponseOrBuilder.java
  132. +12 −48 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UpdateCatalogRequest.java
  133. +3 −12 ...oogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UpdateCatalogRequestOrBuilder.java
  134. +146 −24 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UpdateProductRequest.java
  135. +27 −6 ...oogle-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UpdateProductRequestOrBuilder.java
  136. +1,293 −58 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UserEvent.java
  137. +226 −10 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UserEventOrBuilder.java
  138. +51 −28 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UserEventProto.java
  139. +35 −21 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UserInfo.java
  140. +10 −6 proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/UserInfoOrBuilder.java
  141. +8 −6 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/catalog.proto
  142. +113 −4 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/catalog_service.proto
  143. +267 −4 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/common.proto
  144. +193 −0 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/completion_service.proto
  145. +143 −8 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/import_config.proto
  146. +32 −31 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/prediction_service.proto
  147. +270 −10 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product.proto
  148. +455 −2 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/product_service.proto
  149. +1 −1 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/purge_config.proto
  150. +805 −0 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/search_service.proto
  151. +92 −3 proto-google-cloud-retail-v2/src/main/proto/google/cloud/retail/v2/user_event.proto
  152. +83 −3 synth.metadata

Large diffs are not rendered by default.

@@ -30,6 +30,7 @@
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.retail.v2.stub.CatalogServiceStubSettings;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;
@@ -80,6 +81,17 @@ public UnaryCallSettings<UpdateCatalogRequest, Catalog> updateCatalogSettings()
return ((CatalogServiceStubSettings) getStubSettings()).updateCatalogSettings();
}

/** Returns the object with the settings used for calls to setDefaultBranch. */
public UnaryCallSettings<SetDefaultBranchRequest, Empty> setDefaultBranchSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).setDefaultBranchSettings();
}

/** Returns the object with the settings used for calls to getDefaultBranch. */
public UnaryCallSettings<GetDefaultBranchRequest, GetDefaultBranchResponse>
getDefaultBranchSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).getDefaultBranchSettings();
}

public static final CatalogServiceSettings create(CatalogServiceStubSettings stub)
throws IOException {
return new CatalogServiceSettings.Builder(stub.toBuilder()).build();
@@ -190,6 +202,17 @@ public UnaryCallSettings.Builder<UpdateCatalogRequest, Catalog> updateCatalogSet
return getStubSettingsBuilder().updateCatalogSettings();
}

/** Returns the builder for the settings used for calls to setDefaultBranch. */
public UnaryCallSettings.Builder<SetDefaultBranchRequest, Empty> setDefaultBranchSettings() {
return getStubSettingsBuilder().setDefaultBranchSettings();
}

/** Returns the builder for the settings used for calls to getDefaultBranch. */
public UnaryCallSettings.Builder<GetDefaultBranchRequest, GetDefaultBranchResponse>
getDefaultBranchSettings() {
return getStubSettingsBuilder().getDefaultBranchSettings();
}

@Override
public CatalogServiceSettings build() throws IOException {
return new CatalogServiceSettings(this);

0 comments on commit a9aedea

Please sign in to comment.