From f5c8573f006e6c236c8d30dfbb9d0885c51e68b5 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Fri, 5 Dec 2025 02:36:49 +0000 Subject: [PATCH 1/5] chore: Update generation configuration at Fri Dec 5 02:36:42 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 5963f47a7..31e99a300 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.1 -googleapis_commitish: 4667f02b64f2259ef21249b026ced7bb4351c632 +googleapis_commitish: bfdeefc22ce661d0b0efb68c83c2afd5a3aa9c2c libraries_bom_version: 26.72.0 libraries: - api_shortname: pubsub From d338f4e14acee814713811a49d63c3b6f5b0dfd6 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 6 Dec 2025 02:34:17 +0000 Subject: [PATCH 2/5] chore: Update generation configuration at Sat Dec 6 02:34:10 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 31e99a300..85f197aaf 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.1 -googleapis_commitish: bfdeefc22ce661d0b0efb68c83c2afd5a3aa9c2c +googleapis_commitish: d534d01c1eefcc9efc7b9182a2b98e9fe5b0922b libraries_bom_version: 26.72.0 libraries: - api_shortname: pubsub From 39f7390af7d01074f92493146db8916f0f1b679f Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 6 Dec 2025 02:38:25 +0000 Subject: [PATCH 3/5] chore: generate libraries at Sat Dec 6 02:34:39 UTC 2025 --- .../pubsub/v1/SubscriptionAdminClient.java | 76 ++-- .../cloud/pubsub/v1/TopicAdminClient.java | 24 +- .../pubsub/v1/CreateSnapshotRequest.java | 70 ++-- .../v1/CreateSnapshotRequestOrBuilder.java | 20 +- .../pubsub/v1/DeleteSnapshotRequest.java | 28 +- .../v1/DeleteSnapshotRequestOrBuilder.java | 8 +- .../pubsub/v1/DeleteSubscriptionRequest.java | 28 +- .../DeleteSubscriptionRequestOrBuilder.java | 8 +- .../google/pubsub/v1/DeleteTopicRequest.java | 28 +- .../v1/DeleteTopicRequestOrBuilder.java | 8 +- .../google/pubsub/v1/GetSnapshotRequest.java | 28 +- .../v1/GetSnapshotRequestOrBuilder.java | 8 +- .../pubsub/v1/GetSubscriptionRequest.java | 28 +- .../v1/GetSubscriptionRequestOrBuilder.java | 8 +- .../com/google/pubsub/v1/GetTopicRequest.java | 28 +- .../pubsub/v1/GetTopicRequestOrBuilder.java | 8 +- .../pubsub/v1/ListSnapshotsRequest.java | 28 +- .../v1/ListSnapshotsRequestOrBuilder.java | 8 +- .../pubsub/v1/ListSubscriptionsRequest.java | 42 +-- .../v1/ListSubscriptionsRequestOrBuilder.java | 12 +- .../google/pubsub/v1/ListTopicsRequest.java | 28 +- .../pubsub/v1/ListTopicsRequestOrBuilder.java | 8 +- .../com/google/pubsub/v1/PublishRequest.java | 42 +-- .../pubsub/v1/PublishRequestOrBuilder.java | 12 +- .../com/google/pubsub/v1/PubsubProto.java | 349 +++++++++--------- .../com/google/pubsub/v1/PullRequest.java | 8 +- .../pubsub/v1/PullRequestOrBuilder.java | 2 +- .../com/google/pubsub/v1/Subscription.java | 42 ++- .../pubsub/v1/SubscriptionOrBuilder.java | 12 +- .../main/java/com/google/pubsub/v1/Topic.java | 42 ++- .../com/google/pubsub/v1/TopicOrBuilder.java | 12 +- .../main/proto/google/pubsub/v1/pubsub.proto | 57 ++- 32 files changed, 584 insertions(+), 526 deletions(-) diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java index f22e3ec16..828bbea14 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java @@ -588,7 +588,7 @@ public SubscriberStub getStub() { * } * } * - * @param name Required. The name of the subscription. It must have the format + * @param name Required. Identifier. The name of the subscription. It must have the format * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a * letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores * (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 @@ -658,7 +658,7 @@ public final Subscription createSubscription( * } * } * - * @param name Required. The name of the subscription. It must have the format + * @param name Required. Identifier. The name of the subscription. It must have the format * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a * letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores * (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 @@ -728,7 +728,7 @@ public final Subscription createSubscription( * } * } * - * @param name Required. The name of the subscription. It must have the format + * @param name Required. Identifier. The name of the subscription. It must have the format * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a * letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores * (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 @@ -798,7 +798,7 @@ public final Subscription createSubscription( * } * } * - * @param name Required. The name of the subscription. It must have the format + * @param name Required. Identifier. The name of the subscription. It must have the format * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a * letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores * (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 @@ -1179,7 +1179,7 @@ public final UnaryCallable createSubscriptionCallabl * } * } * - * @param subscription Required. The name of the subscription to get. Format is + * @param subscription Required. Identifier. The name of the subscription to get. Format is * `projects/{project}/subscriptions/{sub}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1209,7 +1209,7 @@ public final Subscription getSubscription(SubscriptionName subscription) { * } * } * - * @param subscription Required. The name of the subscription to get. Format is + * @param subscription Required. Identifier. The name of the subscription to get. Format is * `projects/{project}/subscriptions/{sub}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1416,8 +1416,8 @@ public final UnaryCallable updateSubscr * } * } * - * @param project Required. The name of the project in which to list subscriptions. Format is - * `projects/{project-id}`. + * @param project Required. Identifier. The name of the project in which to list subscriptions. + * Format is `projects/{project-id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListSubscriptionsPagedResponse listSubscriptions(ProjectName project) { @@ -1448,8 +1448,8 @@ public final ListSubscriptionsPagedResponse listSubscriptions(ProjectName projec * } * } * - * @param project Required. The name of the project in which to list subscriptions. Format is - * `projects/{project-id}`. + * @param project Required. Identifier. The name of the project in which to list subscriptions. + * Format is `projects/{project-id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListSubscriptionsPagedResponse listSubscriptions(String project) { @@ -1584,7 +1584,7 @@ public final ListSubscriptionsPagedResponse listSubscriptions(ListSubscriptionsR * } * } * - * @param subscription Required. The subscription to delete. Format is + * @param subscription Required. Identifier. The subscription to delete. Format is * `projects/{project}/subscriptions/{sub}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1617,7 +1617,7 @@ public final void deleteSubscription(SubscriptionName subscription) { * } * } * - * @param subscription Required. The subscription to delete. Format is + * @param subscription Required. Identifier. The subscription to delete. Format is * `projects/{project}/subscriptions/{sub}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2631,7 +2631,7 @@ public final UnaryCallable modifyPushConfigCalla * } * } * - * @param snapshot Required. The name of the snapshot to get. Format is + * @param snapshot Required. Identifier. The name of the snapshot to get. Format is * `projects/{project}/snapshots/{snap}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2664,7 +2664,7 @@ public final Snapshot getSnapshot(SnapshotName snapshot) { * } * } * - * @param snapshot Required. The name of the snapshot to get. Format is + * @param snapshot Required. Identifier. The name of the snapshot to get. Format is * `projects/{project}/snapshots/{snap}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2788,8 +2788,8 @@ public final UnaryCallable getSnapshotCallable() { * } * } * - * @param project Required. The name of the project in which to list snapshots. Format is - * `projects/{project-id}`. + * @param project Required. Identifier. The name of the project in which to list snapshots. Format + * is `projects/{project-id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListSnapshotsPagedResponse listSnapshots(ProjectName project) { @@ -2823,8 +2823,8 @@ public final ListSnapshotsPagedResponse listSnapshots(ProjectName project) { * } * } * - * @param project Required. The name of the project in which to list snapshots. Format is - * `projects/{project-id}`. + * @param project Required. Identifier. The name of the project in which to list snapshots. Format + * is `projects/{project-id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListSnapshotsPagedResponse listSnapshots(String project) { @@ -2975,10 +2975,11 @@ public final UnaryCallable listSnap * } * } * - * @param name 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 [resource - * name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is + * @param name Required. Identifier. 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 [resource name + * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is * `projects/{project}/snapshots/{snap}`. * @param subscription Required. The subscription whose backlog the snapshot retains. * Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the @@ -3028,10 +3029,11 @@ public final Snapshot createSnapshot(SnapshotName name, SubscriptionName subscri * } * } * - * @param name 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 [resource - * name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is + * @param name Required. Identifier. 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 [resource name + * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is * `projects/{project}/snapshots/{snap}`. * @param subscription Required. The subscription whose backlog the snapshot retains. * Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the @@ -3081,10 +3083,11 @@ public final Snapshot createSnapshot(SnapshotName name, String subscription) { * } * } * - * @param name 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 [resource - * name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is + * @param name Required. Identifier. 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 [resource name + * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is * `projects/{project}/snapshots/{snap}`. * @param subscription Required. The subscription whose backlog the snapshot retains. * Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the @@ -3134,10 +3137,11 @@ public final Snapshot createSnapshot(String name, SubscriptionName subscription) * } * } * - * @param name 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 [resource - * name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is + * @param name Required. Identifier. 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 [resource name + * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is * `projects/{project}/snapshots/{snap}`. * @param subscription Required. The subscription whose backlog the snapshot retains. * Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the @@ -3510,7 +3514,7 @@ public final UnaryCallable updateSnapshotCallab * } * } * - * @param snapshot Required. The name of the snapshot to delete. Format is + * @param snapshot Required. Identifier. The name of the snapshot to delete. Format is * `projects/{project}/snapshots/{snap}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -3546,7 +3550,7 @@ public final void deleteSnapshot(SnapshotName snapshot) { * } * } * - * @param snapshot Required. The name of the snapshot to delete. Format is + * @param snapshot Required. Identifier. The name of the snapshot to delete. Format is * `projects/{project}/snapshots/{snap}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java index 750f4da49..d5433f8ee 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java @@ -420,7 +420,7 @@ public PublisherStub getStub() { * } * } * - * @param name Required. The name of the topic. It must have the format + * @param name Required. Identifier. The name of the topic. It must have the format * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only * letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), * tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in @@ -451,7 +451,7 @@ public final Topic createTopic(TopicName name) { * } * } * - * @param name Required. The name of the topic. It must have the format + * @param name Required. Identifier. The name of the topic. It must have the format * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only * letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), * tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in @@ -682,8 +682,8 @@ public final UnaryCallable updateTopicCallable() { * } * } * - * @param topic Required. The messages in the request will be published on this topic. Format is - * `projects/{project}/topics/{topic}`. + * @param topic Required. Identifier. The messages in the request will be published on this topic. + * Format is `projects/{project}/topics/{topic}`. * @param messages Required. The messages to publish. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -715,8 +715,8 @@ public final PublishResponse publish(TopicName topic, List messag * } * } * - * @param topic Required. The messages in the request will be published on this topic. Format is - * `projects/{project}/topics/{topic}`. + * @param topic Required. Identifier. The messages in the request will be published on this topic. + * Format is `projects/{project}/topics/{topic}`. * @param messages Required. The messages to publish. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -801,7 +801,7 @@ public final UnaryCallable publishCallable() { * } * } * - * @param topic Required. The name of the topic to get. Format is + * @param topic Required. Identifier. The name of the topic to get. Format is * `projects/{project}/topics/{topic}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -829,7 +829,7 @@ public final Topic getTopic(TopicName topic) { * } * } * - * @param topic Required. The name of the topic to get. Format is + * @param topic Required. Identifier. The name of the topic to get. Format is * `projects/{project}/topics/{topic}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -938,7 +938,7 @@ public final UnaryCallable getTopicCallable() { * } * } * - * @param project Required. The name of the project in which to list topics. Format is + * @param project Required. Identifier. The name of the project in which to list topics. Format is * `projects/{project-id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -970,7 +970,7 @@ public final ListTopicsPagedResponse listTopics(ProjectName project) { * } * } * - * @param project Required. The name of the project in which to list topics. Format is + * @param project Required. Identifier. The name of the project in which to list topics. Format is * `projects/{project-id}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1481,7 +1481,7 @@ public final ListTopicSnapshotsPagedResponse listTopicSnapshots( * } * } * - * @param topic Required. Name of the topic to delete. Format is + * @param topic Required. Identifier. Name of the topic to delete. Format is * `projects/{project}/topics/{topic}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1512,7 +1512,7 @@ public final void deleteTopic(TopicName topic) { * } * } * - * @param topic Required. Name of the topic to delete. Format is + * @param topic Required. Identifier. Name of the topic to delete. Format is * `projects/{project}/topics/{topic}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java index e5d4f651c..b8c5201cd 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java @@ -88,16 +88,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * *
-   * 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 [resource name
+   * Required. Identifier. 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 [resource name
    * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The name. @@ -119,16 +119,16 @@ public java.lang.String getName() { * * *
-   * 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 [resource name
+   * Required. Identifier. 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 [resource name
    * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for name. @@ -924,16 +924,16 @@ public Builder mergeFrom( * * *
-     * 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 [resource name
+     * Required. Identifier. 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 [resource name
      * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The name. @@ -954,16 +954,16 @@ public java.lang.String getName() { * * *
-     * 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 [resource name
+     * Required. Identifier. 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 [resource name
      * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for name. @@ -984,16 +984,16 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * 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 [resource name
+     * Required. Identifier. 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 [resource name
      * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The name to set. @@ -1013,16 +1013,16 @@ public Builder setName(java.lang.String value) { * * *
-     * 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 [resource name
+     * Required. Identifier. 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 [resource name
      * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -1038,16 +1038,16 @@ public Builder clearName() { * * *
-     * 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 [resource name
+     * Required. Identifier. 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 [resource name
      * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for name to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java index 80a1f76fc..0c18c014a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java @@ -28,16 +28,16 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * 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 [resource name
+   * Required. Identifier. 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 [resource name
    * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The name. @@ -48,16 +48,16 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * 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 [resource name
+   * Required. Identifier. 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 [resource name
    * rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for name. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java index bc2fc7206..47083fed1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the snapshot to delete.
+   * Required. Identifier. The name of the snapshot to delete.
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -100,12 +100,12 @@ public java.lang.String getSnapshot() { * * *
-   * Required. The name of the snapshot to delete.
+   * Required. Identifier. The name of the snapshot to delete.
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. @@ -471,12 +471,12 @@ public Builder mergeFrom( * * *
-     * Required. The name of the snapshot to delete.
+     * Required. Identifier. The name of the snapshot to delete.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -497,12 +497,12 @@ public java.lang.String getSnapshot() { * * *
-     * Required. The name of the snapshot to delete.
+     * Required. Identifier. The name of the snapshot to delete.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. @@ -523,12 +523,12 @@ public com.google.protobuf.ByteString getSnapshotBytes() { * * *
-     * Required. The name of the snapshot to delete.
+     * Required. Identifier. The name of the snapshot to delete.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The snapshot to set. @@ -548,12 +548,12 @@ public Builder setSnapshot(java.lang.String value) { * * *
-     * Required. The name of the snapshot to delete.
+     * Required. Identifier. The name of the snapshot to delete.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -569,12 +569,12 @@ public Builder clearSnapshot() { * * *
-     * Required. The name of the snapshot to delete.
+     * Required. Identifier. The name of the snapshot to delete.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for snapshot to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java index 192a33e82..5a4dd6337 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface DeleteSnapshotRequestOrBuilder * * *
-   * Required. The name of the snapshot to delete.
+   * Required. Identifier. The name of the snapshot to delete.
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -44,12 +44,12 @@ public interface DeleteSnapshotRequestOrBuilder * * *
-   * Required. The name of the snapshot to delete.
+   * Required. Identifier. The name of the snapshot to delete.
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java index 80800c659..961fdf8a6 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The subscription to delete.
+   * Required. Identifier. The subscription to delete.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -100,12 +100,12 @@ public java.lang.String getSubscription() { * * *
-   * Required. The subscription to delete.
+   * Required. Identifier. The subscription to delete.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. @@ -471,12 +471,12 @@ public Builder mergeFrom( * * *
-     * Required. The subscription to delete.
+     * Required. Identifier. The subscription to delete.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -497,12 +497,12 @@ public java.lang.String getSubscription() { * * *
-     * Required. The subscription to delete.
+     * Required. Identifier. The subscription to delete.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. @@ -523,12 +523,12 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { * * *
-     * Required. The subscription to delete.
+     * Required. Identifier. The subscription to delete.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The subscription to set. @@ -548,12 +548,12 @@ public Builder setSubscription(java.lang.String value) { * * *
-     * Required. The subscription to delete.
+     * Required. Identifier. The subscription to delete.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -569,12 +569,12 @@ public Builder clearSubscription() { * * *
-     * Required. The subscription to delete.
+     * Required. Identifier. The subscription to delete.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for subscription to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java index 2eb5138ee..5ab0407d2 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface DeleteSubscriptionRequestOrBuilder * * *
-   * Required. The subscription to delete.
+   * Required. Identifier. The subscription to delete.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -44,12 +44,12 @@ public interface DeleteSubscriptionRequestOrBuilder * * *
-   * Required. The subscription to delete.
+   * Required. Identifier. The subscription to delete.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java index fafde03a2..7171ad93c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Name of the topic to delete.
+   * Required. Identifier. Name of the topic to delete.
    * Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -100,12 +100,12 @@ public java.lang.String getTopic() { * * *
-   * Required. Name of the topic to delete.
+   * Required. Identifier. Name of the topic to delete.
    * Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -470,12 +470,12 @@ public Builder mergeFrom( * * *
-     * Required. Name of the topic to delete.
+     * Required. Identifier. Name of the topic to delete.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -496,12 +496,12 @@ public java.lang.String getTopic() { * * *
-     * Required. Name of the topic to delete.
+     * Required. Identifier. Name of the topic to delete.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -522,12 +522,12 @@ public com.google.protobuf.ByteString getTopicBytes() { * * *
-     * Required. Name of the topic to delete.
+     * Required. Identifier. Name of the topic to delete.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The topic to set. @@ -547,12 +547,12 @@ public Builder setTopic(java.lang.String value) { * * *
-     * Required. Name of the topic to delete.
+     * Required. Identifier. Name of the topic to delete.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -568,12 +568,12 @@ public Builder clearTopic() { * * *
-     * Required. Name of the topic to delete.
+     * Required. Identifier. Name of the topic to delete.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for topic to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java index 065d4a790..a13a646fd 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface DeleteTopicRequestOrBuilder * * *
-   * Required. Name of the topic to delete.
+   * Required. Identifier. Name of the topic to delete.
    * Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -44,12 +44,12 @@ public interface DeleteTopicRequestOrBuilder * * *
-   * Required. Name of the topic to delete.
+   * Required. Identifier. Name of the topic to delete.
    * Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java index 401c8cd4c..716559f8b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the snapshot to get.
+   * Required. Identifier. The name of the snapshot to get.
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -100,12 +100,12 @@ public java.lang.String getSnapshot() { * * *
-   * Required. The name of the snapshot to get.
+   * Required. Identifier. The name of the snapshot to get.
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. @@ -470,12 +470,12 @@ public Builder mergeFrom( * * *
-     * Required. The name of the snapshot to get.
+     * Required. Identifier. The name of the snapshot to get.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -496,12 +496,12 @@ public java.lang.String getSnapshot() { * * *
-     * Required. The name of the snapshot to get.
+     * Required. Identifier. The name of the snapshot to get.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. @@ -522,12 +522,12 @@ public com.google.protobuf.ByteString getSnapshotBytes() { * * *
-     * Required. The name of the snapshot to get.
+     * Required. Identifier. The name of the snapshot to get.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The snapshot to set. @@ -547,12 +547,12 @@ public Builder setSnapshot(java.lang.String value) { * * *
-     * Required. The name of the snapshot to get.
+     * Required. Identifier. The name of the snapshot to get.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -568,12 +568,12 @@ public Builder clearSnapshot() { * * *
-     * Required. The name of the snapshot to get.
+     * Required. Identifier. The name of the snapshot to get.
      * Format is `projects/{project}/snapshots/{snap}`.
      * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for snapshot to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java index a4728d85a..343c6867c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface GetSnapshotRequestOrBuilder * * *
-   * Required. The name of the snapshot to get.
+   * Required. Identifier. The name of the snapshot to get.
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -44,12 +44,12 @@ public interface GetSnapshotRequestOrBuilder * * *
-   * Required. The name of the snapshot to get.
+   * Required. Identifier. The name of the snapshot to get.
    * Format is `projects/{project}/snapshots/{snap}`.
    * 
* * - * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java index 0553b1f91..7b7e00da8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the subscription to get.
+   * Required. Identifier. The name of the subscription to get.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -100,12 +100,12 @@ public java.lang.String getSubscription() { * * *
-   * Required. The name of the subscription to get.
+   * Required. Identifier. The name of the subscription to get.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. @@ -471,12 +471,12 @@ public Builder mergeFrom( * * *
-     * Required. The name of the subscription to get.
+     * Required. Identifier. The name of the subscription to get.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -497,12 +497,12 @@ public java.lang.String getSubscription() { * * *
-     * Required. The name of the subscription to get.
+     * Required. Identifier. The name of the subscription to get.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. @@ -523,12 +523,12 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { * * *
-     * Required. The name of the subscription to get.
+     * Required. Identifier. The name of the subscription to get.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The subscription to set. @@ -548,12 +548,12 @@ public Builder setSubscription(java.lang.String value) { * * *
-     * Required. The name of the subscription to get.
+     * Required. Identifier. The name of the subscription to get.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -569,12 +569,12 @@ public Builder clearSubscription() { * * *
-     * Required. The name of the subscription to get.
+     * Required. Identifier. The name of the subscription to get.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for subscription to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java index c51df2737..4513defa8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface GetSubscriptionRequestOrBuilder * * *
-   * Required. The name of the subscription to get.
+   * Required. Identifier. The name of the subscription to get.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -44,12 +44,12 @@ public interface GetSubscriptionRequestOrBuilder * * *
-   * Required. The name of the subscription to get.
+   * Required. Identifier. The name of the subscription to get.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* * - * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java index e8e01add6..7d1490c14 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the topic to get.
+   * Required. Identifier. The name of the topic to get.
    * Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -100,12 +100,12 @@ public java.lang.String getTopic() { * * *
-   * Required. The name of the topic to get.
+   * Required. Identifier. The name of the topic to get.
    * Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -468,12 +468,12 @@ public Builder mergeFrom( * * *
-     * Required. The name of the topic to get.
+     * Required. Identifier. The name of the topic to get.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -494,12 +494,12 @@ public java.lang.String getTopic() { * * *
-     * Required. The name of the topic to get.
+     * Required. Identifier. The name of the topic to get.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -520,12 +520,12 @@ public com.google.protobuf.ByteString getTopicBytes() { * * *
-     * Required. The name of the topic to get.
+     * Required. Identifier. The name of the topic to get.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The topic to set. @@ -545,12 +545,12 @@ public Builder setTopic(java.lang.String value) { * * *
-     * Required. The name of the topic to get.
+     * Required. Identifier. The name of the topic to get.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -566,12 +566,12 @@ public Builder clearTopic() { * * *
-     * Required. The name of the topic to get.
+     * Required. Identifier. The name of the topic to get.
      * Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for topic to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java index e22bc60e3..5b6281637 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface GetTopicRequestOrBuilder * * *
-   * Required. The name of the topic to get.
+   * Required. Identifier. The name of the topic to get.
    * Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -44,12 +44,12 @@ public interface GetTopicRequestOrBuilder * * *
-   * Required. The name of the topic to get.
+   * Required. Identifier. The name of the topic to get.
    * Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java index 73672588e..869e380db 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java @@ -74,12 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the project in which to list snapshots.
+   * Required. Identifier. The name of the project in which to list snapshots.
    * Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -101,12 +101,12 @@ public java.lang.String getProject() { * * *
-   * Required. The name of the project in which to list snapshots.
+   * Required. Identifier. The name of the project in which to list snapshots.
    * Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -594,12 +594,12 @@ public Builder mergeFrom( * * *
-     * Required. The name of the project in which to list snapshots.
+     * Required. Identifier. The name of the project in which to list snapshots.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -620,12 +620,12 @@ public java.lang.String getProject() { * * *
-     * Required. The name of the project in which to list snapshots.
+     * Required. Identifier. The name of the project in which to list snapshots.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -646,12 +646,12 @@ public com.google.protobuf.ByteString getProjectBytes() { * * *
-     * Required. The name of the project in which to list snapshots.
+     * Required. Identifier. The name of the project in which to list snapshots.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The project to set. @@ -671,12 +671,12 @@ public Builder setProject(java.lang.String value) { * * *
-     * Required. The name of the project in which to list snapshots.
+     * Required. Identifier. The name of the project in which to list snapshots.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -692,12 +692,12 @@ public Builder clearProject() { * * *
-     * Required. The name of the project in which to list snapshots.
+     * Required. Identifier. The name of the project in which to list snapshots.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for project to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java index 8fff6c2e5..ee2ba020c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface ListSnapshotsRequestOrBuilder * * *
-   * Required. The name of the project in which to list snapshots.
+   * Required. Identifier. The name of the project in which to list snapshots.
    * Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -44,12 +44,12 @@ public interface ListSnapshotsRequestOrBuilder * * *
-   * Required. The name of the project in which to list snapshots.
+   * Required. Identifier. The name of the project in which to list snapshots.
    * Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java index 24fe6dae9..2a3705cd7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java @@ -74,12 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the project in which to list subscriptions.
-   * Format is `projects/{project-id}`.
+   * Required. Identifier. The name of the project in which to list
+   * subscriptions. Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -101,12 +101,12 @@ public java.lang.String getProject() { * * *
-   * Required. The name of the project in which to list subscriptions.
-   * Format is `projects/{project-id}`.
+   * Required. Identifier. The name of the project in which to list
+   * subscriptions. Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -594,12 +594,12 @@ public Builder mergeFrom( * * *
-     * Required. The name of the project in which to list subscriptions.
-     * Format is `projects/{project-id}`.
+     * Required. Identifier. The name of the project in which to list
+     * subscriptions. Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -620,12 +620,12 @@ public java.lang.String getProject() { * * *
-     * Required. The name of the project in which to list subscriptions.
-     * Format is `projects/{project-id}`.
+     * Required. Identifier. The name of the project in which to list
+     * subscriptions. Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -646,12 +646,12 @@ public com.google.protobuf.ByteString getProjectBytes() { * * *
-     * Required. The name of the project in which to list subscriptions.
-     * Format is `projects/{project-id}`.
+     * Required. Identifier. The name of the project in which to list
+     * subscriptions. Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The project to set. @@ -671,12 +671,12 @@ public Builder setProject(java.lang.String value) { * * *
-     * Required. The name of the project in which to list subscriptions.
-     * Format is `projects/{project-id}`.
+     * Required. Identifier. The name of the project in which to list
+     * subscriptions. Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -692,12 +692,12 @@ public Builder clearProject() { * * *
-     * Required. The name of the project in which to list subscriptions.
-     * Format is `projects/{project-id}`.
+     * Required. Identifier. The name of the project in which to list
+     * subscriptions. Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for project to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java index fedfd324d..d07523d10 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface ListSubscriptionsRequestOrBuilder * * *
-   * Required. The name of the project in which to list subscriptions.
-   * Format is `projects/{project-id}`.
+   * Required. Identifier. The name of the project in which to list
+   * subscriptions. Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -44,12 +44,12 @@ public interface ListSubscriptionsRequestOrBuilder * * *
-   * Required. The name of the project in which to list subscriptions.
-   * Format is `projects/{project-id}`.
+   * Required. Identifier. The name of the project in which to list
+   * subscriptions. Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java index 99b028c30..873b3f152 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java @@ -74,12 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the project in which to list topics.
+   * Required. Identifier. The name of the project in which to list topics.
    * Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -101,12 +101,12 @@ public java.lang.String getProject() { * * *
-   * Required. The name of the project in which to list topics.
+   * Required. Identifier. The name of the project in which to list topics.
    * Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -593,12 +593,12 @@ public Builder mergeFrom( * * *
-     * Required. The name of the project in which to list topics.
+     * Required. Identifier. The name of the project in which to list topics.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -619,12 +619,12 @@ public java.lang.String getProject() { * * *
-     * Required. The name of the project in which to list topics.
+     * Required. Identifier. The name of the project in which to list topics.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -645,12 +645,12 @@ public com.google.protobuf.ByteString getProjectBytes() { * * *
-     * Required. The name of the project in which to list topics.
+     * Required. Identifier. The name of the project in which to list topics.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The project to set. @@ -670,12 +670,12 @@ public Builder setProject(java.lang.String value) { * * *
-     * Required. The name of the project in which to list topics.
+     * Required. Identifier. The name of the project in which to list topics.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -691,12 +691,12 @@ public Builder clearProject() { * * *
-     * Required. The name of the project in which to list topics.
+     * Required. Identifier. The name of the project in which to list topics.
      * Format is `projects/{project-id}`.
      * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for project to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java index b39fe3f12..8b134adc0 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface ListTopicsRequestOrBuilder * * *
-   * Required. The name of the project in which to list topics.
+   * Required. Identifier. The name of the project in which to list topics.
    * Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -44,12 +44,12 @@ public interface ListTopicsRequestOrBuilder * * *
-   * Required. The name of the project in which to list topics.
+   * Required. Identifier. The name of the project in which to list topics.
    * Format is `projects/{project-id}`.
    * 
* * - * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java index 9187ab532..6f9f3ecf5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java @@ -74,12 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The messages in the request will be published on this topic.
-   * Format is `projects/{project}/topics/{topic}`.
+   * Required. Identifier. The messages in the request will be published on this
+   * topic. Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -101,12 +101,12 @@ public java.lang.String getTopic() { * * *
-   * Required. The messages in the request will be published on this topic.
-   * Format is `projects/{project}/topics/{topic}`.
+   * Required. Identifier. The messages in the request will be published on this
+   * topic. Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -626,12 +626,12 @@ public Builder mergeFrom( * * *
-     * Required. The messages in the request will be published on this topic.
-     * Format is `projects/{project}/topics/{topic}`.
+     * Required. Identifier. The messages in the request will be published on this
+     * topic. Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -652,12 +652,12 @@ public java.lang.String getTopic() { * * *
-     * Required. The messages in the request will be published on this topic.
-     * Format is `projects/{project}/topics/{topic}`.
+     * Required. Identifier. The messages in the request will be published on this
+     * topic. Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -678,12 +678,12 @@ public com.google.protobuf.ByteString getTopicBytes() { * * *
-     * Required. The messages in the request will be published on this topic.
-     * Format is `projects/{project}/topics/{topic}`.
+     * Required. Identifier. The messages in the request will be published on this
+     * topic. Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The topic to set. @@ -703,12 +703,12 @@ public Builder setTopic(java.lang.String value) { * * *
-     * Required. The messages in the request will be published on this topic.
-     * Format is `projects/{project}/topics/{topic}`.
+     * Required. Identifier. The messages in the request will be published on this
+     * topic. Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -724,12 +724,12 @@ public Builder clearTopic() { * * *
-     * Required. The messages in the request will be published on this topic.
-     * Format is `projects/{project}/topics/{topic}`.
+     * Required. Identifier. The messages in the request will be published on this
+     * topic. Format is `projects/{project}/topics/{topic}`.
      * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @param value The bytes for topic to set. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java index 1718c594e..c3d8e7a17 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java @@ -28,12 +28,12 @@ public interface PublishRequestOrBuilder * * *
-   * Required. The messages in the request will be published on this topic.
-   * Format is `projects/{project}/topics/{topic}`.
+   * Required. Identifier. The messages in the request will be published on this
+   * topic. Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -44,12 +44,12 @@ public interface PublishRequestOrBuilder * * *
-   * Required. The messages in the request will be published on this topic.
-   * Format is `projects/{project}/topics/{topic}`.
+   * Required. Identifier. The messages in the request will be published on this
+   * topic. Format is `projects/{project}/topics/{topic}`.
    * 
* * - * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java index 1b5e7d634..fae7dfbc3 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java @@ -601,12 +601,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132\037.google.pubsub.v1.JavaScriptUDFB\003\340A\001H\000\022\026\n" + "\007enabled\030\003 \001(\010B\005\030\001\340A\001\022\025\n" + "\010disabled\030\004 \001(\010B\003\340A\001B\013\n" - + "\ttransform\"\235\007\n" - + "\005Topic\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\002\0228\n" + + "\ttransform\"\240\007\n" + + "\005Topic\022\024\n" + + "\004name\030\001 \001(\tB\006\340A\002\340A\010\0228\n" + "\006labels\030\002 \003(\0132#.google.pubsub.v1.Topic.LabelsEntryB\003\340A\001\022K\n" - + "\026message_storage_policy\030\003 \001(\0132&.goo" - + "gle.pubsub.v1.MessageStoragePolicyB\003\340A\001\022?\n" + + "\026message_storage_policy\030\003 \001(\0132&." + + "google.pubsub.v1.MessageStoragePolicyB\003\340A\001\022?\n" + "\014kms_key_name\030\005 \001(\tB)\340A\001\372A#\n" + "!cloudkms.googleapis.com/CryptoKey\022>\n" + "\017schema_settings\030\006 \001(\0132" @@ -631,32 +631,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021STATE_UNSPECIFIED\020\000\022\n\n" + "\006ACTIVE\020\001\022\034\n" + "\030INGESTION_RESOURCE_ERROR\020\002:c\352A`\n" - + "\033pubsub.googleapis.com/Topic\022!projects/{project}/top" - + "ics/{topic}\022\017_deleted-topic_*\006topics2\005topic\"\200\002\n\r" + + "\033pubsub.googleapis.com/Topic\022!projects/{project}/" + + "topics/{topic}\022\017_deleted-topic_*\006topics2\005topic\"\200\002\n\r" + "PubsubMessage\022\021\n" + "\004data\030\001 \001(\014B\003\340A\001\022H\n\n" + "attributes\030\002" - + " \003(\0132/.google.pubsub.v1.PubsubMessage.AttributesEntryB\003\340A\001\022\022\n\n" + + " \003(\0132/.google.pubsub.v1.PubsubMessage.AttributesEntryB\003\340A\001\022\022\n" + + "\n" + "message_id\030\003 \001(\t\0220\n" + "\014publish_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022\031\n" + "\014ordering_key\030\005 \001(\tB\003\340A\001\0321\n" + "\017AttributesEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"E\n" - + "\017GetTopicRequest\0222\n" - + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + + "\005value\030\002 \001(\t:\0028\001\"H\n" + + "\017GetTopicRequest\0225\n" + + "\005topic\030\001 \001(\tB&\340A\002\340A\010\372A\035\n" + "\033pubsub.googleapis.com/Topic\"w\n" + "\022UpdateTopicRequest\022+\n" + "\005topic\030\001 \001(\0132\027.google.pubsub.v1.TopicB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"|\n" - + "\016PublishRequest\0222\n" - + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\177\n" + + "\016PublishRequest\0225\n" + + "\005topic\030\001 \001(\tB&\340A\002\340A\010\372A\035\n" + "\033pubsub.googleapis.com/Topic\0226\n" + "\010messages\030\002 \003(\0132\037.google.pubsub.v1.PubsubMessageB\003\340A\002\"+\n" + "\017PublishResponse\022\030\n" - + "\013message_ids\030\001 \003(\tB\003\340A\001\"\212\001\n" - + "\021ListTopicsRequest\022D\n" - + "\007project\030\001 \001(\tB3\340A\002\372A-\n" + + "\013message_ids\030\001 \003(\tB\003\340A\001\"\215\001\n" + + "\021ListTopicsRequest\022G\n" + + "\007project\030\001 \001(\tB6\340A\002\340A\010\372A-\n" + "+cloudresourcemanager.googleapis.com/Project\022\026\n" + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + "page_token\030\003 \001(\tB\003\340A\001\"`\n" @@ -675,36 +676,35 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031ListTopicSnapshotsRequest\0222\n" + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + "\033pubsub.googleapis.com/Topic\022\026\n" - + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" - + "\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + "page_token\030\003 \001(\tB\003\340A\001\"u\n" + "\032ListTopicSnapshotsResponse\0229\n" + "\tsnapshots\030\001 \003(\tB&\340A\001\372A \n" + "\036pubsub.googleapis.com/Snapshot\022\034\n" - + "\017next_page_token\030\002 \001(\tB\003\340A\001\"H\n" - + "\022DeleteTopicRequest\0222\n" - + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + + "\017next_page_token\030\002 \001(\tB\003\340A\001\"K\n" + + "\022DeleteTopicRequest\0225\n" + + "\005topic\030\001 \001(\tB&\340A\002\340A\010\372A\035\n" + "\033pubsub.googleapis.com/Topic\"]\n" + "\031DetachSubscriptionRequest\022@\n" + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + "\"pubsub.googleapis.com/Subscription\"\034\n" - + "\032DetachSubscriptionResponse\"\245\014\n" - + "\014Subscription\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\002\0222\n" + + "\032DetachSubscriptionResponse\"\250\014\n" + + "\014Subscription\022\024\n" + + "\004name\030\001 \001(\tB\006\340A\002\340A\010\0222\n" + "\005topic\030\002 \001(\tB#\340A\002\372A\035\n" + "\033pubsub.googleapis.com/Topic\0226\n" + "\013push_config\030\004" + " \001(\0132\034.google.pubsub.v1.PushConfigB\003\340A\001\022>\n" + "\017bigquery_config\030\022 \001(\0132" + " .google.pubsub.v1.BigQueryConfigB\003\340A\001\022G\n" - + "\024cloud_storage_config\030\026" - + " \001(\0132$.google.pubsub.v1.CloudStorageConfigB\003\340A\001\022!\n" + + "\024cloud_storage_config\030\026 \001(\0132$.g" + + "oogle.pubsub.v1.CloudStorageConfigB\003\340A\001\022!\n" + "\024ack_deadline_seconds\030\005 \001(\005B\003\340A\001\022\"\n" + "\025retain_acked_messages\030\007 \001(\010B\003\340A\001\022B\n" + "\032message_retention_duration\030\010" + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\022?\n" - + "\006labels\030\t" - + " \003(\0132*.google.pubsub.v1.Subscription.LabelsEntryB\003\340A\001\022$\n" + + "\006labels\030\t \003(\0132*.goo" + + "gle.pubsub.v1.Subscription.LabelsEntryB\003\340A\001\022$\n" + "\027enable_message_ordering\030\n" + " \001(\010B\003\340A\001\022B\n" + "\021expiration_policy\030\013" @@ -712,15 +712,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\014 \001(\tB\003\340A\001\022C\n" + "\022dead_letter_policy\030\r" + " \001(\0132\".google.pubsub.v1.DeadLetterPolicyB\003\340A\001\0228\n" - + "\014retry_policy\030\016 " - + "\001(\0132\035.google.pubsub.v1.RetryPolicyB\003\340A\001\022\025\n" + + "\014retry_policy\030\016" + + " \001(\0132\035.google.pubsub.v1.RetryPolicyB\003\340A\001\022\025\n" + "\010detached\030\017 \001(\010B\003\340A\001\022)\n" + "\034enable_exactly_once_delivery\030\020 \001(\010B\003\340A\001\022H\n" + " topic_message_retention_duration\030\021" + " \001(\0132\031.google.protobuf.DurationB\003\340A\003\0228\n" + "\005state\030\023 \001(\0162$.google.pubsub.v1.Subscription.StateB\003\340A\003\022i\n" - + "\037analytics_hub_subscription_info\030\027 \001(\0132;" - + ".google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoB\003\340A\003\022C\n" + + "\037analytics_hub_subscription_info\030\027 \001(\0132;.google.pubsub.v1.Subs" + + "cription.AnalyticsHubSubscriptionInfoB\003\340A\003\022C\n" + "\022message_transforms\030\031" + " \003(\0132\".google.pubsub.v1.MessageTransformB\003\340A\001\022A\n" + "\004tags\030\032 \003(\0132(.google.pubsub.v1.Subscription.TagsEntryB" @@ -739,8 +739,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021STATE_UNSPECIFIED\020\000\022\n\n" + "\006ACTIVE\020\001\022\022\n" + "\016RESOURCE_ERROR\020\002:u\352Ar\n" - + "\"pubsub.googleapis.com/Subscription\022/" - + "projects/{project}/subscriptions/{subscription}*\r" + + "\"pubsub.googleapis." + + "com/Subscription\022/projects/{project}/subscriptions/{subscription}*\r" + "subscriptions2\014subscription\"\177\n" + "\013RetryPolicy\0227\n" + "\017minimum_backoff\030\001" @@ -754,12 +754,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003ttl\030\001 \001(\0132\031.google.protobuf.DurationB\003\340A\001\"\232\004\n\n" + "PushConfig\022\032\n\r" + "push_endpoint\030\001 \001(\tB\003\340A\001\022E\n\n" - + "attributes\030\002" - + " \003(\0132,.google.pubsub.v1.PushConfig.AttributesEntryB\003\340A\001\022A\n\n" + + "attributes\030\002 \003(\0132,.google" + + ".pubsub.v1.PushConfig.AttributesEntryB\003\340A\001\022A\n\n" + "oidc_token\030\003" + " \001(\0132&.google.pubsub.v1.PushConfig.OidcTokenB\003\340A\001H\000\022I\n" - + "\016pubsub_wrapper\030\004 \001(\0132*.go" - + "ogle.pubsub.v1.PushConfig.PubsubWrapperB\003\340A\001H\001\022A\n\n" + + "\016pubsub_wrapper\030\004" + + " \001(\0132*.google.pubsub.v1.PushConfig.PubsubWrapperB\003\340A\001H\001\022A\n\n" + "no_wrapper\030\005" + " \001(\0132&.google.pubsub.v1.PushConfig.NoWrapperB\003\340A\001H\001\032F\n" + "\tOidcToken\022\"\n" @@ -778,8 +778,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020use_topic_schema\030\002 \001(\010B\003\340A\001\022\033\n" + "\016write_metadata\030\003 \001(\010B\003\340A\001\022 \n" + "\023drop_unknown_fields\030\004 \001(\010B\003\340A\001\022:\n" - + "\005state\030\005 \001(\0162" - + "&.google.pubsub.v1.BigQueryConfig.StateB\003\340A\003\022\035\n" + + "\005state\030\005" + + " \001(\0162&.google.pubsub.v1.BigQueryConfig.StateB\003\340A\003\022\035\n" + "\020use_table_schema\030\006 \001(\010B\003\340A\001\022\"\n" + "\025service_account_email\030\007 \001(\tB\003\340A\001\"\212\001\n" + "\005State\022\025\n" @@ -795,16 +795,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017filename_suffix\030\003 \001(\tB\003\340A\001\022%\n" + "\030filename_datetime_format\030\n" + " \001(\tB\003\340A\001\022K\n" - + "\013text_config\030\004" - + " \001(\0132/.google.pubsub.v1.CloudStorageConfig.TextConfigB\003\340A\001H\000\022K\n" - + "\013avro_config\030\005" - + " \001(\0132/.google.pubsub.v1.CloudStorageConfig.AvroConfigB\003\340A\001H\000\0224\n" + + "\013text_config\030\004 \001(\0132/.goo" + + "gle.pubsub.v1.CloudStorageConfig.TextConfigB\003\340A\001H\000\022K\n" + + "\013avro_config\030\005 \001(\0132/.google" + + ".pubsub.v1.CloudStorageConfig.AvroConfigB\003\340A\001H\000\0224\n" + "\014max_duration\030\006" + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\022\026\n" + "\tmax_bytes\030\007 \001(\003B\003\340A\001\022\031\n" + "\014max_messages\030\010 \001(\003B\003\340A\001\022>\n" - + "\005state\030\t \001(\0162*.google.p" - + "ubsub.v1.CloudStorageConfig.StateB\003\340A\003\022\"\n" + + "\005state\030\t" + + " \001(\0162*.google.pubsub.v1.CloudStorageConfig.StateB\003\340A\003\022\"\n" + "\025service_account_email\030\013 \001(\tB\003\340A\001\032\014\n\n" + "TextConfig\032H\n\n" + "AvroConfig\022\033\n" @@ -822,26 +822,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006ack_id\030\001 \001(\tB\003\340A\001\0225\n" + "\007message\030\002" + " \001(\0132\037.google.pubsub.v1.PubsubMessageB\003\340A\001\022\035\n" - + "\020delivery_attempt\030\003 \001(\005B\003\340A\001\"Z\n" - + "\026GetSubscriptionRequest\022@\n" - + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + + "\020delivery_attempt\030\003 \001(\005B\003\340A\001\"]\n" + + "\026GetSubscriptionRequest\022C\n" + + "\014subscription\030\001 \001(\tB-\340A\002\340A\010\372A$\n" + "\"pubsub.googleapis.com/Subscription\"\214\001\n" + "\031UpdateSubscriptionRequest\0229\n" + "\014subscription\030\001" + " \001(\0132\036.google.pubsub.v1.SubscriptionB\003\340A\002\0224\n" + "\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\221\001\n" - + "\030ListSubscriptionsRequest\022D\n" - + "\007project\030\001 \001(\tB3\340A\002\372A-\n" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\224\001\n" + + "\030ListSubscriptionsRequest\022G\n" + + "\007project\030\001 \001(\tB6\340A\002\340A\010\372A-\n" + "+cloudresourcemanager.googleapis.com/Project\022\026\n" + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + "page_token\030\003 \001(\tB\003\340A\001\"u\n" + "\031ListSubscriptionsResponse\022:\n\r" - + "subscriptions\030\001 \003(" - + "\0132\036.google.pubsub.v1.SubscriptionB\003\340A\001\022\034\n" - + "\017next_page_token\030\002 \001(\tB\003\340A\001\"]\n" - + "\031DeleteSubscriptionRequest\022@\n" - + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + + "subscriptions\030\001" + + " \003(\0132\036.google.pubsub.v1.SubscriptionB\003\340A\001\022\034\n" + + "\017next_page_token\030\002 \001(\tB\003\340A\001\"`\n" + + "\031DeleteSubscriptionRequest\022C\n" + + "\014subscription\030\001 \001(\tB-\340A\002\340A\010\372A$\n" + "\"pubsub.googleapis.com/Subscription\"\223\001\n" + "\027ModifyPushConfigRequest\022@\n" + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" @@ -878,15 +878,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020protocol_version\030\n" + " \001(\003B\003\340A\001\"\236\006\n" + "\025StreamingPullResponse\022A\n" - + "\021received_messages\030\001" - + " \003(\0132!.google.pubsub.v1.ReceivedMessageB\003\340A\001\022f\n" - + "\030acknowledge_confirmation\030\005 \001(\0132?.google.pubsub.v1.StreamingP" - + "ullResponse.AcknowledgeConfirmationB\003\340A\001\022t\n" - + " modify_ack_deadline_confirmation\030\003 \001" - + "(\0132E.google.pubsub.v1.StreamingPullRespo" - + "nse.ModifyAckDeadlineConfirmationB\003\340A\001\022d\n" - + "\027subscription_properties\030\004 \001(\0132>.google" - + ".pubsub.v1.StreamingPullResponse.SubscriptionPropertiesB\003\340A\001\032\224\001\n" + + "\021received_messages\030\001 " + + "\003(\0132!.google.pubsub.v1.ReceivedMessageB\003\340A\001\022f\n" + + "\030acknowledge_confirmation\030\005 \001(\0132?." + + "google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmationB\003\340A\001\022t\n" + + " modify_ack_deadline_confirmation\030\003 \001(\0132E.google.p" + + "ubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationB\003\340A\001\022d\n" + + "\027subscription_properties\030\004 \001(\0132>.google.pubsub.v1.St" + + "reamingPullResponse.SubscriptionPropertiesB\003\340A\001\032\224\001\n" + "\027AcknowledgeConfirmation\022\024\n" + "\007ack_ids\030\001 \003(\tB\003\340A\001\022\034\n" + "\017invalid_ack_ids\030\002 \003(\tB\003\340A\001\022\036\n" @@ -898,18 +897,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030temporary_failed_ack_ids\030\003 \003(\tB\003\340A\001\032k\n" + "\026SubscriptionProperties\022*\n" + "\035exactly_once_delivery_enabled\030\001 \001(\010B\003\340A\001\022%\n" - + "\030message_ordering_enabled\030\002 \001(\010B\003\340A\001\"\201\003\n" - + "\025CreateSnapshotRequest\0224\n" - + "\004name\030\001 \001(\tB&\340A\002\372A \n" + + "\030message_ordering_enabled\030\002 \001(\010B\003\340A\001\"\204\003\n" + + "\025CreateSnapshotRequest\0227\n" + + "\004name\030\001 \001(\tB)\340A\002\340A\010\372A \n" + "\036pubsub.googleapis.com/Snapshot\022@\n" + "\014subscription\030\002 \001(\tB*\340A\002\372A$\n" + "\"pubsub.googleapis.com/Subscription\022H\n" - + "\006labels\030\003 \003(\01323.google.pubsub.v1.CreateSnapshot", - "Request.LabelsEntryB\003\340A\001\022J\n" + + "\006labels\030\003 \003(\01323.g", + "oogle.pubsub.v1.CreateSnapshotRequest.LabelsEntryB\003\340A\001\022J\n" + "\004tags\030\004 \003(\01321.google.pubsub.v1.CreateSnapshotRequest.TagsEntryB" + "\t\340A\004\340A\005\340A\001\032-\n" + "\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" + + "\003key\030\001 \001(\t\022\r" + + "\n" + "\005value\030\002 \001(\t:\0028\001\032+\n" + "\tTagsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" @@ -923,26 +923,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005topic\030\002 \001(\tB#\340A\001\372A\035\n" + "\033pubsub.googleapis.com/Topic\0224\n" + "\013expire_time\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\022;\n" - + "\006labels\030\004 \003(\0132&." - + "google.pubsub.v1.Snapshot.LabelsEntryB\003\340A\001\032-\n" + + "\006labels\030\004" + + " \003(\0132&.google.pubsub.v1.Snapshot.LabelsEntryB\003\340A\001\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001:a\352A^\n" + "\036pubsub.googleapis.com/Snapshot\022\'projects/{project}/snapshots/{snapshot}*" - + "\tsnapshots2\010snapshot\"N\n" - + "\022GetSnapshotRequest\0228\n" - + "\010snapshot\030\001 \001(\tB&\340A\002\372A \n" - + "\036pubsub.googleapis.com/Snapshot\"\215\001\n" - + "\024ListSnapshotsRequest\022D\n" - + "\007project\030\001 \001(\tB3\340A\002\372A-\n" + + "\tsnapshots2\010snapshot\"Q\n" + + "\022GetSnapshotRequest\022;\n" + + "\010snapshot\030\001 \001(\tB)\340A\002\340A\010\372A \n" + + "\036pubsub.googleapis.com/Snapshot\"\220\001\n" + + "\024ListSnapshotsRequest\022G\n" + + "\007project\030\001 \001(\tB6\340A\002\340A\010\372A-\n" + "+cloudresourcemanager.googleapis.com/Project\022\026\n" + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + "page_token\030\003 \001(\tB\003\340A\001\"i\n" + "\025ListSnapshotsResponse\0222\n" + "\tsnapshots\030\001 \003(\0132\032.google.pubsub.v1.SnapshotB\003\340A\001\022\034\n" - + "\017next_page_token\030\002 \001(\tB\003\340A\001\"Q\n" - + "\025DeleteSnapshotRequest\0228\n" - + "\010snapshot\030\001 \001(\tB&\340A\002\372A \n" + + "\017next_page_token\030\002 \001(\tB\003\340A\001\"T\n" + + "\025DeleteSnapshotRequest\022;\n" + + "\010snapshot\030\001 \001(\tB)\340A\002\340A\010\372A \n" + "\036pubsub.googleapis.com/Snapshot\"\306\001\n" + "\013SeekRequest\022@\n" + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" @@ -953,97 +953,98 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006target\"\016\n" + "\014SeekResponse2\270\013\n" + "\tPublisher\022q\n" - + "\013CreateTopic\022\027.google.pubsub.v1.Topic\032\027.goog" - + "le.pubsub.v1.Topic\"0\332A\004name\202\323\344\223\002#\032\036/v1/{name=projects/*/topics/*}:\001*\022\221\001\n" - + "\013UpdateTopic\022$.google.pubsub.v1.UpdateTopicReque" - + "st\032\027.google.pubsub.v1.Topic\"C\332A\021topic,up" - + "date_mask\202\323\344\223\002)2$/v1/{topic.name=projects/*/topics/*}:\001*\022\223\001\n" - + "\007Publish\022 .google.pubsub.v1.PublishRequest\032!.google.pubsub.v" - + "1.PublishResponse\"C\332A\016topic,messages\202\323\344\223" - + "\002,\"\'/v1/{topic=projects/*/topics/*}:publish:\001*\022w\n" - + "\010GetTopic\022!.google.pubsub.v1.GetTopicRequest\032\027.google.pubsub.v1.Topic\"/" - + "\332A\005topic\202\323\344\223\002!\022\037/v1/{topic=projects/*/topics/*}\022\212\001\n\n" - + "ListTopics\022#.google.pubsub.v1.ListTopicsRequest\032$.google.pubsub.v1.L" - + "istTopicsResponse\"1\332A\007project\202\323\344\223\002!\022\037/v1/{project=projects/*}/topics\022\272\001\n" - + "\026ListTopicSubscriptions\022/.google.pubsub.v1.ListT" - + "opicSubscriptionsRequest\0320.google.pubsub" - + ".v1.ListTopicSubscriptionsResponse\"=\332A\005t" - + "opic\202\323\344\223\002/\022-/v1/{topic=projects/*/topics/*}/subscriptions\022\252\001\n" - + "\022ListTopicSnapshots\022+.google.pubsub.v1.ListTopicSnapshotsRe" - + "quest\032,.google.pubsub.v1.ListTopicSnapsh" - + "otsResponse\"9\332A\005topic\202\323\344\223\002+\022)/v1/{topic=projects/*/topics/*}/snapshots\022|\n" - + "\013DeleteTopic\022$.google.pubsub.v1.DeleteTopicRequ" - + "est\032\026.google.protobuf.Empty\"/\332A\005topic\202\323\344\223\002!*\037/v1/{topic=projects/*/topics/*}\022\255\001\n" - + "\022DetachSubscription\022+.google.pubsub.v1.D" - + "etachSubscriptionRequest\032,.google.pubsub" - + ".v1.DetachSubscriptionResponse\"<\202\323\344\223\0026\"4" - + "/v1/{subscription=projects/*/subscriptio" - + "ns/*}:detach\032p\312A\025pubsub.googleapis.com\322A" - + "Uhttps://www.googleapis.com/auth/cloud-p" - + "latform,https://www.googleapis.com/auth/pubsub2\322\025\n\n" + + "\013CreateTopic\022\027.google.pubsub.v1.Topic\032\027.googl" + + "e.pubsub.v1.Topic\"0\332A\004name\202\323\344\223\002#\032\036/v1/{name=projects/*/topics/*}:\001*\022\221\001\n" + + "\013UpdateTopic\022$.google.pubsub.v1.UpdateTopicReques" + + "t\032\027.google.pubsub.v1.Topic\"C\332A\021topic,upd" + + "ate_mask\202\323\344\223\002)2$/v1/{topic.name=projects/*/topics/*}:\001*\022\223\001\n" + + "\007Publish\022 .google.pubsub.v1.PublishRequest\032!.google.pubsub.v1" + + ".PublishResponse\"C\332A\016topic,messages\202\323\344\223\002" + + ",\"\'/v1/{topic=projects/*/topics/*}:publish:\001*\022w\n" + + "\010GetTopic\022!.google.pubsub.v1.Get" + + "TopicRequest\032\027.google.pubsub.v1.Topic\"/\332" + + "A\005topic\202\323\344\223\002!\022\037/v1/{topic=projects/*/topics/*}\022\212\001\n\n" + + "ListTopics\022#.google.pubsub.v1.ListTopicsRequest\032$.google.pubsub.v1.Li" + + "stTopicsResponse\"1\332A\007project\202\323\344\223\002!\022\037/v1/{project=projects/*}/topics\022\272\001\n" + + "\026ListTopicSubscriptions\022/.google.pubsub.v1.ListTo" + + "picSubscriptionsRequest\0320.google.pubsub." + + "v1.ListTopicSubscriptionsResponse\"=\332A\005to" + + "pic\202\323\344\223\002/\022-/v1/{topic=projects/*/topics/*}/subscriptions\022\252\001\n" + + "\022ListTopicSnapshots\022+.google.pubsub.v1.ListTopicSnapshotsReq" + + "uest\032,.google.pubsub.v1.ListTopicSnapsho" + + "tsResponse\"9\332A\005topic\202\323\344\223\002+\022)/v1/{topic=projects/*/topics/*}/snapshots\022|\n" + + "\013DeleteTopic\022$.google.pubsub.v1.DeleteTopicReque" + + "st\032\026.google.protobuf.Empty\"/\332A\005topic\202\323\344\223\002!*\037/v1/{topic=projects/*/topics/*}\022\255\001\n" + + "\022DetachSubscription\022+.google.pubsub.v1.De" + + "tachSubscriptionRequest\032,.google.pubsub." + + "v1.DetachSubscriptionResponse\"<\202\323\344\223\0026\"4/" + + "v1/{subscription=projects/*/subscription" + + "s/*}:detach\032p\312A\025pubsub.googleapis.com\322AU" + + "https://www.googleapis.com/auth/cloud-pl" + + "atform,https://www.googleapis.com/auth/pubsub2\322\025\n\n" + "Subscriber\022\264\001\n" - + "\022CreateSubscription\022\036.google.pubsub.v1.Subscription\032\036.g" - + "oogle.pubsub.v1.Subscription\"^\332A+name,to" - + "pic,push_config,ack_deadline_seconds\202\323\344\223" - + "\002*\032%/v1/{name=projects/*/subscriptions/*}:\001*\022\241\001\n" - + "\017GetSubscription\022(.google.pubsub.v1.GetSubscriptionRequest\032\036.google.pubs" - + "ub.v1.Subscription\"D\332A\014subscription\202\323\344\223\002" - + "/\022-/v1/{subscription=projects/*/subscriptions/*}\022\273\001\n" - + "\022UpdateSubscription\022+.google.pubsub.v1.UpdateSubscriptionRequest\032\036.g" - + "oogle.pubsub.v1.Subscription\"X\332A\030subscri" - + "ption,update_mask\202\323\344\223\002722/v1/{subscripti" - + "on.name=projects/*/subscriptions/*}:\001*\022\246\001\n" - + "\021ListSubscriptions\022*.google.pubsub.v1." - + "ListSubscriptionsRequest\032+.google.pubsub" - + ".v1.ListSubscriptionsResponse\"8\332A\007projec" - + "t\202\323\344\223\002(\022&/v1/{project=projects/*}/subscriptions\022\237\001\n" - + "\022DeleteSubscription\022+.google.pubsub.v1.DeleteSubscriptionRequest\032\026.go" - + "ogle.protobuf.Empty\"D\332A\014subscription\202\323\344\223" - + "\002/*-/v1/{subscription=projects/*/subscriptions/*}\022\317\001\n" - + "\021ModifyAckDeadline\022*.google.pubsub.v1.ModifyAckDeadlineRequest\032\026.go" - + "ogle.protobuf.Empty\"v\332A)subscription,ack" - + "_ids,ack_deadline_seconds\202\323\344\223\002D\"?/v1/{su" - + "bscription=projects/*/subscriptions/*}:modifyAckDeadline:\001*\022\250\001\n" - + "\013Acknowledge\022$.google.pubsub.v1.AcknowledgeRequest\032\026.goog" - + "le.protobuf.Empty\"[\332A\024subscription,ack_i" - + "ds\202\323\344\223\002>\"9/v1/{subscription=projects/*/subscriptions/*}:acknowledge:\001*\022\320\001\n" - + "\004Pull\022\035.google.pubsub.v1.PullRequest\032\036.google." - + "pubsub.v1.PullResponse\"\210\001\332A,subscription" - + ",return_immediately,max_messages\332A\031subsc" - + "ription,max_messages\202\323\344\223\0027\"2/v1/{subscri" - + "ption=projects/*/subscriptions/*}:pull:\001*\022f\n\r" - + "StreamingPull\022&.google.pubsub.v1.St" - + "reamingPullRequest\032\'.google.pubsub.v1.StreamingPullResponse\"\000(\0010\001\022\273\001\n" - + "\020ModifyPushConfig\022).google.pubsub.v1.ModifyPushConf" - + "igRequest\032\026.google.protobuf.Empty\"d\332A\030su" - + "bscription,push_config\202\323\344\223\002C\">/v1/{subsc" - + "ription=projects/*/subscriptions/*}:modifyPushConfig:\001*\022\211\001\n" - + "\013GetSnapshot\022$.google.pubsub.v1.GetSnapshotRequest\032\032.google.p" - + "ubsub.v1.Snapshot\"8\332A\010snapshot\202\323\344\223\002\'\022%/v1/{snapshot=projects/*/snapshots/*}\022\226\001\n\r" - + "ListSnapshots\022&.google.pubsub.v1.ListSna" - + "pshotsRequest\032\'.google.pubsub.v1.ListSna" - + "pshotsResponse\"4\332A\007project\202\323\344\223\002$\022\"/v1/{project=projects/*}/snapshots\022\227\001\n" - + "\016CreateSnapshot\022\'.google.pubsub.v1.CreateSnapsho" - + "tRequest\032\032.google.pubsub.v1.Snapshot\"@\332A" - + "\021name,subscription\202\323\344\223\002&\032!/v1/{name=projects/*/snapshots/*}:\001*\022\243\001\n" - + "\016UpdateSnapshot\022\'.google.pubsub.v1.UpdateSnapshotReque" - + "st\032\032.google.pubsub.v1.Snapshot\"L\332A\024snaps" - + "hot,update_mask\202\323\344\223\002/2*/v1/{snapshot.name=projects/*/snapshots/*}:\001*\022\213\001\n" - + "\016DeleteSnapshot\022\'.google.pubsub.v1.DeleteSnapsho" - + "tRequest\032\026.google.protobuf.Empty\"8\332A\010sna" - + "pshot\202\323\344\223\002\'*%/v1/{snapshot=projects/*/snapshots/*}\022\204\001\n" - + "\004Seek\022\035.google.pubsub.v1.SeekRequest\032\036.google.pubsub.v1.SeekRespon" - + "se\"=\202\323\344\223\0027\"2/v1/{subscription=projects/*" - + "/subscriptions/*}:seek:\001*\032p\312A\025pubsub.goo" - + "gleapis.com\322AUhttps://www.googleapis.com" - + "/auth/cloud-platform,https://www.googleapis.com/auth/pubsubB\247\003\n" - + "\024com.google.pubsub.v1B\013PubsubProtoP\001Z5cloud.google.com/go" - + "/pubsub/v2/apiv1/pubsubpb;pubsubpb\252\002\026Goo" - + "gle.Cloud.PubSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031Google::Cloud::PubSub::V1\352Ax\n" - + "!cloudkms.googleapis.com/CryptoKey\022Sprojects" - + "/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352A\177\n" - + "#analyticshub.googleapis.com/Listing\022Xprojects/{project}/locations/{location}/dat" - + "aExchanges/{data_exchange}/listings/{listing}b\006proto3" + + "\022CreateSubscription\022\036.google.pubsub.v1.Subscription\032\036.go" + + "ogle.pubsub.v1.Subscription\"^\332A+name,top" + + "ic,push_config,ack_deadline_seconds\202\323\344\223\002" + + "*\032%/v1/{name=projects/*/subscriptions/*}:\001*\022\241\001\n" + + "\017GetSubscription\022(.google.pubsub.v1.GetSubscriptionRequest\032\036.google.pubsu" + + "b.v1.Subscription\"D\332A\014subscription\202\323\344\223\002/" + + "\022-/v1/{subscription=projects/*/subscriptions/*}\022\273\001\n" + + "\022UpdateSubscription\022+.google.pubsub.v1.UpdateSubscriptionRequest\032\036.go" + + "ogle.pubsub.v1.Subscription\"X\332A\030subscrip" + + "tion,update_mask\202\323\344\223\002722/v1/{subscriptio" + + "n.name=projects/*/subscriptions/*}:\001*\022\246\001\n" + + "\021ListSubscriptions\022*.google.pubsub.v1.L" + + "istSubscriptionsRequest\032+.google.pubsub." + + "v1.ListSubscriptionsResponse\"8\332A\007project" + + "\202\323\344\223\002(\022&/v1/{project=projects/*}/subscriptions\022\237\001\n" + + "\022DeleteSubscription\022+.google.pubsub.v1.DeleteSubscriptionRequest\032\026.goo" + + "gle.protobuf.Empty\"D\332A\014subscription\202\323\344\223\002" + + "/*-/v1/{subscription=projects/*/subscriptions/*}\022\317\001\n" + + "\021ModifyAckDeadline\022*.google.pubsub.v1.ModifyAckDeadlineRequest\032\026.goo" + + "gle.protobuf.Empty\"v\332A)subscription,ack_" + + "ids,ack_deadline_seconds\202\323\344\223\002D\"?/v1/{sub" + + "scription=projects/*/subscriptions/*}:modifyAckDeadline:\001*\022\250\001\n" + + "\013Acknowledge\022$.google.pubsub.v1.AcknowledgeRequest\032\026.googl" + + "e.protobuf.Empty\"[\332A\024subscription,ack_id" + + "s\202\323\344\223\002>\"9/v1/{subscription=projects/*/subscriptions/*}:acknowledge:\001*\022\320\001\n" + + "\004Pull\022\035.google.pubsub.v1.PullRequest\032\036.google.p" + + "ubsub.v1.PullResponse\"\210\001\332A,subscription," + + "return_immediately,max_messages\332A\031subscr" + + "iption,max_messages\202\323\344\223\0027\"2/v1/{subscrip" + + "tion=projects/*/subscriptions/*}:pull:\001*\022f\n\r" + + "StreamingPull\022&.google.pubsub.v1.Str" + + "eamingPullRequest\032\'.google.pubsub.v1.StreamingPullResponse\"\000(\0010\001\022\273\001\n" + + "\020ModifyPushConfig\022).google.pubsub.v1.ModifyPushConfi" + + "gRequest\032\026.google.protobuf.Empty\"d\332A\030sub" + + "scription,push_config\202\323\344\223\002C\">/v1/{subscr" + + "iption=projects/*/subscriptions/*}:modifyPushConfig:\001*\022\211\001\n" + + "\013GetSnapshot\022$.google.pubsub.v1.GetSnapshotRequest\032\032.google.pu" + + "bsub.v1.Snapshot\"8\332A\010snapshot\202\323\344\223\002\'\022%/v1/{snapshot=projects/*/snapshots/*}\022\226\001\n\r" + + "ListSnapshots\022&.google.pubsub.v1.ListSnap" + + "shotsRequest\032\'.google.pubsub.v1.ListSnap" + + "shotsResponse\"4\332A\007project\202\323\344\223\002$\022\"/v1/{project=projects/*}/snapshots\022\227\001\n" + + "\016CreateSnapshot\022\'.google.pubsub.v1.CreateSnapshot" + + "Request\032\032.google.pubsub.v1.Snapshot\"@\332A\021" + + "name,subscription\202\323\344\223\002&\032!/v1/{name=projects/*/snapshots/*}:\001*\022\243\001\n" + + "\016UpdateSnapshot\022\'.google.pubsub.v1.UpdateSnapshotReques" + + "t\032\032.google.pubsub.v1.Snapshot\"L\332A\024snapsh" + + "ot,update_mask\202\323\344\223\002/2*/v1/{snapshot.name=projects/*/snapshots/*}:\001*\022\213\001\n" + + "\016DeleteSnapshot\022\'.google.pubsub.v1.DeleteSnapshot" + + "Request\032\026.google.protobuf.Empty\"8\332A\010snap" + + "shot\202\323\344\223\002\'*%/v1/{snapshot=projects/*/snapshots/*}\022\204\001\n" + + "\004Seek\022\035.google.pubsub.v1.SeekRequest\032\036.google.pubsub.v1.SeekRespons" + + "e\"=\202\323\344\223\0027\"2/v1/{subscription=projects/*/" + + "subscriptions/*}:seek:\001*\032p\312A\025pubsub.goog" + + "leapis.com\322AUhttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleapis.com/auth/pubsubB\247\003\n" + + "\024com.google.pubsub.v1B\013PubsubProtoP\001Z5cloud.google.com/go/" + + "pubsub/v2/apiv1/pubsubpb;pubsubpb\252\002\026Goog" + + "le.Cloud.PubSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031Google::Cloud::PubSub::V1\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/" + + "{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352A\177\n" + + "#analyticshub.googleapis.com/Listing\022Xprojects/{project}/locations/{location}/data" + + "Exchanges/{data_exchange}/listings/{listing}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java index c6dbf3f12..359811a33 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java @@ -141,7 +141,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2039 + * google/pubsub/v1/pubsub.proto;l=2052 * @return The returnImmediately. */ @java.lang.Override @@ -700,7 +700,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2039 + * google/pubsub/v1/pubsub.proto;l=2052 * @return The returnImmediately. */ @java.lang.Override @@ -727,7 +727,7 @@ public boolean getReturnImmediately() { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2039 + * google/pubsub/v1/pubsub.proto;l=2052 * @param value The returnImmediately to set. * @return This builder for chaining. */ @@ -758,7 +758,7 @@ public Builder setReturnImmediately(boolean value) { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2039 + * google/pubsub/v1/pubsub.proto;l=2052 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java index 15b70709e..7c00e35b5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java @@ -73,7 +73,7 @@ public interface PullRequestOrBuilder * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2039 + * google/pubsub/v1/pubsub.proto;l=2052 * @return The returnImmediately. */ @java.lang.Deprecated 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 9e637b08e..b36abdc68 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 @@ -1190,7 +1190,7 @@ public com.google.protobuf.Parser getParserForType * * *
-   * Required. The name of the subscription. It must have the format
+   * Required. Identifier. The name of the subscription. It must have the format
    * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
    * start with a letter, and contain only letters (`[A-Za-z]`), numbers
    * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -1198,7 +1198,9 @@ public com.google.protobuf.Parser getParserForType
    * in length, and it must not start with `"goog"`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -1219,7 +1221,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the subscription. It must have the format
+   * Required. Identifier. The name of the subscription. It must have the format
    * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
    * start with a letter, and contain only letters (`[A-Za-z]`), numbers
    * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -1227,7 +1229,9 @@ public java.lang.String getName() {
    * in length, and it must not start with `"goog"`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -3531,7 +3535,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the subscription. It must have the format
+     * Required. Identifier. The name of the subscription. It must have the format
      * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
      * start with a letter, and contain only letters (`[A-Za-z]`), numbers
      * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -3539,7 +3543,9 @@ public Builder mergeFrom(
      * in length, and it must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -3559,7 +3565,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the subscription. It must have the format
+     * Required. Identifier. The name of the subscription. It must have the format
      * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
      * start with a letter, and contain only letters (`[A-Za-z]`), numbers
      * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -3567,7 +3573,9 @@ public java.lang.String getName() {
      * in length, and it must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -3587,7 +3595,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the subscription. It must have the format
+     * Required. Identifier. The name of the subscription. It must have the format
      * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
      * start with a letter, and contain only letters (`[A-Za-z]`), numbers
      * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -3595,7 +3603,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      * in length, and it must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @param value The name to set. * @return This builder for chaining. @@ -3614,7 +3624,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the subscription. It must have the format
+     * Required. Identifier. The name of the subscription. It must have the format
      * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
      * start with a letter, and contain only letters (`[A-Za-z]`), numbers
      * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -3622,7 +3632,9 @@ public Builder setName(java.lang.String value) {
      * in length, and it must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return This builder for chaining. */ @@ -3637,7 +3649,7 @@ public Builder clearName() { * * *
-     * Required. The name of the subscription. It must have the format
+     * Required. Identifier. The name of the subscription. It must have the format
      * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
      * start with a letter, and contain only letters (`[A-Za-z]`), numbers
      * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -3645,7 +3657,9 @@ public Builder clearName() {
      * in length, and it must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @param value The bytes for name to set. * @return This builder for chaining. 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 585c95c3e..fb8459de7 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 @@ -28,7 +28,7 @@ public interface SubscriptionOrBuilder * * *
-   * Required. The name of the subscription. It must have the format
+   * Required. Identifier. The name of the subscription. It must have the format
    * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
    * start with a letter, and contain only letters (`[A-Za-z]`), numbers
    * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -36,7 +36,9 @@ public interface SubscriptionOrBuilder
    * in length, and it must not start with `"goog"`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -46,7 +48,7 @@ public interface SubscriptionOrBuilder * * *
-   * Required. The name of the subscription. It must have the format
+   * Required. Identifier. The name of the subscription. It must have the format
    * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
    * start with a letter, and contain only letters (`[A-Za-z]`), numbers
    * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -54,7 +56,9 @@ public interface SubscriptionOrBuilder
    * in length, and it must not start with `"goog"`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java index 3719e7280..c1e75d4e4 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java @@ -252,7 +252,7 @@ private State(int value) { * * *
-   * Required. The name of the topic. It must have the format
+   * Required. Identifier. The name of the topic. It must have the format
    * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
    * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
    * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -260,7 +260,9 @@ private State(int value) {
    * must not start with `"goog"`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -281,7 +283,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the topic. It must have the format
+   * Required. Identifier. The name of the topic. It must have the format
    * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
    * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
    * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -289,7 +291,9 @@ public java.lang.String getName() {
    * must not start with `"goog"`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -1762,7 +1766,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the topic. It must have the format
+     * Required. Identifier. The name of the topic. It must have the format
      * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
      * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
      * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -1770,7 +1774,9 @@ public Builder mergeFrom(
      * must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -1790,7 +1796,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the topic. It must have the format
+     * Required. Identifier. The name of the topic. It must have the format
      * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
      * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
      * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -1798,7 +1804,9 @@ public java.lang.String getName() {
      * must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ @@ -1818,7 +1826,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the topic. It must have the format
+     * Required. Identifier. The name of the topic. It must have the format
      * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
      * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
      * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -1826,7 +1834,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      * must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @param value The name to set. * @return This builder for chaining. @@ -1845,7 +1855,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the topic. It must have the format
+     * Required. Identifier. The name of the topic. It must have the format
      * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
      * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
      * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -1853,7 +1863,9 @@ public Builder setName(java.lang.String value) {
      * must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return This builder for chaining. */ @@ -1868,7 +1880,7 @@ public Builder clearName() { * * *
-     * Required. The name of the topic. It must have the format
+     * Required. Identifier. The name of the topic. It must have the format
      * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
      * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
      * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -1876,7 +1888,9 @@ public Builder clearName() {
      * must not start with `"goog"`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java index ea55bec4e..60080e167 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java @@ -28,7 +28,7 @@ public interface TopicOrBuilder * * *
-   * Required. The name of the topic. It must have the format
+   * Required. Identifier. The name of the topic. It must have the format
    * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
    * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
    * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -36,7 +36,9 @@ public interface TopicOrBuilder
    * must not start with `"goog"`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The name. */ @@ -46,7 +48,7 @@ public interface TopicOrBuilder * * *
-   * Required. The name of the topic. It must have the format
+   * Required. Identifier. The name of the topic. It must have the format
    * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
    * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
    * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -54,7 +56,9 @@ public interface TopicOrBuilder
    * must not start with `"goog"`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER]; + * * * @return The bytes for name. */ 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 b542351d9..95dd7f829 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 @@ -847,13 +847,16 @@ message Topic { INGESTION_RESOURCE_ERROR = 2; } - // Required. The name of the topic. It must have the format + // Required. Identifier. The name of the topic. It must have the format // `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, // and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), // underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent // signs (`%`). It must be between 3 and 255 characters in length, and it // must not start with `"goog"`. - string name = 1 [(google.api.field_behavior) = REQUIRED]; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER + ]; // Optional. See [Creating and managing labels] // (https://cloud.google.com/pubsub/docs/labels). @@ -960,10 +963,11 @@ message PubsubMessage { // Request for the GetTopic method. message GetTopicRequest { - // Required. The name of the topic to get. + // Required. Identifier. The name of the topic to get. // Format is `projects/{project}/topics/{topic}`. string topic = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; } @@ -984,10 +988,11 @@ message UpdateTopicRequest { // Request for the Publish method. message PublishRequest { - // Required. The messages in the request will be published on this topic. - // Format is `projects/{project}/topics/{topic}`. + // Required. Identifier. The messages in the request will be published on this + // topic. Format is `projects/{project}/topics/{topic}`. string topic = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; @@ -1005,10 +1010,11 @@ message PublishResponse { // Request for the `ListTopics` method. message ListTopicsRequest { - // Required. The name of the project in which to list topics. + // Required. Identifier. The name of the project in which to list topics. // Format is `projects/{project-id}`. string project = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "cloudresourcemanager.googleapis.com/Project" } @@ -1102,10 +1108,11 @@ message ListTopicSnapshotsResponse { // Request for the `DeleteTopic` method. message DeleteTopicRequest { - // Required. Name of the topic to delete. + // Required. Identifier. Name of the topic to delete. // Format is `projects/{project}/topics/{topic}`. string topic = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; } @@ -1399,13 +1406,16 @@ message Subscription { string subscription = 2 [(google.api.field_behavior) = OPTIONAL]; } - // Required. The name of the subscription. It must have the format + // Required. Identifier. The name of the subscription. It must have the format // `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must // start with a letter, and contain only letters (`[A-Za-z]`), numbers // (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), // plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters // in length, and it must not start with `"goog"`. - string name = 1 [(google.api.field_behavior) = REQUIRED]; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER + ]; // Required. The name of the topic from which this subscription is receiving // messages. Format is `projects/{project}/topics/{topic}`. The value of this @@ -1934,10 +1944,11 @@ message ReceivedMessage { // Request for the GetSubscription method. message GetSubscriptionRequest { - // Required. The name of the subscription to get. + // Required. Identifier. The name of the subscription to get. // Format is `projects/{project}/subscriptions/{sub}`. string subscription = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Subscription" } @@ -1957,10 +1968,11 @@ message UpdateSubscriptionRequest { // Request for the `ListSubscriptions` method. message ListSubscriptionsRequest { - // Required. The name of the project in which to list subscriptions. - // Format is `projects/{project-id}`. + // Required. Identifier. The name of the project in which to list + // subscriptions. Format is `projects/{project-id}`. string project = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "cloudresourcemanager.googleapis.com/Project" } @@ -1989,10 +2001,11 @@ message ListSubscriptionsResponse { // Request for the DeleteSubscription method. message DeleteSubscriptionRequest { - // Required. The subscription to delete. + // Required. Identifier. The subscription to delete. // Format is `projects/{project}/subscriptions/{sub}`. string subscription = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Subscription" } @@ -2260,14 +2273,15 @@ message StreamingPullResponse { // Request for the `CreateSnapshot` method. message CreateSnapshotRequest { - // 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 [resource name + // Required. Identifier. 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 [resource name // rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). // Format is `projects/{project}/snapshots/{snap}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Snapshot" } ]; @@ -2356,20 +2370,22 @@ message Snapshot { // Request for the GetSnapshot method. message GetSnapshotRequest { - // Required. The name of the snapshot to get. + // Required. Identifier. The name of the snapshot to get. // Format is `projects/{project}/snapshots/{snap}`. string snapshot = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Snapshot" } ]; } // Request for the `ListSnapshots` method. message ListSnapshotsRequest { - // Required. The name of the project in which to list snapshots. + // Required. Identifier. The name of the project in which to list snapshots. // Format is `projects/{project-id}`. string project = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "cloudresourcemanager.googleapis.com/Project" } @@ -2397,10 +2413,11 @@ message ListSnapshotsResponse { // Request for the `DeleteSnapshot` method. message DeleteSnapshotRequest { - // Required. The name of the snapshot to delete. + // Required. Identifier. The name of the snapshot to delete. // Format is `projects/{project}/snapshots/{snap}`. string snapshot = 1 [ (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IDENTIFIER, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Snapshot" } ]; } From 66b91f5cc7f7a25cf88093565068f0eff7ad46f9 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 9 Dec 2025 02:37:00 +0000 Subject: [PATCH 4/5] chore: Update generation configuration at Tue Dec 9 02:36:52 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 85f197aaf..0e8d66eea 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.1 -googleapis_commitish: d534d01c1eefcc9efc7b9182a2b98e9fe5b0922b +googleapis_commitish: c9578f6385fe0fb9067c5dba8d7cdda39efac0ff libraries_bom_version: 26.72.0 libraries: - api_shortname: pubsub From edfb452107ed1144e3b29ea8b8a12461d72eb7a3 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 10 Dec 2025 02:37:44 +0000 Subject: [PATCH 5/5] chore: Update generation configuration at Wed Dec 10 02:37:35 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 0e8d66eea..b834e739c 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.1 -googleapis_commitish: c9578f6385fe0fb9067c5dba8d7cdda39efac0ff +googleapis_commitish: 8c06c1e04ae562f49f411357577c700e9142f33c libraries_bom_version: 26.72.0 libraries: - api_shortname: pubsub