Skip to content
Permalink
Browse files
feat: initial code generation
  • Loading branch information
Neenu1995 committed Jan 21, 2021
0 parents commit 5d89a952119d550f5f31d76ac6caee9c915f6318
Showing with 139,750 additions and 0 deletions.
  1. +10 −0 .github/CODEOWNERS
  2. +51 −0 .github/ISSUE_TEMPLATE/bug_report.md
  3. +21 −0 .github/ISSUE_TEMPLATE/feature_request.md
  4. +7 −0 .github/ISSUE_TEMPLATE/support_request.md
  5. +7 −0 .github/PULL_REQUEST_TEMPLATE.md
  6. +7 −0 .github/blunderbuss.yml
  7. +11 −0 .github/generated-files-bot.yml
  8. +19 −0 .github/readme/synth.py
  9. +2 −0 .github/release-please.yml
  10. 0 .github/snippet-bot.yml
  11. +2 −0 .github/trusted-contribution.yml
  12. +54 −0 .github/workflows/approve-readme.yaml
  13. +88 −0 .github/workflows/auto-release.yaml
  14. +79 −0 .github/workflows/ci.yaml
  15. +14 −0 .github/workflows/samples.yaml
  16. +17 −0 .gitignore
  17. +3 −0 .kokoro/build.bat
  18. +118 −0 .kokoro/build.sh
  19. +38 −0 .kokoro/coerce_logs.sh
  20. +13 −0 .kokoro/common.cfg
  21. +58 −0 .kokoro/common.sh
  22. +25 −0 .kokoro/continuous/common.cfg
  23. +12 −0 .kokoro/continuous/java8.cfg
  24. +55 −0 .kokoro/continuous/readme.cfg
  25. +89 −0 .kokoro/dependencies.sh
  26. +46 −0 .kokoro/linkage-monitor.sh
  27. +25 −0 .kokoro/nightly/common.cfg
  28. +37 −0 .kokoro/nightly/integration.cfg
  29. +7 −0 .kokoro/nightly/java11.cfg
  30. +7 −0 .kokoro/nightly/java7.cfg
  31. +3 −0 .kokoro/nightly/java8-osx.cfg
  32. +3 −0 .kokoro/nightly/java8-win.cfg
  33. +12 −0 .kokoro/nightly/java8.cfg
  34. +38 −0 .kokoro/nightly/samples.cfg
  35. +43 −0 .kokoro/populate-secrets.sh
  36. +13 −0 .kokoro/presubmit/clirr.cfg
  37. +34 −0 .kokoro/presubmit/common.cfg
  38. +12 −0 .kokoro/presubmit/dependencies.cfg
  39. +33 −0 .kokoro/presubmit/integration.cfg
  40. +7 −0 .kokoro/presubmit/java11.cfg
  41. +7 −0 .kokoro/presubmit/java7.cfg
  42. +3 −0 .kokoro/presubmit/java8-osx.cfg
  43. +3 −0 .kokoro/presubmit/java8-win.cfg
  44. +12 −0 .kokoro/presubmit/java8.cfg
  45. +12 −0 .kokoro/presubmit/linkage-monitor.cfg
  46. +13 −0 .kokoro/presubmit/lint.cfg
  47. +33 −0 .kokoro/presubmit/samples.cfg
  48. +45 −0 .kokoro/readme.sh
  49. +53 −0 .kokoro/release/bump_snapshot.cfg
  50. +49 −0 .kokoro/release/common.cfg
  51. +50 −0 .kokoro/release/common.sh
  52. +6 −0 .kokoro/release/drop.cfg
  53. +32 −0 .kokoro/release/drop.sh
  54. +6 −0 .kokoro/release/promote.cfg
  55. +34 −0 .kokoro/release/promote.sh
  56. +29 −0 .kokoro/release/publish_javadoc.cfg
  57. +77 −0 .kokoro/release/publish_javadoc.sh
  58. +6 −0 .kokoro/release/snapshot.cfg
  59. +33 −0 .kokoro/release/snapshot.sh
  60. +19 −0 .kokoro/release/stage.cfg
  61. +45 −0 .kokoro/release/stage.sh
  62. +26 −0 .kokoro/trampoline.sh
  63. +15 −0 .repo-metadata.json
  64. +94 −0 CODE_OF_CONDUCT.md
  65. +139 −0 CONTRIBUTING.md
  66. +202 −0 LICENSE
  67. +83 −0 README.md
  68. +4 −0 codecov.yaml
  69. +97 −0 google-cloud-channel-bom/pom.xml
  70. +111 −0 google-cloud-channel/pom.xml
  71. +3,394 −0 google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java
  72. +711 −0 google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java
  73. +47 −0 google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java
  74. +347 −0 google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java
  75. +2,286 −0 ...cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java
  76. +113 −0 ...hannel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java
  77. +1,460 −0 google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java
  78. +1,972 −0 google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java
  79. +59 −0 google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java
  80. +517 −0 google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java
  81. +65 −0 grpc-google-cloud-channel-v1/pom.xml
  82. +5,696 −0 grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java
  83. +15 −0 java.header
  84. +10 −0 license-checks.xml
  85. +189 −0 pom.xml
  86. +42 −0 proto-google-cloud-channel-v1/pom.xml
  87. +893 −0 ...google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java
  88. +97 −0 ...oud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java
  89. +990 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java
  90. +100 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java
  91. +634 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java
  92. +50 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java
  93. +892 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java
  94. +97 −0 ...cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java
  95. +1,807 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java
  96. +215 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java
  97. +1,639 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java
  98. +191 −0 ...-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java
  99. +1,195 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java
  100. +138 −0 ...d-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java
  101. +2,260 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java
  102. +276 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java
  103. +227 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java
  104. +185 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java
  105. +104 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java
  106. +836 −0 ...-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java
  107. +77 −0 ...v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java
  108. +1,041 −0 ...channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java
  109. +89 −0 ...1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java
  110. +1,030 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java
  111. +110 −0 ...d-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java
  112. +2,031 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java
  113. +223 −0 ...google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java
  114. +1,316 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java
  115. +142 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java
  116. +147 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java
  117. +733 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java
  118. +60 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java
  119. +1,556 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java
  120. +183 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java
  121. +1,172 −0 ...e-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java
  122. +130 −0 ...hannel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java
  123. +941 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java
  124. +90 −0 ...le-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java
  125. +1,207 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java
  126. +142 −0 ...cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java
  127. +3,296 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java
  128. +1,585 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java
  129. +218 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java
  130. +192 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java
  131. +427 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java
  132. +129 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java
  133. +650 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java
  134. +54 −0 ...le-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java
  135. +1,367 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java
  136. +100 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java
  137. +4,331 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java
  138. +227 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java
  139. +510 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java
  140. +261 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
  141. +819 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java
  142. +83 −0 ...d-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java
  143. +655 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java
  144. +56 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java
  145. +664 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java
  146. +58 −0 ...le-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java
  147. +1,118 −0 ...le-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java
  148. +129 −0 ...channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java
  149. +1,153 −0 ...e-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java
  150. +105 −0 ...hannel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java
  151. +940 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java
  152. +98 −0 ...gle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java
  153. +1,134 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java
  154. +104 −0 ...le-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java
  155. +962 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java
  156. +104 −0 ...-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java
  157. +1,137 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java
  158. +104 −0 ...cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java
  159. +1,318 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java
  160. +154 −0 ...google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java
  161. +1,122 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java
  162. +101 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java
  163. +1,112 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java
  164. +121 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java
  165. +1,126 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java
  166. +101 −0 ...gle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java
  167. +3,572 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java
  168. +214 −0 ...d-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java
  169. +1,143 −0 ...gle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java
  170. +102 −0 ...-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java
  171. +3,725 −0 ...google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java
  172. +214 −0 ...oud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java
  173. +1,137 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java
  174. +102 −0 ...ud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java
  175. +1,325 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java
  176. +156 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java
  177. +1,120 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java
  178. +101 −0 ...-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java
  179. +1,806 −0 ...gle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java
  180. +205 −0 ...-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java
  181. +1,182 −0 ...le-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java
  182. +111 −0 ...channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java
  183. +1,873 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java
  184. +224 −0 ...ud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java
  185. +1,178 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java
  186. +111 −0 ...d-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java
  187. +1,089 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java
  188. +110 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java
  189. +960 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java
  190. +100 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java
  191. +154 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java
  192. +3,287 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java
  193. +191 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java
  194. +370 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java
  195. +275 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java
  196. +969 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java
  197. +50 −0 ...google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java
  198. +79 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java
  199. +998 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java
  200. +2,207 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java
  201. +234 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java
  202. +100 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java
  203. +242 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java
  204. +176 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java
  205. +692 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
  206. +63 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java
  207. +198 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java
  208. +1,379 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java
  209. +163 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java
  210. +1,258 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java
  211. +1,368 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java
  212. +137 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java
  213. +134 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java
  214. +1,548 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java
  215. +163 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java
  216. +910 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java
  217. +86 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java
  218. +918 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java
  219. +168 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java
  220. +87 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java
  221. +127 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java
  222. +201 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java
  223. +1,301 −0 ...gle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java
  224. +140 −0 ...-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java
  225. +1,006 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java
  226. +104 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java
  227. +724 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java
  228. +60 −0 ...-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java
  229. +722 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java
  230. +60 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java
  231. +1,079 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java
  232. +115 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
  233. +296 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java
  234. +1,052 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java
  235. +1,195 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
  236. +191 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuName.java
  237. +122 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java
  238. +892 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java
  239. +97 −0 ...-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java
  240. +893 −0 ...-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java
  241. +97 −0 ...loud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java
  242. +1,061 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java
  243. +88 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java
  244. +1,640 −0 ...oogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java
  245. +192 −0 ...ud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java
  246. +954 −0 ...ogle-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java
  247. +77 −0 ...d-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java
  248. +1,442 −0 ...oud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java
  249. +159 −0 ...el-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java
  250. +724 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java
  251. +60 −0 ...google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java
  252. +1,558 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java
  253. +165 −0 ...o-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java
  254. +844 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java
  255. +81 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
  256. +1,275 −0 ...e-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java
  257. +142 −0 ...hannel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java
  258. +1,038 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java
  259. +101 −0 ...le-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
  260. +1,249 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
  261. +113 −0 proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java
  262. +90 −0 proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto
  263. +146 −0 proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto
  264. +113 −0 proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto
  265. +245 −0 proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto
  266. +323 −0 proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto
  267. +69 −0 proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto
  268. +95 −0 proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto
  269. +1,798 −0 proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto
  270. +73 −0 renovate.json
  271. +84 −0 samples/install-without-bom/pom.xml
  272. +56 −0 samples/pom.xml
  273. +83 −0 samples/snapshot/pom.xml
  274. +47 −0 samples/snippets/pom.xml
  275. +37 −0 synth.metadata
  276. +32 −0 synth.py
  277. +6 −0 versions.txt
