Skip to content

Commit 052ed86

Browse files
chore: re-generated to pick up changes in the API or client library generator (#75)
1 parent 69fc615 commit 052ed86

11 files changed

Lines changed: 543 additions & 912 deletions

File tree

google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,8 +1516,8 @@ public final UnaryCallable<ListSnapshotsRequest, ListSnapshotsResponse> listSnap
15161516
* }
15171517
* </code></pre>
15181518
*
1519-
* @param name Optional user-provided name for this snapshot. If the name is not provided in the
1520-
* request, the server will assign a random name for this snapshot on the same project as the
1519+
* @param name User-provided name for this snapshot. If the name is not provided in the request,
1520+
* the server will assign a random name for this snapshot on the same project as the
15211521
* subscription. Note that for REST API requests, you must specify a name. See the &lt;a
15221522
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource name
15231523
* rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
@@ -1565,8 +1565,8 @@ public final Snapshot createSnapshot(
15651565
* }
15661566
* </code></pre>
15671567
*
1568-
* @param name Optional user-provided name for this snapshot. If the name is not provided in the
1569-
* request, the server will assign a random name for this snapshot on the same project as the
1568+
* @param name User-provided name for this snapshot. If the name is not provided in the request,
1569+
* the server will assign a random name for this snapshot on the same project as the
15701570
* subscription. Note that for REST API requests, you must specify a name. See the &lt;a
15711571
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource name
15721572
* rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.

proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java

