Skip to content
Permalink
Browse files
feat: initial generation
  • Loading branch information
chingor13 committed Mar 23, 2020
0 parents commit 5a3981ceaf1c7ff8d95d2a974a2a3e91b744a605
Showing with 89,338 additions and 0 deletions.
  1. +51 −0 .github/ISSUE_TEMPLATE/bug_report.md
  2. +21 −0 .github/ISSUE_TEMPLATE/feature_request.md
  3. +7 −0 .github/ISSUE_TEMPLATE/support_request.md
  4. +7 −0 .github/PULL_REQUEST_TEMPLATE.md
  5. +2 −0 .github/release-please.yml
  6. +2 −0 .github/trusted-contribution.yml
  7. +15 −0 .gitignore
  8. +3 −0 .kokoro/build.bat
  9. +108 −0 .kokoro/build.sh
  10. +38 −0 .kokoro/coerce_logs.sh
  11. +13 −0 .kokoro/common.cfg
  12. +25 −0 .kokoro/continuous/common.cfg
  13. +12 −0 .kokoro/continuous/dependencies.cfg
  14. +7 −0 .kokoro/continuous/integration.cfg
  15. +7 −0 .kokoro/continuous/java11.cfg
  16. +7 −0 .kokoro/continuous/java7.cfg
  17. +3 −0 .kokoro/continuous/java8-osx.cfg
  18. +3 −0 .kokoro/continuous/java8-win.cfg
  19. +12 −0 .kokoro/continuous/java8.cfg
  20. +13 −0 .kokoro/continuous/lint.cfg
  21. +53 −0 .kokoro/continuous/propose_release.cfg
  22. +31 −0 .kokoro/continuous/samples.cfg
  23. +31 −0 .kokoro/dependencies.sh
  24. +38 −0 .kokoro/linkage-monitor.sh
  25. +25 −0 .kokoro/nightly/common.cfg
  26. +12 −0 .kokoro/nightly/dependencies.cfg
  27. +21 −0 .kokoro/nightly/integration.cfg
  28. +7 −0 .kokoro/nightly/java11.cfg
  29. +7 −0 .kokoro/nightly/java7.cfg
  30. +3 −0 .kokoro/nightly/java8-osx.cfg
  31. +3 −0 .kokoro/nightly/java8-win.cfg
  32. +12 −0 .kokoro/nightly/java8.cfg
  33. +13 −0 .kokoro/nightly/lint.cfg
  34. +36 −0 .kokoro/nightly/samples.cfg
  35. +13 −0 .kokoro/presubmit/clirr.cfg
  36. +34 −0 .kokoro/presubmit/common.cfg
  37. +12 −0 .kokoro/presubmit/dependencies.cfg
  38. +31 −0 .kokoro/presubmit/integration.cfg
  39. +7 −0 .kokoro/presubmit/java11.cfg
  40. +7 −0 .kokoro/presubmit/java7.cfg
  41. +3 −0 .kokoro/presubmit/java8-osx.cfg
  42. +3 −0 .kokoro/presubmit/java8-win.cfg
  43. +12 −0 .kokoro/presubmit/java8.cfg
  44. +12 −0 .kokoro/presubmit/linkage-monitor.cfg
  45. +13 −0 .kokoro/presubmit/lint.cfg
  46. +31 −0 .kokoro/presubmit/samples.cfg
  47. +53 −0 .kokoro/release/bump_snapshot.cfg
  48. +49 −0 .kokoro/release/common.cfg
  49. +50 −0 .kokoro/release/common.sh
  50. +6 −0 .kokoro/release/drop.cfg
  51. +32 −0 .kokoro/release/drop.sh
  52. +6 −0 .kokoro/release/promote.cfg
  53. +34 −0 .kokoro/release/promote.sh
  54. +19 −0 .kokoro/release/publish_javadoc.cfg
  55. +55 −0 .kokoro/release/publish_javadoc.sh
  56. +6 −0 .kokoro/release/snapshot.cfg
  57. +33 −0 .kokoro/release/snapshot.sh
  58. +44 −0 .kokoro/release/stage.cfg
  59. +42 −0 .kokoro/release/stage.sh
  60. +24 −0 .kokoro/trampoline.sh
  61. +15 −0 .repo-metadata.json
  62. +93 −0 CODE_OF_CONDUCT.md
  63. +130 −0 CONTRIBUTING.md
  64. +202 −0 LICENSE
  65. +163 −0 README.md
  66. +4 −0 codecov.yaml
  67. +93 −0 google-cloud-recommendations-ai-bom/pom.xml
  68. +101 −0 google-cloud-recommendations-ai/pom.xml
  69. +930 −0 ...ndations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceClient.java
  70. +261 −0 ...ations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceSettings.java
  71. +722 −0 ...i/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistryClient.java
  72. +226 −0 ...src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistrySettings.java
  73. +443 −0 ...tions-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceClient.java
  74. +185 −0 ...ons-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceSettings.java
  75. +923 −0 ...ations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceClient.java
  76. +266 −0 ...ions-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceSettings.java
  77. +96 −0 ...-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/package-info.java
  78. +93 −0 ...tions-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/CatalogServiceStub.java
  79. +539 −0 .../src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/CatalogServiceStubSettings.java
  80. +115 −0 ...in/java/com/google/cloud/recommendationengine/v1beta1/stub/GrpcCatalogServiceCallableFactory.java
  81. +369 −0 ...s-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/GrpcCatalogServiceStub.java
  82. +115 −0 ...m/google/cloud/recommendationengine/v1beta1/stub/GrpcPredictionApiKeyRegistryCallableFactory.java
  83. +277 −0 ...ain/java/com/google/cloud/recommendationengine/v1beta1/stub/GrpcPredictionApiKeyRegistryStub.java
  84. +115 −0 ...java/com/google/cloud/recommendationengine/v1beta1/stub/GrpcPredictionServiceCallableFactory.java
  85. +163 −0 ...i/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/GrpcPredictionServiceStub.java
  86. +115 −0 .../java/com/google/cloud/recommendationengine/v1beta1/stub/GrpcUserEventServiceCallableFactory.java
  87. +343 −0 ...ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/GrpcUserEventServiceStub.java
  88. +69 −0 ...rc/main/java/com/google/cloud/recommendationengine/v1beta1/stub/PredictionApiKeyRegistryStub.java
  89. +454 −0 ...java/com/google/cloud/recommendationengine/v1beta1/stub/PredictionApiKeyRegistryStubSettings.java
  90. +47 −0 ...ns-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/PredictionServiceStub.java
  91. +340 −0 ...c/main/java/com/google/cloud/recommendationengine/v1beta1/stub/PredictionServiceStubSettings.java
  92. +94 −0 ...ons-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/UserEventServiceStub.java
  93. +555 −0 ...rc/main/java/com/google/cloud/recommendationengine/v1beta1/stub/UserEventServiceStubSettings.java
  94. +414 −0 ...ions-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceClientTest.java
  95. +57 −0 ...mendations-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/MockCatalogService.java
  96. +150 −0 ...ations-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/MockCatalogServiceImpl.java
  97. +57 −0 ...-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/MockPredictionApiKeyRegistry.java
  98. +106 −0 ...src/test/java/com/google/cloud/recommendationengine/v1beta1/MockPredictionApiKeyRegistryImpl.java
  99. +57 −0 ...dations-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/MockPredictionService.java
  100. +72 −0 ...ons-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/MockPredictionServiceImpl.java
  101. +57 −0 ...ndations-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/MockUserEventService.java
  102. +135 −0 ...ions-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/MockUserEventServiceImpl.java
  103. +251 −0 ...c/test/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistryClientTest.java
  104. +155 −0 ...s-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceClientTest.java
  105. +370 −0 ...ns-ai/src/test/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceClientTest.java
  106. +60 −0 grpc-google-cloud-recommendations-ai-v1beta1/pom.xml
  107. +987 −0 ...ns-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceGrpc.java
  108. +700 −0 ...ta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistryGrpc.java
  109. +378 −0 ...ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceGrpc.java
  110. +879 −0 ...-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceGrpc.java
  111. +15 −0 java.header
  112. +10 −0 license-checks.xml
  113. +256 −0 pom.xml
  114. +33 −0 proto-google-cloud-recommendations-ai-v1beta1/pom.xml
  115. +1,271 −0 proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/api/HttpBody.java
  116. +119 −0 proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/api/HttpBodyOrBuilder.java
  117. +68 −0 proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/api/HttpBodyProto.java
  118. +218 −0 ...commendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Catalog.java
  119. +1,047 −0 ...s-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogInlineSource.java
  120. +93 −0 ...ta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogInlineSourceOrBuilder.java
  121. +4,172 −0 ...endations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogItem.java
  122. +449 −0 ...-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogItemOrBuilder.java
  123. +251 −0 ...s-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogItemPathName.java
  124. +210 −0 ...endations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogName.java
  125. +218 −0 ...v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceOuterClass.java
  126. +1,124 −0 ...-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CollectUserEventRequest.java
  127. +123 −0 ...src/main/java/com/google/cloud/recommendationengine/v1beta1/CollectUserEventRequestOrBuilder.java
  128. +140 −0 ...ecommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Common.java
  129. +958 −0 ...v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CreateCatalogItemRequest.java
  130. +93 −0 ...rc/main/java/com/google/cloud/recommendationengine/v1beta1/CreateCatalogItemRequestOrBuilder.java
  131. +1,020 −0 ...java/com/google/cloud/recommendationengine/v1beta1/CreatePredictionApiKeyRegistrationRequest.java
  132. +95 −0 ...google/cloud/recommendationengine/v1beta1/CreatePredictionApiKeyRegistrationRequestOrBuilder.java
  133. +654 −0 ...v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/DeleteCatalogItemRequest.java
  134. +52 −0 ...rc/main/java/com/google/cloud/recommendationengine/v1beta1/DeleteCatalogItemRequestOrBuilder.java
  135. +700 −0 ...java/com/google/cloud/recommendationengine/v1beta1/DeletePredictionApiKeyRegistrationRequest.java
  136. +52 −0 ...google/cloud/recommendationengine/v1beta1/DeletePredictionApiKeyRegistrationRequestOrBuilder.java
  137. +1,990 −0 ...endations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/EventDetail.java
  138. +284 −0 ...-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/EventDetailOrBuilder.java
  139. +243 −0 ...ations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/EventStoreName.java
  140. +2,864 −0 ...mendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/FeatureMap.java
  141. +213 −0 ...s-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/FeatureMapOrBuilder.java
  142. +818 −0 ...mmendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/GcsSource.java
  143. +100 −0 ...ns-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/GcsSourceOrBuilder.java
  144. +653 −0 ...ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/GetCatalogItemRequest.java
  145. +52 −0 ...1/src/main/java/com/google/cloud/recommendationengine/v1beta1/GetCatalogItemRequestOrBuilder.java
  146. +810 −0 ...recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Image.java
  147. +76 −0 ...ations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImageOrBuilder.java
  148. +261 −0 ...ecommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Import.java
  149. +1,459 −0 ...1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportCatalogItemsRequest.java
  150. +164 −0 ...c/main/java/com/google/cloud/recommendationengine/v1beta1/ImportCatalogItemsRequestOrBuilder.java
  151. +1,235 −0 ...beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportCatalogItemsResponse.java
  152. +112 −0 .../main/java/com/google/cloud/recommendationengine/v1beta1/ImportCatalogItemsResponseOrBuilder.java
  153. +764 −0 ...ns-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportErrorsConfig.java
  154. +59 −0 ...eta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportErrorsConfigOrBuilder.java
  155. +1,550 −0 ...ations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportMetadata.java
  156. +176 −0 ...-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportMetadataOrBuilder.java
  157. +1,469 −0 ...-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportUserEventsRequest.java
  158. +168 −0 ...src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportUserEventsRequestOrBuilder.java
  159. +1,541 −0 ...v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ImportUserEventsResponse.java
  160. +154 −0 ...rc/main/java/com/google/cloud/recommendationengine/v1beta1/ImportUserEventsResponseOrBuilder.java
  161. +1,521 −0 ...endations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/InputConfig.java
  162. +143 −0 ...-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/InputConfigOrBuilder.java
  163. +1,099 −0 ...-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ListCatalogItemsRequest.java
  164. +116 −0 ...src/main/java/com/google/cloud/recommendationengine/v1beta1/ListCatalogItemsRequestOrBuilder.java
  165. +1,183 −0 ...v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ListCatalogItemsResponse.java
  166. +105 −0 ...rc/main/java/com/google/cloud/recommendationengine/v1beta1/ListCatalogItemsResponseOrBuilder.java
  167. +966 −0 .../java/com/google/cloud/recommendationengine/v1beta1/ListPredictionApiKeyRegistrationsRequest.java
  168. +91 −0 .../google/cloud/recommendationengine/v1beta1/ListPredictionApiKeyRegistrationsRequestOrBuilder.java
  169. +1,288 −0 ...java/com/google/cloud/recommendationengine/v1beta1/ListPredictionApiKeyRegistrationsResponse.java
  170. +119 −0 ...google/cloud/recommendationengine/v1beta1/ListPredictionApiKeyRegistrationsResponseOrBuilder.java
  171. +1,274 −0 ...ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ListUserEventsRequest.java
  172. +166 −0 ...1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ListUserEventsRequestOrBuilder.java
  173. +1,159 −0 ...i-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ListUserEventsResponse.java
  174. +105 −0 .../src/main/java/com/google/cloud/recommendationengine/v1beta1/ListUserEventsResponseOrBuilder.java
  175. +277 −0 ...dations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PlacementName.java
  176. +2,572 −0 ...ations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictRequest.java
  177. +450 −0 ...-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictRequestOrBuilder.java
  178. +3,282 −0 ...tions-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictResponse.java
  179. +273 −0 ...v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictResponseOrBuilder.java
  180. +659 −0 ...ta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistration.java
  181. +287 −0 ...src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistrationName.java
  182. +50 −0 ...ain/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistrationOrBuilder.java
  183. +175 −0 .../src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApikeyRegistryService.java
  184. +214 −0 ...eta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceOuterClass.java
  185. +4,347 −0 ...ns-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ProductCatalogItem.java
  186. +348 −0 ...eta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ProductCatalogItemOrBuilder.java
  187. +1,710 −0 ...dations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ProductDetail.java
  188. +214 −0 ...i-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ProductDetailOrBuilder.java
  189. +2,996 −0 ...ns-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ProductEventDetail.java
  190. +396 −0 ...eta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/ProductEventDetailOrBuilder.java
  191. +1,610 −0 ...s-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PurchaseTransaction.java
  192. +241 −0 ...ta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PurchaseTransactionOrBuilder.java
  193. +917 −0 ...-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsMetadata.java
  194. +85 −0 ...src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsMetadataOrBuilder.java
  195. +1,052 −0 ...i-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsRequest.java
  196. +128 −0 .../src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsRequestOrBuilder.java
  197. +1,118 −0 ...-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsResponse.java
  198. +101 −0 ...src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsResponseOrBuilder.java
  199. +1,263 −0 ...v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UpdateCatalogItemRequest.java
  200. +137 −0 ...rc/main/java/com/google/cloud/recommendationengine/v1beta1/UpdateCatalogItemRequestOrBuilder.java
  201. +2,524 −0 ...mmendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEvent.java
  202. +650 −0 ...i-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventImportSummary.java
  203. +52 −0 .../src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventImportSummaryOrBuilder.java
  204. +1,021 −0 ...ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventInlineSource.java
  205. +88 −0 ...1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventInlineSourceOrBuilder.java
  206. +332 −0 ...ns-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventOrBuilder.java
  207. +249 −0 ...s-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventOuterClass.java
  208. +233 −0 ...beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceOuterClass.java
  209. +1,358 −0 ...ommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserInfo.java
  210. +167 −0 ...ons-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserInfoOrBuilder.java
  211. +954 −0 ...ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/WriteUserEventRequest.java
  212. +93 −0 ...1/src/main/java/com/google/cloud/recommendationengine/v1beta1/WriteUserEventRequestOrBuilder.java
  213. +197 −0 ...recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog.proto
  214. +162 −0 ...dations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog_service.proto
  215. +61 −0 ...-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/common.proto
  216. +182 −0 ...-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/import.proto
  217. +107 −0 ...src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto
  218. +187 −0 ...ions-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_service.proto
  219. +334 −0 ...ommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event.proto
  220. +242 −0 ...ions-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event_service.proto
  221. +78 −0 renovate.json
  222. +84 −0 samples/install-without-bom/pom.xml
  223. +56 −0 samples/pom.xml
  224. +83 −0 samples/snapshot/pom.xml
  225. +60 −0 samples/snippets/pom.xml
  226. +31 −0 synth.metadata
  227. +34 −0 synth.py
  228. +6 −0 versions.txt