Validating CODEOWNERS rules …
@@ -0,0 +1,10 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.

# For syntax help see:
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax

* @googleapis/yoshi-java

# The java-samples-reviewers team is the default owner for samples changes
samples/**/*.java @googleapis/java-samples-reviewers
@@ -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-channel/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. channel 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-channel/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,7 @@
# Configuration for the Blunderbuss GitHub app. For more info see
# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss
assign_prs_by:
- labels:
- samples
to:
- googleapis/java-samples-reviewers
@@ -0,0 +1,11 @@
externalManifests:
- type: json
file: 'synth.metadata'
jsonpath: '$.generatedFiles[*]'
- type: json
file: '.github/readme/synth.metadata/synth.metadata'
jsonpath: '$.generatedFiles[*]'
ignoreAuthors:
- 'renovate-bot'
- 'yoshi-automation'
- 'release-please[bot]'
@@ -0,0 +1,19 @@
# Copyright 2020 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 is used to synthesize generated the README for this library."""

from synthtool.languages import java

java.custom_templates(["java_library/README.md"])
@@ -0,0 +1,2 @@
releaseType: java-yoshi
bumpMinorPreMajor: true
Empty file.
@@ -0,0 +1,2 @@
trustedContributors:
- renovate-bot
@@ -0,0 +1,54 @@
on:
pull_request:
name: auto-merge-readme
jobs:
approve:
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme'
steps:
- uses: actions/github-script@v3
with:
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
script: |
// only approve PRs from yoshi-automation
if (context.payload.pull_request.user.login !== "yoshi-automation") {
return;
}
// only approve PRs like "chore: release <release version>"
if (!context.payload.pull_request.title === "chore: regenerate README") {
return;
}
// only approve PRs with README.md and synth.metadata changes
const files = new Set(
(
await github.paginate(
github.pulls.listFiles.endpoint({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
})
)
).map(file => file.filename)
);
if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) {
return;
}
// approve README regeneration PR
await github.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Rubber stamped PR!',
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
});
// attach automerge label
await github.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels: ['automerge']
});
@@ -0,0 +1,88 @@
on:
pull_request:
name: auto-release
jobs:
approve:
runs-on: ubuntu-latest
if: contains(github.head_ref, 'release-v')
steps:
- uses: actions/github-script@v3
with:
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
debug: true
script: |
// only approve PRs from release-please[bot]
if (context.payload.pull_request.user.login !== "release-please[bot]") {
return;
}
// only approve PRs like "chore: release <release version>"
if ( !context.payload.pull_request.title.startsWith("chore: release") ) {
return;
}
// only approve PRs with pom.xml and versions.txt changes
const filesPromise = github.pulls.listFiles.endpoint({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
});
const changed_files = await github.paginate(filesPromise)
if ( changed_files.length < 1 ) {
console.log( "Not proceeding since PR is empty!" )
return;
}
if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) {
console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" )
return;
}
// trigger auto-release when
// 1) it is a SNAPSHOT release (auto-generated post regular release)
// 2) there are dependency updates only
// 3) there are no open dependency update PRs in this repo (to avoid multiple releases)
if (
context.payload.pull_request.body.includes("Fix") ||
context.payload.pull_request.body.includes("Build") ||
context.payload.pull_request.body.includes("Documentation") ||
context.payload.pull_request.body.includes("BREAKING CHANGES") ||
context.payload.pull_request.body.includes("Features")
) {
console.log( "Not auto-releasing since it is not a dependency-update-only release." );
return;
}
const promise = github.pulls.list.endpoint({
owner: context.repo.owner,
repo: context.repo.repo,
state: 'open'
});
const open_pulls = await github.paginate(promise)
if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) {
for ( const pull of open_pulls ) {
if ( pull.title.startsWith("deps: update dependency") ) {
console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." );
return;
}
}
}
// approve release PR
await github.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Rubber stamped release!',
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
});
// attach kokoro:force-run and automerge labels
await github.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels: ['kokoro:force-run', 'automerge']
});
@@ -0,0 +1,79 @@
on:
push:
branches:
- master
pull_request:
name: ci
jobs:
units:
runs-on: ubuntu-latest
strategy:
matrix:
java: [7, 8, 11]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{matrix.java}}
- run: java -version
- run: .kokoro/build.sh
env:
JOB_TYPE: test
- name: coverage
uses: codecov/codecov-action@v1
with:
name: actions ${{matrix.java}}
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- run: java -version
- run: .kokoro/build.bat
env:
JOB_TYPE: test
dependencies:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{matrix.java}}
- run: java -version
- run: .kokoro/dependencies.sh
linkage-monitor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- run: java -version
- run: .kokoro/linkage-monitor.sh
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- run: java -version
- run: .kokoro/build.sh
env:
JOB_TYPE: lint
clirr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- run: java -version
- run: .kokoro/build.sh
env:
JOB_TYPE: clirr
@@ -0,0 +1,14 @@
on:
pull_request:
name: samples
jobs:
checkstyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- name: Run checkstyle
run: mvn -P lint --quiet --batch-mode checkstyle:check
working-directory: samples/snippets

0 comments on commit 5d89a95

Please sign in to comment.