diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java b/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java index 0e6414fd4823..545cc35cf812 100644 --- a/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java +++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java @@ -869,9 +869,10 @@ public abstract static class SubscriberImplBase implements io.grpc.BindableServi * If the name is not provided in the request, the server will assign a random * name for this subscription on the same project as the topic, conforming * to the - * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - * The generated name is populated in the returned Subscription object. - * Note that for REST API requests, you must specify a name in the request. + * [resource name + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Subscription object. Note that + * for REST API requests, you must specify a name in the request. * */ public void createSubscription( @@ -1086,9 +1087,10 @@ public void listSnapshots( * the request, the server will assign a random * name for this snapshot on the same project as the subscription, conforming * to the - * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - * The generated name is populated in the returned Snapshot object. Note that - * for REST API requests, you must specify a name in the request. + * [resource name + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for + * REST API requests, you must specify a name in the request. * */ public void createSnapshot( @@ -1306,9 +1308,10 @@ protected SubscriberStub build(io.grpc.Channel channel, io.grpc.CallOptions call * If the name is not provided in the request, the server will assign a random * name for this subscription on the same project as the topic, conforming * to the - * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - * The generated name is populated in the returned Subscription object. - * Note that for REST API requests, you must specify a name in the request. + * [resource name + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Subscription object. Note that + * for REST API requests, you must specify a name in the request. * */ public void createSubscription( @@ -1555,9 +1558,10 @@ public void listSnapshots( * the request, the server will assign a random * name for this snapshot on the same project as the subscription, conforming * to the - * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - * The generated name is populated in the returned Snapshot object. Note that - * for REST API requests, you must specify a name in the request. + * [resource name + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for + * REST API requests, you must specify a name in the request. * */ public void createSnapshot( @@ -1684,9 +1688,10 @@ protected SubscriberBlockingStub build( * If the name is not provided in the request, the server will assign a random * name for this subscription on the same project as the topic, conforming * to the - * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - * The generated name is populated in the returned Subscription object. - * Note that for REST API requests, you must specify a name in the request. + * [resource name + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Subscription object. Note that + * for REST API requests, you must specify a name in the request. * */ public com.google.pubsub.v1.Subscription createSubscription( @@ -1879,9 +1884,10 @@ public com.google.pubsub.v1.ListSnapshotsResponse listSnapshots( * the request, the server will assign a random * name for this snapshot on the same project as the subscription, conforming * to the - * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - * The generated name is populated in the returned Snapshot object. Note that - * for REST API requests, you must specify a name in the request. + * [resource name + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for + * REST API requests, you must specify a name in the request. * */ public com.google.pubsub.v1.Snapshot createSnapshot( @@ -1995,9 +2001,10 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * If the name is not provided in the request, the server will assign a random * name for this subscription on the same project as the topic, conforming * to the - * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - * The generated name is populated in the returned Subscription object. - * Note that for REST API requests, you must specify a name in the request. + * [resource name + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Subscription object. Note that + * for REST API requests, you must specify a name in the request. * */ public com.google.common.util.concurrent.ListenableFuture @@ -2195,9 +2202,10 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * the request, the server will assign a random * name for this snapshot on the same project as the subscription, conforming * to the - * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - * The generated name is populated in the returned Snapshot object. Note that - * for REST API requests, you must specify a name in the request. + * [resource name + * format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + * generated name is populated in the returned Snapshot object. Note that for + * REST API requests, you must specify a name in the request. * */ public com.google.common.util.concurrent.ListenableFuture diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java index 4fee2a01533c..63958ce83e35 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java @@ -8,9 +8,9 @@ * *
  * Request for the `CreateSnapshot` method.<br><br>
- * <b>BETA:</b> This feature is part of a beta release. This API might be changed in
- * backward-incompatible ways and is not recommended for production use.
- * It is not subject to any SLA or deprecation policy.
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
+ * changed in backward-incompatible ways and is not recommended for production
+ * use. It is not subject to any SLA or deprecation policy.
  * 
* * Protobuf type {@code google.pubsub.v1.CreateSnapshotRequest} @@ -529,9 +529,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request for the `CreateSnapshot` method.<br><br>
-   * <b>BETA:</b> This feature is part of a beta release. This API might be changed in
-   * backward-incompatible ways and is not recommended for production use.
-   * It is not subject to any SLA or deprecation policy.
+   * <b>BETA:</b> This feature is part of a beta release. This API might be
+   * changed in backward-incompatible ways and is not recommended for production
+   * use. It is not subject to any SLA or deprecation policy.
    * 
* * Protobuf type {@code google.pubsub.v1.CreateSnapshotRequest} diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java index efb2168d1aa7..8bde436d8da5 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java @@ -370,7 +370,8 @@ public int getAckDeadlineSeconds() { * messages are not expunged from the subscription's backlog, even if they are * acknowledged, until they fall out of the `message_retention_duration` * window. This must be true if you would like to - * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> + * <a + * href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> * Seek to a timestamp</a>. * <br><br> * <b>BETA:</b> This feature is part of a beta release. This API might be @@ -1631,7 +1632,8 @@ public Builder clearAckDeadlineSeconds() { * messages are not expunged from the subscription's backlog, even if they are * acknowledged, until they fall out of the `message_retention_duration` * window. This must be true if you would like to - * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> + * <a + * href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> * Seek to a timestamp</a>. * <br><br> * <b>BETA:</b> This feature is part of a beta release. This API might be @@ -1652,7 +1654,8 @@ public boolean getRetainAckedMessages() { * messages are not expunged from the subscription's backlog, even if they are * acknowledged, until they fall out of the `message_retention_duration` * window. This must be true if you would like to - * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> + * <a + * href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> * Seek to a timestamp</a>. * <br><br> * <b>BETA:</b> This feature is part of a beta release. This API might be @@ -1676,7 +1679,8 @@ public Builder setRetainAckedMessages(boolean value) { * messages are not expunged from the subscription's backlog, even if they are * acknowledged, until they fall out of the `message_retention_duration` * window. This must be true if you would like to - * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> + * <a + * href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> * Seek to a timestamp</a>. * <br><br> * <b>BETA:</b> This feature is part of a beta release. This API might be diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java index dc06e7fb432b..03eace1dd4a4 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java @@ -138,7 +138,8 @@ public interface SubscriptionOrBuilder * messages are not expunged from the subscription's backlog, even if they are * acknowledged, until they fall out of the `message_retention_duration` * window. This must be true if you would like to - * <a href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> + * <a + * href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time"> * Seek to a timestamp</a>. * <br><br> * <b>BETA:</b> This feature is part of a beta release. This API might be diff --git a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto index 095a37b156fd..9d79638f8fd6 100644 --- a/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto +++ b/google-api-grpc/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto @@ -32,7 +32,6 @@ option java_package = "com.google.pubsub.v1"; option php_namespace = "Google\\Cloud\\PubSub\\V1"; option ruby_package = "Google::Cloud::PubSub::V1"; - // The service that an application uses to manipulate topics, and to send // messages to a topic. service Publisher { @@ -79,7 +78,8 @@ service Publisher { } // Lists the names of the subscriptions on this topic. - rpc ListTopicSubscriptions(ListTopicSubscriptionsRequest) returns (ListTopicSubscriptionsResponse) { + rpc ListTopicSubscriptions(ListTopicSubscriptionsRequest) + returns (ListTopicSubscriptionsResponse) { option (google.api.http) = { get: "/v1/{topic=projects/*/topics/*}/subscriptions" }; @@ -94,7 +94,8 @@ service Publisher { // BETA: This feature is part of a beta release. This API might be // changed in backward-incompatible ways and is not recommended for production // use. It is not subject to any SLA or deprecation policy. - rpc ListTopicSnapshots(ListTopicSnapshotsRequest) returns (ListTopicSnapshotsResponse) { + rpc ListTopicSnapshots(ListTopicSnapshotsRequest) + returns (ListTopicSnapshotsResponse) { option (google.api.http) = { get: "/v1/{topic=projects/*/topics/*}/snapshots" }; @@ -125,9 +126,10 @@ service Subscriber { // If the name is not provided in the request, the server will assign a random // name for this subscription on the same project as the topic, conforming // to the - // [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - // The generated name is populated in the returned Subscription object. - // Note that for REST API requests, you must specify a name in the request. + // [resource name + // format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + // generated name is populated in the returned Subscription object. Note that + // for REST API requests, you must specify a name in the request. rpc CreateSubscription(Subscription) returns (Subscription) { option (google.api.http) = { put: "/v1/{name=projects/*/subscriptions/*}" @@ -152,7 +154,8 @@ service Subscriber { } // Lists matching subscriptions. - rpc ListSubscriptions(ListSubscriptionsRequest) returns (ListSubscriptionsResponse) { + rpc ListSubscriptions(ListSubscriptionsRequest) + returns (ListSubscriptionsResponse) { option (google.api.http) = { get: "/v1/{project=projects/*}/subscriptions" }; @@ -163,7 +166,8 @@ service Subscriber { // `NOT_FOUND`. After a subscription is deleted, a new one may be created with // the same name, but the new one has no association with the old // subscription or its topic unless the same topic is specified. - rpc DeleteSubscription(DeleteSubscriptionRequest) returns (google.protobuf.Empty) { + rpc DeleteSubscription(DeleteSubscriptionRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{subscription=projects/*/subscriptions/*}" }; @@ -174,7 +178,8 @@ service Subscriber { // subscriber, or to make the message available for redelivery if the // processing was interrupted. Note that this does not modify the // subscription-level `ackDeadlineSeconds` used for subsequent messages. - rpc ModifyAckDeadline(ModifyAckDeadlineRequest) returns (google.protobuf.Empty) { + rpc ModifyAckDeadline(ModifyAckDeadlineRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline" body: "*" @@ -212,8 +217,8 @@ service Subscriber { // reassign server-side resources, in which case, the client should // re-establish the stream. Flow control can be achieved by configuring the // underlying RPC channel. - rpc StreamingPull(stream StreamingPullRequest) returns (stream StreamingPullResponse) { - } + rpc StreamingPull(stream StreamingPullRequest) + returns (stream StreamingPullResponse) {} // Modifies the `PushConfig` for a specified subscription. // @@ -221,7 +226,8 @@ service Subscriber { // an empty `PushConfig`) or vice versa, or change the endpoint URL and other // attributes of a push subscription. Messages will accumulate for delivery // continuously through the call regardless of changes to the `PushConfig`. - rpc ModifyPushConfig(ModifyPushConfigRequest) returns (google.protobuf.Empty) { + rpc ModifyPushConfig(ModifyPushConfigRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig" body: "*" @@ -275,9 +281,10 @@ service Subscriber { // the request, the server will assign a random // name for this snapshot on the same project as the subscription, conforming // to the - // [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names). - // The generated name is populated in the returned Snapshot object. Note that - // for REST API requests, you must specify a name in the request. + // [resource name + // format](https://cloud.google.com/pubsub/docs/admin#resource_names). The + // generated name is populated in the returned Snapshot object. Note that for + // REST API requests, you must specify a name in the request. rpc CreateSnapshot(CreateSnapshotRequest) returns (Snapshot) { option (google.api.http) = { put: "/v1/{name=projects/*/snapshots/*}" @@ -576,7 +583,8 @@ message Subscription { // messages are not expunged from the subscription's backlog, even if they are // acknowledged, until they fall out of the `message_retention_duration` // window. This must be true if you would like to - // + // // Seek to a timestamp. //

// BETA: This feature is part of a beta release. This API might be @@ -872,9 +880,9 @@ message StreamingPullResponse { } // Request for the `CreateSnapshot` method.

-// BETA: This feature is part of a beta release. This API might be changed in -// backward-incompatible ways and is not recommended for production use. -// It is not subject to any SLA or deprecation policy. +// BETA: This feature is part of a beta release. This API might be +// changed in backward-incompatible ways and is not recommended for production +// use. It is not subject to any SLA or deprecation policy. message CreateSnapshotRequest { // Optional user-provided name for this snapshot. // If the name is not provided in the request, the server will assign a random @@ -1028,6 +1036,4 @@ message SeekRequest { } // Response for the `Seek` method (this response is empty). -message SeekResponse { - -} +message SeekResponse {} diff --git a/google-cloud-clients/google-cloud-pubsub/synth.metadata b/google-cloud-clients/google-cloud-pubsub/synth.metadata index c596772783e5..961e55caa402 100644 --- a/google-cloud-clients/google-cloud-pubsub/synth.metadata +++ b/google-cloud-clients/google-cloud-pubsub/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-02-28T08:48:09.044830Z", + "updateTime": "2019-03-01T08:49:22.807745Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "9c769d3a0e67e4df9b9e8eee480124c2700a7e6c", - "internalRef": "235997788" + "sha": "41d72d444fbe445f4da89e13be02078734fb7875", + "internalRef": "236230004" } } ],