@@ -0,0 +1,51 @@
---
name: Bug report
about: Create a report to help us improve

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

- Search the issues already opened: https://github.com/googleapis/java-recommendations-ai/issues
- Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform

If you are still having issues, please include as much information as possible:

#### Environment details

1. Specify the API at the beginning of the title. For example, "BigQuery: ...").
General, Core, and Other are also allowed as types
2. OS type and version:
3. Java version:
4. recommendationengine version(s):

#### Steps to reproduce

1. ?
2. ?

#### Code example

```java
// example
```

#### Stack trace
```
Any relevant stacktrace here.
```

#### External references such as API reference guides

- ?

#### Any additional information below


Following these steps guarantees the quickest resolution possible.

Thanks!
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for this library

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
What the problem is. Example: I'm always frustrated when [...]

**Describe the solution you'd like**
What you want to happen.

**Describe alternatives you've considered**
Any alternative solutions or features you've considered.

**Additional context**
Any other context or screenshots about the feature request.
@@ -0,0 +1,7 @@
---
name: Support request
about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.

---

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
@@ -0,0 +1,7 @@
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-recommendations-ai/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️
@@ -0,0 +1,2 @@
releaseType: java-yoshi
bumpMinorPreMajor: true
@@ -0,0 +1,2 @@
trustedContributors:
- renovate-bot
@@ -0,0 +1,15 @@
# Maven
target/

