Skip to content

Commit a5f45ac

Browse files
feat: regenerated to pick up doc changes (#246)
* 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. * docs: Add a link to Pub/Sub filtering language public documentation to pubsub.proto PiperOrigin-RevId: 315930680 Source-Author: Google APIs <[email protected]> Source-Date: Thu Jun 11 10:43:34 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: a19b46e54cc5195557f70ff68f1696d1e3b4702e Source-Link: googleapis/googleapis@a19b46e
1 parent 2c7bf60 commit a5f45ac

File tree

7 files changed

+58
-31
lines changed

7 files changed

+58
-31
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
1717
<dependency>
1818
<groupId>com.google.cloud</groupId>
1919
<artifactId>libraries-bom</artifactId>
20-
<version>5.7.0</version>
20+
<version>7.0.0</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>

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

+22-11
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ public int getAttributesCount() {
223223
*
224224
* <pre>
225225
* Attributes for this message. If this field is empty, the message must
226-
* contain non-empty data.
226+
* contain non-empty data. This can be used to filter messages on the
227+
* subscription.
227228
* </pre>
228229
*
229230
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -246,7 +247,8 @@ public java.util.Map<java.lang.String, java.lang.String> getAttributes() {
246247
*
247248
* <pre>
248249
* Attributes for this message. If this field is empty, the message must
249-
* contain non-empty data.
250+
* contain non-empty data. This can be used to filter messages on the
251+
* subscription.
250252
* </pre>
251253
*
252254
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -260,7 +262,8 @@ public java.util.Map<java.lang.String, java.lang.String> getAttributesMap() {
260262
*
261263
* <pre>
262264
* Attributes for this message. If this field is empty, the message must
263-
* contain non-empty data.
265+
* contain non-empty data. This can be used to filter messages on the
266+
* subscription.
264267
* </pre>
265268
*
266269
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -279,7 +282,8 @@ public java.lang.String getAttributesOrDefault(
279282
*
280283
* <pre>
281284
* Attributes for this message. If this field is empty, the message must
282-
* contain non-empty data.
285+
* contain non-empty data. This can be used to filter messages on the
286+
* subscription.
283287
* </pre>
284288
*
285289
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -982,7 +986,8 @@ public int getAttributesCount() {
982986
*
983987
* <pre>
984988
* Attributes for this message. If this field is empty, the message must
985-
* contain non-empty data.
989+
* contain non-empty data. This can be used to filter messages on the
990+
* subscription.
986991
* </pre>
987992
*
988993
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -1005,7 +1010,8 @@ public java.util.Map<java.lang.String, java.lang.String> getAttributes() {
10051010
*
10061011
* <pre>
10071012
* Attributes for this message. If this field is empty, the message must
1008-
* contain non-empty data.
1013+
* contain non-empty data. This can be used to filter messages on the
1014+
* subscription.
10091015
* </pre>
10101016
*
10111017
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -1019,7 +1025,8 @@ public java.util.Map<java.lang.String, java.lang.String> getAttributesMap() {
10191025
*
10201026
* <pre>
10211027
* Attributes for this message. If this field is empty, the message must
1022-
* contain non-empty data.
1028+
* contain non-empty data. This can be used to filter messages on the
1029+
* subscription.
10231030
* </pre>
10241031
*
10251032
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -1038,7 +1045,8 @@ public java.lang.String getAttributesOrDefault(
10381045
*
10391046
* <pre>
10401047
* Attributes for this message. If this field is empty, the message must
1041-
* contain non-empty data.
1048+
* contain non-empty data. This can be used to filter messages on the
1049+
* subscription.
10421050
* </pre>
10431051
*
10441052
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -1064,7 +1072,8 @@ public Builder clearAttributes() {
10641072
*
10651073
* <pre>
10661074
* Attributes for this message. If this field is empty, the message must
1067-
* contain non-empty data.
1075+
* contain non-empty data. This can be used to filter messages on the
1076+
* subscription.
10681077
* </pre>
10691078
*
10701079
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -1086,7 +1095,8 @@ public java.util.Map<java.lang.String, java.lang.String> getMutableAttributes()
10861095
*
10871096
* <pre>
10881097
* Attributes for this message. If this field is empty, the message must
1089-
* contain non-empty data.
1098+
* contain non-empty data. This can be used to filter messages on the
1099+
* subscription.
10901100
* </pre>
10911101
*
10921102
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -1106,7 +1116,8 @@ public Builder putAttributes(java.lang.String key, java.lang.String value) {
11061116
*
11071117
* <pre>
11081118
* Attributes for this message. If this field is empty, the message must
1109-
* contain non-empty data.
1119+
* contain non-empty data. This can be used to filter messages on the
1120+
* subscription.
11101121
* </pre>
11111122
*
11121123
* <code>map&lt;string, string&gt; attributes = 2;</code>

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

+10-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public interface PubsubMessageOrBuilder
4242
*
4343
* <pre>
4444
* Attributes for this message. If this field is empty, the message must
45-
* contain non-empty data.
45+
* contain non-empty data. This can be used to filter messages on the
46+
* subscription.
4647
* </pre>
4748
*
4849
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -53,7 +54,8 @@ public interface PubsubMessageOrBuilder
5354
*
5455
* <pre>
5556
* Attributes for this message. If this field is empty, the message must
56-
* contain non-empty data.
57+
* contain non-empty data. This can be used to filter messages on the
58+
* subscription.
5759
* </pre>
5860
*
5961
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -67,7 +69,8 @@ public interface PubsubMessageOrBuilder
6769
*
6870
* <pre>
6971
* Attributes for this message. If this field is empty, the message must
70-
* contain non-empty data.
72+
* contain non-empty data. This can be used to filter messages on the
73+
* subscription.
7174
* </pre>
7275
*
7376
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -78,7 +81,8 @@ public interface PubsubMessageOrBuilder
7881
*
7982
* <pre>
8083
* Attributes for this message. If this field is empty, the message must
81-
* contain non-empty data.
84+
* contain non-empty data. This can be used to filter messages on the
85+
* subscription.
8286
* </pre>
8387
*
8488
* <code>map&lt;string, string&gt; attributes = 2;</code>
@@ -89,7 +93,8 @@ public interface PubsubMessageOrBuilder
8993
*
9094
* <pre>
9195
* Attributes for this message. If this field is empty, the message must
92-
* contain non-empty data.
96+
* contain non-empty data. This can be used to filter messages on the
97+
* subscription.
9398
* </pre>
9499
*
95100
* <code>map&lt;string, string&gt; attributes = 2;</code>

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

+14-7
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,8 @@ public com.google.pubsub.v1.ExpirationPolicyOrBuilder getExpirationPolicyOrBuild
733733
*
734734
*
735735
* <pre>
736-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
736+
* An expression written in the Pub/Sub [filter
737+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
737738
* then only `PubsubMessage`s whose `attributes` field matches the filter are
738739
* delivered on this subscription. If empty, then no messages are filtered
739740
* out.
@@ -759,7 +760,8 @@ public java.lang.String getFilter() {
759760
*
760761
*
761762
* <pre>
762-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
763+
* An expression written in the Pub/Sub [filter
764+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
763765
* then only `PubsubMessage`s whose `attributes` field matches the filter are
764766
* delivered on this subscription. If empty, then no messages are filtered
765767
* out.
@@ -2855,7 +2857,8 @@ public com.google.pubsub.v1.ExpirationPolicyOrBuilder getExpirationPolicyOrBuild
28552857
*
28562858
*
28572859
* <pre>
2858-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
2860+
* An expression written in the Pub/Sub [filter
2861+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
28592862
* then only `PubsubMessage`s whose `attributes` field matches the filter are
28602863
* delivered on this subscription. If empty, then no messages are filtered
28612864
* out.
@@ -2880,7 +2883,8 @@ public java.lang.String getFilter() {
28802883
*
28812884
*
28822885
* <pre>
2883-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
2886+
* An expression written in the Pub/Sub [filter
2887+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
28842888
* then only `PubsubMessage`s whose `attributes` field matches the filter are
28852889
* delivered on this subscription. If empty, then no messages are filtered
28862890
* out.
@@ -2905,7 +2909,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
29052909
*
29062910
*
29072911
* <pre>
2908-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
2912+
* An expression written in the Pub/Sub [filter
2913+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
29092914
* then only `PubsubMessage`s whose `attributes` field matches the filter are
29102915
* delivered on this subscription. If empty, then no messages are filtered
29112916
* out.
@@ -2929,7 +2934,8 @@ public Builder setFilter(java.lang.String value) {
29292934
*
29302935
*
29312936
* <pre>
2932-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
2937+
* An expression written in the Pub/Sub [filter
2938+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
29332939
* then only `PubsubMessage`s whose `attributes` field matches the filter are
29342940
* delivered on this subscription. If empty, then no messages are filtered
29352941
* out.
@@ -2949,7 +2955,8 @@ public Builder clearFilter() {
29492955
*
29502956
*
29512957
* <pre>
2952-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
2958+
* An expression written in the Pub/Sub [filter
2959+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
29532960
* then only `PubsubMessage`s whose `attributes` field matches the filter are
29542961
* delivered on this subscription. If empty, then no messages are filtered
29552962
* out.

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ public interface SubscriptionOrBuilder
362362
*
363363
*
364364
* <pre>
365-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
365+
* An expression written in the Pub/Sub [filter
366+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
366367
* then only `PubsubMessage`s whose `attributes` field matches the filter are
367368
* delivered on this subscription. If empty, then no messages are filtered
368369
* out.
@@ -377,7 +378,8 @@ public interface SubscriptionOrBuilder
377378
*
378379
*
379380
* <pre>
380-
* An expression written in the Cloud Pub/Sub filter language. If non-empty,
381+
* An expression written in the Pub/Sub [filter
382+
* language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
381383
* then only `PubsubMessage`s whose `attributes` field matches the filter are
382384
* delivered on this subscription. If empty, then no messages are filtered
383385
* out.

proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto

+4-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ message PubsubMessage {
191191
bytes data = 1;
192192

193193
// Attributes for this message. If this field is empty, the message must
194-
// contain non-empty data.
194+
// contain non-empty data. This can be used to filter messages on the
195+
// subscription.
195196
map<string, string> attributes = 2;
196197

197198
// ID of this message, assigned by the server when the message is published.
@@ -700,7 +701,8 @@ message Subscription {
700701
// value for `expiration_policy.ttl` is 1 day.
701702
ExpirationPolicy expiration_policy = 11;
702703

703-
// An expression written in the Cloud Pub/Sub filter language. If non-empty,
704+
// An expression written in the Pub/Sub [filter
705+
// language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
704706
// then only `PubsubMessage`s whose `attributes` field matches the filter are
705707
// delivered on this subscription. If empty, then no messages are filtered
706708
// out.

synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-pubsub.git",
7-
"sha": "6c1204c8f90d54dc00669ed149b00a89ee54aac9"
7+
"sha": "2c7bf606c18d051c345219e85038e27f4e42b0ce"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "86285bbd54fbf9708838219e3422aa47fb8fc0b0",
15-
"internalRef": "314795690"
14+
"sha": "a19b46e54cc5195557f70ff68f1696d1e3b4702e",
15+
"internalRef": "315930680"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)