diff --git a/README.md b/README.md index 1e5b8e32e..0ea552bb5 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.7.0 + 7.0.0 pom import diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java index b801122a0..75f6b6f2e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java @@ -223,7 +223,8 @@ public int getAttributesCount() { * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; @@ -246,7 +247,8 @@ public java.util.Map getAttributes() { * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; @@ -260,7 +262,8 @@ public java.util.Map getAttributesMap() { * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; @@ -279,7 +282,8 @@ public java.lang.String getAttributesOrDefault( * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; @@ -982,7 +986,8 @@ public int getAttributesCount() { * *
      * Attributes for this message. If this field is empty, the message must
-     * contain non-empty data.
+     * contain non-empty data. This can be used to filter messages on the
+     * subscription.
      * 
* * map<string, string> attributes = 2; @@ -1005,7 +1010,8 @@ public java.util.Map getAttributes() { * *
      * Attributes for this message. If this field is empty, the message must
-     * contain non-empty data.
+     * contain non-empty data. This can be used to filter messages on the
+     * subscription.
      * 
* * map<string, string> attributes = 2; @@ -1019,7 +1025,8 @@ public java.util.Map getAttributesMap() { * *
      * Attributes for this message. If this field is empty, the message must
-     * contain non-empty data.
+     * contain non-empty data. This can be used to filter messages on the
+     * subscription.
      * 
* * map<string, string> attributes = 2; @@ -1038,7 +1045,8 @@ public java.lang.String getAttributesOrDefault( * *
      * Attributes for this message. If this field is empty, the message must
-     * contain non-empty data.
+     * contain non-empty data. This can be used to filter messages on the
+     * subscription.
      * 
* * map<string, string> attributes = 2; @@ -1064,7 +1072,8 @@ public Builder clearAttributes() { * *
      * Attributes for this message. If this field is empty, the message must
-     * contain non-empty data.
+     * contain non-empty data. This can be used to filter messages on the
+     * subscription.
      * 
* * map<string, string> attributes = 2; @@ -1086,7 +1095,8 @@ public java.util.Map getMutableAttributes() * *
      * Attributes for this message. If this field is empty, the message must
-     * contain non-empty data.
+     * contain non-empty data. This can be used to filter messages on the
+     * subscription.
      * 
* * map<string, string> attributes = 2; @@ -1106,7 +1116,8 @@ public Builder putAttributes(java.lang.String key, java.lang.String value) { * *
      * Attributes for this message. If this field is empty, the message must
-     * contain non-empty data.
+     * contain non-empty data. This can be used to filter messages on the
+     * subscription.
      * 
* * map<string, string> attributes = 2; diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java index 027b63e7d..dfe2dcf0c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java @@ -42,7 +42,8 @@ public interface PubsubMessageOrBuilder * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; @@ -53,7 +54,8 @@ public interface PubsubMessageOrBuilder * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; @@ -67,7 +69,8 @@ public interface PubsubMessageOrBuilder * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; @@ -78,7 +81,8 @@ public interface PubsubMessageOrBuilder * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; @@ -89,7 +93,8 @@ public interface PubsubMessageOrBuilder * *
    * Attributes for this message. If this field is empty, the message must
-   * contain non-empty data.
+   * contain non-empty data. This can be used to filter messages on the
+   * subscription.
    * 
* * map<string, string> attributes = 2; diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java index 5d4db2928..01a1c6fe5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java @@ -733,7 +733,8 @@ public com.google.pubsub.v1.ExpirationPolicyOrBuilder getExpirationPolicyOrBuild * * *
-   * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+   * An expression written in the Pub/Sub [filter
+   * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
    * then only `PubsubMessage`s whose `attributes` field matches the filter are
    * delivered on this subscription. If empty, then no messages are filtered
    * out.
@@ -759,7 +760,8 @@ public java.lang.String getFilter() {
    *
    *
    * 
-   * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+   * An expression written in the Pub/Sub [filter
+   * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
    * then only `PubsubMessage`s whose `attributes` field matches the filter are
    * delivered on this subscription. If empty, then no messages are filtered
    * out.
@@ -2855,7 +2857,8 @@ public com.google.pubsub.v1.ExpirationPolicyOrBuilder getExpirationPolicyOrBuild
      *
      *
      * 
-     * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+     * An expression written in the Pub/Sub [filter
+     * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
      * then only `PubsubMessage`s whose `attributes` field matches the filter are
      * delivered on this subscription. If empty, then no messages are filtered
      * out.
@@ -2880,7 +2883,8 @@ public java.lang.String getFilter() {
      *
      *
      * 
-     * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+     * An expression written in the Pub/Sub [filter
+     * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
      * then only `PubsubMessage`s whose `attributes` field matches the filter are
      * delivered on this subscription. If empty, then no messages are filtered
      * out.
@@ -2905,7 +2909,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
      *
      *
      * 
-     * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+     * An expression written in the Pub/Sub [filter
+     * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
      * then only `PubsubMessage`s whose `attributes` field matches the filter are
      * delivered on this subscription. If empty, then no messages are filtered
      * out.
@@ -2929,7 +2934,8 @@ public Builder setFilter(java.lang.String value) {
      *
      *
      * 
-     * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+     * An expression written in the Pub/Sub [filter
+     * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
      * then only `PubsubMessage`s whose `attributes` field matches the filter are
      * delivered on this subscription. If empty, then no messages are filtered
      * out.
@@ -2949,7 +2955,8 @@ public Builder clearFilter() {
      *
      *
      * 
-     * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+     * An expression written in the Pub/Sub [filter
+     * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
      * then only `PubsubMessage`s whose `attributes` field matches the filter are
      * delivered on this subscription. If empty, then no messages are filtered
      * out.
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java
index 9a36df9e0..f7d1714d1 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java
@@ -362,7 +362,8 @@ public interface SubscriptionOrBuilder
    *
    *
    * 
-   * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+   * An expression written in the Pub/Sub [filter
+   * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
    * then only `PubsubMessage`s whose `attributes` field matches the filter are
    * delivered on this subscription. If empty, then no messages are filtered
    * out.
@@ -377,7 +378,8 @@ public interface SubscriptionOrBuilder
    *
    *
    * 
-   * An expression written in the Cloud Pub/Sub filter language. If non-empty,
+   * An expression written in the Pub/Sub [filter
+   * language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
    * then only `PubsubMessage`s whose `attributes` field matches the filter are
    * delivered on this subscription. If empty, then no messages are filtered
    * out.
diff --git a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
index d85f2734e..5bb1f14a5 100644
--- a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
+++ b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
@@ -191,7 +191,8 @@ message PubsubMessage {
   bytes data = 1;
 
   // Attributes for this message. If this field is empty, the message must
-  // contain non-empty data.
+  // contain non-empty data. This can be used to filter messages on the
+  // subscription.
   map attributes = 2;
 
   // ID of this message, assigned by the server when the message is published.
@@ -700,7 +701,8 @@ message Subscription {
   // value for `expiration_policy.ttl` is 1 day.
   ExpirationPolicy expiration_policy = 11;
 
-  // An expression written in the Cloud Pub/Sub filter language. If non-empty,
+  // An expression written in the Pub/Sub [filter
+  // language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
   // then only `PubsubMessage`s whose `attributes` field matches the filter are
   // delivered on this subscription. If empty, then no messages are filtered
   // out.
diff --git a/synth.metadata b/synth.metadata
index b1ef863a2..e9db08522 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
       "git": {
         "name": ".",
         "remote": "https://github.com/googleapis/java-pubsub.git",
-        "sha": "6c1204c8f90d54dc00669ed149b00a89ee54aac9"
+        "sha": "2c7bf606c18d051c345219e85038e27f4e42b0ce"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "86285bbd54fbf9708838219e3422aa47fb8fc0b0",
-        "internalRef": "314795690"
+        "sha": "a19b46e54cc5195557f70ff68f1696d1e3b4702e",
+        "internalRef": "315930680"
       }
     },
     {