# Eclipse
.classpath
.project
.settings

# Intellij
*.iml
.idea/

# python utilities
*.pyc
__pycache__
@@ -0,0 +1,3 @@
:: See documentation in type-shell-output.bat

"C:\Program Files\Git\bin\bash.exe" github/java-recommendations-ai/.kokoro/build.sh
@@ -0,0 +1,108 @@
#!/bin/bash
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -eo pipefail

## Get the directory of the build script
scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
## cd to the parent directory, i.e. the root of the git repo
cd ${scriptDir}/..

# Print out Java version
java -version
echo ${JOB_TYPE}

mvn install -B -V \
-DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true \
-T 1C

# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it
if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then
export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS})
fi

RETURN_CODE=0
set +e

case ${JOB_TYPE} in
test)
mvn test -B -Dclirr.skip=true -Denforcer.skip=true
RETURN_CODE=$?
;;
lint)
mvn \
-Penable-samples \
com.coveo:fmt-maven-plugin:check
RETURN_CODE=$?
;;
javadoc)
mvn javadoc:javadoc javadoc:test-javadoc
RETURN_CODE=$?
;;
integration)
mvn -B ${INTEGRATION_TEST_ARGS} \
-Penable-integration-tests \
-DtrimStackTrace=false \
-Dclirr.skip=true \
-Denforcer.skip=true \
-fae \
verify
RETURN_CODE=$?
;;
samples)
if [[ -f samples/pom.xml ]]
then
pushd samples
mvn -B \
-Penable-samples \
-DtrimStackTrace=false \
-Dclirr.skip=true \
-Denforcer.skip=true \
-fae \
verify
RETURN_CODE=$?
popd
else
echo "no sample pom.xml found - skipping sample tests"
fi
;;
clirr)
mvn -B -Denforcer.skip=true clirr:check
RETURN_CODE=$?
;;
*)
;;
esac

