Skip to content
Permalink
Browse files
fix: Re-generated to pick up changes in the API or client library gen…
…erator. (#104)
  • Loading branch information
yoshi-automation committed Mar 17, 2020
1 parent 8d4b27a commit 0e366c35580116fcd6aa40caadedd95be07bdd87
Showing with 612 additions and 549 deletions.
  1. +12 −8 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java
  2. +39 −26 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java
  3. +12 −8 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java
  4. +28 −28 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java
  5. +8 −8 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java
  6. +28 −14 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java
  7. +8 −4 ...google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java
  8. +16 −16 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java
  9. +4 −4 ...-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java
  10. +219 −218 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java
  11. +51 −28 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java
  12. +12 −7 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java
  13. +22 −22 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java
  14. +6 −6 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java
  15. +21 −28 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java
  16. +6 −8 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java
  17. +24 −24 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java
  18. +6 −6 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java
  19. +84 −80 proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
  20. +6 −6 synth.metadata
@@ -1071,10 +1071,12 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
*
* @param subscription Required. The subscription from which messages should be pulled. Format is
* `projects/{project}/subscriptions/{sub}`.
* @param returnImmediately If this field set to true, the system will respond immediately even if
* it there are no messages available to return in the `Pull` response. Otherwise, the system
* may wait (for a bounded amount of time) until at least one message is available, rather
* than returning no messages.
* @param returnImmediately Optional. If this field set to true, the system will respond
* immediately even if it there are no messages available to return in the `Pull` response.
* Otherwise, the system may wait (for a bounded amount of time) until at least one message is
* available, rather than returning no messages. Warning: setting this field to `true` is
* discouraged because it adversely impacts the performance of `Pull` operations. We recommend
* that users do not set this field.
* @param maxMessages Required. The maximum number of messages to return for this request. Must be
* a positive integer. The Pub/Sub system may return fewer than the number specified.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -1108,10 +1110,12 @@ public final UnaryCallable<DeleteSubscriptionRequest, Empty> deleteSubscriptionC
*
* @param subscription Required. The subscription from which messages should be pulled. Format is
* `projects/{project}/subscriptions/{sub}`.
* @param returnImmediately If this field set to true, the system will respond immediately even if
* it there are no messages available to return in the `Pull` response. Otherwise, the system
* may wait (for a bounded amount of time) until at least one message is available, rather
* than returning no messages.
* @param returnImmediately Optional. If this field set to true, the system will respond
* immediately even if it there are no messages available to return in the `Pull` response.
* Otherwise, the system may wait (for a bounded amount of time) until at least one message is
* available, rather than returning no messages. Warning: setting this field to `true` is
* discouraged because it adversely impacts the performance of `Pull` operations. We recommend
* that users do not set this field.
* @param maxMessages Required. The maximum number of messages to return for this request. Must be
* a positive integer. The Pub/Sub system may return fewer than the number specified.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -185,8 +185,9 @@ public com.google.protobuf.ByteString getSubscriptionBytes() {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -200,8 +201,9 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -215,8 +217,9 @@ public int getAckIdsCount() {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -231,8 +234,9 @@ public java.lang.String getAckIds(int index) {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -729,8 +733,9 @@ private void ensureAckIdsIsMutable() {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -744,8 +749,9 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -759,8 +765,9 @@ public int getAckIdsCount() {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -775,8 +782,9 @@ public java.lang.String getAckIds(int index) {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -791,8 +799,9 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -814,8 +823,9 @@ public Builder setAckIds(int index, java.lang.String value) {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -836,8 +846,9 @@ public Builder addAckIds(java.lang.String value) {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -855,8 +866,9 @@ public Builder addAllAckIds(java.lang.Iterable<java.lang.String> values) {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -873,8 +885,9 @@ public Builder clearAckIds() {
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -58,8 +58,9 @@
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -71,8 +72,9 @@
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -84,8 +86,9 @@
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -98,8 +101,9 @@
*
*
* <pre>
* Required. The acknowledgment ID for the messages being acknowledged that was returned
* by the Pub/Sub system in the `Pull` response. Must not be empty.
* Required. The acknowledgment ID for the messages being acknowledged that
* was returned by the Pub/Sub system in the `Pull` response. Must not be
* empty.
* </pre>
*
* <code>repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@@ -150,10 +150,10 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>
@@ -179,10 +179,10 @@ public java.lang.String getName() {
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>
@@ -750,10 +750,10 @@ public Builder mergeFrom(
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>
@@ -779,10 +779,10 @@ public java.lang.String getName() {
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>
@@ -808,10 +808,10 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>
@@ -836,10 +836,10 @@ public Builder setName(java.lang.String value) {
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>
@@ -860,10 +860,10 @@ public Builder clearName() {
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>
@@ -27,10 +27,10 @@
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>
@@ -46,10 +46,10 @@
*
*
* <pre>
* Required. User-provided name for this snapshot. If the name is not provided in the
* request, the server will assign a random name for this snapshot on the same
* project as the subscription. Note that for REST API requests, you must
* specify a name. See the &lt;a
* Required. User-provided name for this snapshot. If the name is not provided
* in the request, the server will assign a random name for this snapshot on
* the same project as the subscription. Note that for REST API requests, you
* must specify a name. See the &lt;a
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
* </pre>

0 comments on commit 0e366c3

Please sign in to comment.