Lines changed: 42 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
150150
*
151151
*
152152
* <pre>
153-
* Optional user-provided name for this snapshot.
154-
* If the name is not provided in the request, the server will assign a random
155-
* name for this snapshot on the same project as the subscription.
156-
* Note that for REST API requests, you must specify a name. See the
157-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
158-
* resource name rules&lt;/a&gt;.
159-
* Format is `projects/{project}/snapshots/{snap}`.
153+
* User-provided name for this snapshot. If the name is not provided in the
154+
* request, the server will assign a random name for this snapshot on the same
155+
* project as the subscription. Note that for REST API requests, you must
156+
* specify a name. See the &lt;a
157+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
158+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
160159
* </pre>
161160
*
162161
* <code>string name = 1;</code>
@@ -178,13 +177,12 @@ public java.lang.String getName() {
178177
*
179178
*
180179
* <pre>
181-
* Optional user-provided name for this snapshot.
182-
* If the name is not provided in the request, the server will assign a random
183-
* name for this snapshot on the same project as the subscription.
184-
* Note that for REST API requests, you must specify a name. See the
185-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
186-
* resource name rules&lt;/a&gt;.
187-
* Format is `projects/{project}/snapshots/{snap}`.
180+
* User-provided name for this snapshot. If the name is not provided in the
181+
* request, the server will assign a random name for this snapshot on the same
182+
* project as the subscription. Note that for REST API requests, you must
183+
* specify a name. See the &lt;a
184+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
185+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
188186
* </pre>
189187
*
190188
* <code>string name = 1;</code>
@@ -744,13 +742,12 @@ public Builder mergeFrom(
744742
*
745743
*
746744
* <pre>
747-
* Optional user-provided name for this snapshot.
748-
* If the name is not provided in the request, the server will assign a random
749-
* name for this snapshot on the same project as the subscription.
750-
* Note that for REST API requests, you must specify a name. See the
751-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
752-
* resource name rules&lt;/a&gt;.
753-
* Format is `projects/{project}/snapshots/{snap}`.
745+
* User-provided name for this snapshot. If the name is not provided in the
746+
* request, the server will assign a random name for this snapshot on the same
747+
* project as the subscription. Note that for REST API requests, you must
748+
* specify a name. See the &lt;a
749+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
750+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
754751
* </pre>
755752
*
756753
* <code>string name = 1;</code>
@@ -772,13 +769,12 @@ public java.lang.String getName() {
772769
*
773770
*
774771
* <pre>
775-
* Optional user-provided name for this snapshot.
776-
* If the name is not provided in the request, the server will assign a random
777-
* name for this snapshot on the same project as the subscription.
778-
* Note that for REST API requests, you must specify a name. See the
779-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
780-
* resource name rules&lt;/a&gt;.
781-
* Format is `projects/{project}/snapshots/{snap}`.
772+
* User-provided name for this snapshot. If the name is not provided in the
773+
* request, the server will assign a random name for this snapshot on the same
774+
* project as the subscription. Note that for REST API requests, you must
775+
* specify a name. See the &lt;a
776+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
777+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
782778
* </pre>
783779
*
784780
* <code>string name = 1;</code>
@@ -800,13 +796,12 @@ public com.google.protobuf.ByteString getNameBytes() {
800796
*
801797
*
802798
* <pre>
803-
* Optional user-provided name for this snapshot.
804-
* If the name is not provided in the request, the server will assign a random
805-
* name for this snapshot on the same project as the subscription.
806-
* Note that for REST API requests, you must specify a name. See the
807-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
808-
* resource name rules&lt;/a&gt;.
809-
* Format is `projects/{project}/snapshots/{snap}`.
799+
* User-provided name for this snapshot. If the name is not provided in the
800+
* request, the server will assign a random name for this snapshot on the same
801+
* project as the subscription. Note that for REST API requests, you must
802+
* specify a name. See the &lt;a
803+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
804+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
810805
* </pre>
811806
*
812807
* <code>string name = 1;</code>
@@ -827,13 +822,12 @@ public Builder setName(java.lang.String value) {
827822
*
828823
*
829824
* <pre>
830-
* Optional user-provided name for this snapshot.
831-
* If the name is not provided in the request, the server will assign a random
832-
* name for this snapshot on the same project as the subscription.
833-
* Note that for REST API requests, you must specify a name. See the
834-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
835-
* resource name rules&lt;/a&gt;.
836-
* Format is `projects/{project}/snapshots/{snap}`.
825+
* User-provided name for this snapshot. If the name is not provided in the
826+
* request, the server will assign a random name for this snapshot on the same
827+
* project as the subscription. Note that for REST API requests, you must
828+
* specify a name. See the &lt;a
829+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
830+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
837831
* </pre>
838832
*
839833
* <code>string name = 1;</code>
@@ -850,13 +844,12 @@ public Builder clearName() {
850844
*
851845
*
852846
* <pre>
853-
* Optional user-provided name for this snapshot.
854-
* If the name is not provided in the request, the server will assign a random
855-
* name for this snapshot on the same project as the subscription.
856-
* Note that for REST API requests, you must specify a name. See the
857-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
858-
* resource name rules&lt;/a&gt;.
859-
* Format is `projects/{project}/snapshots/{snap}`.
847+
* User-provided name for this snapshot. If the name is not provided in the
848+
* request, the server will assign a random name for this snapshot on the same
849+
* project as the subscription. Note that for REST API requests, you must
850+
* specify a name. See the &lt;a
851+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
852+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
860853
* </pre>
861854
*
862855
* <code>string name = 1;</code>

proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ public interface CreateSnapshotRequestOrBuilder
2727
*
2828
*
2929
* <pre>
30-
* Optional user-provided name for this snapshot.
31-
* If the name is not provided in the request, the server will assign a random
32-
* name for this snapshot on the same project as the subscription.
33-
* Note that for REST API requests, you must specify a name. See the
34-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
35-
* resource name rules&lt;/a&gt;.
36-
* Format is `projects/{project}/snapshots/{snap}`.
30+
* User-provided name for this snapshot. If the name is not provided in the
31+
* request, the server will assign a random name for this snapshot on the same
32+
* project as the subscription. Note that for REST API requests, you must
33+
* specify a name. See the &lt;a
34+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
35+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
3736
* </pre>
3837
*
3938
* <code>string name = 1;</code>
@@ -45,13 +44,12 @@ public interface CreateSnapshotRequestOrBuilder
4544
*
4645
*
4746
* <pre>
48-
* Optional user-provided name for this snapshot.
49-
* If the name is not provided in the request, the server will assign a random
50-
* name for this snapshot on the same project as the subscription.
51-
* Note that for REST API requests, you must specify a name. See the
52-
* &lt;a href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt;
53-
* resource name rules&lt;/a&gt;.
54-
* Format is `projects/{project}/snapshots/{snap}`.
47+
* User-provided name for this snapshot. If the name is not provided in the
48+
* request, the server will assign a random name for this snapshot on the same
49+
* project as the subscription. Note that for REST API requests, you must
50+
* specify a name. See the &lt;a
51+
* href="https://cloud.google.com/pubsub/docs/admin#resource_names"&gt; resource
52+
* name rules&lt;/a&gt;. Format is `projects/{project}/snapshots/{snap}`.
5553
* </pre>
5654
*
5755
* <code>string name = 1;</code>

0 commit comments

Comments
 (0)