if [ "${REPORT_COVERAGE}" == "true" ]
then
bash ${KOKORO_GFILE_DIR}/codecov.sh
fi

# fix output location of logs
bash .kokoro/coerce_logs.sh

if [[ "${ENABLE_BUILD_COP}" == "true" ]]
then
chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop
${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-recommendations-ai
fi

echo "exiting with ${RETURN_CODE}"
exit ${RETURN_CODE}
@@ -0,0 +1,38 @@
#!/bin/bash
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This script finds and moves sponge logs so that they can be found by placer
# and are not flagged as flaky by sponge.

set -eo pipefail

## Get the directory of the build script
scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
## cd to the parent directory, i.e. the root of the git repo
cd ${scriptDir}/..

job=$(basename ${KOKORO_JOB_NAME})

echo "coercing sponge logs..."
for xml in `find . -name *-sponge_log.xml`
do
echo "processing ${xml}"
class=$(basename ${xml} | cut -d- -f2)
dir=$(dirname ${xml})/${job}/${class}
text=$(dirname ${xml})/${class}-sponge_log.txt
mkdir -p ${dir}
mv ${xml} ${dir}/sponge_log.xml
mv ${text} ${dir}/sponge_log.txt
done
@@ -0,0 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# All builds use the trampoline script to run in docker.
build_file: "java-recommendations-ai/.kokoro/trampoline.sh"

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-recommendations-ai/.kokoro/build.sh"
}
@@ -0,0 +1,25 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Build logs will be here
action {
define_artifacts {
regex: "**/*sponge_log.xml"
regex: "**/*sponge_log.txt"
}
}

# Download trampoline resources.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-recommendations-ai/.kokoro/trampoline.sh"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-recommendations-ai/.kokoro/build.sh"
}

env_vars: {
key: "JOB_TYPE"
value: "test"
}
@@ -0,0 +1,12 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-recommendations-ai/.kokoro/dependencies.sh"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java11"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java7"
}
@@ -0,0 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-recommendations-ai/.kokoro/build.sh"
@@ -0,0 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-recommendations-ai/.kokoro/build.bat"
@@ -0,0 +1,12 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "REPORT_COVERAGE"
value: "true"
}
@@ -0,0 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.

env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "JOB_TYPE"
value: "lint"
}

0 comments on commit 5a3981c

Please sign in to comment.