Skip to content
Permalink
Browse files
feat: add schema service to gapic (#494)
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* fix: switch pubsub/v1 retry config to grpc_service_config

PiperOrigin-RevId: 336174031

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Oct 8 15:10:41 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: bf79839b947d8b5c0f55516b963433faf23b54c4
Source-Link: googleapis/googleapis@bf79839

* feat: add schema service

PiperOrigin-RevId: 348038736

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Dec 17 09:47:03 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 41d8fbfec9d4bc4a8859f78185713950913b4bf3
Source-Link: googleapis/googleapis@41d8fbf
  • Loading branch information
yoshi-automation committed Feb 2, 2021
1 parent 4123f26 commit 23952bfb728f64efaeaa2862f2f56f873260ca3e
Showing with 16,812 additions and 448 deletions.
  1. +2 −2 .kokoro/build.sh
  2. +861 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java
  3. +248 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java
  4. +4 −4 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java
  5. +8 −8 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java
  6. +18 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java
  7. +115 −0 ...-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java
  8. +322 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java
  9. +49 −43 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java
  10. +76 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java
  11. +561 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java
  12. +58 −60 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java
  13. +57 −0 google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java
  14. +156 −0 google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java
  15. +356 −0 google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java
  16. +4 −1 google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java
  17. +22 −4 google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java
  18. +8 −8 grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java
  19. +868 −0 grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaServiceGrpc.java
  20. +8 −8 grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java
  21. +1,156 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java
  22. +131 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java
  23. +654 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java
  24. +56 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java
  25. +178 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java
  26. +815 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java
  27. +85 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java
  28. +1,099 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java
  29. +127 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java
  30. +1,125 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java
  31. +103 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java
  32. +326 −302 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java
  33. +1,131 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java
  34. +182 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java
  35. +106 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java
  36. +255 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java
  37. +814 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java
  38. +85 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java
  39. +178 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java
  40. +383 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java
  41. +52 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java
  42. +1,486 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java
  43. +158 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java
  44. +454 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java
  45. +24 −0 ...o-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java
  46. +921 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java
  47. +91 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java
  48. +454 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java
  49. +24 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java
  50. +29 −4 proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
  51. +289 −0 proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/schema.proto
  52. +40 −3 synth.metadata
@@ -110,8 +110,8 @@ bash .kokoro/coerce_logs.sh

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

echo "exiting with ${RETURN_CODE}"

0 comments on commit 23952bf

Please sign in to comment.