Skip to content
Permalink
Browse files
docs(regen): switch to proto annotations (#90)
  • Loading branch information
yoshi-automation committed Feb 27, 2020
1 parent f38b712 commit 63c147a9250c7b07cb9c8cc7b086a68e0631a37d
Showing with 1,929 additions and 1,194 deletions.
  1. +78 −70 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java
  2. +24 −14 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java
  3. +1 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java
  4. +1 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java
  5. +1 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java
  6. +1 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java
  7. +1 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java
  8. +1 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java
  9. +1 −1 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java
  10. +54 −40 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java
  11. +16 −12 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java
  12. +56 −28 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java
  13. +16 −8 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java
  14. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java
  15. +8 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java
  16. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java
  17. +8 −4 ...google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java
  18. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java
  19. +8 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java
  20. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java
  21. +8 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java
  22. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java
  23. +8 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java
  24. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java
  25. +8 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java
  26. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java
  27. +8 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java
  28. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java
  29. +8 −4 ...-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java
  30. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java
  31. +8 −4 ...le-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java
  32. +13 −13 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java
  33. +4 −4 ...e-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java
  34. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java
  35. +8 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java
  36. +62 −48 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java
  37. +18 −14 ...-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java
  38. +64 −38 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java
  39. +17 −10 ...o-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java
  40. +120 −60 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java
  41. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java
  42. +262 −211 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java
  43. +36 −22 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java
  44. +10 −6 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java
  45. +35 −21 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java
  46. +10 −6 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java
  47. +7 −7 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java
  48. +2 −2 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java
  49. +36 −22 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java
  50. +10 −6 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java
  51. +42 −28 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java
  52. +12 −8 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java
  53. +14 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java
  54. +4 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java
  55. +69 −48 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java
  56. +15 −12 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java
  57. +84 −48 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java
  58. +21 −12 ...google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java
  59. +60 −48 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java
  60. +15 −12 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java
  61. +230 −93 proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
  62. +18 −4 synth.metadata

Large diffs are not rendered by default.

@@ -190,7 +190,7 @@ public PublisherStub getStub() {
* }
* </code></pre>
*
* @param name The name of the topic. It must have the format
* @param name Required. The name of the topic. It must have the format
* `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only
* letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
* tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in
@@ -217,7 +217,7 @@ public final Topic createTopic(ProjectTopicName name) {
* }
* </code></pre>
*
* @param name The name of the topic. It must have the format
* @param name Required. The name of the topic. It must have the format
* `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only
* letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
* tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in
@@ -345,9 +345,9 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
* }
* </code></pre>
*
* @param topic The messages in the request will be published on this topic. Format is
* @param topic Required. The messages in the request will be published on this topic. Format is
* `projects/{project}/topics/{topic}`.
* @param messages The messages to publish.
* @param messages Required. The messages to publish.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
/* package-private */ final PublishResponse publish(
@@ -378,9 +378,9 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
* }
* </code></pre>
*
* @param topic The messages in the request will be published on this topic. Format is
* @param topic Required. The messages in the request will be published on this topic. Format is
* `projects/{project}/topics/{topic}`.
* @param messages The messages to publish.
* @param messages Required. The messages to publish.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
/* package-private */ final PublishResponse publish(String topic, List<PubsubMessage> messages) {
@@ -459,7 +459,8 @@ public final UnaryCallable<UpdateTopicRequest, Topic> updateTopicCallable() {
* }
* </code></pre>
*
* @param topic The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
* @param topic Required. The name of the topic to get. Format is
* `projects/{project}/topics/{topic}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Topic getTopic(ProjectTopicName topic) {
@@ -481,7 +482,8 @@ public final Topic getTopic(ProjectTopicName topic) {
* }
* </code></pre>
*
* @param topic The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
* @param topic Required. The name of the topic to get. Format is
* `projects/{project}/topics/{topic}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Topic getTopic(String topic) {
@@ -549,7 +551,7 @@ public final UnaryCallable<GetTopicRequest, Topic> getTopicCallable() {
* }
* </code></pre>
*
* @param project The name of the project in which to list topics. Format is
* @param project Required. The name of the project in which to list topics. Format is
* `projects/{project-id}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -576,7 +578,7 @@ public final ListTopicsPagedResponse listTopics(ProjectName project) {
* }
* </code></pre>
*
* @param project The name of the project in which to list topics. Format is
* @param project Required. The name of the project in which to list topics. Format is
* `projects/{project-id}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -680,7 +682,7 @@ public final UnaryCallable<ListTopicsRequest, ListTopicsResponse> listTopicsCall
* }
* </code></pre>
*
* @param topic The name of the topic that subscriptions are attached to. Format is
* @param topic Required. The name of the topic that subscriptions are attached to. Format is
* `projects/{project}/topics/{topic}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -707,7 +709,7 @@ public final ListTopicSubscriptionsPagedResponse listTopicSubscriptions(ProjectT
* }
* </code></pre>
*
* @param topic The name of the topic that subscriptions are attached to. Format is
* @param topic Required. The name of the topic that subscriptions are attached to. Format is
* `projects/{project}/topics/{topic}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -816,7 +818,8 @@ public final ListTopicSubscriptionsPagedResponse listTopicSubscriptions(
* }
* </code></pre>
*
* @param topic Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
* @param topic Required. Name of the topic to delete. Format is
* `projects/{project}/topics/{topic}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteTopic(ProjectTopicName topic) {
@@ -841,7 +844,8 @@ public final void deleteTopic(ProjectTopicName topic) {
* }
* </code></pre>
*
* @param topic Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
* @param topic Required. Name of the topic to delete. Format is
* `projects/{project}/topics/{topic}`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteTopic(String topic) {
@@ -904,6 +908,8 @@ public final UnaryCallable<DeleteTopicRequest, Empty> deleteTopicCallable() {
/**
* Sets the access control policy on the specified resource. Replaces any existing policy.
*
* <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
*
* <p>Sample code:
*
* <pre><code>
@@ -931,6 +937,8 @@ public final Policy setIamPolicy(String resource, Policy policy) {
/**
* Sets the access control policy on the specified resource. Replaces any existing policy.
*
* <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
*
* <p>Sample code:
*
* <pre><code>
@@ -956,6 +964,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
/**
* Sets the access control policy on the specified resource. Replaces any existing policy.
*
* <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
*
* <p>Sample code:
*
* <pre><code>
@@ -15,7 +15,7 @@
*/

/**
* A client to Google Cloud Pub/Sub API.
* A client to Cloud Pub/Sub API.
*
* <p>The interfaces provided are listed below, along with usage samples.
*
@@ -36,7 +36,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC callable factory implementation for Google Cloud Pub/Sub API.
* gRPC callable factory implementation for Cloud Pub/Sub API.
*
* <p>This class is for advanced usage.
*/
@@ -52,7 +52,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC stub implementation for Google Cloud Pub/Sub API.
* gRPC stub implementation for Cloud Pub/Sub API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@@ -36,7 +36,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC callable factory implementation for Google Cloud Pub/Sub API.
* gRPC callable factory implementation for Cloud Pub/Sub API.
*
* <p>This class is for advanced usage.
*/
@@ -64,7 +64,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC stub implementation for Google Cloud Pub/Sub API.
* gRPC stub implementation for Cloud Pub/Sub API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@@ -41,7 +41,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for Google Cloud Pub/Sub API.
* Base stub class for Cloud Pub/Sub API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@@ -53,7 +53,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for Google Cloud Pub/Sub API.
* Base stub class for Cloud Pub/Sub API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/

0 comments on commit 63c147a

Please sign in to comment.