From ca99c2a2cea8201ea6f71e7383bd6123ec32ebdc Mon Sep 17 00:00:00 2001 From: Mike Prieto Date: Mon, 22 Dec 2025 16:33:51 -0500 Subject: [PATCH 01/62] fix: Lower the Subscriber protocol version to disable the streaming pull keepalive feature (#2652) * feat: Make v1 the default protocolVersion * fix: Lower the Subscriber protocol version to disable the streaming pull keepalive feature * fix: Downgrade streaming pull keepalive close stream log from WARNING to FINE * fix: Change from FINE to INFO for ping monitor stream closure log --- .../google/cloud/pubsub/v1/StreamingSubscriberConnection.java | 2 +- .../src/main/java/com/google/cloud/pubsub/v1/Subscriber.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java index 5c9f9e171..2ee077597 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java @@ -519,7 +519,7 @@ private void startServerMonitor() { } logger.log( - Level.WARNING, + Level.INFO, "No response from server for {0} seconds since last ping. Closing stream.", elapsedSincePing.getSeconds()); diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java index a2d4f3b38..37440ba40 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java @@ -144,7 +144,7 @@ public class Subscriber extends AbstractApiService implements SubscriberInterfac private final boolean maxDurationPerAckExtensionDefaultUsed; private final java.time.Duration minDurationPerAckExtension; private final boolean minDurationPerAckExtensionDefaultUsed; - private final long protocolVersion = 1L; + private final long protocolVersion = 0L; // The ExecutorProvider used to generate executors for processing messages. private final ExecutorProvider executorProvider; From d164024249fc9571cdceadc2f03cf0a021c12ae8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 17:05:19 -0500 Subject: [PATCH 02/62] chore(main): release 1.144.1 (#2654) * chore(main): release 1.144.1 * chore: generate libraries at Mon Dec 22 21:34:41 UTC 2025 --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot --- CHANGELOG.md | 7 +++++++ README.md | 6 +++--- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 28 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2793d5f9e..7019ced0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.144.1](https://github.com/googleapis/java-pubsub/compare/v1.144.0...v1.144.1) (2025-12-22) + + +### Bug Fixes + +* Lower the Subscriber protocol version to disable the streaming pull keepalive feature ([#2652](https://github.com/googleapis/java-pubsub/issues/2652)) ([ca99c2a](https://github.com/googleapis/java-pubsub/commit/ca99c2a2cea8201ea6f71e7383bd6123ec32ebdc)) + ## [1.144.0](https://github.com/googleapis/java-pubsub/compare/v1.143.1...v1.144.0) (2025-12-11) diff --git a/README.md b/README.md index ab3b726af..5a62af019 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.144.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.144.1' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.144.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.144.1" ``` ## Authentication @@ -420,7 +420,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.144.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.144.1 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index b9c11a692..bcb0818c0 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.144.1-SNAPSHOT + 1.144.1 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.144.1-SNAPSHOT + 1.144.1 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.1-SNAPSHOT + 1.126.1 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.1-SNAPSHOT + 1.126.1 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 977a7250e..37c48b77b 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.144.1-SNAPSHOT + 1.144.1 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.144.1-SNAPSHOT + 1.144.1 google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 29b3dd9e0..8ab76948c 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.1-SNAPSHOT + 1.126.1 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.144.1-SNAPSHOT + 1.144.1 diff --git a/pom.xml b/pom.xml index 321d61450..11d3514f6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.144.1-SNAPSHOT + 1.144.1 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.1-SNAPSHOT + 1.126.1 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.1-SNAPSHOT + 1.126.1 com.google.cloud google-cloud-pubsub - 1.144.1-SNAPSHOT + 1.144.1 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 4918ef569..93bdf6c5a 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.1-SNAPSHOT + 1.126.1 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.144.1-SNAPSHOT + 1.144.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 34b28a2dc..59fdadc95 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.144.1-SNAPSHOT + 1.144.1 diff --git a/versions.txt b/versions.txt index 7667c2b45..c0a0d2f15 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.144.0:1.144.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.126.0:1.126.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.126.0:1.126.1-SNAPSHOT +google-cloud-pubsub:1.144.1:1.144.1 +grpc-google-cloud-pubsub-v1:1.126.1:1.126.1 +proto-google-cloud-pubsub-v1:1.126.1:1.126.1 From 7e70191f2e1ef0853a8dcd76c5d2da8172575245 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Tue, 13 Jan 2026 15:58:39 -0500 Subject: [PATCH 03/62] chore: cleanup release-please config (#2624) * chore: cleanup release-please config - Remove redundant options already declared at the top level.\n- Remove bumpMinorPreMajor for repositories after the first major release. * chore: format release-please.yml --- .github/release-please.yml | 77 +++++++++++++------------------------- 1 file changed, 25 insertions(+), 52 deletions(-) diff --git a/.github/release-please.yml b/.github/release-please.yml index f4a05d1b9..94186875d 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -2,55 +2,28 @@ bumpMinorPreMajor: true handleGHRelease: true releaseType: java-yoshi branches: - - releaseType: java-lts - bumpMinorPreMajor: true - handleGHRelease: true - branch: 1.111.0-sp - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-yoshi - branch: java7 - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.114.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.116.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.117.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.120.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.121.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.123.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.125.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.129.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.137.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 1.140.x - - handleGHRelease: true - releaseType: java-yoshi - branch: protobuf-4.x-rc - manifest: true + - branch: 1.111.0-sp + releaseType: java-lts + - branch: java7 + - branch: 1.114.x + releaseType: java-backport + - branch: 1.116.x + releaseType: java-backport + - branch: 1.117.x + releaseType: java-backport + - branch: 1.120.x + releaseType: java-backport + - branch: 1.121.x + releaseType: java-backport + - branch: 1.123.x + releaseType: java-backport + - branch: 1.125.x + releaseType: java-backport + - branch: 1.129.x + releaseType: java-backport + - branch: 1.137.x + releaseType: java-backport + - branch: 1.140.x + releaseType: java-backport + - branch: protobuf-4.x-rc + manifest: true From 72dd5668ab2e71a24bed66c55173ab9ff5093ced Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 15 Jan 2026 15:42:16 +0000 Subject: [PATCH 04/62] deps: update googleapis/sdk-platform-java action to v2.65.1 (#2657) --- .github/workflows/hermetic_library_generation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index cda7bb36c..42c112db4 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.64.2 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.65.1 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} From 1a1130914420b45d628553218a3fa4d477216143 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 15 Jan 2026 15:42:41 +0000 Subject: [PATCH 05/62] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.55.1 (#2658) --- .github/workflows/unmanaged_dependency_check.yaml | 2 +- google-cloud-pubsub-bom/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index 24c84d214..77d3c5ad2 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -17,6 +17,6 @@ jobs: # repository .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.54.2 + uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.55.1 with: bom-path: google-cloud-pubsub-bom/pom.xml diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index bcb0818c0..cf72faf8f 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud sdk-platform-java-config - 3.54.2 + 3.55.1 Google Cloud pubsub BOM diff --git a/pom.xml b/pom.xml index 11d3514f6..af14ec4a7 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud sdk-platform-java-config - 3.54.2 + 3.55.1 From fe73614cdb6c2aca445c46e917c325cbfee3adfd Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Thu, 15 Jan 2026 14:34:14 -0500 Subject: [PATCH 06/62] chore: Update generation configuration at Thu Jan 15 16:44:58 UTC 2026 (#2660) * chore: Update generation configuration at Thu Jan 15 16:44:58 UTC 2026 * chore: remove usage of GOOD_LICENSE This variable was removed in https://github.com/googleapis/sdk-platform-java/pull/4036 * chore: generate libraries at Thu Jan 15 16:59:29 UTC 2026 --------- Co-authored-by: Diego Marquez --- .github/scripts/update_generation_config.sh | 12 +- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- README.md | 21 +- generation_config.yaml | 6 +- .../cloud/pubsub/v1/SchemaServiceClient.java | 2 +- .../pubsub/v1/SchemaServiceSettings.java | 6 +- .../pubsub/v1/SubscriptionAdminClient.java | 70 +- .../pubsub/v1/SubscriptionAdminSettings.java | 6 +- .../cloud/pubsub/v1/TopicAdminClient.java | 22 +- .../cloud/pubsub/v1/TopicAdminSettings.java | 6 +- .../google/cloud/pubsub/v1/package-info.java | 2 +- .../v1/stub/GrpcPublisherCallableFactory.java | 2 +- .../pubsub/v1/stub/GrpcPublisherStub.java | 2 +- .../GrpcSchemaServiceCallableFactory.java | 2 +- .../pubsub/v1/stub/GrpcSchemaServiceStub.java | 2 +- .../stub/GrpcSubscriberCallableFactory.java | 2 +- .../pubsub/v1/stub/GrpcSubscriberStub.java | 2 +- .../HttpJsonPublisherCallableFactory.java | 2 +- .../pubsub/v1/stub/HttpJsonPublisherStub.java | 2 +- .../HttpJsonSchemaServiceCallableFactory.java | 2 +- .../v1/stub/HttpJsonSchemaServiceStub.java | 2 +- .../HttpJsonSubscriberCallableFactory.java | 2 +- .../v1/stub/HttpJsonSubscriberStub.java | 2 +- .../cloud/pubsub/v1/stub/PublisherStub.java | 2 +- .../pubsub/v1/stub/PublisherStubSettings.java | 6 +- .../pubsub/v1/stub/SchemaServiceStub.java | 2 +- .../v1/stub/SchemaServiceStubSettings.java | 6 +- .../cloud/pubsub/v1/stub/SubscriberStub.java | 2 +- .../v1/stub/SubscriberStubSettings.java | 6 +- .../reflect-config.json | 99 + .../google/cloud/pubsub/v1/MockIAMPolicy.java | 2 +- .../cloud/pubsub/v1/MockIAMPolicyImpl.java | 2 +- .../google/cloud/pubsub/v1/MockPublisher.java | 2 +- .../cloud/pubsub/v1/MockPublisherImpl.java | 2 +- .../cloud/pubsub/v1/MockSchemaService.java | 2 +- .../pubsub/v1/MockSchemaServiceImpl.java | 2 +- .../cloud/pubsub/v1/MockSubscriber.java | 2 +- .../cloud/pubsub/v1/MockSubscriberImpl.java | 2 +- .../v1/SchemaServiceClientHttpJsonTest.java | 2 +- .../pubsub/v1/SchemaServiceClientTest.java | 2 +- .../SubscriptionAdminClientHttpJsonTest.java | 2 +- .../v1/SubscriptionAdminClientTest.java | 2 +- .../v1/TopicAdminClientHttpJsonTest.java | 2 +- .../cloud/pubsub/v1/TopicAdminClientTest.java | 2 +- .../com/google/pubsub/v1/PublisherGrpc.java | 2 +- .../google/pubsub/v1/SchemaServiceGrpc.java | 2 +- .../com/google/pubsub/v1/SubscriberGrpc.java | 2 +- owlbot.py | 5 - .../com/google/pubsub/v1/AIInference.java | 2101 +++++++++++++++++ .../pubsub/v1/AIInferenceOrBuilder.java | 140 ++ .../google/pubsub/v1/AcknowledgeRequest.java | 2 +- .../v1/AcknowledgeRequestOrBuilder.java | 2 +- .../com/google/pubsub/v1/BigQueryConfig.java | 29 +- .../pubsub/v1/BigQueryConfigOrBuilder.java | 2 +- .../google/pubsub/v1/CloudStorageConfig.java | 29 +- .../v1/CloudStorageConfigOrBuilder.java | 2 +- .../google/pubsub/v1/CommitSchemaRequest.java | 2 +- .../v1/CommitSchemaRequestOrBuilder.java | 2 +- .../google/pubsub/v1/CreateSchemaRequest.java | 2 +- .../v1/CreateSchemaRequestOrBuilder.java | 2 +- .../pubsub/v1/CreateSnapshotRequest.java | 94 +- .../v1/CreateSnapshotRequestOrBuilder.java | 32 +- .../com/google/pubsub/v1/CryptoKeyName.java | 2 +- .../google/pubsub/v1/DeadLetterPolicy.java | 2 +- .../pubsub/v1/DeadLetterPolicyOrBuilder.java | 2 +- .../google/pubsub/v1/DeleteSchemaRequest.java | 2 +- .../v1/DeleteSchemaRequestOrBuilder.java | 2 +- .../v1/DeleteSchemaRevisionRequest.java | 2 +- .../DeleteSchemaRevisionRequestOrBuilder.java | 2 +- .../pubsub/v1/DeleteSnapshotRequest.java | 30 +- .../v1/DeleteSnapshotRequestOrBuilder.java | 10 +- .../pubsub/v1/DeleteSubscriptionRequest.java | 30 +- .../DeleteSubscriptionRequestOrBuilder.java | 10 +- .../google/pubsub/v1/DeleteTopicRequest.java | 30 +- .../v1/DeleteTopicRequestOrBuilder.java | 10 +- .../pubsub/v1/DetachSubscriptionRequest.java | 2 +- .../DetachSubscriptionRequestOrBuilder.java | 2 +- .../pubsub/v1/DetachSubscriptionResponse.java | 2 +- .../DetachSubscriptionResponseOrBuilder.java | 2 +- .../java/com/google/pubsub/v1/Encoding.java | 2 +- .../google/pubsub/v1/ExpirationPolicy.java | 2 +- .../pubsub/v1/ExpirationPolicyOrBuilder.java | 2 +- .../google/pubsub/v1/GetSchemaRequest.java | 2 +- .../pubsub/v1/GetSchemaRequestOrBuilder.java | 2 +- .../google/pubsub/v1/GetSnapshotRequest.java | 30 +- .../v1/GetSnapshotRequestOrBuilder.java | 10 +- .../pubsub/v1/GetSubscriptionRequest.java | 30 +- .../v1/GetSubscriptionRequestOrBuilder.java | 10 +- .../com/google/pubsub/v1/GetTopicRequest.java | 30 +- .../pubsub/v1/GetTopicRequestOrBuilder.java | 10 +- .../v1/IngestionDataSourceSettings.java | 2 +- .../IngestionDataSourceSettingsOrBuilder.java | 2 +- .../pubsub/v1/IngestionFailureEvent.java | 2 +- .../v1/IngestionFailureEventOrBuilder.java | 2 +- .../com/google/pubsub/v1/JavaScriptUDF.java | 2 +- .../pubsub/v1/JavaScriptUDFOrBuilder.java | 2 +- .../pubsub/v1/ListSchemaRevisionsRequest.java | 2 +- .../ListSchemaRevisionsRequestOrBuilder.java | 2 +- .../v1/ListSchemaRevisionsResponse.java | 2 +- .../ListSchemaRevisionsResponseOrBuilder.java | 2 +- .../google/pubsub/v1/ListSchemasRequest.java | 2 +- .../v1/ListSchemasRequestOrBuilder.java | 2 +- .../google/pubsub/v1/ListSchemasResponse.java | 2 +- .../v1/ListSchemasResponseOrBuilder.java | 2 +- .../pubsub/v1/ListSnapshotsRequest.java | 30 +- .../v1/ListSnapshotsRequestOrBuilder.java | 10 +- .../pubsub/v1/ListSnapshotsResponse.java | 2 +- .../v1/ListSnapshotsResponseOrBuilder.java | 2 +- .../pubsub/v1/ListSubscriptionsRequest.java | 44 +- .../v1/ListSubscriptionsRequestOrBuilder.java | 14 +- .../pubsub/v1/ListSubscriptionsResponse.java | 2 +- .../ListSubscriptionsResponseOrBuilder.java | 2 +- .../pubsub/v1/ListTopicSnapshotsRequest.java | 2 +- .../ListTopicSnapshotsRequestOrBuilder.java | 2 +- .../pubsub/v1/ListTopicSnapshotsResponse.java | 2 +- .../ListTopicSnapshotsResponseOrBuilder.java | 2 +- .../v1/ListTopicSubscriptionsRequest.java | 2 +- ...istTopicSubscriptionsRequestOrBuilder.java | 2 +- .../v1/ListTopicSubscriptionsResponse.java | 2 +- ...stTopicSubscriptionsResponseOrBuilder.java | 2 +- .../google/pubsub/v1/ListTopicsRequest.java | 30 +- .../pubsub/v1/ListTopicsRequestOrBuilder.java | 10 +- .../google/pubsub/v1/ListTopicsResponse.java | 2 +- .../v1/ListTopicsResponseOrBuilder.java | 2 +- .../pubsub/v1/MessageStoragePolicy.java | 2 +- .../v1/MessageStoragePolicyOrBuilder.java | 2 +- .../google/pubsub/v1/MessageTransform.java | 375 ++- .../pubsub/v1/MessageTransformOrBuilder.java | 50 +- .../pubsub/v1/ModifyAckDeadlineRequest.java | 2 +- .../v1/ModifyAckDeadlineRequestOrBuilder.java | 2 +- .../pubsub/v1/ModifyPushConfigRequest.java | 2 +- .../v1/ModifyPushConfigRequestOrBuilder.java | 2 +- .../pubsub/v1/PlatformLogsSettings.java | 2 +- .../v1/PlatformLogsSettingsOrBuilder.java | 2 +- .../com/google/pubsub/v1/ProjectName.java | 2 +- .../com/google/pubsub/v1/PublishRequest.java | 44 +- .../pubsub/v1/PublishRequestOrBuilder.java | 14 +- .../com/google/pubsub/v1/PublishResponse.java | 2 +- .../pubsub/v1/PublishResponseOrBuilder.java | 2 +- .../com/google/pubsub/v1/PubsubMessage.java | 2 +- .../pubsub/v1/PubsubMessageOrBuilder.java | 2 +- .../com/google/pubsub/v1/PubsubProto.java | 617 ++--- .../com/google/pubsub/v1/PullRequest.java | 10 +- .../pubsub/v1/PullRequestOrBuilder.java | 4 +- .../com/google/pubsub/v1/PullResponse.java | 2 +- .../pubsub/v1/PullResponseOrBuilder.java | 2 +- .../java/com/google/pubsub/v1/PushConfig.java | 2 +- .../google/pubsub/v1/PushConfigOrBuilder.java | 2 +- .../com/google/pubsub/v1/ReceivedMessage.java | 2 +- .../pubsub/v1/ReceivedMessageOrBuilder.java | 2 +- .../com/google/pubsub/v1/RetryPolicy.java | 2 +- .../pubsub/v1/RetryPolicyOrBuilder.java | 2 +- .../pubsub/v1/RollbackSchemaRequest.java | 2 +- .../v1/RollbackSchemaRequestOrBuilder.java | 2 +- .../java/com/google/pubsub/v1/Schema.java | 2 +- .../java/com/google/pubsub/v1/SchemaName.java | 2 +- .../com/google/pubsub/v1/SchemaOrBuilder.java | 2 +- .../com/google/pubsub/v1/SchemaProto.java | 2 +- .../com/google/pubsub/v1/SchemaSettings.java | 2 +- .../pubsub/v1/SchemaSettingsOrBuilder.java | 2 +- .../java/com/google/pubsub/v1/SchemaView.java | 2 +- .../com/google/pubsub/v1/SeekRequest.java | 2 +- .../pubsub/v1/SeekRequestOrBuilder.java | 2 +- .../com/google/pubsub/v1/SeekResponse.java | 2 +- .../pubsub/v1/SeekResponseOrBuilder.java | 2 +- .../java/com/google/pubsub/v1/Snapshot.java | 2 +- .../com/google/pubsub/v1/SnapshotName.java | 2 +- .../google/pubsub/v1/SnapshotOrBuilder.java | 2 +- .../pubsub/v1/StreamingPullRequest.java | 2 +- .../v1/StreamingPullRequestOrBuilder.java | 2 +- .../pubsub/v1/StreamingPullResponse.java | 2 +- .../v1/StreamingPullResponseOrBuilder.java | 2 +- .../com/google/pubsub/v1/Subscription.java | 48 +- .../google/pubsub/v1/SubscriptionName.java | 2 +- .../pubsub/v1/SubscriptionOrBuilder.java | 18 +- .../main/java/com/google/pubsub/v1/Topic.java | 24 +- .../java/com/google/pubsub/v1/TopicName.java | 2 +- .../com/google/pubsub/v1/TopicOrBuilder.java | 12 +- .../pubsub/v1/UpdateSnapshotRequest.java | 2 +- .../v1/UpdateSnapshotRequestOrBuilder.java | 2 +- .../pubsub/v1/UpdateSubscriptionRequest.java | 2 +- .../UpdateSubscriptionRequestOrBuilder.java | 2 +- .../google/pubsub/v1/UpdateTopicRequest.java | 2 +- .../v1/UpdateTopicRequestOrBuilder.java | 2 +- .../pubsub/v1/ValidateMessageRequest.java | 2 +- .../v1/ValidateMessageRequestOrBuilder.java | 2 +- .../pubsub/v1/ValidateMessageResponse.java | 2 +- .../v1/ValidateMessageResponseOrBuilder.java | 2 +- .../pubsub/v1/ValidateSchemaRequest.java | 2 +- .../v1/ValidateSchemaRequestOrBuilder.java | 2 +- .../pubsub/v1/ValidateSchemaResponse.java | 2 +- .../v1/ValidateSchemaResponseOrBuilder.java | 2 +- .../main/proto/google/pubsub/v1/pubsub.proto | 102 +- .../main/proto/google/pubsub/v1/schema.proto | 2 +- 196 files changed, 3816 insertions(+), 870 deletions(-) create mode 100644 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java create mode 100644 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java diff --git a/.github/scripts/update_generation_config.sh b/.github/scripts/update_generation_config.sh index 92efcf881..74d0e6cc4 100644 --- a/.github/scripts/update_generation_config.sh +++ b/.github/scripts/update_generation_config.sh @@ -18,7 +18,17 @@ function get_latest_released_version() { group_id_url_path="$(sed 's|\.|/|g' <<< "${group_id}")" url="https://repo1.maven.org/maven2/${group_id_url_path}/${artifact_id}/maven-metadata.xml" xml_content=$(curl -s --fail "${url}") - latest=$(xmllint --xpath 'metadata/versioning/latest/text()' - <<< "${xml_content}") + + # 1. Extract all version tags + # 2. Strip the XML tags to leave just the version numbers + # 3. Filter for strictly numbers.numbers.numbers (e.g., 2.54.0) + # 4. Sort by version (V) and take the last one (tail -n 1) + latest=$(echo "${xml_content}" \ + | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' \ + | sed -E 's/<[^>]+>//g' \ + | sort -V \ + | tail -n 1) + if [[ -z "${latest}" ]]; then echo "The latest version of ${group_id}:${artifact_id} is empty." echo "The returned json from maven.org is invalid: ${json_content}" diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index 406018c48..623fedf20 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 60c82d4bf..bee69fa91 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index 60982adf5..b742f6ec4 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index 5a62af019..2b368903f 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.72.0') +implementation platform('com.google.cloud:libraries-bom:26.74.0-rc2') implementation 'com.google.cloud:google-cloud-pubsub' ``` @@ -395,29 +395,10 @@ information. Apache 2.0 - See [LICENSE][license] for more information. -## CI Status - -Java Version | Status ------------- | ------ -Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2] -Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3] -Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4] -Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] - Java is a registered trademark of Oracle and/or its affiliates. [product-docs]: https://cloud.google.com/pubsub/docs/ [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history -[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java7.svg -[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java7.html -[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8.svg -[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8.html -[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-osx.svg -[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-osx.html -[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-win.svg -[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java8-win.html -[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.svg -[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg [maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.144.1 diff --git a/generation_config.yaml b/generation_config.yaml index 9e1744dd2..934968111 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.64.2 -googleapis_commitish: b32495a713a68dd0dff90cf0b24021debfca048a -libraries_bom_version: 26.72.0 +gapic_generator_version: 2.65.1 +googleapis_commitish: 615bb9acb1d978c497cf2268450c6e6c3e8be049 +libraries_bom_version: 26.74.0-rc2 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java index 6c0fc95fe..74f1e9f1f 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java index 5482df576..44585d85c 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -103,8 +103,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class SchemaServiceSettings extends ClientSettings { 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 828bbea14..d82b6afa4 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1179,7 +1179,7 @@ public final UnaryCallable createSubscriptionCallabl * } * } * - * @param subscription Required. Identifier. The name of the subscription to get. Format is + * @param subscription Required. 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. Identifier. The name of the subscription to get. Format is + * @param subscription Required. 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. Identifier. The name of the project in which to list subscriptions. - * Format is `projects/{project-id}`. + * @param project Required. 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. Identifier. The name of the project in which to list subscriptions. - * Format is `projects/{project-id}`. + * @param project Required. 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. Identifier. The subscription to delete. Format is + * @param subscription Required. 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. Identifier. The subscription to delete. Format is + * @param subscription Required. 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. Identifier. The name of the snapshot to get. Format is + * @param snapshot Required. 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. Identifier. The name of the snapshot to get. Format is + * @param snapshot Required. 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. Identifier. The name of the project in which to list snapshots. Format - * is `projects/{project-id}`. + * @param project Required. 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. Identifier. The name of the project in which to list snapshots. Format - * is `projects/{project-id}`. + * @param project Required. 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,11 +2975,10 @@ public final UnaryCallable listSnap * } * } * - * @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 + * @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 * `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 @@ -3029,11 +3028,10 @@ public final Snapshot createSnapshot(SnapshotName name, SubscriptionName subscri * } * } * - * @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 + * @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 * `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 @@ -3083,11 +3081,10 @@ public final Snapshot createSnapshot(SnapshotName name, String subscription) { * } * } * - * @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 + * @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 * `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 @@ -3137,11 +3134,10 @@ public final Snapshot createSnapshot(String name, SubscriptionName subscription) * } * } * - * @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 + * @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 * `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 @@ -3514,7 +3510,7 @@ public final UnaryCallable updateSnapshotCallab * } * } * - * @param snapshot Required. Identifier. The name of the snapshot to delete. Format is + * @param snapshot Required. 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 */ @@ -3550,7 +3546,7 @@ public final void deleteSnapshot(SnapshotName snapshot) { * } * } * - * @param snapshot Required. Identifier. The name of the snapshot to delete. Format is + * @param snapshot Required. 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/SubscriptionAdminSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java index ccbf48885..8fe62a63f 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -112,8 +112,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class SubscriptionAdminSettings extends ClientSettings { 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 d5433f8ee..91dfd103e 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -682,8 +682,8 @@ public final UnaryCallable updateTopicCallable() { * } * } * - * @param topic Required. Identifier. The messages in the request will be published on this topic. - * Format is `projects/{project}/topics/{topic}`. + * @param topic Required. 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. Identifier. The messages in the request will be published on this topic. - * Format is `projects/{project}/topics/{topic}`. + * @param topic Required. 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. Identifier. The name of the topic to get. Format is + * @param topic Required. 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. Identifier. The name of the topic to get. Format is + * @param topic Required. 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. Identifier. The name of the project in which to list topics. Format is + * @param project Required. 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. Identifier. The name of the project in which to list topics. Format is + * @param project Required. 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. Identifier. Name of the topic to delete. Format is + * @param topic Required. 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. Identifier. Name of the topic to delete. Format is + * @param topic Required. 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/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java index 927b61b2c..4928dd762 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -104,8 +104,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class TopicAdminSettings extends ClientSettings { diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java index 28c492a15..a85a38b2b 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java index c6ed49480..92adc0c86 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java index df360653c..aca63c6bc 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java index c1cce2d8e..16236bc4b 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java index 592a17bf5..403a90e19 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java index fe083befe..8249a7219 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java index 8c08d2ad3..7669b2cd6 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherCallableFactory.java index 8a3a1c577..f9da3ee7f 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java index fb668a667..09c5f83f8 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceCallableFactory.java index 14136bdc5..b725059aa 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java index 8816b63ad..0b9a729a4 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberCallableFactory.java index 336a8bdef..a719f85ef 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java index 3b6a28ee6..4bb0774b8 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java index 1d8945a23..5c7f9d6a8 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java index 8f039bbe9..f8f9d766a 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -131,8 +131,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class PublisherStubSettings extends StubSettings { diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java index 2bfcab794..a0335a4b1 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java index 8964e9c42..3f728307c 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -122,8 +122,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class SchemaServiceStubSettings extends StubSettings { diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java index 9152cd6a2..115a2f2c8 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java index 0824d628b..e3489bb58 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -130,8 +130,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class SubscriberStubSettings extends StubSettings { diff --git a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json index fb920745f..4aacf99cb 100644 --- a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json +++ b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json @@ -1439,6 +1439,51 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.ListValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.ListValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.NullValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Struct", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Struct$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.Timestamp", "queryAllDeclaredConstructors": true, @@ -1457,6 +1502,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.pubsub.v1.AIInference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.pubsub.v1.AIInference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.pubsub.v1.AIInference$UnstructuredInference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.pubsub.v1.AIInference$UnstructuredInference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.pubsub.v1.AcknowledgeRequest", "queryAllDeclaredConstructors": true, diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java index ee510a051..3c447fc4f 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java index f686ce75c..9b3838e1f 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java index 239ed0369..f992f4bba 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java index e01c205a6..5e9ecad09 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java index 838d5fbc6..e986b7ed5 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java index 71c5edb34..92c412f10 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java index 067dcd861..a0547f660 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java index cd711d2a2..81d0ddef2 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientHttpJsonTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientHttpJsonTest.java index a8fcaedc6..1d15eafde 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientHttpJsonTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java index 7e354bf49..f17ef1366 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java index 860eb95ce..128e6e2f6 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java index 480e7ceaa..552249455 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientHttpJsonTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientHttpJsonTest.java index 44488abc6..70165e3a2 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientHttpJsonTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java index 2ad693de3..5774110a4 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java b/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java index 8ee09f14e..16c28e9cc 100644 --- a/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java +++ b/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublisherGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaServiceGrpc.java b/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaServiceGrpc.java index 59fbec01b..d08c72904 100644 --- a/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaServiceGrpc.java +++ b/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaServiceGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java b/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java index 26003fb0e..8e3a8dc13 100644 --- a/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java +++ b/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/owlbot.py b/owlbot.py index 1ef474bc4..cf50f5e65 100644 --- a/owlbot.py +++ b/owlbot.py @@ -1069,11 +1069,6 @@ r'setMaxInboundMessageSize\(Integer.MAX_VALUE\)', 'setMaxInboundMessageSize(20 << 20)' ) - s.replace( - f"proto-google-cloud-{service}-{version}/src/**/*.java", - java.BAD_LICENSE, - java.GOOD_LICENSE, - ) s.replace( '**/TopicAdminClient.java', diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java new file mode 100644 index 000000000..2bb8e1682 --- /dev/null +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java @@ -0,0 +1,2101 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/pubsub/v1/pubsub.proto + +// Protobuf Java Version: 3.25.8 +package com.google.pubsub.v1; + +/** + * + * + *
+ * Configuration for making inference requests against Vertex AI models.
+ * 
+ * + * Protobuf type {@code google.pubsub.v1.AIInference} + */ +public final class AIInference extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.AIInference) + AIInferenceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use AIInference.newBuilder() to construct. + private AIInference(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AIInference() { + endpoint_ = ""; + serviceAccountEmail_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AIInference(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto.internal_static_google_pubsub_v1_AIInference_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.AIInference.class, com.google.pubsub.v1.AIInference.Builder.class); + } + + public interface UnstructuredInferenceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.pubsub.v1.AIInference.UnstructuredInference) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. A parameters object to be included in each inference request.
+     * The parameters object is combined with the data field of the Pub/Sub
+     * message to form the inference request.
+     * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the parameters field is set. + */ + boolean hasParameters(); + + /** + * + * + *
+     * Optional. A parameters object to be included in each inference request.
+     * The parameters object is combined with the data field of the Pub/Sub
+     * message to form the inference request.
+     * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The parameters. + */ + com.google.protobuf.Struct getParameters(); + + /** + * + * + *
+     * Optional. A parameters object to be included in each inference request.
+     * The parameters object is combined with the data field of the Pub/Sub
+     * message to form the inference request.
+     * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.StructOrBuilder getParametersOrBuilder(); + } + + /** + * + * + *
+   * Configuration for making inferences using arbitrary JSON payloads.
+   * 
+ * + * Protobuf type {@code google.pubsub.v1.AIInference.UnstructuredInference} + */ + public static final class UnstructuredInference extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.AIInference.UnstructuredInference) + UnstructuredInferenceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use UnstructuredInference.newBuilder() to construct. + private UnstructuredInference(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UnstructuredInference() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UnstructuredInference(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_UnstructuredInference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.AIInference.UnstructuredInference.class, + com.google.pubsub.v1.AIInference.UnstructuredInference.Builder.class); + } + + private int bitField0_; + public static final int PARAMETERS_FIELD_NUMBER = 1; + private com.google.protobuf.Struct parameters_; + + /** + * + * + *
+     * Optional. A parameters object to be included in each inference request.
+     * The parameters object is combined with the data field of the Pub/Sub
+     * message to form the inference request.
+     * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the parameters field is set. + */ + @java.lang.Override + public boolean hasParameters() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Optional. A parameters object to be included in each inference request.
+     * The parameters object is combined with the data field of the Pub/Sub
+     * message to form the inference request.
+     * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The parameters. + */ + @java.lang.Override + public com.google.protobuf.Struct getParameters() { + return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_; + } + + /** + * + * + *
+     * Optional. A parameters object to be included in each inference request.
+     * The parameters object is combined with the data field of the Pub/Sub
+     * message to form the inference request.
+     * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { + return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getParameters()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getParameters()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.pubsub.v1.AIInference.UnstructuredInference)) { + return super.equals(obj); + } + com.google.pubsub.v1.AIInference.UnstructuredInference other = + (com.google.pubsub.v1.AIInference.UnstructuredInference) obj; + + if (hasParameters() != other.hasParameters()) return false; + if (hasParameters()) { + if (!getParameters().equals(other.getParameters())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasParameters()) { + hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; + hash = (53 * hash) + getParameters().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.pubsub.v1.AIInference.UnstructuredInference prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Configuration for making inferences using arbitrary JSON payloads.
+     * 
+ * + * Protobuf type {@code google.pubsub.v1.AIInference.UnstructuredInference} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.pubsub.v1.AIInference.UnstructuredInference) + com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_UnstructuredInference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.AIInference.UnstructuredInference.class, + com.google.pubsub.v1.AIInference.UnstructuredInference.Builder.class); + } + + // Construct using com.google.pubsub.v1.AIInference.UnstructuredInference.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getParametersFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parameters_ = null; + if (parametersBuilder_ != null) { + parametersBuilder_.dispose(); + parametersBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor; + } + + @java.lang.Override + public com.google.pubsub.v1.AIInference.UnstructuredInference getDefaultInstanceForType() { + return com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance(); + } + + @java.lang.Override + public com.google.pubsub.v1.AIInference.UnstructuredInference build() { + com.google.pubsub.v1.AIInference.UnstructuredInference result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.pubsub.v1.AIInference.UnstructuredInference buildPartial() { + com.google.pubsub.v1.AIInference.UnstructuredInference result = + new com.google.pubsub.v1.AIInference.UnstructuredInference(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.pubsub.v1.AIInference.UnstructuredInference result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parameters_ = + parametersBuilder_ == null ? parameters_ : parametersBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.pubsub.v1.AIInference.UnstructuredInference) { + return mergeFrom((com.google.pubsub.v1.AIInference.UnstructuredInference) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.pubsub.v1.AIInference.UnstructuredInference other) { + if (other == com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance()) + return this; + if (other.hasParameters()) { + mergeParameters(other.getParameters()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getParametersFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.Struct parameters_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + parametersBuilder_; + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the parameters field is set. + */ + public boolean hasParameters() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The parameters. + */ + public com.google.protobuf.Struct getParameters() { + if (parametersBuilder_ == null) { + return parameters_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : parameters_; + } else { + return parametersBuilder_.getMessage(); + } + } + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setParameters(com.google.protobuf.Struct value) { + if (parametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parameters_ = value; + } else { + parametersBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setParameters(com.google.protobuf.Struct.Builder builderForValue) { + if (parametersBuilder_ == null) { + parameters_ = builderForValue.build(); + } else { + parametersBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeParameters(com.google.protobuf.Struct value) { + if (parametersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && parameters_ != null + && parameters_ != com.google.protobuf.Struct.getDefaultInstance()) { + getParametersBuilder().mergeFrom(value); + } else { + parameters_ = value; + } + } else { + parametersBuilder_.mergeFrom(value); + } + if (parameters_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearParameters() { + bitField0_ = (bitField0_ & ~0x00000001); + parameters_ = null; + if (parametersBuilder_ != null) { + parametersBuilder_.dispose(); + parametersBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Struct.Builder getParametersBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getParametersFieldBuilder().getBuilder(); + } + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { + if (parametersBuilder_ != null) { + return parametersBuilder_.getMessageOrBuilder(); + } else { + return parameters_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : parameters_; + } + } + + /** + * + * + *
+       * Optional. A parameters object to be included in each inference request.
+       * The parameters object is combined with the data field of the Pub/Sub
+       * message to form the inference request.
+       * 
+ * + * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + getParametersFieldBuilder() { + if (parametersBuilder_ == null) { + parametersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getParameters(), getParentForChildren(), isClean()); + parameters_ = null; + } + return parametersBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.pubsub.v1.AIInference.UnstructuredInference) + } + + // @@protoc_insertion_point(class_scope:google.pubsub.v1.AIInference.UnstructuredInference) + private static final com.google.pubsub.v1.AIInference.UnstructuredInference DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.pubsub.v1.AIInference.UnstructuredInference(); + } + + public static com.google.pubsub.v1.AIInference.UnstructuredInference getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnstructuredInference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.pubsub.v1.AIInference.UnstructuredInference getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int inferenceModeCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object inferenceMode_; + + public enum InferenceModeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + UNSTRUCTURED_INFERENCE(2), + INFERENCEMODE_NOT_SET(0); + private final int value; + + private InferenceModeCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static InferenceModeCase valueOf(int value) { + return forNumber(value); + } + + public static InferenceModeCase forNumber(int value) { + switch (value) { + case 2: + return UNSTRUCTURED_INFERENCE; + case 0: + return INFERENCEMODE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public InferenceModeCase getInferenceModeCase() { + return InferenceModeCase.forNumber(inferenceModeCase_); + } + + public static final int ENDPOINT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpoint_ = ""; + + /** + * + * + *
+   * Required. An endpoint to a Vertex AI model of the form
+   * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+   * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+   * Vertex AI API requests will be sent to this endpoint.
+   * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + @java.lang.Override + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. An endpoint to a Vertex AI model of the form
+   * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+   * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+   * Vertex AI API requests will be sent to this endpoint.
+   * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNSTRUCTURED_INFERENCE_FIELD_NUMBER = 2; + + /** + * + * + *
+   * Optional. Requests and responses can be any arbitrary JSON object.
+   * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the unstructuredInference field is set. + */ + @java.lang.Override + public boolean hasUnstructuredInference() { + return inferenceModeCase_ == 2; + } + + /** + * + * + *
+   * Optional. Requests and responses can be any arbitrary JSON object.
+   * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The unstructuredInference. + */ + @java.lang.Override + public com.google.pubsub.v1.AIInference.UnstructuredInference getUnstructuredInference() { + if (inferenceModeCase_ == 2) { + return (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_; + } + return com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance(); + } + + /** + * + * + *
+   * Optional. Requests and responses can be any arbitrary JSON object.
+   * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder + getUnstructuredInferenceOrBuilder() { + if (inferenceModeCase_ == 2) { + return (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_; + } + return com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance(); + } + + public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object serviceAccountEmail_ = ""; + + /** + * + * + *
+   * Optional. The service account to use to make prediction requests against
+   * endpoints. The resource creator or updater that specifies this field must
+   * have `iam.serviceAccounts.actAs` permission on the service account. If not
+   * specified, the Pub/Sub [service
+   * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+   * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+   * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccountEmail. + */ + @java.lang.Override + public java.lang.String getServiceAccountEmail() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccountEmail_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The service account to use to make prediction requests against
+   * endpoints. The resource creator or updater that specifies this field must
+   * have `iam.serviceAccounts.actAs` permission on the service account. If not
+   * specified, the Pub/Sub [service
+   * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+   * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+   * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccountEmail. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, endpoint_); + } + if (inferenceModeCase_ == 2) { + output.writeMessage( + 2, (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAccountEmail_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, endpoint_); + } + if (inferenceModeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceAccountEmail_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.pubsub.v1.AIInference)) { + return super.equals(obj); + } + com.google.pubsub.v1.AIInference other = (com.google.pubsub.v1.AIInference) obj; + + if (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getInferenceModeCase().equals(other.getInferenceModeCase())) return false; + switch (inferenceModeCase_) { + case 2: + if (!getUnstructuredInference().equals(other.getUnstructuredInference())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getEndpoint().hashCode(); + hash = (37 * hash) + SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER; + hash = (53 * hash) + getServiceAccountEmail().hashCode(); + switch (inferenceModeCase_) { + case 2: + hash = (37 * hash) + UNSTRUCTURED_INFERENCE_FIELD_NUMBER; + hash = (53 * hash) + getUnstructuredInference().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.pubsub.v1.AIInference parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.AIInference parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.AIInference parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.AIInference parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.AIInference parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.AIInference parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.AIInference parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.AIInference parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.pubsub.v1.AIInference prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Configuration for making inference requests against Vertex AI models.
+   * 
+ * + * Protobuf type {@code google.pubsub.v1.AIInference} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.pubsub.v1.AIInference) + com.google.pubsub.v1.AIInferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.AIInference.class, + com.google.pubsub.v1.AIInference.Builder.class); + } + + // Construct using com.google.pubsub.v1.AIInference.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + endpoint_ = ""; + if (unstructuredInferenceBuilder_ != null) { + unstructuredInferenceBuilder_.clear(); + } + serviceAccountEmail_ = ""; + inferenceModeCase_ = 0; + inferenceMode_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_AIInference_descriptor; + } + + @java.lang.Override + public com.google.pubsub.v1.AIInference getDefaultInstanceForType() { + return com.google.pubsub.v1.AIInference.getDefaultInstance(); + } + + @java.lang.Override + public com.google.pubsub.v1.AIInference build() { + com.google.pubsub.v1.AIInference result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.pubsub.v1.AIInference buildPartial() { + com.google.pubsub.v1.AIInference result = new com.google.pubsub.v1.AIInference(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.pubsub.v1.AIInference result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.endpoint_ = endpoint_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.serviceAccountEmail_ = serviceAccountEmail_; + } + } + + private void buildPartialOneofs(com.google.pubsub.v1.AIInference result) { + result.inferenceModeCase_ = inferenceModeCase_; + result.inferenceMode_ = this.inferenceMode_; + if (inferenceModeCase_ == 2 && unstructuredInferenceBuilder_ != null) { + result.inferenceMode_ = unstructuredInferenceBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.pubsub.v1.AIInference) { + return mergeFrom((com.google.pubsub.v1.AIInference) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.pubsub.v1.AIInference other) { + if (other == com.google.pubsub.v1.AIInference.getDefaultInstance()) return this; + if (!other.getEndpoint().isEmpty()) { + endpoint_ = other.endpoint_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getServiceAccountEmail().isEmpty()) { + serviceAccountEmail_ = other.serviceAccountEmail_; + bitField0_ |= 0x00000004; + onChanged(); + } + switch (other.getInferenceModeCase()) { + case UNSTRUCTURED_INFERENCE: + { + mergeUnstructuredInference(other.getUnstructuredInference()); + break; + } + case INFERENCEMODE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getUnstructuredInferenceFieldBuilder().getBuilder(), extensionRegistry); + inferenceModeCase_ = 2; + break; + } // case 18 + case 26: + { + serviceAccountEmail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int inferenceModeCase_ = 0; + private java.lang.Object inferenceMode_; + + public InferenceModeCase getInferenceModeCase() { + return InferenceModeCase.forNumber(inferenceModeCase_); + } + + public Builder clearInferenceMode() { + inferenceModeCase_ = 0; + inferenceMode_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private java.lang.Object endpoint_ = ""; + + /** + * + * + *
+     * Required. An endpoint to a Vertex AI model of the form
+     * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+     * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+     * Vertex AI API requests will be sent to this endpoint.
+     * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. An endpoint to a Vertex AI model of the form
+     * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+     * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+     * Vertex AI API requests will be sent to this endpoint.
+     * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. An endpoint to a Vertex AI model of the form
+     * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+     * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+     * Vertex AI API requests will be sent to this endpoint.
+     * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpoint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. An endpoint to a Vertex AI model of the form
+     * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+     * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+     * Vertex AI API requests will be sent to this endpoint.
+     * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearEndpoint() { + endpoint_ = getDefaultInstance().getEndpoint(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. An endpoint to a Vertex AI model of the form
+     * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+     * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+     * Vertex AI API requests will be sent to this endpoint.
+     * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.pubsub.v1.AIInference.UnstructuredInference, + com.google.pubsub.v1.AIInference.UnstructuredInference.Builder, + com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder> + unstructuredInferenceBuilder_; + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the unstructuredInference field is set. + */ + @java.lang.Override + public boolean hasUnstructuredInference() { + return inferenceModeCase_ == 2; + } + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The unstructuredInference. + */ + @java.lang.Override + public com.google.pubsub.v1.AIInference.UnstructuredInference getUnstructuredInference() { + if (unstructuredInferenceBuilder_ == null) { + if (inferenceModeCase_ == 2) { + return (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_; + } + return com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance(); + } else { + if (inferenceModeCase_ == 2) { + return unstructuredInferenceBuilder_.getMessage(); + } + return com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setUnstructuredInference( + com.google.pubsub.v1.AIInference.UnstructuredInference value) { + if (unstructuredInferenceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inferenceMode_ = value; + onChanged(); + } else { + unstructuredInferenceBuilder_.setMessage(value); + } + inferenceModeCase_ = 2; + return this; + } + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setUnstructuredInference( + com.google.pubsub.v1.AIInference.UnstructuredInference.Builder builderForValue) { + if (unstructuredInferenceBuilder_ == null) { + inferenceMode_ = builderForValue.build(); + onChanged(); + } else { + unstructuredInferenceBuilder_.setMessage(builderForValue.build()); + } + inferenceModeCase_ = 2; + return this; + } + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeUnstructuredInference( + com.google.pubsub.v1.AIInference.UnstructuredInference value) { + if (unstructuredInferenceBuilder_ == null) { + if (inferenceModeCase_ == 2 + && inferenceMode_ + != com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance()) { + inferenceMode_ = + com.google.pubsub.v1.AIInference.UnstructuredInference.newBuilder( + (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_) + .mergeFrom(value) + .buildPartial(); + } else { + inferenceMode_ = value; + } + onChanged(); + } else { + if (inferenceModeCase_ == 2) { + unstructuredInferenceBuilder_.mergeFrom(value); + } else { + unstructuredInferenceBuilder_.setMessage(value); + } + } + inferenceModeCase_ = 2; + return this; + } + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearUnstructuredInference() { + if (unstructuredInferenceBuilder_ == null) { + if (inferenceModeCase_ == 2) { + inferenceModeCase_ = 0; + inferenceMode_ = null; + onChanged(); + } + } else { + if (inferenceModeCase_ == 2) { + inferenceModeCase_ = 0; + inferenceMode_ = null; + } + unstructuredInferenceBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.pubsub.v1.AIInference.UnstructuredInference.Builder + getUnstructuredInferenceBuilder() { + return getUnstructuredInferenceFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder + getUnstructuredInferenceOrBuilder() { + if ((inferenceModeCase_ == 2) && (unstructuredInferenceBuilder_ != null)) { + return unstructuredInferenceBuilder_.getMessageOrBuilder(); + } else { + if (inferenceModeCase_ == 2) { + return (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_; + } + return com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. Requests and responses can be any arbitrary JSON object.
+     * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.pubsub.v1.AIInference.UnstructuredInference, + com.google.pubsub.v1.AIInference.UnstructuredInference.Builder, + com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder> + getUnstructuredInferenceFieldBuilder() { + if (unstructuredInferenceBuilder_ == null) { + if (!(inferenceModeCase_ == 2)) { + inferenceMode_ = + com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance(); + } + unstructuredInferenceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.pubsub.v1.AIInference.UnstructuredInference, + com.google.pubsub.v1.AIInference.UnstructuredInference.Builder, + com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder>( + (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_, + getParentForChildren(), + isClean()); + inferenceMode_ = null; + } + inferenceModeCase_ = 2; + onChanged(); + return unstructuredInferenceBuilder_; + } + + private java.lang.Object serviceAccountEmail_ = ""; + + /** + * + * + *
+     * Optional. The service account to use to make prediction requests against
+     * endpoints. The resource creator or updater that specifies this field must
+     * have `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccountEmail. + */ + public java.lang.String getServiceAccountEmail() { + java.lang.Object ref = serviceAccountEmail_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccountEmail_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The service account to use to make prediction requests against
+     * endpoints. The resource creator or updater that specifies this field must
+     * have `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccountEmail. + */ + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The service account to use to make prediction requests against
+     * endpoints. The resource creator or updater that specifies this field must
+     * have `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The serviceAccountEmail to set. + * @return This builder for chaining. + */ + public Builder setServiceAccountEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + serviceAccountEmail_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The service account to use to make prediction requests against
+     * endpoints. The resource creator or updater that specifies this field must
+     * have `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearServiceAccountEmail() { + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The service account to use to make prediction requests against
+     * endpoints. The resource creator or updater that specifies this field must
+     * have `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for serviceAccountEmail to set. + * @return This builder for chaining. + */ + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.pubsub.v1.AIInference) + } + + // @@protoc_insertion_point(class_scope:google.pubsub.v1.AIInference) + private static final com.google.pubsub.v1.AIInference DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.pubsub.v1.AIInference(); + } + + public static com.google.pubsub.v1.AIInference getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AIInference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.pubsub.v1.AIInference getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java new file mode 100644 index 000000000..e153fe0f6 --- /dev/null +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java @@ -0,0 +1,140 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/pubsub/v1/pubsub.proto + +// Protobuf Java Version: 3.25.8 +package com.google.pubsub.v1; + +public interface AIInferenceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.pubsub.v1.AIInference) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. An endpoint to a Vertex AI model of the form
+   * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+   * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+   * Vertex AI API requests will be sent to this endpoint.
+   * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + java.lang.String getEndpoint(); + + /** + * + * + *
+   * Required. An endpoint to a Vertex AI model of the form
+   * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+   * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`.
+   * Vertex AI API requests will be sent to this endpoint.
+   * 
+ * + * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + com.google.protobuf.ByteString getEndpointBytes(); + + /** + * + * + *
+   * Optional. Requests and responses can be any arbitrary JSON object.
+   * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the unstructuredInference field is set. + */ + boolean hasUnstructuredInference(); + + /** + * + * + *
+   * Optional. Requests and responses can be any arbitrary JSON object.
+   * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The unstructuredInference. + */ + com.google.pubsub.v1.AIInference.UnstructuredInference getUnstructuredInference(); + + /** + * + * + *
+   * Optional. Requests and responses can be any arbitrary JSON object.
+   * 
+ * + * + * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder + getUnstructuredInferenceOrBuilder(); + + /** + * + * + *
+   * Optional. The service account to use to make prediction requests against
+   * endpoints. The resource creator or updater that specifies this field must
+   * have `iam.serviceAccounts.actAs` permission on the service account. If not
+   * specified, the Pub/Sub [service
+   * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+   * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+   * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccountEmail. + */ + java.lang.String getServiceAccountEmail(); + + /** + * + * + *
+   * Optional. The service account to use to make prediction requests against
+   * endpoints. The resource creator or updater that specifies this field must
+   * have `iam.serviceAccounts.actAs` permission on the service account. If not
+   * specified, the Pub/Sub [service
+   * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+   * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+   * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccountEmail. + */ + com.google.protobuf.ByteString getServiceAccountEmailBytes(); + + com.google.pubsub.v1.AIInference.InferenceModeCase getInferenceModeCase(); +} diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java index 219fba089..c099a7ebb 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java index db4488150..653d92ff4 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java index 95239f904..97fa9fb33 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -142,6 +142,18 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * IN_TRANSIT_LOCATION_RESTRICTION = 5; */ IN_TRANSIT_LOCATION_RESTRICTION(5), + /** + * + * + *
+     * Cannot write to the BigQuery table because the table is not in the same
+     * location as where Vertex AI models used in `message_transform`s are
+     * deployed.
+     * 
+ * + * VERTEX_AI_LOCATION_RESTRICTION = 6; + */ + VERTEX_AI_LOCATION_RESTRICTION(6), UNRECOGNIZED(-1), ; @@ -217,6 +229,19 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_TRANSIT_LOCATION_RESTRICTION_VALUE = 5; + /** + * + * + *
+     * Cannot write to the BigQuery table because the table is not in the same
+     * location as where Vertex AI models used in `message_transform`s are
+     * deployed.
+     * 
+ * + * VERTEX_AI_LOCATION_RESTRICTION = 6; + */ + public static final int VERTEX_AI_LOCATION_RESTRICTION_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -253,6 +278,8 @@ public static State forNumber(int value) { return SCHEMA_MISMATCH; case 5: return IN_TRANSIT_LOCATION_RESTRICTION; + case 6: + return VERTEX_AI_LOCATION_RESTRICTION; default: return null; } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java index eaa9abaaa..1b2ea3fb4 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java index 3f2ecd9db..ee19860da 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -142,6 +142,18 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * SCHEMA_MISMATCH = 5; */ SCHEMA_MISMATCH(5), + /** + * + * + *
+     * Cannot write to the Cloud Storage bucket because the bucket is not in the
+     * same location as where Vertex AI models used in `message_transform`s are
+     * deployed.
+     * 
+ * + * VERTEX_AI_LOCATION_RESTRICTION = 6; + */ + VERTEX_AI_LOCATION_RESTRICTION(6), UNRECOGNIZED(-1), ; @@ -214,6 +226,19 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEMA_MISMATCH_VALUE = 5; + /** + * + * + *
+     * Cannot write to the Cloud Storage bucket because the bucket is not in the
+     * same location as where Vertex AI models used in `message_transform`s are
+     * deployed.
+     * 
+ * + * VERTEX_AI_LOCATION_RESTRICTION = 6; + */ + public static final int VERTEX_AI_LOCATION_RESTRICTION_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -250,6 +275,8 @@ public static State forNumber(int value) { return IN_TRANSIT_LOCATION_RESTRICTION; case 5: return SCHEMA_MISMATCH; + case 6: + return VERTEX_AI_LOCATION_RESTRICTION; default: return null; } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java index 207a691d7..f977fa4f2 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java index 25d739ae3..1332c756e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java index 47dbb75e3..56989d944 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java index 1f3ad6468..acd8930c8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java index 37e0d388c..ab00cb816 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 b8c5201cd..1154fdf71 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -88,16 +88,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * *
-   * 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
+   * 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 `projects/{project}/snapshots/{snap}`.
    * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The name. @@ -119,16 +119,16 @@ public java.lang.String getName() { * * *
-   * 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
+   * 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 `projects/{project}/snapshots/{snap}`.
    * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for name. @@ -365,6 +365,8 @@ public int getTagsCount() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -394,6 +396,8 @@ public java.util.Map getTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -413,6 +417,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -439,6 +445,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -924,16 +932,16 @@ public Builder mergeFrom( * * *
-     * 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
+     * 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 `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The name. @@ -954,16 +962,16 @@ public java.lang.String getName() { * * *
-     * 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
+     * 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 `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for name. @@ -984,16 +992,16 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * 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
+     * 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 `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The name to set. @@ -1013,16 +1021,16 @@ public Builder setName(java.lang.String value) { * * *
-     * 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
+     * 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 `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -1038,16 +1046,16 @@ public Builder clearName() { * * *
-     * 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
+     * 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 `projects/{project}/snapshots/{snap}`.
      * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The bytes for name to set. @@ -1438,6 +1446,8 @@ public int getTagsCount() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -1467,6 +1477,8 @@ public java.util.Map getTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -1486,6 +1498,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -1512,6 +1526,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -1544,6 +1560,8 @@ public Builder clearTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -1573,6 +1591,8 @@ public java.util.Map getMutableTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -1599,6 +1619,8 @@ public Builder putTags(java.lang.String key, java.lang.String value) { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * 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 0c18c014a..64f44c881 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,16 +28,16 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * 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
+   * 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 `projects/{project}/snapshots/{snap}`.
    * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The name. @@ -48,16 +48,16 @@ public interface CreateSnapshotRequestOrBuilder * * *
-   * 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
+   * 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 `projects/{project}/snapshots/{snap}`.
    * 
* * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... } + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for name. @@ -186,6 +186,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -202,6 +204,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -222,6 +226,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -238,6 +244,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -258,6 +266,8 @@ java.lang.String getTagsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CryptoKeyName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CryptoKeyName.java index 12a4c7312..c2b1411cb 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CryptoKeyName.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CryptoKeyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java index d809e9d6b..1cc3cc2b7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java index 83159d59d..d67fffe5c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java index bd3f5758e..3d7b9763e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java index 6c37bc269..593d0e55f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java index f0e5a1f76..a47dbc26f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java index f3a1d7ea3..c235befb1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 47083fed1..739cf2e31 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The name of the snapshot to delete.
+   * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -100,12 +100,12 @@ public java.lang.String getSnapshot() { * * *
-   * Required. Identifier. The name of the snapshot to delete.
+   * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. @@ -471,12 +471,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The name of the snapshot to delete.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -497,12 +497,12 @@ public java.lang.String getSnapshot() { * * *
-     * Required. Identifier. The name of the snapshot to delete.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. @@ -523,12 +523,12 @@ public com.google.protobuf.ByteString getSnapshotBytes() { * * *
-     * Required. Identifier. The name of the snapshot to delete.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The snapshot to set. @@ -548,12 +548,12 @@ public Builder setSnapshot(java.lang.String value) { * * *
-     * Required. Identifier. The name of the snapshot to delete.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -569,12 +569,12 @@ public Builder clearSnapshot() { * * *
-     * Required. Identifier. The name of the snapshot to delete.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.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 5a4dd6337..590889faf 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface DeleteSnapshotRequestOrBuilder * * *
-   * Required. Identifier. The name of the snapshot to delete.
+   * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -44,12 +44,12 @@ public interface DeleteSnapshotRequestOrBuilder * * *
-   * Required. Identifier. The name of the snapshot to delete.
+   * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.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 961fdf8a6..29349f8ee 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The subscription to delete.
+   * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -100,12 +100,12 @@ public java.lang.String getSubscription() { * * *
-   * Required. Identifier. The subscription to delete.
+   * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. @@ -471,12 +471,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The subscription to delete.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -497,12 +497,12 @@ public java.lang.String getSubscription() { * * *
-     * Required. Identifier. The subscription to delete.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. @@ -523,12 +523,12 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { * * *
-     * Required. Identifier. The subscription to delete.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The subscription to set. @@ -548,12 +548,12 @@ public Builder setSubscription(java.lang.String value) { * * *
-     * Required. Identifier. The subscription to delete.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -569,12 +569,12 @@ public Builder clearSubscription() { * * *
-     * Required. Identifier. The subscription to delete.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.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 5ab0407d2..0e11fa038 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface DeleteSubscriptionRequestOrBuilder * * *
-   * Required. Identifier. The subscription to delete.
+   * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -44,12 +44,12 @@ public interface DeleteSubscriptionRequestOrBuilder * * *
-   * Required. Identifier. The subscription to delete.
+   * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.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 7171ad93c..a6745ae7c 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. Name of the topic to delete.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -100,12 +100,12 @@ public java.lang.String getTopic() { * * *
-   * Required. Identifier. Name of the topic to delete.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -470,12 +470,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. Name of the topic to delete.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -496,12 +496,12 @@ public java.lang.String getTopic() { * * *
-     * Required. Identifier. Name of the topic to delete.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -522,12 +522,12 @@ public com.google.protobuf.ByteString getTopicBytes() { * * *
-     * Required. Identifier. Name of the topic to delete.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The topic to set. @@ -547,12 +547,12 @@ public Builder setTopic(java.lang.String value) { * * *
-     * Required. Identifier. Name of the topic to delete.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -568,12 +568,12 @@ public Builder clearTopic() { * * *
-     * Required. Identifier. Name of the topic to delete.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.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 a13a646fd..15c4f5730 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface DeleteTopicRequestOrBuilder * * *
-   * Required. Identifier. Name of the topic to delete.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -44,12 +44,12 @@ public interface DeleteTopicRequestOrBuilder * * *
-   * Required. Identifier. Name of the topic to delete.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java index 8e3a863ce..917c4e858 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java index 49afe0240..6c11a7fe5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java index 53c87d21d..79c55299c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java index b9e42c7cd..682f9e1cb 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java index 12f4a8105..d69de2a12 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java index 708cc8cec..befa7a2aa 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java index 2ae8cef69..010a45a28 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java index 8888f0179..de72f6621 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java index 5b662fa6c..5080570bb 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 716559f8b..6cffab76d 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The name of the snapshot to get.
+   * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -100,12 +100,12 @@ public java.lang.String getSnapshot() { * * *
-   * Required. Identifier. The name of the snapshot to get.
+   * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. @@ -470,12 +470,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The name of the snapshot to get.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -496,12 +496,12 @@ public java.lang.String getSnapshot() { * * *
-     * Required. Identifier. The name of the snapshot to get.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for snapshot. @@ -522,12 +522,12 @@ public com.google.protobuf.ByteString getSnapshotBytes() { * * *
-     * Required. Identifier. The name of the snapshot to get.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The snapshot to set. @@ -547,12 +547,12 @@ public Builder setSnapshot(java.lang.String value) { * * *
-     * Required. Identifier. The name of the snapshot to get.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -568,12 +568,12 @@ public Builder clearSnapshot() { * * *
-     * Required. Identifier. The name of the snapshot to get.
+     * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.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 343c6867c..4fa0b65b4 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface GetSnapshotRequestOrBuilder * * *
-   * Required. Identifier. The name of the snapshot to get.
+   * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The snapshot. @@ -44,12 +44,12 @@ public interface GetSnapshotRequestOrBuilder * * *
-   * Required. Identifier. The name of the snapshot to get.
+   * Required. 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) = { ... } + * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.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 7b7e00da8..fe7907ec1 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The name of the subscription to get.
+   * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -100,12 +100,12 @@ public java.lang.String getSubscription() { * * *
-   * Required. Identifier. The name of the subscription to get.
+   * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. @@ -471,12 +471,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The name of the subscription to get.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -497,12 +497,12 @@ public java.lang.String getSubscription() { * * *
-     * Required. Identifier. The name of the subscription to get.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for subscription. @@ -523,12 +523,12 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { * * *
-     * Required. Identifier. The name of the subscription to get.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The subscription to set. @@ -548,12 +548,12 @@ public Builder setSubscription(java.lang.String value) { * * *
-     * Required. Identifier. The name of the subscription to get.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -569,12 +569,12 @@ public Builder clearSubscription() { * * *
-     * Required. Identifier. The name of the subscription to get.
+     * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.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 4513defa8..bd902c989 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface GetSubscriptionRequestOrBuilder * * *
-   * Required. Identifier. The name of the subscription to get.
+   * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The subscription. @@ -44,12 +44,12 @@ public interface GetSubscriptionRequestOrBuilder * * *
-   * Required. Identifier. The name of the subscription to get.
+   * Required. 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) = { ... } + * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.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 7d1490c14..99ccbd15b 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,12 +73,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The name of the topic to get.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -100,12 +100,12 @@ public java.lang.String getTopic() { * * *
-   * Required. Identifier. The name of the topic to get.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -468,12 +468,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The name of the topic to get.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -494,12 +494,12 @@ public java.lang.String getTopic() { * * *
-     * Required. Identifier. The name of the topic to get.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -520,12 +520,12 @@ public com.google.protobuf.ByteString getTopicBytes() { * * *
-     * Required. Identifier. The name of the topic to get.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The topic to set. @@ -545,12 +545,12 @@ public Builder setTopic(java.lang.String value) { * * *
-     * Required. Identifier. The name of the topic to get.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -566,12 +566,12 @@ public Builder clearTopic() { * * *
-     * Required. Identifier. The name of the topic to get.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.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 5b6281637..8d6b67130 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface GetTopicRequestOrBuilder * * *
-   * Required. Identifier. The name of the topic to get.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -44,12 +44,12 @@ public interface GetTopicRequestOrBuilder * * *
-   * Required. Identifier. The name of the topic to get.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java index d2c79575f..235ef5a58 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java index 68377e256..31f1058e2 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEvent.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEvent.java index 6f1455a19..2df52b4a8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEvent.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEventOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEventOrBuilder.java index 49390d159..d251ce95c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEventOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEventOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDF.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDF.java index e38b55f09..89247115d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDF.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDF.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDFOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDFOrBuilder.java index c59c0fc1f..7a7ab67c5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDFOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDFOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java index cc48d7020..42838105b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java index 272eff598..c219edbf2 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java index e7cf1c68b..35ad88ea7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java index b899094e8..2cf0fb260 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java index d58779ce2..f6ccfff1b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java index 3a55412f2..90a678059 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java index fbf04d02b..78fd83151 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java index 0ccc17195..8c3fba55a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 869e380db..d56a4a719 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,12 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The name of the project in which to list snapshots.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -101,12 +101,12 @@ public java.lang.String getProject() { * * *
-   * Required. Identifier. The name of the project in which to list snapshots.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -594,12 +594,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The name of the project in which to list snapshots.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -620,12 +620,12 @@ public java.lang.String getProject() { * * *
-     * Required. Identifier. The name of the project in which to list snapshots.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -646,12 +646,12 @@ public com.google.protobuf.ByteString getProjectBytes() { * * *
-     * Required. Identifier. The name of the project in which to list snapshots.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The project to set. @@ -671,12 +671,12 @@ public Builder setProject(java.lang.String value) { * * *
-     * Required. Identifier. The name of the project in which to list snapshots.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -692,12 +692,12 @@ public Builder clearProject() { * * *
-     * Required. Identifier. The name of the project in which to list snapshots.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.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 ee2ba020c..47d596cba 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface ListSnapshotsRequestOrBuilder * * *
-   * Required. Identifier. The name of the project in which to list snapshots.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -44,12 +44,12 @@ public interface ListSnapshotsRequestOrBuilder * * *
-   * Required. Identifier. The name of the project in which to list snapshots.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java index 30b4f8be5..5600f79dc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java index 209c12a8c..9e17810b9 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 2a3705cd7..e9bd5fcc9 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,12 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The name of the project in which to list
-   * subscriptions. Format is `projects/{project-id}`.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -101,12 +101,12 @@ public java.lang.String getProject() { * * *
-   * Required. Identifier. The name of the project in which to list
-   * subscriptions. Format is `projects/{project-id}`.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -594,12 +594,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The name of the project in which to list
-     * subscriptions. Format is `projects/{project-id}`.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -620,12 +620,12 @@ public java.lang.String getProject() { * * *
-     * Required. Identifier. The name of the project in which to list
-     * subscriptions. Format is `projects/{project-id}`.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -646,12 +646,12 @@ public com.google.protobuf.ByteString getProjectBytes() { * * *
-     * Required. Identifier. The name of the project in which to list
-     * subscriptions. Format is `projects/{project-id}`.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The project to set. @@ -671,12 +671,12 @@ public Builder setProject(java.lang.String value) { * * *
-     * Required. Identifier. The name of the project in which to list
-     * subscriptions. Format is `projects/{project-id}`.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -692,12 +692,12 @@ public Builder clearProject() { * * *
-     * Required. Identifier. The name of the project in which to list
-     * subscriptions. Format is `projects/{project-id}`.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.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 d07523d10..61bbb606d 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface ListSubscriptionsRequestOrBuilder * * *
-   * Required. Identifier. The name of the project in which to list
-   * subscriptions. Format is `projects/{project-id}`.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -44,12 +44,12 @@ public interface ListSubscriptionsRequestOrBuilder * * *
-   * Required. Identifier. The name of the project in which to list
-   * subscriptions. Format is `projects/{project-id}`.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java index 27bd5f420..ac7bfb9f2 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java index b28f6c50b..a4db2bf03 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java index ffb408743..e30b2affc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java index 9929a918f..a82f8a690 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java index 387a4ef7e..ba7785807 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java index fd3eca179..cb4cbbc6b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java index 326990d9a..5ee6fbb1e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java index f783267cb..05f476a4b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java index 7c17b9b01..ab32db2f5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java index dcd670427..685626b41 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 873b3f152..75c711d16 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,12 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The name of the project in which to list topics.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -101,12 +101,12 @@ public java.lang.String getProject() { * * *
-   * Required. Identifier. The name of the project in which to list topics.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -593,12 +593,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The name of the project in which to list topics.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -619,12 +619,12 @@ public java.lang.String getProject() { * * *
-     * Required. Identifier. The name of the project in which to list topics.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. @@ -645,12 +645,12 @@ public com.google.protobuf.ByteString getProjectBytes() { * * *
-     * Required. Identifier. The name of the project in which to list topics.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The project to set. @@ -670,12 +670,12 @@ public Builder setProject(java.lang.String value) { * * *
-     * Required. Identifier. The name of the project in which to list topics.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -691,12 +691,12 @@ public Builder clearProject() { * * *
-     * Required. Identifier. The name of the project in which to list topics.
+     * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.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 8b134adc0..cb3a136a1 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface ListTopicsRequestOrBuilder * * *
-   * Required. Identifier. The name of the project in which to list topics.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The project. @@ -44,12 +44,12 @@ public interface ListTopicsRequestOrBuilder * * *
-   * Required. Identifier. The name of the project in which to list topics.
+   * Required. 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) = { ... } + * string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for project. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java index 1a968a78b..2f1fc149c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java index 1cb84179a..7f35ebf29 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java index 03c29b809..5db66167e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java index eaebad923..5bbe0270e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransform.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransform.java index 573d42c33..74f22a393 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransform.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransform.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -72,6 +72,7 @@ public enum TransformCase com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { JAVASCRIPT_UDF(2), + AI_INFERENCE(6), TRANSFORM_NOT_SET(0); private final int value; @@ -93,6 +94,8 @@ public static TransformCase forNumber(int value) { switch (value) { case 2: return JAVASCRIPT_UDF; + case 6: + return AI_INFERENCE; case 0: return TRANSFORM_NOT_SET; default: @@ -172,6 +175,69 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { return com.google.pubsub.v1.JavaScriptUDF.getDefaultInstance(); } + public static final int AI_INFERENCE_FIELD_NUMBER = 6; + + /** + * + * + *
+   * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+   * requests built from the Pub/Sub message data and provided parameters will
+   * be sent to.
+   * 
+ * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the aiInference field is set. + */ + @java.lang.Override + public boolean hasAiInference() { + return transformCase_ == 6; + } + + /** + * + * + *
+   * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+   * requests built from the Pub/Sub message data and provided parameters will
+   * be sent to.
+   * 
+ * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The aiInference. + */ + @java.lang.Override + public com.google.pubsub.v1.AIInference getAiInference() { + if (transformCase_ == 6) { + return (com.google.pubsub.v1.AIInference) transform_; + } + return com.google.pubsub.v1.AIInference.getDefaultInstance(); + } + + /** + * + * + *
+   * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+   * requests built from the Pub/Sub message data and provided parameters will
+   * be sent to.
+   * 
+ * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.pubsub.v1.AIInferenceOrBuilder getAiInferenceOrBuilder() { + if (transformCase_ == 6) { + return (com.google.pubsub.v1.AIInference) transform_; + } + return com.google.pubsub.v1.AIInference.getDefaultInstance(); + } + public static final int ENABLED_FIELD_NUMBER = 3; private boolean enabled_ = false; @@ -186,7 +252,7 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { * bool enabled = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.pubsub.v1.MessageTransform.enabled is deprecated. See - * google/pubsub/v1/pubsub.proto;l=818 + * google/pubsub/v1/pubsub.proto;l=857 * @return The enabled. */ @java.lang.Override @@ -238,6 +304,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disabled_ != false) { output.writeBool(4, disabled_); } + if (transformCase_ == 6) { + output.writeMessage(6, (com.google.pubsub.v1.AIInference) transform_); + } getUnknownFields().writeTo(output); } @@ -258,6 +327,11 @@ public int getSerializedSize() { if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disabled_); } + if (transformCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.pubsub.v1.AIInference) transform_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -280,6 +354,9 @@ public boolean equals(final java.lang.Object obj) { case 2: if (!getJavascriptUdf().equals(other.getJavascriptUdf())) return false; break; + case 6: + if (!getAiInference().equals(other.getAiInference())) return false; + break; case 0: default: } @@ -303,6 +380,10 @@ public int hashCode() { hash = (37 * hash) + JAVASCRIPT_UDF_FIELD_NUMBER; hash = (53 * hash) + getJavascriptUdf().hashCode(); break; + case 6: + hash = (37 * hash) + AI_INFERENCE_FIELD_NUMBER; + hash = (53 * hash) + getAiInference().hashCode(); + break; case 0: default: } @@ -448,6 +529,9 @@ public Builder clear() { if (javascriptUdfBuilder_ != null) { javascriptUdfBuilder_.clear(); } + if (aiInferenceBuilder_ != null) { + aiInferenceBuilder_.clear(); + } enabled_ = false; disabled_ = false; transformCase_ = 0; @@ -489,10 +573,10 @@ public com.google.pubsub.v1.MessageTransform buildPartial() { private void buildPartial0(com.google.pubsub.v1.MessageTransform result) { int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000002) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { result.enabled_ = enabled_; } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.disabled_ = disabled_; } } @@ -503,6 +587,9 @@ private void buildPartialOneofs(com.google.pubsub.v1.MessageTransform result) { if (transformCase_ == 2 && javascriptUdfBuilder_ != null) { result.transform_ = javascriptUdfBuilder_.build(); } + if (transformCase_ == 6 && aiInferenceBuilder_ != null) { + result.transform_ = aiInferenceBuilder_.build(); + } } @java.lang.Override @@ -562,6 +649,11 @@ public Builder mergeFrom(com.google.pubsub.v1.MessageTransform other) { mergeJavascriptUdf(other.getJavascriptUdf()); break; } + case AI_INFERENCE: + { + mergeAiInference(other.getAiInference()); + break; + } case TRANSFORM_NOT_SET: { break; @@ -602,15 +694,21 @@ public Builder mergeFrom( case 24: { enabled_ = input.readBool(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 24 case 32: { disabled_ = input.readBool(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 32 + case 50: + { + input.readMessage(getAiInferenceFieldBuilder().getBuilder(), extensionRegistry); + transformCase_ = 6; + break; + } // case 50 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -886,6 +984,257 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { return javascriptUdfBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.pubsub.v1.AIInference, + com.google.pubsub.v1.AIInference.Builder, + com.google.pubsub.v1.AIInferenceOrBuilder> + aiInferenceBuilder_; + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the aiInference field is set. + */ + @java.lang.Override + public boolean hasAiInference() { + return transformCase_ == 6; + } + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The aiInference. + */ + @java.lang.Override + public com.google.pubsub.v1.AIInference getAiInference() { + if (aiInferenceBuilder_ == null) { + if (transformCase_ == 6) { + return (com.google.pubsub.v1.AIInference) transform_; + } + return com.google.pubsub.v1.AIInference.getDefaultInstance(); + } else { + if (transformCase_ == 6) { + return aiInferenceBuilder_.getMessage(); + } + return com.google.pubsub.v1.AIInference.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setAiInference(com.google.pubsub.v1.AIInference value) { + if (aiInferenceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transform_ = value; + onChanged(); + } else { + aiInferenceBuilder_.setMessage(value); + } + transformCase_ = 6; + return this; + } + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setAiInference(com.google.pubsub.v1.AIInference.Builder builderForValue) { + if (aiInferenceBuilder_ == null) { + transform_ = builderForValue.build(); + onChanged(); + } else { + aiInferenceBuilder_.setMessage(builderForValue.build()); + } + transformCase_ = 6; + return this; + } + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeAiInference(com.google.pubsub.v1.AIInference value) { + if (aiInferenceBuilder_ == null) { + if (transformCase_ == 6 + && transform_ != com.google.pubsub.v1.AIInference.getDefaultInstance()) { + transform_ = + com.google.pubsub.v1.AIInference.newBuilder( + (com.google.pubsub.v1.AIInference) transform_) + .mergeFrom(value) + .buildPartial(); + } else { + transform_ = value; + } + onChanged(); + } else { + if (transformCase_ == 6) { + aiInferenceBuilder_.mergeFrom(value); + } else { + aiInferenceBuilder_.setMessage(value); + } + } + transformCase_ = 6; + return this; + } + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearAiInference() { + if (aiInferenceBuilder_ == null) { + if (transformCase_ == 6) { + transformCase_ = 0; + transform_ = null; + onChanged(); + } + } else { + if (transformCase_ == 6) { + transformCase_ = 0; + transform_ = null; + } + aiInferenceBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.pubsub.v1.AIInference.Builder getAiInferenceBuilder() { + return getAiInferenceFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.pubsub.v1.AIInferenceOrBuilder getAiInferenceOrBuilder() { + if ((transformCase_ == 6) && (aiInferenceBuilder_ != null)) { + return aiInferenceBuilder_.getMessageOrBuilder(); + } else { + if (transformCase_ == 6) { + return (com.google.pubsub.v1.AIInference) transform_; + } + return com.google.pubsub.v1.AIInference.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+     * requests built from the Pub/Sub message data and provided parameters will
+     * be sent to.
+     * 
+ * + * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.pubsub.v1.AIInference, + com.google.pubsub.v1.AIInference.Builder, + com.google.pubsub.v1.AIInferenceOrBuilder> + getAiInferenceFieldBuilder() { + if (aiInferenceBuilder_ == null) { + if (!(transformCase_ == 6)) { + transform_ = com.google.pubsub.v1.AIInference.getDefaultInstance(); + } + aiInferenceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.pubsub.v1.AIInference, + com.google.pubsub.v1.AIInference.Builder, + com.google.pubsub.v1.AIInferenceOrBuilder>( + (com.google.pubsub.v1.AIInference) transform_, getParentForChildren(), isClean()); + transform_ = null; + } + transformCase_ = 6; + onChanged(); + return aiInferenceBuilder_; + } + private boolean enabled_; /** @@ -899,7 +1248,7 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { * bool enabled = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.pubsub.v1.MessageTransform.enabled is deprecated. See - * google/pubsub/v1/pubsub.proto;l=818 + * google/pubsub/v1/pubsub.proto;l=857 * @return The enabled. */ @java.lang.Override @@ -919,7 +1268,7 @@ public boolean getEnabled() { * bool enabled = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.pubsub.v1.MessageTransform.enabled is deprecated. See - * google/pubsub/v1/pubsub.proto;l=818 + * google/pubsub/v1/pubsub.proto;l=857 * @param value The enabled to set. * @return This builder for chaining. */ @@ -927,7 +1276,7 @@ public boolean getEnabled() { public Builder setEnabled(boolean value) { enabled_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -943,12 +1292,12 @@ public Builder setEnabled(boolean value) { * bool enabled = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.pubsub.v1.MessageTransform.enabled is deprecated. See - * google/pubsub/v1/pubsub.proto;l=818 + * google/pubsub/v1/pubsub.proto;l=857 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearEnabled() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); enabled_ = false; onChanged(); return this; @@ -989,7 +1338,7 @@ public boolean getDisabled() { public Builder setDisabled(boolean value) { disabled_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1007,7 +1356,7 @@ public Builder setDisabled(boolean value) { * @return This builder for chaining. */ public Builder clearDisabled() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); disabled_ = false; onChanged(); return this; diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransformOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransformOrBuilder.java index 24c73b06b..85fe71dad 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransformOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransformOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,6 +70,52 @@ public interface MessageTransformOrBuilder */ com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder(); + /** + * + * + *
+   * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+   * requests built from the Pub/Sub message data and provided parameters will
+   * be sent to.
+   * 
+ * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the aiInference field is set. + */ + boolean hasAiInference(); + + /** + * + * + *
+   * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+   * requests built from the Pub/Sub message data and provided parameters will
+   * be sent to.
+   * 
+ * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The aiInference. + */ + com.google.pubsub.v1.AIInference getAiInference(); + + /** + * + * + *
+   * Optional. AI Inference. Specifies the Vertex AI endpoint that inference
+   * requests built from the Pub/Sub message data and provided parameters will
+   * be sent to.
+   * 
+ * + * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.pubsub.v1.AIInferenceOrBuilder getAiInferenceOrBuilder(); + /** * * @@ -81,7 +127,7 @@ public interface MessageTransformOrBuilder * bool enabled = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.pubsub.v1.MessageTransform.enabled is deprecated. See - * google/pubsub/v1/pubsub.proto;l=818 + * google/pubsub/v1/pubsub.proto;l=857 * @return The enabled. */ @java.lang.Deprecated diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java index 36c66e8e9..64f101a14 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java index 28da06bee..184107b00 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java index 300fe08dd..02d5a6095 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java index 55cd8ab49..80ce0456c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java index 6252ee593..fab452ea1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettingsOrBuilder.java index 967517e68..c2165b689 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettingsOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ProjectName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ProjectName.java index 4079c54b5..a4f599b17 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ProjectName.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 6f9f3ecf5..1a90a5f5b 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,12 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Identifier. The messages in the request will be published on this
-   * topic. Format is `projects/{project}/topics/{topic}`.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -101,12 +101,12 @@ public java.lang.String getTopic() { * * *
-   * Required. Identifier. The messages in the request will be published on this
-   * topic. Format is `projects/{project}/topics/{topic}`.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -626,12 +626,12 @@ public Builder mergeFrom( * * *
-     * Required. Identifier. The messages in the request will be published on this
-     * topic. Format is `projects/{project}/topics/{topic}`.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -652,12 +652,12 @@ public java.lang.String getTopic() { * * *
-     * Required. Identifier. The messages in the request will be published on this
-     * topic. Format is `projects/{project}/topics/{topic}`.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. @@ -678,12 +678,12 @@ public com.google.protobuf.ByteString getTopicBytes() { * * *
-     * Required. Identifier. The messages in the request will be published on this
-     * topic. Format is `projects/{project}/topics/{topic}`.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @param value The topic to set. @@ -703,12 +703,12 @@ public Builder setTopic(java.lang.String value) { * * *
-     * Required. Identifier. The messages in the request will be published on this
-     * topic. Format is `projects/{project}/topics/{topic}`.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return This builder for chaining. @@ -724,12 +724,12 @@ public Builder clearTopic() { * * *
-     * Required. Identifier. The messages in the request will be published on this
-     * topic. Format is `projects/{project}/topics/{topic}`.
+     * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.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 c3d8e7a17..21447e8e3 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,12 @@ public interface PublishRequestOrBuilder * * *
-   * Required. Identifier. The messages in the request will be published on this
-   * topic. Format is `projects/{project}/topics/{topic}`.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The topic. @@ -44,12 +44,12 @@ public interface PublishRequestOrBuilder * * *
-   * Required. Identifier. The messages in the request will be published on this
-   * topic. Format is `projects/{project}/topics/{topic}`.
+   * Required. 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) = { ... } + * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * * * @return The bytes for topic. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java index f1a59cbb6..e552f7bdd 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java index 6ae74fb82..18b8bc10f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java index ef9370d9a..198e1349f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java index da2d4b6e3..16fa1601f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 fae7dfbc3..770662845 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -120,6 +120,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_pubsub_v1_JavaScriptUDF_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_pubsub_v1_JavaScriptUDF_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_pubsub_v1_AIInference_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_pubsub_v1_AIInference_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_pubsub_v1_AIInference_UnstructuredInference_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_MessageTransform_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -387,8 +395,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027google/api/client.proto\032\037google/api/fie" + "ld_behavior.proto\032\031google/api/resource.p" + "roto\032\036google/protobuf/duration.proto\032\033google/protobuf/empty.proto\032" - + " google/protobuf/field_mask.proto\032\037google/protobuf/tim" - + "estamp.proto\032\035google/pubsub/v1/schema.proto\"a\n" + + " google/protobuf/field_mask.proto\032\034google/protobuf/str" + + "uct.proto\032\037google/protobuf/timestamp.proto\032\035google/pubsub/v1/schema.proto\"a\n" + "\024MessageStoragePolicy\022(\n" + "\033allowed_persistence_regions\030\001 \003(\tB\003\340A\001\022\037\n" + "\022enforce_in_transit\030\002 \001(\010B\003\340A\001\"\270\001\n" @@ -399,21 +407,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021first_revision_id\030\003 \001(\tB\003\340A\001\022\035\n" + "\020last_revision_id\030\004 \001(\tB\003\340A\001\"\350\027\n" + "\033IngestionDataSourceSettings\022T\n" - + "\013aws_kinesis\030\001 \001(\01328.google.pubsub.v" - + "1.IngestionDataSourceSettings.AwsKinesisB\003\340A\001H\000\022X\n\r" - + "cloud_storage\030\002 \001(\0132:.google." - + "pubsub.v1.IngestionDataSourceSettings.CloudStorageB\003\340A\001H\000\022]\n" - + "\020azure_event_hubs\030\003 " - + "\001(\0132<.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsB\003\340A\001H\000\022L\n" - + "\007aws_msk\030\005" - + " \001(\01324.google.pubsub.v1.IngestionDataSourceSettings.AwsMskB\003\340A\001H\000\022\\\n" - + "\017confluent_cloud\030\006 \001(\0132<.google.pubsub.v1.Inges" - + "tionDataSourceSettings.ConfluentCloudB\003\340A\001H\000\022K\n" - + "\026platform_logs_settings\030\004 \001(\0132&.g" - + "oogle.pubsub.v1.PlatformLogsSettingsB\003\340A\001\032\352\002\n\n" + + "\013aws_kinesis\030\001" + + " \001(\01328.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisB\003\340A\001H\000\022X\n" + + "\r" + + "cloud_storage\030\002 \001(\0132:.google.pubsub.v1." + + "IngestionDataSourceSettings.CloudStorageB\003\340A\001H\000\022]\n" + + "\020azure_event_hubs\030\003 \001(\0132<.goog" + + "le.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsB\003\340A\001H\000\022L\n" + + "\007aws_msk\030\005 \001(\0132" + + "4.google.pubsub.v1.IngestionDataSourceSettings.AwsMskB\003\340A\001H\000\022\\\n" + + "\017confluent_cloud\030\006" + + " \001(\0132<.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloudB\003\340A\001H\000\022K\n" + + "\026platform_logs_settings\030\004" + + " \001(\0132&.google.pubsub.v1.PlatformLogsSettingsB\003\340A\001\032\352\002\n\n" + "AwsKinesis\022R\n" - + "\005state\030\001 \001(\0162>.google" - + ".pubsub.v1.IngestionDataSourceSettings.AwsKinesis.StateB\003\340A\003\022\027\n\n" + + "\005state\030\001 \001(\0162>.google.pubsub.v1" + + ".IngestionDataSourceSettings.AwsKinesis.StateB\003\340A\003\022\027\n\n" + "stream_arn\030\002 \001(\tB\003\340A\002\022\031\n" + "\014consumer_arn\030\003 \001(\tB\003\340A\002\022\031\n" + "\014aws_role_arn\030\004 \001(\tB\003\340A\002\022 \n" @@ -426,15 +435,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020STREAM_NOT_FOUND\020\004\022\026\n" + "\022CONSUMER_NOT_FOUND\020\005\032\225\006\n" + "\014CloudStorage\022T\n" - + "\005state\030\001 \001(\0162@" - + ".google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.StateB\003\340A\003\022\023\n" + + "\005state\030\001 \001(\0162@.google.pu" + + "bsub.v1.IngestionDataSourceSettings.CloudStorage.StateB\003\340A\003\022\023\n" + "\006bucket\030\002 \001(\tB\003\340A\001\022a\n" - + "\013text_format\030\003 \001(\0132E.google" - + ".pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatB\003\340A\001H\000\022a\n" - + "\013avro_format\030\004 \001(\0132E.google.pubsub.v1.IngestionD" - + "ataSourceSettings.CloudStorage.AvroFormatB\003\340A\001H\000\022n\n" - + "\022pubsub_avro_format\030\005 \001(\0132K.google.pubsub.v1.IngestionDataSourceSetti" - + "ngs.CloudStorage.PubSubAvroFormatB\003\340A\001H\000\022C\n" + + "\013text_format\030\003 \001(\0132E.google.pubsub.v1" + + ".IngestionDataSourceSettings.CloudStorage.TextFormatB\003\340A\001H\000\022a\n" + + "\013avro_format\030\004 \001(\0132E.google.pubsub.v1.IngestionDataSourceS" + + "ettings.CloudStorage.AvroFormatB\003\340A\001H\000\022n\n" + + "\022pubsub_avro_format\030\005 \001(\0132K.google.pubs" + + "ub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatB\003\340A\001H\000\022C\n" + "\032minimum_object_create_time\030\006" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\001\022\027\n\n" + "match_glob\030\t \001(\tB\003\340A\001\0327\n\n" @@ -452,8 +461,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020TOO_MANY_OBJECTS\020\005B\016\n" + "\014input_format\032\377\003\n" + "\016AzureEventHubs\022V\n" - + "\005state\030\001 \001(\0162B.googl" - + "e.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.StateB\003\340A\003\022\033\n" + + "\005state\030\001 \001(\0162B.google.pubsub.v" + + "1.IngestionDataSourceSettings.AzureEventHubs.StateB\003\340A\003\022\033\n" + "\016resource_group\030\002 \001(\tB\003\340A\001\022\026\n" + "\tnamespace\030\003 \001(\tB\003\340A\001\022\026\n" + "\tevent_hub\030\004 \001(\tB\003\340A\001\022\026\n" @@ -471,8 +480,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026SUBSCRIPTION_NOT_FOUND\020\006\022\034\n" + "\030RESOURCE_GROUP_NOT_FOUND\020\007\032\366\002\n" + "\006AwsMsk\022N\n" - + "\005state\030\001 \001(\0162:.google.pubsub.v1.In" - + "gestionDataSourceSettings.AwsMsk.StateB\003\340A\003\022\030\n" + + "\005state\030\001" + + " \001(\0162:.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.StateB\003\340A\003\022\030\n" + "\013cluster_arn\030\002 \001(\tB\003\340A\002\0222\n" + "\005topic\030\003 \001(\tB#\340A\002\372A\035\n" + "\033pubsub.googleapis.com/Topic\022\031\n" @@ -486,8 +495,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021CLUSTER_NOT_FOUND\020\004\022\023\n" + "\017TOPIC_NOT_FOUND\020\005\032\266\003\n" + "\016ConfluentCloud\022V\n" - + "\005state\030\001 " - + "\001(\0162B.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.StateB\003\340A\003\022\035\n" + + "\005state\030\001 \001(\0162B.goog" + + "le.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.StateB\003\340A\003\022\035\n" + "\020bootstrap_server\030\002 \001(\tB\003\340A\002\022\027\n\n" + "cluster_id\030\003 \001(\tB\003\340A\002\022\022\n" + "\005topic\030\004 \001(\tB\003\340A\002\022\035\n" @@ -516,16 +525,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + "\033pubsub.googleapis.com/Topic\022\032\n\r" + "error_message\030\002 \001(\tB\003\340A\002\022a\n" - + "\025cloud_storage_failure\030\003 \001(\0132;.google" - + ".pubsub.v1.IngestionFailureEvent.CloudStorageFailureB\003\340A\001H\000\022[\n" - + "\017aws_msk_failure\030\004" - + " \001(\0132;.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReasonB\003\340A\001H\000\022l\n" - + "\030azure_event_hubs_failure\030\005 \001(\0132C.google.pubs" - + "ub.v1.IngestionFailureEvent.AzureEventHubsFailureReasonB\003\340A\001H\000\022k\n" - + "\027confluent_cloud_failure\030\006 \001(\0132C.google.pubsub.v1.Inges" - + "tionFailureEvent.ConfluentCloudFailureReasonB\003\340A\001H\000\022c\n" - + "\023aws_kinesis_failure\030\007 \001(\013" - + "2?.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReasonB\003\340A\001H\000\032\024\n" + + "\025cloud_storage_failure\030\003 \001(\0132;.google.pubsub.v1" + + ".IngestionFailureEvent.CloudStorageFailureB\003\340A\001H\000\022[\n" + + "\017aws_msk_failure\030\004 \001(\0132;.goo" + + "gle.pubsub.v1.IngestionFailureEvent.AwsMskFailureReasonB\003\340A\001H\000\022l\n" + + "\030azure_event_hubs_failure\030\005 \001(\0132C.google.pubsub.v1.Inge" + + "stionFailureEvent.AzureEventHubsFailureReasonB\003\340A\001H\000\022k\n" + + "\027confluent_cloud_failure\030\006 \001(\0132C.google.pubsub.v1.IngestionFailur" + + "eEvent.ConfluentCloudFailureReasonB\003\340A\001H\000\022c\n" + + "\023aws_kinesis_failure\030\007 \001(\0132?.google." + + "pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReasonB\003\340A\001H\000\032\024\n" + "\022ApiViolationReason\032\023\n" + "\021AvroFailureReason\032\027\n" + "\025SchemaViolationReason\032$\n" @@ -534,79 +543,88 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006bucket\030\001 \001(\tB\003\340A\001\022\030\n" + "\013object_name\030\002 \001(\tB\003\340A\001\022\036\n" + "\021object_generation\030\003 \001(\003B\003\340A\001\022]\n" - + "\023avro_failure_reason\030\005 \001(\01329.google." - + "pubsub.v1.IngestionFailureEvent.AvroFailureReasonB\003\340A\001H\000\022_\n" - + "\024api_violation_reason\030\006" - + " \001(\0132:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\003\340A\001H\000\022e\n" - + "\027schema_violation_reason\030\007 \001(\0132=.google.pubs" - + "ub.v1.IngestionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" - + "%message_transformation_failure_reason\030\010 \001(\0132J.google.pubsub" - + ".v1.IngestionFailureEvent.MessageTransformationFailureReasonB\003\340A\001H\000B\010\n" + + "\023avro_failure_reason\030\005 \001(\01329.google.pubsub.v1." + + "IngestionFailureEvent.AvroFailureReasonB\003\340A\001H\000\022_\n" + + "\024api_violation_reason\030\006 \001(\0132:.g" + + "oogle.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\003\340A\001H\000\022e\n" + + "\027schema_violation_reason\030\007 \001(\0132=.google.pubsub.v1.Inge" + + "stionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" + + "%message_transformation_failure_reason\030\010 \001(\0132J.google.pubsub.v1.Ingest" + + "ionFailureEvent.MessageTransformationFailureReasonB\003\340A\001H\000B\010\n" + "\006reason\032\316\003\n" + "\023AwsMskFailureReason\022\030\n" + "\013cluster_arn\030\001 \001(\tB\003\340A\001\022\030\n" + "\013kafka_topic\030\002 \001(\tB\003\340A\001\022\031\n" + "\014partition_id\030\003 \001(\003B\003\340A\001\022\023\n" + "\006offset\030\004 \001(\003B\003\340A\001\022_\n" - + "\024api_violation_reason\030\005 \001(\0132:.google" - + ".pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\003\340A\001H\000\022e\n" - + "\027schema_violation_reason\030\006 \001(\0132=.google.pubsub.v1.Ingestion" - + "FailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" - + "%message_transformation_failure_reason\030\007" - + " \001(\0132J.google.pubsub.v1.IngestionFa" - + "ilureEvent.MessageTransformationFailureReasonB\003\340A\001H\000B\010\n" + + "\024api_violation_reason\030\005 \001(\0132:.google.pubsub.v1" + + ".IngestionFailureEvent.ApiViolationReasonB\003\340A\001H\000\022e\n" + + "\027schema_violation_reason\030\006 \001(" + + "\0132=.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" + + "%message_transformation_failure_reason\030\007 \001(\0132" + + "J.google.pubsub.v1.IngestionFailureEvent" + + ".MessageTransformationFailureReasonB\003\340A\001H\000B\010\n" + "\006reason\032\322\003\n" + "\033AzureEventHubsFailureReason\022\026\n" + "\tnamespace\030\001 \001(\tB\003\340A\001\022\026\n" + "\tevent_hub\030\002 \001(\tB\003\340A\001\022\031\n" + "\014partition_id\030\003 \001(\003B\003\340A\001\022\023\n" + "\006offset\030\004 \001(\003B\003\340A\001\022_\n" - + "\024api_violation_reason\030\005 \001(\0132:.google.pubsub.v1." - + "IngestionFailureEvent.ApiViolationReasonB\003\340A\001H\000\022e\n" - + "\027schema_violation_reason\030\006 \001(\013" - + "2=.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" - + "%message_transformation_failure_reason\030\007 \001(\0132J" - + ".google.pubsub.v1.IngestionFailureEvent." - + "MessageTransformationFailureReasonB\003\340A\001H\000B\010\n" + + "\024api_violation_reason\030\005" + + " \001(\0132:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\003\340A\001H\000\022e\n" + + "\027schema_violation_reason\030\006 \001(\0132=.google." + + "pubsub.v1.IngestionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" + + "%message_transformation_failure_reason\030\007 \001(\0132J.google.pu" + + "bsub.v1.IngestionFailureEvent.MessageTransformationFailureReasonB\003\340A\001H\000B\010\n" + "\006reason\032\325\003\n" + "\033ConfluentCloudFailureReason\022\027\n\n" + "cluster_id\030\001 \001(\tB\003\340A\001\022\030\n" + "\013kafka_topic\030\002 \001(\tB\003\340A\001\022\031\n" + "\014partition_id\030\003 \001(\003B\003\340A\001\022\023\n" + "\006offset\030\004 \001(\003B\003\340A\001\022_\n" - + "\024api_violation_reason\030\005 \001(\0132:.google.pubsub.v1.Ingestio" - + "nFailureEvent.ApiViolationReasonB\003\340A\001H\000\022e\n" - + "\027schema_violation_reason\030\006 \001(\0132=.googl" - + "e.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" - + "%message_transformation_failure_reason\030\007 \001(\0132J.google." - + "pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReasonB\003\340A\001H\000B\010\n" + + "\024api_violation_reason\030\005 \001" + + "(\0132:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\003\340A\001H\000\022e\n" + + "\027schema_violation_reason\030\006 \001(\0132=.google.pubsub.v" + + "1.IngestionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" + + "%message_transformation_failure_reason\030\007 \001(\0132J.google.pubsub.v1." + + "IngestionFailureEvent.MessageTransformationFailureReasonB\003\340A\001H\000B\010\n" + "\006reason\032\301\003\n" + "\027AwsKinesisFailureReason\022\027\n\n" + "stream_arn\030\001 \001(\tB\003\340A\001\022\032\n\r" + "partition_key\030\002 \001(\tB\003\340A\001\022\034\n" + "\017sequence_number\030\003 \001(\tB\003\340A\001\022e\n" - + "\027schema_violation_reason\030\004 \001(\0132=.google.pub" - + "sub.v1.IngestionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" - + "%message_transformation_failure_reason\030\005 \001(\0132J.google.pubsu" - + "b.v1.IngestionFailureEvent.MessageTransformationFailureReasonB\003\340A\001H\000\022_\n" - + "\024api_violation_reason\030\006 \001(\0132:.google.pubsub.v1.In" - + "gestionFailureEvent.ApiViolationReasonB\003\340A\001H\000B\010\n" + + "\027schema_violation_reason\030\004 \001(\0132=.google.pubsub.v1.Ing" + + "estionFailureEvent.SchemaViolationReasonB\003\340A\001H\000\022\200\001\n" + + "%message_transformation_failure_reason\030\005 \001(\0132J.google.pubsub.v1.Inges" + + "tionFailureEvent.MessageTransformationFailureReasonB\003\340A\001H\000\022_\n" + + "\024api_violation_reason\030\006" + + " \001(\0132:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\003\340A\001H\000B\010\n" + "\006reasonB\t\n" + "\007failure\">\n\r" + "JavaScriptUDF\022\032\n\r" + "function_name\030\001 \001(\tB\003\340A\002\022\021\n" - + "\004code\030\002 \001(\tB\003\340A\002\"\216\001\n" + + "\004code\030\002 \001(\tB\003\340A\002\"\201\002\n" + + "\013AIInference\022\025\n" + + "\010endpoint\030\001 \001(\tB\003\340A\002\022Z\n" + + "\026unstructured_inference\030\002 \001(\01323.google" + + ".pubsub.v1.AIInference.UnstructuredInferenceB\003\340A\001H\000\022\"\n" + + "\025service_account_email\030\003 \001(\tB\003\340A\001\032I\n" + + "\025UnstructuredInference\0220\n\n" + + "parameters\030\001 \001(\0132\027.google.protobuf.StructB\003\340A\001B\020\n" + + "\016inference_mode\"\312\001\n" + "\020MessageTransform\022>\n" + "\016javascript_udf\030\002" - + " \001(\0132\037.google.pubsub.v1.JavaScriptUDFB\003\340A\001H\000\022\026\n" + + " \001(\0132\037.google.pubsub.v1.JavaScriptUDFB\003\340A\001H\000\022:\n" + + "\014ai_inference\030\006" + + " \001(\0132\035.google.pubsub.v1.AIInferenceB\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\"\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&." - + "google.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,33 +649,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}/" - + "topics/{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\"H\n" - + "\017GetTopicRequest\0225\n" - + "\005topic\030\001 \001(\tB&\340A\002\340A\010\372A\035\n" + + "\005value\030\002 \001(\t:\0028\001\"E\n" + + "\017GetTopicRequest\0222\n" + + "\005topic\030\001 \001(\tB#\340A\002\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\"\177\n" - + "\016PublishRequest\0225\n" - + "\005topic\030\001 \001(\tB&\340A\002\340A\010\372A\035\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" + "\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\"\215\001\n" - + "\021ListTopicsRequest\022G\n" - + "\007project\030\001 \001(\tB6\340A\002\340A\010\372A-\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" + "+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" @@ -681,9 +699,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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\"K\n" - + "\022DeleteTopicRequest\0225\n" - + "\005topic\030\001 \001(\tB&\340A\002\340A\010\372A\035\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" + "\033pubsub.googleapis.com/Topic\"]\n" + "\031DetachSubscriptionRequest\022@\n" + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" @@ -697,14 +715,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \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$.g" - + "oogle.pubsub.v1.CloudStorageConfigB\003\340A\001\022!\n" + + "\024cloud_storage_config\030\026" + + " \001(\0132$.google.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*.goo" - + "gle.pubsub.v1.Subscription.LabelsEntryB\003\340A\001\022$\n" + + "\006labels\030\t" + + " \003(\0132*.google.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" @@ -719,8 +737,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " 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.Subs" - + "cription.AnalyticsHubSubscriptionInfoB\003\340A\003\022C\n" + + "\037analytics_hub_subscription_info\030\027 \001(\0132;.goo" + + "gle.pubsub.v1.Subscription.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 +757,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/proj" + + "ects/{project}/subscriptions/{subscription}*\r" + "subscriptions2\014subscription\"\177\n" + "\013RetryPolicy\0227\n" + "\017minimum_backoff\030\001" @@ -754,12 +772,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" - + "oidc_token\030\003" - + " \001(\0132&.google.pubsub.v1.PushConfig.OidcTokenB\003\340A\001H\000\022I\n" - + "\016pubsub_wrapper\030\004" - + " \001(\0132*.google.pubsub.v1.PushConfig.PubsubWrapperB\003\340A\001H\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(\013" + + "2&.google.pubsub.v1.PushConfig.OidcTokenB\003\340A\001H\000\022I\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" @@ -772,33 +790,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001B\027\n" + "\025authentication_methodB\t\n" - + "\007wrapper\"\216\003\n" + + "\007wrapper\"\262\003\n" + "\016BigQueryConfig\022\022\n" + "\005table\030\001 \001(\tB\003\340A\001\022\035\n" + "\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&.go" + + "ogle.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" + + "\025service_account_email\030\007 \001(\tB\003\340A\001\"\256\001\n" + "\005State\022\025\n" + "\021STATE_UNSPECIFIED\020\000\022\n\n" + "\006ACTIVE\020\001\022\025\n" + "\021PERMISSION_DENIED\020\002\022\r\n" + "\tNOT_FOUND\020\003\022\023\n" + "\017SCHEMA_MISMATCH\020\004\022#\n" - + "\037IN_TRANSIT_LOCATION_RESTRICTION\020\005\"\351\005\n" + + "\037IN_TRANSIT_LOCATION_RESTRICTION\020\005\022\"\n" + + "\036VERTEX_AI_LOCATION_RESTRICTION\020\006\"\215\006\n" + "\022CloudStorageConfig\022\023\n" + "\006bucket\030\001 \001(\tB\003\340A\002\022\034\n" + "\017filename_prefix\030\002 \001(\tB\003\340A\001\022\034\n" + "\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/.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" + + "\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" + "\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" @@ -809,39 +828,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TextConfig\032H\n\n" + "AvroConfig\022\033\n" + "\016write_metadata\030\001 \001(\010B\003\340A\001\022\035\n" - + "\020use_topic_schema\030\002 \001(\010B\003\340A\001\"\212\001\n" + + "\020use_topic_schema\030\002 \001(\010B\003\340A\001\"\256\001\n" + "\005State\022\025\n" + "\021STATE_UNSPECIFIED\020\000\022\n\n" + "\006ACTIVE\020\001\022\025\n" + "\021PERMISSION_DENIED\020\002\022\r\n" + "\tNOT_FOUND\020\003\022#\n" + "\037IN_TRANSIT_LOCATION_RESTRICTION\020\004\022\023\n" - + "\017SCHEMA_MISMATCH\020\005B\017\n\r" + + "\017SCHEMA_MISMATCH\020\005\022\"\n" + + "\036VERTEX_AI_LOCATION_RESTRICTION\020\006B\017\n\r" + "output_format\"|\n" + "\017ReceivedMessage\022\023\n" + "\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\"]\n" - + "\026GetSubscriptionRequest\022C\n" - + "\014subscription\030\001 \001(\tB-\340A\002\340A\010\372A$\n" + + "\020delivery_attempt\030\003 \001(\005B\003\340A\001\"Z\n" + + "\026GetSubscriptionRequest\022@\n" + + "\014subscription\030\001 \001(\tB*\340A\002\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\"\224\001\n" - + "\030ListSubscriptionsRequest\022G\n" - + "\007project\030\001 \001(\tB6\340A\002\340A\010\372A-\n" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\221\001\n" + + "\030ListSubscriptionsRequest\022D\n" + + "\007project\030\001 \001(\tB3\340A\002\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\022C\n" - + "\014subscription\030\001 \001(\tB-\340A\002\340A\010\372A$\n" + + "\017next_page_token\030\002 \001(\tB\003\340A\001\"]\n" + + "\031DeleteSubscriptionRequest\022@\n" + + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + "\"pubsub.googleapis.com/Subscription\"\223\001\n" + "\027ModifyPushConfigRequest\022@\n" + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" @@ -878,38 +898,38 @@ 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.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" + + "\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." + + "pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationB\003\340A\001\022d\n" + + "\027subscription_properties\030\004 \001(\0132>.google.pubsub.v1.S" + + "treamingPullResponse.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" + "\021unordered_ack_ids\030\003 \003(\tB\003\340A\001\022%\n" - + "\030temporary_failed_ack_ids\030\004 \003(\tB\003\340A\001\032z\n" + + "\030temporary_failed_ack_ids\030\004 \003(\tB\003\340A\001\032", + "z\n" + "\035ModifyAckDeadlineConfirmation\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%\n" + "\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\"\204\003\n" - + "\025CreateSnapshotRequest\0227\n" - + "\004name\030\001 \001(\tB)\340A\002\340A\010\372A \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" + "\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.g", - "oogle.pubsub.v1.CreateSnapshotRequest.LabelsEntryB\003\340A\001\022J\n" + + "\006labels\030\003 \003(\01323.goo" + + "gle.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" @@ -929,20 +949,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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\"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" + + "\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" + "+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\"T\n" - + "\025DeleteSnapshotRequest\022;\n" - + "\010snapshot\030\001 \001(\tB)\340A\002\340A\010\372A \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" + "\036pubsub.googleapis.com/Snapshot\"\306\001\n" + "\013SeekRequest\022@\n" + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" @@ -953,98 +973,95 @@ 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.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" + + "\013CreateTopic\022\027.google.pubsub.v1.Topic\032\027.google.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.UpdateTopicRequest\032\027.google." + + "pubsub.v1.Topic\"C\332A\021topic,update_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.PublishRes" + + "ponse\"C\332A\016topic,messages\202\323\344\223\002,\"\'/v1/{topic=projects/*/topics/*}:publish:\001*\022w\n" + + "\010GetTopic\022!.google.pubsub.v1.GetTopicReques" + + "t\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.ListTopicsRes" + + "ponse\"1\332A\007project\202\323\344\223\002!\022\037/v1/{project=projects/*}/topics\022\272\001\n" + + "\026ListTopicSubscriptions\022/.google.pubsub.v1.ListTopicSubscrip" + + "tionsRequest\0320.google.pubsub.v1.ListTopi" + + "cSubscriptionsResponse\"=\332A\005topic\202\323\344\223\002/\022-" + + "/v1/{topic=projects/*/topics/*}/subscriptions\022\252\001\n" + + "\022ListTopicSnapshots\022+.google.pubsub.v1.ListTopicSnapshotsRequest\032,.goog" + + "le.pubsub.v1.ListTopicSnapshotsResponse\"" + + "9\332A\005topic\202\323\344\223\002+\022)/v1/{topic=projects/*/topics/*}/snapshots\022|\n" + + "\013DeleteTopic\022$.google.pubsub.v1.DeleteTopicRequest\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.DetachSubscri" + + "ptionRequest\032,.google.pubsub.v1.DetachSu" + + "bscriptionResponse\"<\202\323\344\223\0026\"4/v1/{subscri" + + "ption=projects/*/subscriptions/*}:detach" + + "\032p\312A\025pubsub.googleapis.com\322AUhttps://www" + + ".googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub2\322\025\n\n" + "Subscriber\022\264\001\n" - + "\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" + + "\022CreateSubscription\022\036.google.pubsub.v1.Subscription\032\036.google.pubsub" + + ".v1.Subscription\"^\332A+name,topic,push_con" + + "fig,ack_deadline_seconds\202\323\344\223\002*\032%/v1/{name=projects/*/subscriptions/*}:\001*\022\241\001\n" + + "\017GetSubscription\022(.google.pubsub.v1.GetSubsc" + + "riptionRequest\032\036.google.pubsub.v1.Subscr" + + "iption\"D\332A\014subscription\202\323\344\223\002/\022-/v1/{subscription=projects/*/subscriptions/*}\022\273\001\n" + + "\022UpdateSubscription\022+.google.pubsub.v1.U" + + "pdateSubscriptionRequest\032\036.google.pubsub" + + ".v1.Subscription\"X\332A\030subscription,update" + + "_mask\202\323\344\223\002722/v1/{subscription.name=projects/*/subscriptions/*}:\001*\022\246\001\n" + + "\021ListSubscriptions\022*.google.pubsub.v1.ListSubscrip" + + "tionsRequest\032+.google.pubsub.v1.ListSubs" + + "criptionsResponse\"8\332A\007project\202\323\344\223\002(\022&/v1/{project=projects/*}/subscriptions\022\237\001\n" + + "\022DeleteSubscription\022+.google.pubsub.v1.De" + + "leteSubscriptionRequest\032\026.google.protobu" + + "f.Empty\"D\332A\014subscription\202\323\344\223\002/*-/v1/{sub" + + "scription=projects/*/subscriptions/*}\022\317\001\n" + + "\021ModifyAckDeadline\022*.google.pubsub.v1.M" + + "odifyAckDeadlineRequest\032\026.google.protobu" + + "f.Empty\"v\332A)subscription,ack_ids,ack_dea" + + "dline_seconds\202\323\344\223\002D\"?/v1/{subscription=p" + + "rojects/*/subscriptions/*}:modifyAckDeadline:\001*\022\250\001\n" + + "\013Acknowledge\022$.google.pubsub.v1.AcknowledgeRequest\032\026.google.protobuf." + + "Empty\"[\332A\024subscription,ack_ids\202\323\344\223\002>\"9/v" + + "1/{subscription=projects/*/subscriptions/*}:acknowledge:\001*\022\320\001\n" + + "\004Pull\022\035.google.pubsub.v1.PullRequest\032\036.google.pubsub.v1.Pu" + + "llResponse\"\210\001\332A,subscription,return_imme" + + "diately,max_messages\332A\031subscription,max_" + + "messages\202\323\344\223\0027\"2/v1/{subscription=projects/*/subscriptions/*}:pull:\001*\022f\n\r" + + "StreamingPull\022&.google.pubsub.v1.StreamingPullR" + + "equest\032\'.google.pubsub.v1.StreamingPullResponse\"\000(\0010\001\022\273\001\n" + + "\020ModifyPushConfig\022).google.pubsub.v1.ModifyPushConfigRequest\032\026." + + "google.protobuf.Empty\"d\332A\030subscription,p" + + "ush_config\202\323\344\223\002C\">/v1/{subscription=proj" + + "ects/*/subscriptions/*}:modifyPushConfig:\001*\022\211\001\n" + + "\013GetSnapshot\022$.google.pubsub.v1.GetSnapshotRequest\032\032.google.pubsub.v1.Sna" + + "pshot\"8\332A\010snapshot\202\323\344\223\002\'\022%/v1/{snapshot=projects/*/snapshots/*}\022\226\001\n\r" + + "ListSnapshots\022&.google.pubsub.v1.ListSnapshotsReques" + + "t\032\'.google.pubsub.v1.ListSnapshotsRespon" + + "se\"4\332A\007project\202\323\344\223\002$\022\"/v1/{project=projects/*}/snapshots\022\227\001\n" + + "\016CreateSnapshot\022\'.google.pubsub.v1.CreateSnapshotRequest\032\032.g" + + "oogle.pubsub.v1.Snapshot\"@\332A\021name,subscr" + + "iption\202\323\344\223\002&\032!/v1/{name=projects/*/snapshots/*}:\001*\022\243\001\n" + + "\016UpdateSnapshot\022\'.google.pubsub.v1.UpdateSnapshotRequest\032\032.google." + + "pubsub.v1.Snapshot\"L\332A\024snapshot,update_m" + + "ask\202\323\344\223\002/2*/v1/{snapshot.name=projects/*/snapshots/*}:\001*\022\213\001\n" + + "\016DeleteSnapshot\022\'.google.pubsub.v1.DeleteSnapshotRequest\032\026.g" + + "oogle.protobuf.Empty\"8\332A\010snapshot\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.SeekResponse\"=\202\323\344\223\0027\"2" + + "/v1/{subscription=projects/*/subscriptio" + + "ns/*}:seek:\001*\032p\312A\025pubsub.googleapis.com\322" + + "AUhttps://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/a" + + "piv1/pubsubpb;pubsubpb\252\002\026Google.Cloud.Pu" + + "bSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031Google::Cloud::PubSub::V1\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/l" + + "ocations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352A\177\n" + + "#analyticshub.googleapis.com/Listing\022Xprojects/{proje" + + "ct}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1057,6 +1074,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.pubsub.v1.SchemaProto.getDescriptor(), }); @@ -1314,15 +1332,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "FunctionName", "Code", }); - internal_static_google_pubsub_v1_MessageTransform_descriptor = + internal_static_google_pubsub_v1_AIInference_descriptor = getDescriptor().getMessageTypes().get(6); + internal_static_google_pubsub_v1_AIInference_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_pubsub_v1_AIInference_descriptor, + new java.lang.String[] { + "Endpoint", "UnstructuredInference", "ServiceAccountEmail", "InferenceMode", + }); + internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor = + internal_static_google_pubsub_v1_AIInference_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_AIInference_UnstructuredInference_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor, + new java.lang.String[] { + "Parameters", + }); + internal_static_google_pubsub_v1_MessageTransform_descriptor = + getDescriptor().getMessageTypes().get(7); internal_static_google_pubsub_v1_MessageTransform_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_MessageTransform_descriptor, new java.lang.String[] { - "JavascriptUdf", "Enabled", "Disabled", "Transform", + "JavascriptUdf", "AiInference", "Enabled", "Disabled", "Transform", }); - internal_static_google_pubsub_v1_Topic_descriptor = getDescriptor().getMessageTypes().get(7); + internal_static_google_pubsub_v1_Topic_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_google_pubsub_v1_Topic_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_Topic_descriptor, @@ -1356,7 +1390,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_pubsub_v1_PubsubMessage_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(9); internal_static_google_pubsub_v1_PubsubMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_PubsubMessage_descriptor, @@ -1372,7 +1406,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_pubsub_v1_GetTopicRequest_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(10); internal_static_google_pubsub_v1_GetTopicRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_GetTopicRequest_descriptor, @@ -1380,7 +1414,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Topic", }); internal_static_google_pubsub_v1_UpdateTopicRequest_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(11); internal_static_google_pubsub_v1_UpdateTopicRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_UpdateTopicRequest_descriptor, @@ -1388,7 +1422,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Topic", "UpdateMask", }); internal_static_google_pubsub_v1_PublishRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(12); internal_static_google_pubsub_v1_PublishRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_PublishRequest_descriptor, @@ -1396,7 +1430,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Topic", "Messages", }); internal_static_google_pubsub_v1_PublishResponse_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(13); internal_static_google_pubsub_v1_PublishResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_PublishResponse_descriptor, @@ -1404,7 +1438,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MessageIds", }); internal_static_google_pubsub_v1_ListTopicsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(14); internal_static_google_pubsub_v1_ListTopicsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicsRequest_descriptor, @@ -1412,7 +1446,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListTopicsResponse_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(15); internal_static_google_pubsub_v1_ListTopicsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicsResponse_descriptor, @@ -1420,7 +1454,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Topics", "NextPageToken", }); internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(16); internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_descriptor, @@ -1428,7 +1462,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Topic", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(17); internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_descriptor, @@ -1436,7 +1470,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscriptions", "NextPageToken", }); internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(18); internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_descriptor, @@ -1444,7 +1478,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Topic", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(19); internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_descriptor, @@ -1452,7 +1486,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Snapshots", "NextPageToken", }); internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(20); internal_static_google_pubsub_v1_DeleteTopicRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor, @@ -1460,7 +1494,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Topic", }); internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(21); internal_static_google_pubsub_v1_DetachSubscriptionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor, @@ -1468,13 +1502,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", }); internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(22); internal_static_google_pubsub_v1_DetachSubscriptionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_Subscription_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(23); internal_static_google_pubsub_v1_Subscription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_Subscription_descriptor, @@ -1526,7 +1560,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_pubsub_v1_RetryPolicy_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(24); internal_static_google_pubsub_v1_RetryPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_RetryPolicy_descriptor, @@ -1534,7 +1568,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MinimumBackoff", "MaximumBackoff", }); internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(25); internal_static_google_pubsub_v1_DeadLetterPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor, @@ -1542,7 +1576,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeadLetterTopic", "MaxDeliveryAttempts", }); internal_static_google_pubsub_v1_ExpirationPolicy_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(26); internal_static_google_pubsub_v1_ExpirationPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ExpirationPolicy_descriptor, @@ -1550,7 +1584,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Ttl", }); internal_static_google_pubsub_v1_PushConfig_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(27); internal_static_google_pubsub_v1_PushConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_PushConfig_descriptor, @@ -1594,7 +1628,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_pubsub_v1_BigQueryConfig_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(28); internal_static_google_pubsub_v1_BigQueryConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_BigQueryConfig_descriptor, @@ -1608,7 +1642,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceAccountEmail", }); internal_static_google_pubsub_v1_CloudStorageConfig_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(29); internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_CloudStorageConfig_descriptor, @@ -1641,7 +1675,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "WriteMetadata", "UseTopicSchema", }); internal_static_google_pubsub_v1_ReceivedMessage_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(30); internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ReceivedMessage_descriptor, @@ -1649,7 +1683,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AckId", "Message", "DeliveryAttempt", }); internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(31); internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor, @@ -1657,7 +1691,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", }); internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(32); internal_static_google_pubsub_v1_UpdateSubscriptionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor, @@ -1665,7 +1699,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "UpdateMask", }); internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(33); internal_static_google_pubsub_v1_ListSubscriptionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor, @@ -1673,7 +1707,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(34); internal_static_google_pubsub_v1_ListSubscriptionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor, @@ -1681,7 +1715,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscriptions", "NextPageToken", }); internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(35); internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor, @@ -1689,7 +1723,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", }); internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(36); internal_static_google_pubsub_v1_ModifyPushConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor, @@ -1697,7 +1731,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "PushConfig", }); internal_static_google_pubsub_v1_PullRequest_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(37); internal_static_google_pubsub_v1_PullRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_PullRequest_descriptor, @@ -1705,7 +1739,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "ReturnImmediately", "MaxMessages", }); internal_static_google_pubsub_v1_PullResponse_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageTypes().get(38); internal_static_google_pubsub_v1_PullResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_PullResponse_descriptor, @@ -1713,7 +1747,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReceivedMessages", }); internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageTypes().get(39); internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor, @@ -1721,7 +1755,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "AckIds", "AckDeadlineSeconds", }); internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageTypes().get(40); internal_static_google_pubsub_v1_AcknowledgeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor, @@ -1729,7 +1763,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "AckIds", }); internal_static_google_pubsub_v1_StreamingPullRequest_descriptor = - getDescriptor().getMessageTypes().get(40); + getDescriptor().getMessageTypes().get(41); internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullRequest_descriptor, @@ -1745,7 +1779,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProtocolVersion", }); internal_static_google_pubsub_v1_StreamingPullResponse_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageTypes().get(42); internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullResponse_descriptor, @@ -1780,7 +1814,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExactlyOnceDeliveryEnabled", "MessageOrderingEnabled", }); internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(43); internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor, @@ -1804,7 +1838,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(44); internal_static_google_pubsub_v1_UpdateSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor, @@ -1812,7 +1846,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Snapshot", "UpdateMask", }); internal_static_google_pubsub_v1_Snapshot_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(45); internal_static_google_pubsub_v1_Snapshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_Snapshot_descriptor, @@ -1828,7 +1862,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageTypes().get(46); internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor, @@ -1836,7 +1870,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Snapshot", }); internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(47); internal_static_google_pubsub_v1_ListSnapshotsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor, @@ -1844,7 +1878,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor = - getDescriptor().getMessageTypes().get(47); + getDescriptor().getMessageTypes().get(48); internal_static_google_pubsub_v1_ListSnapshotsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor, @@ -1852,7 +1886,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Snapshots", "NextPageToken", }); internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(48); + getDescriptor().getMessageTypes().get(49); internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor, @@ -1860,7 +1894,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Snapshot", }); internal_static_google_pubsub_v1_SeekRequest_descriptor = - getDescriptor().getMessageTypes().get(49); + getDescriptor().getMessageTypes().get(50); internal_static_google_pubsub_v1_SeekRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_SeekRequest_descriptor, @@ -1868,7 +1902,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "Time", "Snapshot", "Target", }); internal_static_google_pubsub_v1_SeekResponse_descriptor = - getDescriptor().getMessageTypes().get(50); + getDescriptor().getMessageTypes().get(51); internal_static_google_pubsub_v1_SeekResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_pubsub_v1_SeekResponse_descriptor, new java.lang.String[] {}); @@ -1891,6 +1925,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.pubsub.v1.SchemaProto.getDescriptor(); } 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 359811a33..aa9f8534e 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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=2052 + * google/pubsub/v1/pubsub.proto;l=2098 * @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=2052 + * google/pubsub/v1/pubsub.proto;l=2098 * @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=2052 + * google/pubsub/v1/pubsub.proto;l=2098 * @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=2052 + * google/pubsub/v1/pubsub.proto;l=2098 * @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 7c00e35b5..4127d54a9 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,7 +73,7 @@ public interface PullRequestOrBuilder *
* * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2052 + * google/pubsub/v1/pubsub.proto;l=2098 * @return The returnImmediately. */ @java.lang.Deprecated diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java index 9c451fad3..b9e013d59 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java index 3cdb5f54b..f5f2b6847 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java index 5a1b2985f..4165a9093 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java index 77f4f69a1..0a6358afc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java index 6d9320a05..f916be13f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java index 75d446b0d..ac4189647 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java index f693b46a0..0f4fa3c7e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java index 1e52a739d..3685bcb54 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java index 23d85bd5f..fa7078f6a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java index 03006247f..c21bfd90a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java index d59728407..863a75fe9 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java index c1199db1a..b3eaa772f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java index 4dd47945e..b6d585d04 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java index 88776c194..c918247f8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java index eed46924c..8dc989fab 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java index 928da4bd3..5b6d7c1cf 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java index d896d5400..aeecfa82f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java index d4c4155bd..20b1493f5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java index a912d7eeb..c2dfb4a4f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java index 804b7792b..62873623c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java index 80a4ce8e8..123ca3392 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java index 4c03d1272..47e2309a9 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotName.java index 824bcd085..a3a234239 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotName.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java index 2d5b3ad62..0b8f450c3 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java index b24d3d922..f052854be 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java index d23cb626e..8f2b3b186 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java index bf36bc06f..83f04a1ab 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java index 516c56f47..480214168 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 b36abdc68..adccb455a 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -2228,7 +2228,7 @@ public com.google.pubsub.v1.Subscription.State getState() { * *
    * Output only. Information about the associated Analytics Hub subscription.
-   * Only set if the subscritpion is created by Analytics Hub.
+   * Only set if the subscription is created by Analytics Hub.
    * 
* * @@ -2247,7 +2247,7 @@ public boolean hasAnalyticsHubSubscriptionInfo() { * *
    * Output only. Information about the associated Analytics Hub subscription.
-   * Only set if the subscritpion is created by Analytics Hub.
+   * Only set if the subscription is created by Analytics Hub.
    * 
* * @@ -2269,7 +2269,7 @@ public boolean hasAnalyticsHubSubscriptionInfo() { * *
    * Output only. Information about the associated Analytics Hub subscription.
-   * Only set if the subscritpion is created by Analytics Hub.
+   * Only set if the subscription is created by Analytics Hub.
    * 
* * @@ -2410,6 +2410,8 @@ public int getTagsCount() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -2439,6 +2441,8 @@ public java.util.Map getTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -2458,6 +2462,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -2484,6 +2490,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -6621,7 +6629,7 @@ public Builder clearState() { * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -6639,7 +6647,7 @@ public boolean hasAnalyticsHubSubscriptionInfo() { * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -6664,7 +6672,7 @@ public boolean hasAnalyticsHubSubscriptionInfo() { * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -6691,7 +6699,7 @@ public Builder setAnalyticsHubSubscriptionInfo( * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -6715,7 +6723,7 @@ public Builder setAnalyticsHubSubscriptionInfo( * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -6749,7 +6757,7 @@ public Builder mergeAnalyticsHubSubscriptionInfo( * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -6772,7 +6780,7 @@ public Builder clearAnalyticsHubSubscriptionInfo() { * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -6791,7 +6799,7 @@ public Builder clearAnalyticsHubSubscriptionInfo() { * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -6814,7 +6822,7 @@ public Builder clearAnalyticsHubSubscriptionInfo() { * *
      * Output only. Information about the associated Analytics Hub subscription.
-     * Only set if the subscritpion is created by Analytics Hub.
+     * Only set if the subscription is created by Analytics Hub.
      * 
* * @@ -7297,6 +7305,8 @@ public int getTagsCount() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -7326,6 +7336,8 @@ public java.util.Map getTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -7345,6 +7357,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -7371,6 +7385,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -7403,6 +7419,8 @@ public Builder clearTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -7432,6 +7450,8 @@ public java.util.Map getMutableTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -7458,6 +7478,8 @@ public Builder putTags(java.lang.String key, java.lang.String value) { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionName.java index 747b856c4..2c12a10dc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionName.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 fb8459de7..371f05913 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -778,7 +778,7 @@ java.lang.String getLabelsOrDefault( * *
    * Output only. Information about the associated Analytics Hub subscription.
-   * Only set if the subscritpion is created by Analytics Hub.
+   * Only set if the subscription is created by Analytics Hub.
    * 
* * @@ -794,7 +794,7 @@ java.lang.String getLabelsOrDefault( * *
    * Output only. Information about the associated Analytics Hub subscription.
-   * Only set if the subscritpion is created by Analytics Hub.
+   * Only set if the subscription is created by Analytics Hub.
    * 
* * @@ -810,7 +810,7 @@ java.lang.String getLabelsOrDefault( * *
    * Output only. Information about the associated Analytics Hub subscription.
-   * Only set if the subscritpion is created by Analytics Hub.
+   * Only set if the subscription is created by Analytics Hub.
    * 
* * @@ -899,6 +899,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -915,6 +917,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -935,6 +939,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -951,6 +957,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -971,6 +979,8 @@ java.lang.String getTagsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * 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 c1e75d4e4..563a2feb5 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -935,6 +935,8 @@ public int getTagsCount() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -964,6 +966,8 @@ public java.util.Map getTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -983,6 +987,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -1009,6 +1015,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -3785,6 +3793,8 @@ public int getTagsCount() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -3814,6 +3824,8 @@ public java.util.Map getTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -3833,6 +3845,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -3859,6 +3873,8 @@ public java.util.Map getTagsMap() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -3891,6 +3907,8 @@ public Builder clearTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -3920,6 +3938,8 @@ public java.util.Map getMutableTags() { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -3946,6 +3966,8 @@ public Builder putTags(java.lang.String key, java.lang.String value) { * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicName.java index aec543431..0a21c87d8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicName.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 60080e167..6ba83cf39 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 @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -492,6 +492,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -508,6 +510,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -528,6 +532,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -544,6 +550,8 @@ java.lang.String getLabelsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * @@ -564,6 +572,8 @@ java.lang.String getTagsOrDefault( * resource. For example: * "123/environment": "production", * "123/costCenter": "marketing" + * See https://docs.cloud.google.com/pubsub/docs/tags for more information on + * using tags with Pub/Sub resources. * * * diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java index d96367623..dff4fc4fe 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java index 03b116d81..1f2dde409 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java index 7dbdcfa97..fca247f19 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java index f03c11261..6a180c218 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java index 85b634b70..f6b0db9d5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java index a0425706b..dc69ff623 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java index 6db4d37c8..0c1d390fe 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java index 65e62e516..cc528d1b8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java index 589f4cdd0..adc83bf94 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java index 9db53fcc8..a86e7459c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java index 99b284110..4bef8e405 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java index c0f8e1e24..3d7e74425 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java index b195c89c8..485f58448 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java index c7aaac7e9..9b0803ac4 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 95dd7f829..9a24bc1d4 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 @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/pubsub/v1/schema.proto"; @@ -805,6 +806,39 @@ message JavaScriptUDF { string code = 2 [(google.api.field_behavior) = REQUIRED]; } +// Configuration for making inference requests against Vertex AI models. +message AIInference { + // Configuration for making inferences using arbitrary JSON payloads. + message UnstructuredInference { + // Optional. A parameters object to be included in each inference request. + // The parameters object is combined with the data field of the Pub/Sub + // message to form the inference request. + google.protobuf.Struct parameters = 1 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Required. An endpoint to a Vertex AI model of the form + // `projects/{project}/locations/{location}/endpoints/{endpoint}` or + // `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. + // Vertex AI API requests will be sent to this endpoint. + string endpoint = 1 [(google.api.field_behavior) = REQUIRED]; + + // The format of inference requests made to the endpoint. + oneof inference_mode { + // Optional. Requests and responses can be any arbitrary JSON object. + UnstructuredInference unstructured_inference = 2 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. The service account to use to make prediction requests against + // endpoints. The resource creator or updater that specifies this field must + // have `iam.serviceAccounts.actAs` permission on the service account. If not + // specified, the Pub/Sub [service + // agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + // service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. + string service_account_email = 3 [(google.api.field_behavior) = OPTIONAL]; +} + // All supported message transforms types. message MessageTransform { // The type of transform to apply to messages. @@ -812,6 +846,11 @@ message MessageTransform { // Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's // are specified on a resource, each must have a unique `function_name`. JavaScriptUDF javascript_udf = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. AI Inference. Specifies the Vertex AI endpoint that inference + // requests built from the Pub/Sub message data and provided parameters will + // be sent to. + AIInference ai_inference = 6 [(google.api.field_behavior) = OPTIONAL]; } // Optional. This field is deprecated, use the `disabled` field to disable @@ -914,6 +953,8 @@ message Topic { // resource. For example: // "123/environment": "production", // "123/costCenter": "marketing" + // See https://docs.cloud.google.com/pubsub/docs/tags for more information on + // using tags with Pub/Sub resources. map tags = 14 [ (google.api.field_behavior) = INPUT_ONLY, (google.api.field_behavior) = IMMUTABLE, @@ -963,11 +1004,10 @@ message PubsubMessage { // Request for the GetTopic method. message GetTopicRequest { - // Required. Identifier. The name of the topic to get. + // Required. 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" } ]; } @@ -988,11 +1028,10 @@ message UpdateTopicRequest { // Request for the Publish method. message PublishRequest { - // Required. Identifier. The messages in the request will be published on this - // topic. Format is `projects/{project}/topics/{topic}`. + // Required. 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" } ]; @@ -1010,11 +1049,10 @@ message PublishResponse { // Request for the `ListTopics` method. message ListTopicsRequest { - // Required. Identifier. The name of the project in which to list topics. + // Required. 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" } @@ -1108,11 +1146,10 @@ message ListTopicSnapshotsResponse { // Request for the `DeleteTopic` method. message DeleteTopicRequest { - // Required. Identifier. Name of the topic to delete. + // Required. 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" } ]; } @@ -1559,7 +1596,7 @@ message Subscription { State state = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Information about the associated Analytics Hub subscription. - // Only set if the subscritpion is created by Analytics Hub. + // Only set if the subscription is created by Analytics Hub. AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1572,6 +1609,8 @@ message Subscription { // resource. For example: // "123/environment": "production", // "123/costCenter": "marketing" + // See https://docs.cloud.google.com/pubsub/docs/tags for more information on + // using tags with Pub/Sub resources. map tags = 26 [ (google.api.field_behavior) = INPUT_ONLY, (google.api.field_behavior) = IMMUTABLE, @@ -1766,6 +1805,11 @@ message BigQueryConfig { // Cannot write to the destination because enforce_in_transit is set to true // and the destination locations are not in the allowed regions. IN_TRANSIT_LOCATION_RESTRICTION = 5; + + // Cannot write to the BigQuery table because the table is not in the same + // location as where Vertex AI models used in `message_transform`s are + // deployed. + VERTEX_AI_LOCATION_RESTRICTION = 6; } // Optional. The name of the table to which to write data, of the form @@ -1854,6 +1898,11 @@ message CloudStorageConfig { // Cannot write to the Cloud Storage bucket due to an incompatibility // between the topic schema and subscription settings. SCHEMA_MISMATCH = 5; + + // Cannot write to the Cloud Storage bucket because the bucket is not in the + // same location as where Vertex AI models used in `message_transform`s are + // deployed. + VERTEX_AI_LOCATION_RESTRICTION = 6; } // Required. User-provided name for the Cloud Storage bucket. @@ -1944,11 +1993,10 @@ message ReceivedMessage { // Request for the GetSubscription method. message GetSubscriptionRequest { - // Required. Identifier. The name of the subscription to get. + // Required. 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" } @@ -1968,11 +2016,10 @@ message UpdateSubscriptionRequest { // Request for the `ListSubscriptions` method. message ListSubscriptionsRequest { - // Required. Identifier. The name of the project in which to list - // subscriptions. Format is `projects/{project-id}`. + // Required. 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" } @@ -2001,11 +2048,10 @@ message ListSubscriptionsResponse { // Request for the DeleteSubscription method. message DeleteSubscriptionRequest { - // Required. Identifier. The subscription to delete. + // Required. 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" } @@ -2273,15 +2319,14 @@ message StreamingPullResponse { // Request for the `CreateSnapshot` method. message CreateSnapshotRequest { - // 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 + // 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 `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" } ]; @@ -2309,6 +2354,8 @@ message CreateSnapshotRequest { // resource. For example: // "123/environment": "production", // "123/costCenter": "marketing" + // See https://docs.cloud.google.com/pubsub/docs/tags for more information on + // using tags with Pub/Sub resources. map tags = 4 [ (google.api.field_behavior) = INPUT_ONLY, (google.api.field_behavior) = IMMUTABLE, @@ -2370,22 +2417,20 @@ message Snapshot { // Request for the GetSnapshot method. message GetSnapshotRequest { - // Required. Identifier. The name of the snapshot to get. + // Required. 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. Identifier. The name of the project in which to list snapshots. + // Required. 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" } @@ -2413,11 +2458,10 @@ message ListSnapshotsResponse { // Request for the `DeleteSnapshot` method. message DeleteSnapshotRequest { - // Required. Identifier. The name of the snapshot to delete. + // Required. 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" } ]; } diff --git a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/schema.proto b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/schema.proto index 37fd2f461..48a6b2aee 100644 --- a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/schema.proto +++ b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/schema.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. From 7cd92308780fe25f113d6152aa0a1f7bd6415b0e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 15 Jan 2026 14:48:16 -0500 Subject: [PATCH 07/62] chore(main): release 1.144.2-SNAPSHOT (#2655) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index cf72faf8f..0aff9d9b5 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.144.1 + 1.144.2-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.144.1 + 1.144.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.1 + 1.126.2-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.1 + 1.126.2-SNAPSHOT
diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 37c48b77b..10a937381 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.144.1 + 1.144.2-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.144.1 + 1.144.2-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 8ab76948c..399b47ace 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.1 + 1.126.2-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.144.1 + 1.144.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index af14ec4a7..b0c3814a3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.144.1 + 1.144.2-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.1 + 1.126.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.1 + 1.126.2-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.144.1 + 1.144.2-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 93bdf6c5a..d6a352de1 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.1 + 1.126.2-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.144.1 + 1.144.2-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 59fdadc95..1cccc85a0 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.144.1 + 1.144.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index c0a0d2f15..f8e3a9b4d 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.144.1:1.144.1 -grpc-google-cloud-pubsub-v1:1.126.1:1.126.1 -proto-google-cloud-pubsub-v1:1.126.1:1.126.1 +google-cloud-pubsub:1.144.1:1.144.2-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.126.1:1.126.2-SNAPSHOT +proto-google-cloud-pubsub-v1:1.126.1:1.126.2-SNAPSHOT From 15d2f9607a5a9159e1d260d4d2d1889e0f847580 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 15 Jan 2026 16:14:33 -0500 Subject: [PATCH 08/62] chore(main): release 1.145.0 (#2661) * chore(main): release 1.145.0 * chore: generate libraries at Thu Jan 15 19:49:21 UTC 2026 --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot --- CHANGELOG.md | 23 +++++++++++++++++++++++ README.md | 6 +++--- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 44 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7019ced0f..34f49328f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [1.145.0](https://github.com/googleapis/java-pubsub/compare/v1.144.1...v1.145.0) (2026-01-15) + + +### Features + +* Add AIInference MessageTransform type ([fe73614](https://github.com/googleapis/java-pubsub/commit/fe73614cdb6c2aca445c46e917c325cbfee3adfd)) + + +### Bug Fixes + +* **deps:** Update the Java code generator (gapic-generator-java) to 2.65.1 ([fe73614](https://github.com/googleapis/java-pubsub/commit/fe73614cdb6c2aca445c46e917c325cbfee3adfd)) + + +### Dependencies + +* Update dependency com.google.cloud:sdk-platform-java-config to v3.55.1 ([#2658](https://github.com/googleapis/java-pubsub/issues/2658)) ([1a11309](https://github.com/googleapis/java-pubsub/commit/1a1130914420b45d628553218a3fa4d477216143)) +* Update googleapis/sdk-platform-java action to v2.65.1 ([#2657](https://github.com/googleapis/java-pubsub/issues/2657)) ([72dd566](https://github.com/googleapis/java-pubsub/commit/72dd5668ab2e71a24bed66c55173ab9ff5093ced)) + + +### Documentation + +* Add tags documentation links to Pub/Sub resource tags fields ([fe73614](https://github.com/googleapis/java-pubsub/commit/fe73614cdb6c2aca445c46e917c325cbfee3adfd)) + ## [1.144.1](https://github.com/googleapis/java-pubsub/compare/v1.144.0...v1.144.1) (2025-12-22) diff --git a/README.md b/README.md index 2b368903f..14a3d50d8 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.144.1' +implementation 'com.google.cloud:google-cloud-pubsub:1.145.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.144.1" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.145.0" ``` ## Authentication @@ -401,7 +401,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.144.1 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.145.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 0aff9d9b5..5e0f5e340 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.144.2-SNAPSHOT + 1.145.0 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.144.2-SNAPSHOT + 1.145.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.2-SNAPSHOT + 1.127.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.2-SNAPSHOT + 1.127.0 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 10a937381..b9a247b5c 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.144.2-SNAPSHOT + 1.145.0 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.144.2-SNAPSHOT + 1.145.0 google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 399b47ace..b5a2c7ad0 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.2-SNAPSHOT + 1.127.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.144.2-SNAPSHOT + 1.145.0 diff --git a/pom.xml b/pom.xml index b0c3814a3..6b474c9d1 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.144.2-SNAPSHOT + 1.145.0 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.2-SNAPSHOT + 1.127.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.126.2-SNAPSHOT + 1.127.0 com.google.cloud google-cloud-pubsub - 1.144.2-SNAPSHOT + 1.145.0 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index d6a352de1..2644a8333 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.126.2-SNAPSHOT + 1.127.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.144.2-SNAPSHOT + 1.145.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 1cccc85a0..70cc80a23 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.144.2-SNAPSHOT + 1.145.0 diff --git a/versions.txt b/versions.txt index f8e3a9b4d..9a8bb9ecb 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.144.1:1.144.2-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.126.1:1.126.2-SNAPSHOT -proto-google-cloud-pubsub-v1:1.126.1:1.126.2-SNAPSHOT +google-cloud-pubsub:1.145.0:1.145.0 +grpc-google-cloud-pubsub-v1:1.127.0:1.127.0 +proto-google-cloud-pubsub-v1:1.127.0:1.127.0 From 6e4c25c7c30cfc6a2c3edce4f69d74425f858a5f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 23 Jan 2026 16:23:19 -0500 Subject: [PATCH 09/62] chore(main): release 1.145.1-SNAPSHOT (#2662) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 5e0f5e340..0c8b33aa4 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.145.0 + 1.145.1-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.145.0 + 1.145.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.127.0 + 1.127.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.127.0 + 1.127.1-SNAPSHOT diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index b9a247b5c..7b005d873 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.145.0 + 1.145.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.145.0 + 1.145.1-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index b5a2c7ad0..365f2268e 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.127.0 + 1.127.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.145.0 + 1.145.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 6b474c9d1..d56a1624a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.145.0 + 1.145.1-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.127.0 + 1.127.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.127.0 + 1.127.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.145.0 + 1.145.1-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 2644a8333..6d0a89adc 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.127.0 + 1.127.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.145.0 + 1.145.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 70cc80a23..d709c0207 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.145.0 + 1.145.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 9a8bb9ecb..8248cbd03 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.145.0:1.145.0 -grpc-google-cloud-pubsub-v1:1.127.0:1.127.0 -proto-google-cloud-pubsub-v1:1.127.0:1.127.0 +google-cloud-pubsub:1.145.0:1.145.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.127.0:1.127.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.127.0:1.127.1-SNAPSHOT From 6d44cf3b94e6fe8603e3d8bb9357643f0315fa4e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 23 Jan 2026 21:47:04 +0000 Subject: [PATCH 10/62] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.56.0 (#2664) --- .github/workflows/unmanaged_dependency_check.yaml | 2 +- google-cloud-pubsub-bom/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index 77d3c5ad2..8dc06537e 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -17,6 +17,6 @@ jobs: # repository .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.55.1 + uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.56.0 with: bom-path: google-cloud-pubsub-bom/pom.xml diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 0c8b33aa4..3bd6ad2c6 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud sdk-platform-java-config - 3.55.1 + 3.56.0 Google Cloud pubsub BOM diff --git a/pom.xml b/pom.xml index d56a1624a..123ae5b9d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud sdk-platform-java-config - 3.55.1 + 3.56.0 From 1f95f3ac56ef371b7eee05aa2d294e0e4ca6ad84 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 23 Jan 2026 22:04:22 +0000 Subject: [PATCH 11/62] deps: update googleapis/sdk-platform-java action to v2.66.0 (#2665) Co-authored-by: Joe Wang <106995533+JoeWang1127@users.noreply.github.com> --- .github/workflows/hermetic_library_generation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 42c112db4..d1a4b69f7 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.65.1 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.66.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} From a7edd5b705557bcf72ca47dc8219677ba8595f8c Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Mon, 26 Jan 2026 11:19:00 -0500 Subject: [PATCH 12/62] chore: Update generation configuration at Mon Jan 26 16:02:26 UTC 2026 (#2668) * chore: Update generation configuration at Mon Jan 26 16:02:26 UTC 2026 * chore: generate libraries at Mon Jan 26 16:02:58 UTC 2026 --- .../workflows/update_generation_config.yaml | 4 +- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- README.md | 2 +- generation_config.yaml | 6 +- .../reflect-config.json | 63 + .../com/google/pubsub/v1/AIInference.java | 226 +-- .../pubsub/v1/AIInferenceOrBuilder.java | 4 +- .../google/pubsub/v1/AcknowledgeRequest.java | 100 +- .../v1/AcknowledgeRequestOrBuilder.java | 4 +- .../com/google/pubsub/v1/BigQueryConfig.java | 118 +- .../pubsub/v1/BigQueryConfigOrBuilder.java | 4 +- .../google/pubsub/v1/CloudStorageConfig.java | 367 ++--- .../v1/CloudStorageConfigOrBuilder.java | 4 +- .../google/pubsub/v1/CommitSchemaRequest.java | 114 +- .../v1/CommitSchemaRequestOrBuilder.java | 4 +- .../google/pubsub/v1/CreateSchemaRequest.java | 122 +- .../v1/CreateSchemaRequestOrBuilder.java | 4 +- .../pubsub/v1/CreateSnapshotRequest.java | 238 ++- .../v1/CreateSnapshotRequestOrBuilder.java | 48 +- .../google/pubsub/v1/DeadLetterPolicy.java | 98 +- .../pubsub/v1/DeadLetterPolicyOrBuilder.java | 4 +- .../google/pubsub/v1/DeleteSchemaRequest.java | 98 +- .../v1/DeleteSchemaRequestOrBuilder.java | 4 +- .../v1/DeleteSchemaRevisionRequest.java | 106 +- .../DeleteSchemaRevisionRequestOrBuilder.java | 4 +- .../pubsub/v1/DeleteSnapshotRequest.java | 98 +- .../v1/DeleteSnapshotRequestOrBuilder.java | 4 +- .../pubsub/v1/DeleteSubscriptionRequest.java | 98 +- .../DeleteSubscriptionRequestOrBuilder.java | 4 +- .../google/pubsub/v1/DeleteTopicRequest.java | 98 +- .../v1/DeleteTopicRequestOrBuilder.java | 4 +- .../pubsub/v1/DetachSubscriptionRequest.java | 98 +- .../DetachSubscriptionRequestOrBuilder.java | 4 +- .../pubsub/v1/DetachSubscriptionResponse.java | 90 +- .../DetachSubscriptionResponseOrBuilder.java | 4 +- .../java/com/google/pubsub/v1/Encoding.java | 16 +- .../google/pubsub/v1/ExpirationPolicy.java | 106 +- .../pubsub/v1/ExpirationPolicyOrBuilder.java | 4 +- .../google/pubsub/v1/GetSchemaRequest.java | 98 +- .../pubsub/v1/GetSchemaRequestOrBuilder.java | 4 +- .../google/pubsub/v1/GetSnapshotRequest.java | 98 +- .../v1/GetSnapshotRequestOrBuilder.java | 4 +- .../pubsub/v1/GetSubscriptionRequest.java | 98 +- .../v1/GetSubscriptionRequestOrBuilder.java | 4 +- .../com/google/pubsub/v1/GetTopicRequest.java | 98 +- .../pubsub/v1/GetTopicRequestOrBuilder.java | 4 +- .../v1/IngestionDataSourceSettings.java | 1215 ++++++---------- .../IngestionDataSourceSettingsOrBuilder.java | 4 +- .../pubsub/v1/IngestionFailureEvent.java | 1273 ++++++----------- .../v1/IngestionFailureEventOrBuilder.java | 4 +- .../com/google/pubsub/v1/JavaScriptUDF.java | 448 +++--- .../pubsub/v1/JavaScriptUDFOrBuilder.java | 104 +- .../pubsub/v1/ListSchemaRevisionsRequest.java | 106 +- .../ListSchemaRevisionsRequestOrBuilder.java | 4 +- .../v1/ListSchemaRevisionsResponse.java | 119 +- .../ListSchemaRevisionsResponseOrBuilder.java | 4 +- .../google/pubsub/v1/ListSchemasRequest.java | 106 +- .../v1/ListSchemasRequestOrBuilder.java | 4 +- .../google/pubsub/v1/ListSchemasResponse.java | 119 +- .../v1/ListSchemasResponseOrBuilder.java | 4 +- .../pubsub/v1/ListSnapshotsRequest.java | 106 +- .../v1/ListSnapshotsRequestOrBuilder.java | 4 +- .../pubsub/v1/ListSnapshotsResponse.java | 118 +- .../v1/ListSnapshotsResponseOrBuilder.java | 4 +- .../pubsub/v1/ListSubscriptionsRequest.java | 106 +- .../v1/ListSubscriptionsRequestOrBuilder.java | 4 +- .../pubsub/v1/ListSubscriptionsResponse.java | 118 +- .../ListSubscriptionsResponseOrBuilder.java | 4 +- .../pubsub/v1/ListTopicSnapshotsRequest.java | 106 +- .../ListTopicSnapshotsRequestOrBuilder.java | 4 +- .../pubsub/v1/ListTopicSnapshotsResponse.java | 100 +- .../ListTopicSnapshotsResponseOrBuilder.java | 4 +- .../v1/ListTopicSubscriptionsRequest.java | 106 +- ...istTopicSubscriptionsRequestOrBuilder.java | 4 +- .../v1/ListTopicSubscriptionsResponse.java | 101 +- ...stTopicSubscriptionsResponseOrBuilder.java | 4 +- .../google/pubsub/v1/ListTopicsRequest.java | 106 +- .../pubsub/v1/ListTopicsRequestOrBuilder.java | 4 +- .../google/pubsub/v1/ListTopicsResponse.java | 119 +- .../v1/ListTopicsResponseOrBuilder.java | 4 +- .../pubsub/v1/MessageStoragePolicy.java | 92 +- .../v1/MessageStoragePolicyOrBuilder.java | 4 +- .../google/pubsub/v1/MessageTransform.java | 116 +- .../pubsub/v1/MessageTransformOrBuilder.java | 4 +- .../pubsub/v1/ModifyAckDeadlineRequest.java | 100 +- .../v1/ModifyAckDeadlineRequestOrBuilder.java | 4 +- .../pubsub/v1/ModifyPushConfigRequest.java | 115 +- .../v1/ModifyPushConfigRequestOrBuilder.java | 4 +- .../pubsub/v1/PlatformLogsSettings.java | 102 +- .../v1/PlatformLogsSettingsOrBuilder.java | 4 +- .../com/google/pubsub/v1/PublishRequest.java | 118 +- .../pubsub/v1/PublishRequestOrBuilder.java | 4 +- .../com/google/pubsub/v1/PublishResponse.java | 92 +- .../pubsub/v1/PublishResponseOrBuilder.java | 4 +- .../com/google/pubsub/v1/PubsubMessage.java | 127 +- .../pubsub/v1/PubsubMessageOrBuilder.java | 4 +- .../com/google/pubsub/v1/PubsubProto.java | 592 ++++---- .../com/google/pubsub/v1/PullRequest.java | 98 +- .../pubsub/v1/PullRequestOrBuilder.java | 4 +- .../com/google/pubsub/v1/PullResponse.java | 110 +- .../pubsub/v1/PullResponseOrBuilder.java | 4 +- .../java/com/google/pubsub/v1/PushConfig.java | 428 ++---- .../google/pubsub/v1/PushConfigOrBuilder.java | 4 +- .../com/google/pubsub/v1/ReceivedMessage.java | 114 +- .../pubsub/v1/ReceivedMessageOrBuilder.java | 4 +- .../com/google/pubsub/v1/RetryPolicy.java | 122 +- .../pubsub/v1/RetryPolicyOrBuilder.java | 4 +- .../pubsub/v1/RollbackSchemaRequest.java | 120 +- .../v1/RollbackSchemaRequestOrBuilder.java | 8 +- .../java/com/google/pubsub/v1/Schema.java | 142 +- .../com/google/pubsub/v1/SchemaOrBuilder.java | 4 +- .../com/google/pubsub/v1/SchemaProto.java | 119 +- .../com/google/pubsub/v1/SchemaSettings.java | 114 +- .../pubsub/v1/SchemaSettingsOrBuilder.java | 4 +- .../java/com/google/pubsub/v1/SchemaView.java | 16 +- .../com/google/pubsub/v1/SeekRequest.java | 114 +- .../pubsub/v1/SeekRequestOrBuilder.java | 4 +- .../com/google/pubsub/v1/SeekResponse.java | 90 +- .../pubsub/v1/SeekResponseOrBuilder.java | 4 +- .../java/com/google/pubsub/v1/Snapshot.java | 125 +- .../google/pubsub/v1/SnapshotOrBuilder.java | 4 +- .../pubsub/v1/StreamingPullRequest.java | 111 +- .../v1/StreamingPullRequestOrBuilder.java | 4 +- .../pubsub/v1/StreamingPullResponse.java | 447 ++---- .../v1/StreamingPullResponseOrBuilder.java | 4 +- .../com/google/pubsub/v1/Subscription.java | 438 +++--- .../pubsub/v1/SubscriptionOrBuilder.java | 24 +- .../main/java/com/google/pubsub/v1/Topic.java | 249 ++-- .../com/google/pubsub/v1/TopicOrBuilder.java | 24 +- .../pubsub/v1/UpdateSnapshotRequest.java | 122 +- .../v1/UpdateSnapshotRequestOrBuilder.java | 4 +- .../pubsub/v1/UpdateSubscriptionRequest.java | 122 +- .../UpdateSubscriptionRequestOrBuilder.java | 4 +- .../google/pubsub/v1/UpdateTopicRequest.java | 121 +- .../v1/UpdateTopicRequestOrBuilder.java | 4 +- .../pubsub/v1/ValidateMessageRequest.java | 116 +- .../v1/ValidateMessageRequestOrBuilder.java | 4 +- .../pubsub/v1/ValidateMessageResponse.java | 90 +- .../v1/ValidateMessageResponseOrBuilder.java | 4 +- .../pubsub/v1/ValidateSchemaRequest.java | 114 +- .../v1/ValidateSchemaRequestOrBuilder.java | 4 +- .../pubsub/v1/ValidateSchemaResponse.java | 90 +- .../v1/ValidateSchemaResponseOrBuilder.java | 4 +- 145 files changed, 4697 insertions(+), 8081 deletions(-) diff --git a/.github/workflows/update_generation_config.yaml b/.github/workflows/update_generation_config.yaml index a7e14bb48..8de9d67ea 100644 --- a/.github/workflows/update_generation_config.yaml +++ b/.github/workflows/update_generation_config.yaml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} - name: Install Dependencies shell: bash run: sudo apt-get update && sudo apt-get install -y libxml2-utils @@ -43,5 +43,5 @@ jobs: --base_branch "${base_branch}" \ --repo ${{ github.repository }} env: - GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index 623fedf20..af4115f37 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index bee69fa91..33056bc06 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index b742f6ec4..8a6c25f49 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index 14a3d50d8..2a08eefb5 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.74.0-rc2') +implementation platform('com.google.cloud:libraries-bom:26.74.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` diff --git a/generation_config.yaml b/generation_config.yaml index 934968111..31ade0ccf 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.65.1 -googleapis_commitish: 615bb9acb1d978c497cf2268450c6e6c3e8be049 -libraries_bom_version: 26.74.0-rc2 +gapic_generator_version: 2.66.0 +googleapis_commitish: 2ac88973cbafba24e4fb6f31038e0c76174ae704 +libraries_bom_version: 26.74.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub diff --git a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json index 4aacf99cb..885e01e89 100644 --- a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json +++ b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json @@ -872,6 +872,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnforceNamingStyle", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", "queryAllDeclaredConstructors": true, @@ -926,6 +935,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$DefaultSymbolVisibility", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", "queryAllDeclaredConstructors": true, @@ -1043,6 +1079,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", "queryAllDeclaredConstructors": true, @@ -1349,6 +1403,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$SymbolVisibility", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", "queryAllDeclaredConstructors": true, diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java index 2bb8e1682..82440715a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.AIInference} */ -public final class AIInference extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class AIInference extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.AIInference) AIInferenceOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AIInference"); + } + // Use AIInference.newBuilder() to construct. - private AIInference(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AIInference(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +56,12 @@ private AIInference() { serviceAccountEmail_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AIInference(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto.internal_static_google_pubsub_v1_AIInference_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_AIInference_fieldAccessorTable @@ -124,32 +130,36 @@ public interface UnstructuredInferenceOrBuilder * * Protobuf type {@code google.pubsub.v1.AIInference.UnstructuredInference} */ - public static final class UnstructuredInference extends com.google.protobuf.GeneratedMessageV3 + public static final class UnstructuredInference extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.AIInference.UnstructuredInference) UnstructuredInferenceOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "UnstructuredInference"); + } + // Use UnstructuredInference.newBuilder() to construct. - private UnstructuredInference(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UnstructuredInference(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private UnstructuredInference() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UnstructuredInference(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_AIInference_UnstructuredInference_fieldAccessorTable @@ -323,38 +333,38 @@ public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.AIInference.UnstructuredInference parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.AIInference.UnstructuredInference parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.AIInference.UnstructuredInference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -378,8 +388,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -393,8 +402,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.AIInference.UnstructuredInference} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.AIInference.UnstructuredInference) com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder { @@ -404,7 +412,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_AIInference_UnstructuredInference_fieldAccessorTable @@ -418,14 +426,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getParametersFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetParametersFieldBuilder(); } } @@ -483,41 +491,6 @@ private void buildPartial0(com.google.pubsub.v1.AIInference.UnstructuredInferenc result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.AIInference.UnstructuredInference) { @@ -562,7 +535,8 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getParametersFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetParametersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 @@ -586,7 +560,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Struct parameters_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -752,7 +726,7 @@ public Builder clearParameters() { public com.google.protobuf.Struct.Builder getParametersBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getParametersFieldBuilder().getBuilder(); + return internalGetParametersFieldBuilder().getBuilder(); } /** @@ -789,14 +763,14 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * .google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getParametersFieldBuilder() { + internalGetParametersFieldBuilder() { if (parametersBuilder_ == null) { parametersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -806,18 +780,6 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { return parametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.AIInference.UnstructuredInference) } @@ -1114,15 +1076,15 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, endpoint_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, endpoint_); } if (inferenceModeCase_ == 2) { output.writeMessage( 2, (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAccountEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, serviceAccountEmail_); } getUnknownFields().writeTo(output); } @@ -1133,16 +1095,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, endpoint_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, endpoint_); } if (inferenceModeCase_ == 2) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 2, (com.google.pubsub.v1.AIInference.UnstructuredInference) inferenceMode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceAccountEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, serviceAccountEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1233,38 +1195,38 @@ public static com.google.pubsub.v1.AIInference parseFrom( public static com.google.pubsub.v1.AIInference parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.AIInference parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.AIInference parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.AIInference parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.AIInference parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.AIInference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1287,7 +1249,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1301,7 +1263,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.AIInference} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.AIInference) com.google.pubsub.v1.AIInferenceOrBuilder { @@ -1311,7 +1273,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_AIInference_fieldAccessorTable @@ -1323,7 +1285,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.AIInference.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1390,39 +1352,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.AIInference result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.AIInference) { @@ -1491,7 +1420,7 @@ public Builder mergeFrom( case 18: { input.readMessage( - getUnstructuredInferenceFieldBuilder().getBuilder(), extensionRegistry); + internalGetUnstructuredInferenceFieldBuilder().getBuilder(), extensionRegistry); inferenceModeCase_ = 2; break; } // case 18 @@ -1660,7 +1589,7 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.AIInference.UnstructuredInference, com.google.pubsub.v1.AIInference.UnstructuredInference.Builder, com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder> @@ -1839,7 +1768,7 @@ public Builder clearUnstructuredInference() { */ public com.google.pubsub.v1.AIInference.UnstructuredInference.Builder getUnstructuredInferenceBuilder() { - return getUnstructuredInferenceFieldBuilder().getBuilder(); + return internalGetUnstructuredInferenceFieldBuilder().getBuilder(); } /** @@ -1877,18 +1806,18 @@ public Builder clearUnstructuredInference() { * .google.pubsub.v1.AIInference.UnstructuredInference unstructured_inference = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.AIInference.UnstructuredInference, com.google.pubsub.v1.AIInference.UnstructuredInference.Builder, com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder> - getUnstructuredInferenceFieldBuilder() { + internalGetUnstructuredInferenceFieldBuilder() { if (unstructuredInferenceBuilder_ == null) { if (!(inferenceModeCase_ == 2)) { inferenceMode_ = com.google.pubsub.v1.AIInference.UnstructuredInference.getDefaultInstance(); } unstructuredInferenceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.AIInference.UnstructuredInference, com.google.pubsub.v1.AIInference.UnstructuredInference.Builder, com.google.pubsub.v1.AIInference.UnstructuredInferenceOrBuilder>( @@ -2038,17 +1967,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.AIInference) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java index e153fe0f6..c7039d308 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface AIInferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.AIInference) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java index c099a7ebb..392f45dc6 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.AcknowledgeRequest} */ -public final class AcknowledgeRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class AcknowledgeRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.AcknowledgeRequest) AcknowledgeRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AcknowledgeRequest"); + } + // Use AcknowledgeRequest.newBuilder() to construct. - private AcknowledgeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private AcknowledgeRequest() { ackIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AcknowledgeRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_AcknowledgeRequest_fieldAccessorTable @@ -214,11 +220,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } for (int i = 0; i < ackIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ackIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, ackIds_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -229,8 +235,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } { int dataSize = 0; @@ -316,38 +322,38 @@ public static com.google.pubsub.v1.AcknowledgeRequest parseFrom( public static com.google.pubsub.v1.AcknowledgeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.AcknowledgeRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.AcknowledgeRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.AcknowledgeRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.AcknowledgeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.AcknowledgeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -370,7 +376,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -384,7 +390,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.AcknowledgeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.AcknowledgeRequest) com.google.pubsub.v1.AcknowledgeRequestOrBuilder { @@ -394,7 +400,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_AcknowledgeRequest_fieldAccessorTable @@ -406,7 +412,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.AcknowledgeRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -461,39 +467,6 @@ private void buildPartial0(com.google.pubsub.v1.AcknowledgeRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.AcknowledgeRequest) { @@ -906,17 +879,6 @@ public Builder addAckIdsBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.AcknowledgeRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java index 653d92ff4..f74ab5d14 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface AcknowledgeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.AcknowledgeRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java index 97fa9fb33..6dc42b7be 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.BigQueryConfig} */ -public final class BigQueryConfig extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class BigQueryConfig extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.BigQueryConfig) BigQueryConfigOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "BigQueryConfig"); + } + // Use BigQueryConfig.newBuilder() to construct. - private BigQueryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BigQueryConfig(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private BigQueryConfig() { serviceAccountEmail_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BigQueryConfig(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_BigQueryConfig_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_BigQueryConfig_fieldAccessorTable @@ -157,6 +163,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -308,7 +324,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.BigQueryConfig.getDescriptor().getEnumTypes().get(0); } @@ -596,8 +612,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(table_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, table_); } if (useTopicSchema_ != false) { output.writeBool(2, useTopicSchema_); @@ -614,8 +630,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (useTableSchema_ != false) { output.writeBool(6, useTableSchema_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, serviceAccountEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, serviceAccountEmail_); } getUnknownFields().writeTo(output); } @@ -626,8 +642,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(table_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, table_); } if (useTopicSchema_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useTopicSchema_); @@ -644,8 +660,8 @@ public int getSerializedSize() { if (useTableSchema_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, useTableSchema_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, serviceAccountEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, serviceAccountEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -735,38 +751,38 @@ public static com.google.pubsub.v1.BigQueryConfig parseFrom( public static com.google.pubsub.v1.BigQueryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.BigQueryConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.BigQueryConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.BigQueryConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.BigQueryConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.BigQueryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -789,7 +805,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -803,7 +819,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.BigQueryConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.BigQueryConfig) com.google.pubsub.v1.BigQueryConfigOrBuilder { @@ -813,7 +829,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_BigQueryConfig_fieldAccessorTable @@ -825,7 +841,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.BigQueryConfig.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -898,39 +914,6 @@ private void buildPartial0(com.google.pubsub.v1.BigQueryConfig result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.BigQueryConfig) { @@ -1677,17 +1660,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.BigQueryConfig) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java index 1b2ea3fb4..250b87a57 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface BigQueryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.BigQueryConfig) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java index ee19860da..b30b59267 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.CloudStorageConfig} */ -public final class CloudStorageConfig extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CloudStorageConfig extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig) CloudStorageConfigOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "CloudStorageConfig"); + } + // Use CloudStorageConfig.newBuilder() to construct. - private CloudStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CloudStorageConfig(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,19 +60,13 @@ private CloudStorageConfig() { serviceAccountEmail_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CloudStorageConfig(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable @@ -157,6 +163,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -305,7 +321,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.CloudStorageConfig.getDescriptor().getEnumTypes().get(0); } @@ -346,32 +362,36 @@ public interface TextConfigOrBuilder * * Protobuf type {@code google.pubsub.v1.CloudStorageConfig.TextConfig} */ - public static final class TextConfig extends com.google.protobuf.GeneratedMessageV3 + public static final class TextConfig extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig.TextConfig) TextConfigOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "TextConfig"); + } + // Use TextConfig.newBuilder() to construct. - private TextConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TextConfig(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private TextConfig() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TextConfig(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_fieldAccessorTable @@ -472,38 +492,38 @@ public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom( public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -526,8 +546,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -543,8 +562,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.CloudStorageConfig.TextConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.CloudStorageConfig.TextConfig) com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder { @@ -554,7 +572,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_fieldAccessorTable @@ -566,7 +584,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.CloudStorageConfig.TextConfig.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -604,41 +622,6 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfig buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.CloudStorageConfig.TextConfig) { @@ -695,18 +678,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.CloudStorageConfig.TextConfig) } @@ -807,32 +778,36 @@ public interface AvroConfigOrBuilder * * Protobuf type {@code google.pubsub.v1.CloudStorageConfig.AvroConfig} */ - public static final class AvroConfig extends com.google.protobuf.GeneratedMessageV3 + public static final class AvroConfig extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig.AvroConfig) AvroConfigOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AvroConfig"); + } + // Use AvroConfig.newBuilder() to construct. - private AvroConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AvroConfig(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private AvroConfig() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AvroConfig(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_fieldAccessorTable @@ -995,38 +970,38 @@ public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom( public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1049,8 +1024,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1065,8 +1039,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.CloudStorageConfig.AvroConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.CloudStorageConfig.AvroConfig) com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder { @@ -1076,7 +1049,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_fieldAccessorTable @@ -1088,7 +1061,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.CloudStorageConfig.AvroConfig.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1142,41 +1115,6 @@ private void buildPartial0(com.google.pubsub.v1.CloudStorageConfig.AvroConfig re } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.CloudStorageConfig.AvroConfig) { @@ -1383,18 +1321,6 @@ public Builder clearUseTopicSchema() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.CloudStorageConfig.AvroConfig) } @@ -2071,14 +1997,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucket_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, bucket_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenamePrefix_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filenamePrefix_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenamePrefix_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, filenamePrefix_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenameSuffix_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filenameSuffix_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenameSuffix_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, filenameSuffix_); } if (outputFormatCase_ == 4) { output.writeMessage(4, (com.google.pubsub.v1.CloudStorageConfig.TextConfig) outputFormat_); @@ -2098,11 +2024,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (state_ != com.google.pubsub.v1.CloudStorageConfig.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(9, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenameDatetimeFormat_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, filenameDatetimeFormat_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenameDatetimeFormat_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 10, filenameDatetimeFormat_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, serviceAccountEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 11, serviceAccountEmail_); } getUnknownFields().writeTo(output); } @@ -2113,14 +2039,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucket_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucket_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, bucket_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenamePrefix_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filenamePrefix_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenamePrefix_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filenamePrefix_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenameSuffix_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filenameSuffix_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenameSuffix_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filenameSuffix_); } if (outputFormatCase_ == 4) { size += @@ -2144,11 +2070,11 @@ public int getSerializedSize() { if (state_ != com.google.pubsub.v1.CloudStorageConfig.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenameDatetimeFormat_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, filenameDatetimeFormat_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenameDatetimeFormat_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(10, filenameDatetimeFormat_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, serviceAccountEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(11, serviceAccountEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2273,38 +2199,38 @@ public static com.google.pubsub.v1.CloudStorageConfig parseFrom( public static com.google.pubsub.v1.CloudStorageConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CloudStorageConfig parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CloudStorageConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CloudStorageConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2327,7 +2253,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2341,7 +2267,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.CloudStorageConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.CloudStorageConfig) com.google.pubsub.v1.CloudStorageConfigOrBuilder { @@ -2351,7 +2277,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable @@ -2365,14 +2291,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMaxDurationFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetMaxDurationFieldBuilder(); } } @@ -2482,39 +2408,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.CloudStorageConfig result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.CloudStorageConfig) { @@ -2626,19 +2519,22 @@ public Builder mergeFrom( } // case 26 case 34: { - input.readMessage(getTextConfigFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetTextConfigFieldBuilder().getBuilder(), extensionRegistry); outputFormatCase_ = 4; break; } // case 34 case 42: { - input.readMessage(getAvroConfigFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetAvroConfigFieldBuilder().getBuilder(), extensionRegistry); outputFormatCase_ = 5; break; } // case 42 case 50: { - input.readMessage(getMaxDurationFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetMaxDurationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 50 @@ -3189,7 +3085,7 @@ public Builder setFilenameDatetimeFormatBytes(com.google.protobuf.ByteString val return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig.TextConfig, com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder, com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder> @@ -3372,7 +3268,7 @@ public Builder clearTextConfig() { * */ public com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder getTextConfigBuilder() { - return getTextConfigFieldBuilder().getBuilder(); + return internalGetTextConfigFieldBuilder().getBuilder(); } /** @@ -3411,17 +3307,17 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig * .google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig.TextConfig, com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder, com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder> - getTextConfigFieldBuilder() { + internalGetTextConfigFieldBuilder() { if (textConfigBuilder_ == null) { if (!(outputFormatCase_ == 4)) { outputFormat_ = com.google.pubsub.v1.CloudStorageConfig.TextConfig.getDefaultInstance(); } textConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig.TextConfig, com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder, com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder>( @@ -3435,7 +3331,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig return textConfigBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig.AvroConfig, com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder, com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder> @@ -3618,7 +3514,7 @@ public Builder clearAvroConfig() { * */ public com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder getAvroConfigBuilder() { - return getAvroConfigFieldBuilder().getBuilder(); + return internalGetAvroConfigFieldBuilder().getBuilder(); } /** @@ -3657,17 +3553,17 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig * .google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig.AvroConfig, com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder, com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder> - getAvroConfigFieldBuilder() { + internalGetAvroConfigFieldBuilder() { if (avroConfigBuilder_ == null) { if (!(outputFormatCase_ == 5)) { outputFormat_ = com.google.pubsub.v1.CloudStorageConfig.AvroConfig.getDefaultInstance(); } avroConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig.AvroConfig, com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder, com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder>( @@ -3682,7 +3578,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig } private com.google.protobuf.Duration maxDuration_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -3848,7 +3744,7 @@ public Builder clearMaxDuration() { public com.google.protobuf.Duration.Builder getMaxDurationBuilder() { bitField0_ |= 0x00000040; onChanged(); - return getMaxDurationFieldBuilder().getBuilder(); + return internalGetMaxDurationFieldBuilder().getBuilder(); } /** @@ -3885,14 +3781,14 @@ public com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder() { * .google.protobuf.Duration max_duration = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getMaxDurationFieldBuilder() { + internalGetMaxDurationFieldBuilder() { if (maxDurationBuilder_ == null) { maxDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -4269,17 +4165,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.CloudStorageConfig) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java index f977fa4f2..2c2bc260b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface CloudStorageConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.CloudStorageConfig) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java index 1332c756e..1f8cc26bc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.CommitSchemaRequest} */ -public final class CommitSchemaRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CommitSchemaRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.CommitSchemaRequest) CommitSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "CommitSchemaRequest"); + } + // Use CommitSchemaRequest.newBuilder() to construct. - private CommitSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CommitSchemaRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private CommitSchemaRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CommitSchemaRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_CommitSchemaRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_CommitSchemaRequest_fieldAccessorTable @@ -187,8 +193,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSchema()); @@ -202,8 +208,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema()); @@ -287,38 +293,38 @@ public static com.google.pubsub.v1.CommitSchemaRequest parseFrom( public static com.google.pubsub.v1.CommitSchemaRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CommitSchemaRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CommitSchemaRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.CommitSchemaRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CommitSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CommitSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -341,7 +347,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -355,7 +361,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.CommitSchemaRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.CommitSchemaRequest) com.google.pubsub.v1.CommitSchemaRequestOrBuilder { @@ -365,7 +371,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_CommitSchemaRequest_fieldAccessorTable @@ -379,14 +385,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSchemaFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSchemaFieldBuilder(); } } @@ -447,39 +453,6 @@ private void buildPartial0(com.google.pubsub.v1.CommitSchemaRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.CommitSchemaRequest) { @@ -534,7 +507,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetSchemaFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -684,7 +657,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.pubsub.v1.Schema schema_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> @@ -827,7 +800,7 @@ public Builder clearSchema() { public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getSchemaFieldBuilder().getBuilder(); + return internalGetSchemaFieldBuilder().getBuilder(); } /** @@ -856,14 +829,14 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { * * .google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> - getSchemaFieldBuilder() { + internalGetSchemaFieldBuilder() { if (schemaBuilder_ == null) { schemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder>( @@ -873,17 +846,6 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { return schemaBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.CommitSchemaRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java index 56989d944..b904f9d0e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface CommitSchemaRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.CommitSchemaRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java index acd8930c8..4db632921 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.CreateSchemaRequest} */ -public final class CreateSchemaRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CreateSchemaRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.CreateSchemaRequest) CreateSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "CreateSchemaRequest"); + } + // Use CreateSchemaRequest.newBuilder() to construct. - private CreateSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSchemaRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private CreateSchemaRequest() { schemaId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateSchemaRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_CreateSchemaRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_CreateSchemaRequest_fieldAccessorTable @@ -261,14 +267,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSchema()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, schemaId_); } getUnknownFields().writeTo(output); } @@ -279,14 +285,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, schemaId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -370,38 +376,38 @@ public static com.google.pubsub.v1.CreateSchemaRequest parseFrom( public static com.google.pubsub.v1.CreateSchemaRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CreateSchemaRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CreateSchemaRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.CreateSchemaRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CreateSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CreateSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -424,7 +430,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -438,7 +444,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.CreateSchemaRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.CreateSchemaRequest) com.google.pubsub.v1.CreateSchemaRequestOrBuilder { @@ -448,7 +454,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_CreateSchemaRequest_fieldAccessorTable @@ -462,14 +468,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSchemaFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSchemaFieldBuilder(); } } @@ -534,39 +540,6 @@ private void buildPartial0(com.google.pubsub.v1.CreateSchemaRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.CreateSchemaRequest) { @@ -626,7 +599,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetSchemaFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -782,7 +755,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.pubsub.v1.Schema schema_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> @@ -953,7 +926,7 @@ public Builder clearSchema() { public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getSchemaFieldBuilder().getBuilder(); + return internalGetSchemaFieldBuilder().getBuilder(); } /** @@ -990,14 +963,14 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { * * .google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> - getSchemaFieldBuilder() { + internalGetSchemaFieldBuilder() { if (schemaBuilder_ == null) { schemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder>( @@ -1138,17 +1111,6 @@ public Builder setSchemaIdBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.CreateSchemaRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java index ab00cb816..4fa65546b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface CreateSchemaRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.CreateSchemaRequest) 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 1154fdf71..d911473d5 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.CreateSnapshotRequest} */ -public final class CreateSnapshotRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CreateSnapshotRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.CreateSnapshotRequest) CreateSnapshotRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "CreateSnapshotRequest"); + } + // Use CreateSnapshotRequest.newBuilder() to construct. - private CreateSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSnapshotRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,12 +56,6 @@ private CreateSnapshotRequest() { subscription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateSnapshotRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor; @@ -70,7 +76,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable @@ -157,12 +163,12 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Required. The subscription whose backlog the snapshot retains.
    * Specifically, the created snapshot is guaranteed to retain:
-   *  (a) The existing backlog on the subscription. More precisely, this is
-   *      defined as the messages in the subscription's backlog that are
-   *      unacknowledged upon the successful completion of the
-   *      `CreateSnapshot` request; as well as:
-   *  (b) Any messages published to the subscription's topic following the
-   *      successful completion of the CreateSnapshot request.
+   * (a) The existing backlog on the subscription. More precisely, this is
+   * defined as the messages in the subscription's backlog that are
+   * unacknowledged upon the successful completion of the
+   * `CreateSnapshot` request; as well as:
+   * (b) Any messages published to the subscription's topic following the
+   * successful completion of the CreateSnapshot request.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* @@ -191,12 +197,12 @@ public java.lang.String getSubscription() { *
    * Required. The subscription whose backlog the snapshot retains.
    * Specifically, the created snapshot is guaranteed to retain:
-   *  (a) The existing backlog on the subscription. More precisely, this is
-   *      defined as the messages in the subscription's backlog that are
-   *      unacknowledged upon the successful completion of the
-   *      `CreateSnapshot` request; as well as:
-   *  (b) Any messages published to the subscription's topic following the
-   *      successful completion of the CreateSnapshot request.
+   * (a) The existing backlog on the subscription. More precisely, this is
+   * defined as the messages in the subscription's backlog that are
+   * unacknowledged upon the successful completion of the
+   * `CreateSnapshot` request; as well as:
+   * (b) Any messages published to the subscription's topic following the
+   * successful completion of the CreateSnapshot request.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* @@ -363,8 +369,8 @@ public int getTagsCount() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -394,8 +400,8 @@ public java.util.Map getTags() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -415,8 +421,8 @@ public java.util.Map getTagsMap() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -443,8 +449,8 @@ public java.util.Map getTagsMap() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -479,15 +485,15 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subscription_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 4); getUnknownFields().writeTo(output); } @@ -498,11 +504,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subscription_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { @@ -609,38 +615,38 @@ public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom( public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CreateSnapshotRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.CreateSnapshotRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -663,7 +669,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -677,7 +683,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.CreateSnapshotRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.CreateSnapshotRequest) com.google.pubsub.v1.CreateSnapshotRequestOrBuilder { @@ -713,7 +719,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable @@ -725,7 +731,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.pubsub.v1.CreateSnapshotRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -789,39 +795,6 @@ private void buildPartial0(com.google.pubsub.v1.CreateSnapshotRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.CreateSnapshotRequest) { @@ -1080,12 +1053,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * Required. The subscription whose backlog the snapshot retains.
      * Specifically, the created snapshot is guaranteed to retain:
-     *  (a) The existing backlog on the subscription. More precisely, this is
-     *      defined as the messages in the subscription's backlog that are
-     *      unacknowledged upon the successful completion of the
-     *      `CreateSnapshot` request; as well as:
-     *  (b) Any messages published to the subscription's topic following the
-     *      successful completion of the CreateSnapshot request.
+     * (a) The existing backlog on the subscription. More precisely, this is
+     * defined as the messages in the subscription's backlog that are
+     * unacknowledged upon the successful completion of the
+     * `CreateSnapshot` request; as well as:
+     * (b) Any messages published to the subscription's topic following the
+     * successful completion of the CreateSnapshot request.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* @@ -1113,12 +1086,12 @@ public java.lang.String getSubscription() { *
      * Required. The subscription whose backlog the snapshot retains.
      * Specifically, the created snapshot is guaranteed to retain:
-     *  (a) The existing backlog on the subscription. More precisely, this is
-     *      defined as the messages in the subscription's backlog that are
-     *      unacknowledged upon the successful completion of the
-     *      `CreateSnapshot` request; as well as:
-     *  (b) Any messages published to the subscription's topic following the
-     *      successful completion of the CreateSnapshot request.
+     * (a) The existing backlog on the subscription. More precisely, this is
+     * defined as the messages in the subscription's backlog that are
+     * unacknowledged upon the successful completion of the
+     * `CreateSnapshot` request; as well as:
+     * (b) Any messages published to the subscription's topic following the
+     * successful completion of the CreateSnapshot request.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* @@ -1146,12 +1119,12 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { *
      * Required. The subscription whose backlog the snapshot retains.
      * Specifically, the created snapshot is guaranteed to retain:
-     *  (a) The existing backlog on the subscription. More precisely, this is
-     *      defined as the messages in the subscription's backlog that are
-     *      unacknowledged upon the successful completion of the
-     *      `CreateSnapshot` request; as well as:
-     *  (b) Any messages published to the subscription's topic following the
-     *      successful completion of the CreateSnapshot request.
+     * (a) The existing backlog on the subscription. More precisely, this is
+     * defined as the messages in the subscription's backlog that are
+     * unacknowledged upon the successful completion of the
+     * `CreateSnapshot` request; as well as:
+     * (b) Any messages published to the subscription's topic following the
+     * successful completion of the CreateSnapshot request.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* @@ -1178,12 +1151,12 @@ public Builder setSubscription(java.lang.String value) { *
      * Required. The subscription whose backlog the snapshot retains.
      * Specifically, the created snapshot is guaranteed to retain:
-     *  (a) The existing backlog on the subscription. More precisely, this is
-     *      defined as the messages in the subscription's backlog that are
-     *      unacknowledged upon the successful completion of the
-     *      `CreateSnapshot` request; as well as:
-     *  (b) Any messages published to the subscription's topic following the
-     *      successful completion of the CreateSnapshot request.
+     * (a) The existing backlog on the subscription. More precisely, this is
+     * defined as the messages in the subscription's backlog that are
+     * unacknowledged upon the successful completion of the
+     * `CreateSnapshot` request; as well as:
+     * (b) Any messages published to the subscription's topic following the
+     * successful completion of the CreateSnapshot request.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* @@ -1206,12 +1179,12 @@ public Builder clearSubscription() { *
      * Required. The subscription whose backlog the snapshot retains.
      * Specifically, the created snapshot is guaranteed to retain:
-     *  (a) The existing backlog on the subscription. More precisely, this is
-     *      defined as the messages in the subscription's backlog that are
-     *      unacknowledged upon the successful completion of the
-     *      `CreateSnapshot` request; as well as:
-     *  (b) Any messages published to the subscription's topic following the
-     *      successful completion of the CreateSnapshot request.
+     * (a) The existing backlog on the subscription. More precisely, this is
+     * defined as the messages in the subscription's backlog that are
+     * unacknowledged upon the successful completion of the
+     * `CreateSnapshot` request; as well as:
+     * (b) Any messages published to the subscription's topic following the
+     * successful completion of the CreateSnapshot request.
      * Format is `projects/{project}/subscriptions/{sub}`.
      * 
* @@ -1444,8 +1417,8 @@ public int getTagsCount() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -1475,8 +1448,8 @@ public java.util.Map getTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -1496,8 +1469,8 @@ public java.util.Map getTagsMap() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -1524,8 +1497,8 @@ public java.util.Map getTagsMap() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -1558,8 +1531,8 @@ public Builder clearTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -1589,8 +1562,8 @@ public java.util.Map getMutableTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -1617,8 +1590,8 @@ public Builder putTags(java.lang.String key, java.lang.String value) { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -1633,17 +1606,6 @@ public Builder putAllTags(java.util.Map valu return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.CreateSnapshotRequest) } 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 64f44c881..2105ed01c 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface CreateSnapshotRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.CreateSnapshotRequest) @@ -70,12 +72,12 @@ public interface CreateSnapshotRequestOrBuilder *
    * Required. The subscription whose backlog the snapshot retains.
    * Specifically, the created snapshot is guaranteed to retain:
-   *  (a) The existing backlog on the subscription. More precisely, this is
-   *      defined as the messages in the subscription's backlog that are
-   *      unacknowledged upon the successful completion of the
-   *      `CreateSnapshot` request; as well as:
-   *  (b) Any messages published to the subscription's topic following the
-   *      successful completion of the CreateSnapshot request.
+   * (a) The existing backlog on the subscription. More precisely, this is
+   * defined as the messages in the subscription's backlog that are
+   * unacknowledged upon the successful completion of the
+   * `CreateSnapshot` request; as well as:
+   * (b) Any messages published to the subscription's topic following the
+   * successful completion of the CreateSnapshot request.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* @@ -93,12 +95,12 @@ public interface CreateSnapshotRequestOrBuilder *
    * Required. The subscription whose backlog the snapshot retains.
    * Specifically, the created snapshot is guaranteed to retain:
-   *  (a) The existing backlog on the subscription. More precisely, this is
-   *      defined as the messages in the subscription's backlog that are
-   *      unacknowledged upon the successful completion of the
-   *      `CreateSnapshot` request; as well as:
-   *  (b) Any messages published to the subscription's topic following the
-   *      successful completion of the CreateSnapshot request.
+   * (a) The existing backlog on the subscription. More precisely, this is
+   * defined as the messages in the subscription's backlog that are
+   * unacknowledged upon the successful completion of the
+   * `CreateSnapshot` request; as well as:
+   * (b) Any messages published to the subscription's topic following the
+   * successful completion of the CreateSnapshot request.
    * Format is `projects/{project}/subscriptions/{sub}`.
    * 
* @@ -184,8 +186,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -202,8 +204,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -224,8 +226,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -242,8 +244,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -264,8 +266,8 @@ java.lang.String getTagsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java index 1cc3cc2b7..f6ba7bb82 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -32,14 +33,25 @@ * * Protobuf type {@code google.pubsub.v1.DeadLetterPolicy} */ -public final class DeadLetterPolicy extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeadLetterPolicy extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeadLetterPolicy) DeadLetterPolicyOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeadLetterPolicy"); + } + // Use DeadLetterPolicy.newBuilder() to construct. - private DeadLetterPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeadLetterPolicy(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -47,19 +59,13 @@ private DeadLetterPolicy() { deadLetterTopic_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeadLetterPolicy(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeadLetterPolicy_fieldAccessorTable @@ -186,8 +192,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterTopic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deadLetterTopic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deadLetterTopic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, deadLetterTopic_); } if (maxDeliveryAttempts_ != 0) { output.writeInt32(2, maxDeliveryAttempts_); @@ -201,8 +207,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterTopic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, deadLetterTopic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deadLetterTopic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, deadLetterTopic_); } if (maxDeliveryAttempts_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxDeliveryAttempts_); @@ -280,38 +286,38 @@ public static com.google.pubsub.v1.DeadLetterPolicy parseFrom( public static com.google.pubsub.v1.DeadLetterPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeadLetterPolicy parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeadLetterPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeadLetterPolicy parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeadLetterPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeadLetterPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -334,7 +340,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -352,7 +358,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.DeadLetterPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeadLetterPolicy) com.google.pubsub.v1.DeadLetterPolicyOrBuilder { @@ -362,7 +368,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeadLetterPolicy_fieldAccessorTable @@ -374,7 +380,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.DeadLetterPolicy.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -428,39 +434,6 @@ private void buildPartial0(com.google.pubsub.v1.DeadLetterPolicy result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.DeadLetterPolicy) { @@ -791,17 +764,6 @@ public Builder clearMaxDeliveryAttempts() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeadLetterPolicy) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java index d67fffe5c..9d8c29223 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface DeadLetterPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeadLetterPolicy) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java index 3d7b9763e..12f52ffd1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.DeleteSchemaRequest} */ -public final class DeleteSchemaRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteSchemaRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSchemaRequest) DeleteSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeleteSchemaRequest"); + } + // Use DeleteSchemaRequest.newBuilder() to construct. - private DeleteSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteSchemaRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteSchemaRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteSchemaRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_DeleteSchemaRequest_fieldAccessorTable @@ -137,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -149,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,38 +229,38 @@ public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom( public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteSchemaRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSchemaRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -277,7 +283,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -291,7 +297,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.DeleteSchemaRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteSchemaRequest) com.google.pubsub.v1.DeleteSchemaRequestOrBuilder { @@ -301,7 +307,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_DeleteSchemaRequest_fieldAccessorTable @@ -313,7 +319,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.DeleteSchemaRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -363,39 +369,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteSchemaRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.DeleteSchemaRequest) { @@ -590,17 +563,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteSchemaRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java index 593d0e55f..0d665ae9d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface DeleteSchemaRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteSchemaRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java index a47dbc26f..5065b30b9 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.DeleteSchemaRevisionRequest} */ -public final class DeleteSchemaRevisionRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteSchemaRevisionRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSchemaRevisionRequest) DeleteSchemaRevisionRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeleteSchemaRevisionRequest"); + } + // Use DeleteSchemaRevisionRequest.newBuilder() to construct. - private DeleteSchemaRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteSchemaRevisionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private DeleteSchemaRevisionRequest() { revisionId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteSchemaRevisionRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_fieldAccessorTable @@ -207,11 +213,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, revisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(revisionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, revisionId_); } getUnknownFields().writeTo(output); } @@ -222,11 +228,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, revisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(revisionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, revisionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -303,38 +309,38 @@ public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom( public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -357,7 +363,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -371,7 +377,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.DeleteSchemaRevisionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteSchemaRevisionRequest) com.google.pubsub.v1.DeleteSchemaRevisionRequestOrBuilder { @@ -381,7 +387,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_fieldAccessorTable @@ -393,7 +399,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.DeleteSchemaRevisionRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -447,39 +453,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteSchemaRevisionRequest resu } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.DeleteSchemaRevisionRequest) { @@ -837,17 +810,6 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteSchemaRevisionRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java index c235befb1..a116ea05e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface DeleteSchemaRevisionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteSchemaRevisionRequest) 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 739cf2e31..4fd129540 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.DeleteSnapshotRequest} */ -public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSnapshotRequest) DeleteSnapshotRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeleteSnapshotRequest"); + } + // Use DeleteSnapshotRequest.newBuilder() to construct. - private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteSnapshotRequest() { snapshot_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteSnapshotRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable @@ -137,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshot_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, snapshot_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(snapshot_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, snapshot_); } getUnknownFields().writeTo(output); } @@ -149,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshot_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, snapshot_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(snapshot_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, snapshot_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,38 +230,38 @@ public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom( public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteSnapshotRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSnapshotRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -278,7 +284,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -292,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.DeleteSnapshotRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteSnapshotRequest) com.google.pubsub.v1.DeleteSnapshotRequestOrBuilder { @@ -302,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable @@ -314,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.DeleteSnapshotRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -364,39 +370,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteSnapshotRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.DeleteSnapshotRequest) { @@ -591,17 +564,6 @@ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteSnapshotRequest) } 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 590889faf..aa0db9d68 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface DeleteSnapshotRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteSnapshotRequest) 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 29349f8ee..0b55f9447 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.DeleteSubscriptionRequest} */ -public final class DeleteSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteSubscriptionRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSubscriptionRequest) DeleteSubscriptionRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeleteSubscriptionRequest"); + } + // Use DeleteSubscriptionRequest.newBuilder() to construct. - private DeleteSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteSubscriptionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteSubscriptionRequest() { subscription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteSubscriptionRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable @@ -137,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } getUnknownFields().writeTo(output); } @@ -149,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,38 +230,38 @@ public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom( public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteSubscriptionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSubscriptionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -278,7 +284,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -292,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.DeleteSubscriptionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteSubscriptionRequest) com.google.pubsub.v1.DeleteSubscriptionRequestOrBuilder { @@ -302,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable @@ -314,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.DeleteSubscriptionRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -364,39 +370,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteSubscriptionRequest result } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.DeleteSubscriptionRequest) { @@ -591,17 +564,6 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteSubscriptionRequest) } 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 0e11fa038..407ff8133 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface DeleteSubscriptionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteSubscriptionRequest) 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 a6745ae7c..2d2b37801 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.DeleteTopicRequest} */ -public final class DeleteTopicRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteTopicRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteTopicRequest) DeleteTopicRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeleteTopicRequest"); + } + // Use DeleteTopicRequest.newBuilder() to construct. - private DeleteTopicRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteTopicRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteTopicRequest() { topic_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteTopicRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteTopicRequest_fieldAccessorTable @@ -137,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_); } getUnknownFields().writeTo(output); } @@ -149,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, topic_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,38 +229,38 @@ public static com.google.pubsub.v1.DeleteTopicRequest parseFrom( public static com.google.pubsub.v1.DeleteTopicRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteTopicRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteTopicRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteTopicRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DeleteTopicRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DeleteTopicRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -277,7 +283,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -291,7 +297,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.DeleteTopicRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteTopicRequest) com.google.pubsub.v1.DeleteTopicRequestOrBuilder { @@ -301,7 +307,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DeleteTopicRequest_fieldAccessorTable @@ -313,7 +319,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.DeleteTopicRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -363,39 +369,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteTopicRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.DeleteTopicRequest) { @@ -590,17 +563,6 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteTopicRequest) } 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 15c4f5730..ba2de1ac4 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface DeleteTopicRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteTopicRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java index 917c4e858..074171a8e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.DetachSubscriptionRequest} */ -public final class DetachSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DetachSubscriptionRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.DetachSubscriptionRequest) DetachSubscriptionRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DetachSubscriptionRequest"); + } + // Use DetachSubscriptionRequest.newBuilder() to construct. - private DetachSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DetachSubscriptionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DetachSubscriptionRequest() { subscription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DetachSubscriptionRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DetachSubscriptionRequest_fieldAccessorTable @@ -137,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } getUnknownFields().writeTo(output); } @@ -149,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,38 +230,38 @@ public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom( public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DetachSubscriptionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.DetachSubscriptionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -278,7 +284,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -292,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.DetachSubscriptionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.DetachSubscriptionRequest) com.google.pubsub.v1.DetachSubscriptionRequestOrBuilder { @@ -302,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DetachSubscriptionRequest_fieldAccessorTable @@ -314,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.DetachSubscriptionRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -364,39 +370,6 @@ private void buildPartial0(com.google.pubsub.v1.DetachSubscriptionRequest result } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.DetachSubscriptionRequest) { @@ -591,17 +564,6 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.DetachSubscriptionRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java index 6c11a7fe5..2980352a4 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface DetachSubscriptionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.DetachSubscriptionRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java index 79c55299c..6cc5449ec 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -29,32 +30,37 @@ * * Protobuf type {@code google.pubsub.v1.DetachSubscriptionResponse} */ -public final class DetachSubscriptionResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DetachSubscriptionResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.DetachSubscriptionResponse) DetachSubscriptionResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DetachSubscriptionResponse"); + } + // Use DetachSubscriptionResponse.newBuilder() to construct. - private DetachSubscriptionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DetachSubscriptionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private DetachSubscriptionResponse() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DetachSubscriptionResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DetachSubscriptionResponse_fieldAccessorTable @@ -155,38 +161,38 @@ public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom( public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DetachSubscriptionResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.DetachSubscriptionResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -209,7 +215,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -224,7 +230,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.DetachSubscriptionResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.DetachSubscriptionResponse) com.google.pubsub.v1.DetachSubscriptionResponseOrBuilder { @@ -234,7 +240,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_DetachSubscriptionResponse_fieldAccessorTable @@ -246,7 +252,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.DetachSubscriptionResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -284,39 +290,6 @@ public com.google.pubsub.v1.DetachSubscriptionResponse buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.DetachSubscriptionResponse) { @@ -373,17 +346,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.DetachSubscriptionResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java index 682f9e1cb..52e34716c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface DetachSubscriptionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.DetachSubscriptionResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java index d69de2a12..3c03c8a9e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,6 +29,7 @@ * * Protobuf enum {@code google.pubsub.v1.Encoding} */ +@com.google.protobuf.Generated public enum Encoding implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -63,6 +65,16 @@ public enum Encoding implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Encoding"); + } + /** * * @@ -155,7 +167,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto.getDescriptor().getEnumTypes().get(1); } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java index befa7a2aa..ef25fb02c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -29,32 +30,37 @@ * * Protobuf type {@code google.pubsub.v1.ExpirationPolicy} */ -public final class ExpirationPolicy extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ExpirationPolicy extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ExpirationPolicy) ExpirationPolicyOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ExpirationPolicy"); + } + // Use ExpirationPolicy.newBuilder() to construct. - private ExpirationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExpirationPolicy(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ExpirationPolicy() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ExpirationPolicy(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ExpirationPolicy_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ExpirationPolicy_fieldAccessorTable @@ -232,38 +238,38 @@ public static com.google.pubsub.v1.ExpirationPolicy parseFrom( public static com.google.pubsub.v1.ExpirationPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ExpirationPolicy parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ExpirationPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ExpirationPolicy parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ExpirationPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ExpirationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -286,7 +292,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -301,7 +307,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ExpirationPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ExpirationPolicy) com.google.pubsub.v1.ExpirationPolicyOrBuilder { @@ -311,7 +317,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ExpirationPolicy_fieldAccessorTable @@ -325,14 +331,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getTtlFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetTtlFieldBuilder(); } } @@ -389,39 +395,6 @@ private void buildPartial0(com.google.pubsub.v1.ExpirationPolicy result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ExpirationPolicy) { @@ -465,7 +438,7 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetTtlFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 @@ -489,7 +462,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Duration ttl_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -667,7 +640,7 @@ public Builder clearTtl() { public com.google.protobuf.Duration.Builder getTtlBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getTtlFieldBuilder().getBuilder(); + return internalGetTtlFieldBuilder().getBuilder(); } /** @@ -706,14 +679,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() { * * .google.protobuf.Duration ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getTtlFieldBuilder() { + internalGetTtlFieldBuilder() { if (ttlBuilder_ == null) { ttlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(getTtl(), getParentForChildren(), isClean()); @@ -722,17 +695,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() { return ttlBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ExpirationPolicy) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java index 010a45a28..825d9c775 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ExpirationPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ExpirationPolicy) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java index de72f6621..691454cd0 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.GetSchemaRequest} */ -public final class GetSchemaRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetSchemaRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSchemaRequest) GetSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "GetSchemaRequest"); + } + // Use GetSchemaRequest.newBuilder() to construct. - private GetSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetSchemaRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private GetSchemaRequest() { view_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetSchemaRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_GetSchemaRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_GetSchemaRequest_fieldAccessorTable @@ -176,8 +182,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (view_ != com.google.pubsub.v1.SchemaView.SCHEMA_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); @@ -191,8 +197,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (view_ != com.google.pubsub.v1.SchemaView.SCHEMA_VIEW_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); @@ -270,38 +276,38 @@ public static com.google.pubsub.v1.GetSchemaRequest parseFrom( public static com.google.pubsub.v1.GetSchemaRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSchemaRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.GetSchemaRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSchemaRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.GetSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -324,7 +330,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -338,7 +344,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.GetSchemaRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.GetSchemaRequest) com.google.pubsub.v1.GetSchemaRequestOrBuilder { @@ -348,7 +354,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_GetSchemaRequest_fieldAccessorTable @@ -360,7 +366,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.GetSchemaRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -414,39 +420,6 @@ private void buildPartial0(com.google.pubsub.v1.GetSchemaRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.GetSchemaRequest) { @@ -749,17 +722,6 @@ public Builder clearView() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.GetSchemaRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java index 5080570bb..7f09aef11 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface GetSchemaRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.GetSchemaRequest) 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 6cffab76d..b8744fee0 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.GetSnapshotRequest} */ -public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSnapshotRequest) GetSnapshotRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "GetSnapshotRequest"); + } + // Use GetSnapshotRequest.newBuilder() to construct. - private GetSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetSnapshotRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private GetSnapshotRequest() { snapshot_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetSnapshotRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable @@ -137,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshot_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, snapshot_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(snapshot_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, snapshot_); } getUnknownFields().writeTo(output); } @@ -149,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshot_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, snapshot_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(snapshot_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, snapshot_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,38 +229,38 @@ public static com.google.pubsub.v1.GetSnapshotRequest parseFrom( public static com.google.pubsub.v1.GetSnapshotRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSnapshotRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.GetSnapshotRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSnapshotRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.GetSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -277,7 +283,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -291,7 +297,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.GetSnapshotRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.GetSnapshotRequest) com.google.pubsub.v1.GetSnapshotRequestOrBuilder { @@ -301,7 +307,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable @@ -313,7 +319,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.GetSnapshotRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -363,39 +369,6 @@ private void buildPartial0(com.google.pubsub.v1.GetSnapshotRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.GetSnapshotRequest) { @@ -590,17 +563,6 @@ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.GetSnapshotRequest) } 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 4fa0b65b4..d818ff674 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface GetSnapshotRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.GetSnapshotRequest) 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 fe7907ec1..df1d38b06 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.GetSubscriptionRequest} */ -public final class GetSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetSubscriptionRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSubscriptionRequest) GetSubscriptionRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "GetSubscriptionRequest"); + } + // Use GetSubscriptionRequest.newBuilder() to construct. - private GetSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetSubscriptionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private GetSubscriptionRequest() { subscription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetSubscriptionRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable @@ -137,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } getUnknownFields().writeTo(output); } @@ -149,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,38 +230,38 @@ public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom( public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.GetSubscriptionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSubscriptionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -278,7 +284,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -292,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.GetSubscriptionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.GetSubscriptionRequest) com.google.pubsub.v1.GetSubscriptionRequestOrBuilder { @@ -302,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable @@ -314,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.GetSubscriptionRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -364,39 +370,6 @@ private void buildPartial0(com.google.pubsub.v1.GetSubscriptionRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.GetSubscriptionRequest) { @@ -591,17 +564,6 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.GetSubscriptionRequest) } 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 bd902c989..93a8ea4fa 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface GetSubscriptionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.GetSubscriptionRequest) 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 99ccbd15b..215b1b7ce 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.GetTopicRequest} */ -public final class GetTopicRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetTopicRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.GetTopicRequest) GetTopicRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "GetTopicRequest"); + } + // Use GetTopicRequest.newBuilder() to construct. - private GetTopicRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetTopicRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private GetTopicRequest() { topic_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetTopicRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetTopicRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetTopicRequest_fieldAccessorTable @@ -137,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_); } getUnknownFields().writeTo(output); } @@ -149,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, topic_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,38 +228,38 @@ public static com.google.pubsub.v1.GetTopicRequest parseFrom( public static com.google.pubsub.v1.GetTopicRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetTopicRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.GetTopicRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetTopicRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.GetTopicRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.GetTopicRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -276,7 +282,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -290,7 +296,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.GetTopicRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.GetTopicRequest) com.google.pubsub.v1.GetTopicRequestOrBuilder { @@ -300,7 +306,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_GetTopicRequest_fieldAccessorTable @@ -312,7 +318,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.GetTopicRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -361,39 +367,6 @@ private void buildPartial0(com.google.pubsub.v1.GetTopicRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.GetTopicRequest) { @@ -588,17 +561,6 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.GetTopicRequest) } 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 8d6b67130..29713e8fc 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface GetTopicRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.GetTopicRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java index 235ef5a58..2eb76d04b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings} */ -public final class IngestionDataSourceSettings extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class IngestionDataSourceSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings) IngestionDataSourceSettingsOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "IngestionDataSourceSettings"); + } + // Use IngestionDataSourceSettings.newBuilder() to construct. - private IngestionDataSourceSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private IngestionDataSourceSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private IngestionDataSourceSettings() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new IngestionDataSourceSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_fieldAccessorTable @@ -225,14 +231,24 @@ public interface AwsKinesisOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis} */ - public static final class AwsKinesis extends com.google.protobuf.GeneratedMessageV3 + public static final class AwsKinesis extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) AwsKinesisOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AwsKinesis"); + } + // Use AwsKinesis.newBuilder() to construct. - private AwsKinesis(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AwsKinesis(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -244,19 +260,13 @@ private AwsKinesis() { gcpServiceAccount_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AwsKinesis(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_fieldAccessorTable @@ -301,13 +311,13 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { *
        * Permission denied encountered while consuming data from Kinesis.
        * This can happen if:
-       *   - The provided `aws_role_arn` does not exist or does not have the
-       *     appropriate permissions attached.
-       *   - The provided `aws_role_arn` is not set up properly for Identity
-       *     Federation using `gcp_service_account`.
-       *   - The Pub/Sub SA is not granted the
-       *     `iam.serviceAccounts.getOpenIdToken` permission on
-       *     `gcp_service_account`.
+       * - The provided `aws_role_arn` does not exist or does not have the
+       * appropriate permissions attached.
+       * - The provided `aws_role_arn` is not set up properly for Identity
+       * Federation using `gcp_service_account`.
+       * - The Pub/Sub SA is not granted the
+       * `iam.serviceAccounts.getOpenIdToken` permission on
+       * `gcp_service_account`.
        * 
* * KINESIS_PERMISSION_DENIED = 2; @@ -348,6 +358,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -376,13 +396,13 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { *
        * Permission denied encountered while consuming data from Kinesis.
        * This can happen if:
-       *   - The provided `aws_role_arn` does not exist or does not have the
-       *     appropriate permissions attached.
-       *   - The provided `aws_role_arn` is not set up properly for Identity
-       *     Federation using `gcp_service_account`.
-       *   - The Pub/Sub SA is not granted the
-       *     `iam.serviceAccounts.getOpenIdToken` permission on
-       *     `gcp_service_account`.
+       * - The provided `aws_role_arn` does not exist or does not have the
+       * appropriate permissions attached.
+       * - The provided `aws_role_arn` is not set up properly for Identity
+       * Federation using `gcp_service_account`.
+       * - The Pub/Sub SA is not granted the
+       * `iam.serviceAccounts.getOpenIdToken` permission on
+       * `gcp_service_account`.
        * 
* * KINESIS_PERMISSION_DENIED = 2; @@ -488,7 +508,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDescriptor() .getEnumTypes() .get(0); @@ -803,17 +823,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamArn_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, streamArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(streamArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, streamArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consumerArn_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, consumerArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(consumerArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, consumerArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRoleArn_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, awsRoleArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(awsRoleArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, awsRoleArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, gcpServiceAccount_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, gcpServiceAccount_); } getUnknownFields().writeTo(output); } @@ -829,17 +849,17 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamArn_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(streamArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, streamArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consumerArn_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, consumerArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(consumerArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, consumerArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRoleArn_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, awsRoleArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(awsRoleArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, awsRoleArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, gcpServiceAccount_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, gcpServiceAccount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -925,38 +945,38 @@ public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseF public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -980,8 +1000,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -995,8 +1014,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder { @@ -1006,7 +1024,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_fieldAccessorTable @@ -1018,7 +1036,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1086,41 +1104,6 @@ private void buildPartial0( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) { @@ -1820,18 +1803,6 @@ public Builder setGcpServiceAccountBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) } @@ -2180,14 +2151,24 @@ public interface CloudStorageOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage} */ - public static final class CloudStorage extends com.google.protobuf.GeneratedMessageV3 + public static final class CloudStorage extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) CloudStorageOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "CloudStorage"); + } + // Use CloudStorage.newBuilder() to construct. - private CloudStorage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CloudStorage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -2197,19 +2178,13 @@ private CloudStorage() { matchGlob_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CloudStorage(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_fieldAccessorTable @@ -2300,6 +2275,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -2439,7 +2424,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDescriptor() .getEnumTypes() .get(0); @@ -2522,14 +2507,24 @@ public interface TextFormatOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat} */ - public static final class TextFormat extends com.google.protobuf.GeneratedMessageV3 + public static final class TextFormat extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat) TextFormatOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "TextFormat"); + } + // Use TextFormat.newBuilder() to construct. - private TextFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TextFormat(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -2537,19 +2532,13 @@ private TextFormat() { delimiter_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TextFormat(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_fieldAccessorTable @@ -2644,7 +2633,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, delimiter_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, delimiter_); } getUnknownFields().writeTo(output); } @@ -2656,7 +2645,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, delimiter_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, delimiter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2739,7 +2728,7 @@ public int hashCode() { public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat @@ -2747,13 +2736,13 @@ public int hashCode() { java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat @@ -2761,13 +2750,13 @@ public int hashCode() { java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat @@ -2775,7 +2764,7 @@ public int hashCode() { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2800,7 +2789,7 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2817,7 +2806,7 @@ protected Builder newBuilderForType( * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat} */ public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat) com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder { @@ -2827,7 +2816,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_fieldAccessorTable @@ -2841,7 +2830,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2899,41 +2888,6 @@ private void buildPartial0( result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -3133,18 +3087,6 @@ public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat) } @@ -3217,32 +3159,36 @@ public interface AvroFormatOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat} */ - public static final class AvroFormat extends com.google.protobuf.GeneratedMessageV3 + public static final class AvroFormat extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat) AvroFormatOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AvroFormat"); + } + // Use AvroFormat.newBuilder() to construct. - private AvroFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AvroFormat(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private AvroFormat() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AvroFormat(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_fieldAccessorTable @@ -3348,7 +3294,7 @@ public int hashCode() { public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat @@ -3356,13 +3302,13 @@ public int hashCode() { java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat @@ -3370,13 +3316,13 @@ public int hashCode() { java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat @@ -3384,7 +3330,7 @@ public int hashCode() { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -3409,7 +3355,7 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -3426,7 +3372,7 @@ protected Builder newBuilderForType( * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat} */ public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat) com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder { @@ -3436,7 +3382,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_fieldAccessorTable @@ -3450,7 +3396,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -3492,41 +3438,6 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -3587,18 +3498,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat) } @@ -3673,32 +3572,36 @@ public interface PubSubAvroFormatOrBuilder * Protobuf type {@code * google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat} */ - public static final class PubSubAvroFormat extends com.google.protobuf.GeneratedMessageV3 + public static final class PubSubAvroFormat extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat) PubSubAvroFormatOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PubSubAvroFormat"); + } + // Use PubSubAvroFormat.newBuilder() to construct. - private PubSubAvroFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PubSubAvroFormat(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private PubSubAvroFormat() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PubSubAvroFormat(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_fieldAccessorTable @@ -3806,7 +3709,7 @@ public int hashCode() { public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat @@ -3814,13 +3717,13 @@ public int hashCode() { java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat @@ -3828,13 +3731,13 @@ public int hashCode() { java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat @@ -3842,7 +3745,7 @@ public int hashCode() { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -3868,7 +3771,7 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -3887,7 +3790,7 @@ protected Builder newBuilderForType( * google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat} */ public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat) com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder { @@ -3897,7 +3800,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_fieldAccessorTable @@ -3912,7 +3815,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -3956,41 +3859,6 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -4053,18 +3921,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat) } @@ -4620,8 +4476,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bucket_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucket_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, bucket_); } if (inputFormatCase_ == 3) { output.writeMessage( @@ -4644,8 +4500,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(6, getMinimumObjectCreateTime()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matchGlob_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, matchGlob_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(matchGlob_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 9, matchGlob_); } getUnknownFields().writeTo(output); } @@ -4661,8 +4517,8 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bucket_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucket_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, bucket_); } if (inputFormatCase_ == 3) { size += @@ -4690,8 +4546,8 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 6, getMinimumObjectCreateTime()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matchGlob_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, matchGlob_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(matchGlob_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(9, matchGlob_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4809,38 +4665,38 @@ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage pars public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -4864,8 +4720,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -4879,8 +4734,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder { @@ -4890,7 +4744,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_fieldAccessorTable @@ -4904,14 +4758,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMinimumObjectCreateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetMinimumObjectCreateTimeFieldBuilder(); } } @@ -5012,41 +4866,6 @@ private void buildPartialOneofs( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) { @@ -5139,27 +4958,30 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(getTextFormatFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetTextFormatFieldBuilder().getBuilder(), extensionRegistry); inputFormatCase_ = 3; break; } // case 26 case 34: { - input.readMessage(getAvroFormatFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetAvroFormatFieldBuilder().getBuilder(), extensionRegistry); inputFormatCase_ = 4; break; } // case 34 case 42: { input.readMessage( - getPubsubAvroFormatFieldBuilder().getBuilder(), extensionRegistry); + internalGetPubsubAvroFormatFieldBuilder().getBuilder(), extensionRegistry); inputFormatCase_ = 5; break; } // case 42 case 50: { input.readMessage( - getMinimumObjectCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + internalGetMinimumObjectCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 @@ -5436,7 +5258,7 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder> @@ -5622,7 +5444,7 @@ public Builder clearTextFormat() { */ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder getTextFormatBuilder() { - return getTextFormatFieldBuilder().getBuilder(); + return internalGetTextFormatFieldBuilder().getBuilder(); } /** @@ -5662,11 +5484,11 @@ public Builder clearTextFormat() { * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder> - getTextFormatFieldBuilder() { + internalGetTextFormatFieldBuilder() { if (textFormatBuilder_ == null) { if (!(inputFormatCase_ == 3)) { inputFormat_ = @@ -5674,7 +5496,7 @@ public Builder clearTextFormat() { .getDefaultInstance(); } textFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage @@ -5690,7 +5512,7 @@ public Builder clearTextFormat() { return textFormatBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder> @@ -5876,7 +5698,7 @@ public Builder clearAvroFormat() { */ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder getAvroFormatBuilder() { - return getAvroFormatFieldBuilder().getBuilder(); + return internalGetAvroFormatFieldBuilder().getBuilder(); } /** @@ -5916,11 +5738,11 @@ public Builder clearAvroFormat() { * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder> - getAvroFormatFieldBuilder() { + internalGetAvroFormatFieldBuilder() { if (avroFormatBuilder_ == null) { if (!(inputFormatCase_ == 4)) { inputFormat_ = @@ -5928,7 +5750,7 @@ public Builder clearAvroFormat() { .getDefaultInstance(); } avroFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage @@ -5944,7 +5766,7 @@ public Builder clearAvroFormat() { return avroFormatBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat .Builder, @@ -6148,7 +5970,7 @@ public Builder clearPubsubAvroFormat() { */ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.Builder getPubsubAvroFormatBuilder() { - return getPubsubAvroFormatFieldBuilder().getBuilder(); + return internalGetPubsubAvroFormatFieldBuilder().getBuilder(); } /** @@ -6192,13 +6014,13 @@ public Builder clearPubsubAvroFormat() { * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat .Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage .PubSubAvroFormatOrBuilder> - getPubsubAvroFormatFieldBuilder() { + internalGetPubsubAvroFormatFieldBuilder() { if (pubsubAvroFormatBuilder_ == null) { if (!(inputFormatCase_ == 5)) { inputFormat_ = @@ -6206,7 +6028,7 @@ public Builder clearPubsubAvroFormat() { .getDefaultInstance(); } pubsubAvroFormatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat .Builder, @@ -6224,7 +6046,7 @@ public Builder clearPubsubAvroFormat() { } private com.google.protobuf.Timestamp minimumObjectCreateTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -6391,7 +6213,7 @@ public Builder clearMinimumObjectCreateTime() { public com.google.protobuf.Timestamp.Builder getMinimumObjectCreateTimeBuilder() { bitField0_ |= 0x00000020; onChanged(); - return getMinimumObjectCreateTimeFieldBuilder().getBuilder(); + return internalGetMinimumObjectCreateTimeFieldBuilder().getBuilder(); } /** @@ -6428,14 +6250,14 @@ public com.google.protobuf.TimestampOrBuilder getMinimumObjectCreateTimeOrBuilde * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getMinimumObjectCreateTimeFieldBuilder() { + internalGetMinimumObjectCreateTimeFieldBuilder() { if (minimumObjectCreateTimeBuilder_ == null) { minimumObjectCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -6566,18 +6388,6 @@ public Builder setMatchGlobBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) } @@ -6868,14 +6678,24 @@ public interface AzureEventHubsOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs} */ - public static final class AzureEventHubs extends com.google.protobuf.GeneratedMessageV3 + public static final class AzureEventHubs extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs) AzureEventHubsOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AzureEventHubs"); + } + // Use AzureEventHubs.newBuilder() to construct. - private AzureEventHubs(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AzureEventHubs(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -6890,19 +6710,13 @@ private AzureEventHubs() { gcpServiceAccount_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AzureEventHubs(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_fieldAccessorTable @@ -7006,6 +6820,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -7164,7 +6988,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.getDescriptor() .getEnumTypes() .get(0); @@ -7632,26 +7456,26 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceGroup_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceGroup_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceGroup_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, resourceGroup_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, namespace_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(namespace_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, namespace_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventHub_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, eventHub_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventHub_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, eventHub_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, clientId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, clientId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenantId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, tenantId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, tenantId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscriptionId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, subscriptionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscriptionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, subscriptionId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, gcpServiceAccount_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, gcpServiceAccount_); } getUnknownFields().writeTo(output); } @@ -7667,26 +7491,26 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceGroup_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceGroup_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceGroup_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, resourceGroup_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, namespace_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(namespace_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, namespace_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventHub_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, eventHub_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventHub_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, eventHub_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, clientId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, clientId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenantId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, tenantId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, tenantId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscriptionId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, subscriptionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscriptionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, subscriptionId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, gcpServiceAccount_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, gcpServiceAccount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7781,39 +7605,39 @@ public static com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs pa public static com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -7837,8 +7661,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -7852,8 +7675,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs) com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder { @@ -7863,7 +7685,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_fieldAccessorTable @@ -7876,7 +7698,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -7956,41 +7778,6 @@ private void buildPartial0( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs) { @@ -9042,18 +8829,6 @@ public Builder setGcpServiceAccountBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs) } @@ -9278,14 +9053,24 @@ public interface AwsMskOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.AwsMsk} */ - public static final class AwsMsk extends com.google.protobuf.GeneratedMessageV3 + public static final class AwsMsk extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.AwsMsk) AwsMskOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AwsMsk"); + } + // Use AwsMsk.newBuilder() to construct. - private AwsMsk(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AwsMsk(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -9297,19 +9082,13 @@ private AwsMsk() { gcpServiceAccount_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AwsMsk(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsMsk_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsMsk_fieldAccessorTable @@ -9391,6 +9170,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -9521,7 +9310,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.getDescriptor() .getEnumTypes() .get(0); @@ -9842,17 +9631,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterArn_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clusterArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, topic_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRoleArn_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, awsRoleArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(awsRoleArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, awsRoleArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, gcpServiceAccount_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, gcpServiceAccount_); } getUnknownFields().writeTo(output); } @@ -9868,17 +9657,17 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterArn_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clusterArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, topic_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRoleArn_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, awsRoleArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(awsRoleArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, awsRoleArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, gcpServiceAccount_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, gcpServiceAccount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9964,38 +9753,38 @@ public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk parseFrom( public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -10019,8 +9808,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -10034,8 +9822,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.AwsMsk} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings.AwsMsk) com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder { @@ -10045,7 +9832,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsMsk_fieldAccessorTable @@ -10057,7 +9844,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -10123,41 +9910,6 @@ private void buildPartial0(com.google.pubsub.v1.IngestionDataSourceSettings.AwsM } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk) { @@ -10870,18 +10622,6 @@ public Builder setGcpServiceAccountBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings.AwsMsk) } @@ -11119,14 +10859,24 @@ public interface ConfluentCloudOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud} */ - public static final class ConfluentCloud extends com.google.protobuf.GeneratedMessageV3 + public static final class ConfluentCloud extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud) ConfluentCloudOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ConfluentCloud"); + } + // Use ConfluentCloud.newBuilder() to construct. - private ConfluentCloud(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfluentCloud(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -11139,19 +10889,13 @@ private ConfluentCloud() { gcpServiceAccount_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ConfluentCloud(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_ConfluentCloud_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_ConfluentCloud_fieldAccessorTable @@ -11244,6 +10988,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -11388,7 +11142,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.getDescriptor() .getEnumTypes() .get(0); @@ -11752,20 +11506,20 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootstrapServer_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bootstrapServer_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bootstrapServer_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, bootstrapServer_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, clusterId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, topic_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identityPoolId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, identityPoolId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(identityPoolId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, identityPoolId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, gcpServiceAccount_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, gcpServiceAccount_); } getUnknownFields().writeTo(output); } @@ -11781,20 +11535,20 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootstrapServer_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bootstrapServer_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bootstrapServer_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, bootstrapServer_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, clusterId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, topic_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identityPoolId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, identityPoolId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(identityPoolId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, identityPoolId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, gcpServiceAccount_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, gcpServiceAccount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -11883,39 +11637,39 @@ public static com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud pa public static com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -11939,8 +11693,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -11954,8 +11707,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud) com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloudOrBuilder { @@ -11965,7 +11717,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_ConfluentCloud_fieldAccessorTable @@ -11978,7 +11730,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -12050,41 +11802,6 @@ private void buildPartial0( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud) { @@ -12897,18 +12614,6 @@ public Builder setGcpServiceAccountBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud) } @@ -13584,38 +13289,38 @@ public static com.google.pubsub.v1.IngestionDataSourceSettings parseFrom( public static com.google.pubsub.v1.IngestionDataSourceSettings parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionDataSourceSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionDataSourceSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -13638,7 +13343,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -13652,7 +13357,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionDataSourceSettings) com.google.pubsub.v1.IngestionDataSourceSettingsOrBuilder { @@ -13662,7 +13367,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionDataSourceSettings_fieldAccessorTable @@ -13676,14 +13381,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPlatformLogsSettingsFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetPlatformLogsSettingsFieldBuilder(); } } @@ -13781,39 +13486,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.IngestionDataSourceSettings } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionDataSourceSettings) { @@ -13889,38 +13561,42 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getAwsKinesisFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetAwsKinesisFieldBuilder().getBuilder(), extensionRegistry); sourceCase_ = 1; break; } // case 10 case 18: { - input.readMessage(getCloudStorageFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCloudStorageFieldBuilder().getBuilder(), extensionRegistry); sourceCase_ = 2; break; } // case 18 case 26: { - input.readMessage(getAzureEventHubsFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetAzureEventHubsFieldBuilder().getBuilder(), extensionRegistry); sourceCase_ = 3; break; } // case 26 case 34: { input.readMessage( - getPlatformLogsSettingsFieldBuilder().getBuilder(), extensionRegistry); + internalGetPlatformLogsSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 34 case 42: { - input.readMessage(getAwsMskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetAwsMskFieldBuilder().getBuilder(), extensionRegistry); sourceCase_ = 5; break; } // case 42 case 50: { - input.readMessage(getConfluentCloudFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetConfluentCloudFieldBuilder().getBuilder(), extensionRegistry); sourceCase_ = 6; break; } // case 50 @@ -13957,7 +13633,7 @@ public Builder clearSource() { private int bitField0_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis, com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder> @@ -14137,7 +13813,7 @@ public Builder clearAwsKinesis() { */ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder getAwsKinesisBuilder() { - return getAwsKinesisFieldBuilder().getBuilder(); + return internalGetAwsKinesisFieldBuilder().getBuilder(); } /** @@ -14175,18 +13851,18 @@ public Builder clearAwsKinesis() { * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis, com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder> - getAwsKinesisFieldBuilder() { + internalGetAwsKinesisFieldBuilder() { if (awsKinesisBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance(); } awsKinesisBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis, com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder>( @@ -14200,7 +13876,7 @@ public Builder clearAwsKinesis() { return awsKinesisBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder> @@ -14380,7 +14056,7 @@ public Builder clearCloudStorage() { */ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder getCloudStorageBuilder() { - return getCloudStorageFieldBuilder().getBuilder(); + return internalGetCloudStorageFieldBuilder().getBuilder(); } /** @@ -14418,18 +14094,18 @@ public Builder clearCloudStorage() { * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder> - getCloudStorageFieldBuilder() { + internalGetCloudStorageFieldBuilder() { if (cloudStorageBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance(); } cloudStorageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder>( @@ -14443,7 +14119,7 @@ public Builder clearCloudStorage() { return cloudStorageBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs, com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder> @@ -14623,7 +14299,7 @@ public Builder clearAzureEventHubs() { */ public com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.Builder getAzureEventHubsBuilder() { - return getAzureEventHubsFieldBuilder().getBuilder(); + return internalGetAzureEventHubsFieldBuilder().getBuilder(); } /** @@ -14661,18 +14337,18 @@ public Builder clearAzureEventHubs() { * .google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs azure_event_hubs = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs, com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder> - getAzureEventHubsFieldBuilder() { + internalGetAzureEventHubsFieldBuilder() { if (azureEventHubsBuilder_ == null) { if (!(sourceCase_ == 3)) { source_ = com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.getDefaultInstance(); } azureEventHubsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs, com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder>( @@ -14686,7 +14362,7 @@ public Builder clearAzureEventHubs() { return azureEventHubsBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk, com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder> @@ -14862,7 +14538,7 @@ public Builder clearAwsMsk() { * */ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.Builder getAwsMskBuilder() { - return getAwsMskFieldBuilder().getBuilder(); + return internalGetAwsMskFieldBuilder().getBuilder(); } /** @@ -14899,17 +14575,17 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder getAwsMs * .google.pubsub.v1.IngestionDataSourceSettings.AwsMsk aws_msk = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk, com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder> - getAwsMskFieldBuilder() { + internalGetAwsMskFieldBuilder() { if (awsMskBuilder_ == null) { if (!(sourceCase_ == 5)) { source_ = com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.getDefaultInstance(); } awsMskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk, com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder>( @@ -14923,7 +14599,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder getAwsMs return awsMskBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud, com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloudOrBuilder> @@ -15103,7 +14779,7 @@ public Builder clearConfluentCloud() { */ public com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.Builder getConfluentCloudBuilder() { - return getConfluentCloudFieldBuilder().getBuilder(); + return internalGetConfluentCloudFieldBuilder().getBuilder(); } /** @@ -15141,18 +14817,18 @@ public Builder clearConfluentCloud() { * .google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud confluent_cloud = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud, com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloudOrBuilder> - getConfluentCloudFieldBuilder() { + internalGetConfluentCloudFieldBuilder() { if (confluentCloudBuilder_ == null) { if (!(sourceCase_ == 6)) { source_ = com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.getDefaultInstance(); } confluentCloudBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud, com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloudOrBuilder>( @@ -15167,7 +14843,7 @@ public Builder clearConfluentCloud() { } private com.google.pubsub.v1.PlatformLogsSettings platformLogsSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PlatformLogsSettings, com.google.pubsub.v1.PlatformLogsSettings.Builder, com.google.pubsub.v1.PlatformLogsSettingsOrBuilder> @@ -15335,7 +15011,7 @@ public Builder clearPlatformLogsSettings() { public com.google.pubsub.v1.PlatformLogsSettings.Builder getPlatformLogsSettingsBuilder() { bitField0_ |= 0x00000020; onChanged(); - return getPlatformLogsSettingsFieldBuilder().getBuilder(); + return internalGetPlatformLogsSettingsFieldBuilder().getBuilder(); } /** @@ -15372,14 +15048,14 @@ public com.google.pubsub.v1.PlatformLogsSettingsOrBuilder getPlatformLogsSetting * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PlatformLogsSettings, com.google.pubsub.v1.PlatformLogsSettings.Builder, com.google.pubsub.v1.PlatformLogsSettingsOrBuilder> - getPlatformLogsSettingsFieldBuilder() { + internalGetPlatformLogsSettingsFieldBuilder() { if (platformLogsSettingsBuilder_ == null) { platformLogsSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PlatformLogsSettings, com.google.pubsub.v1.PlatformLogsSettings.Builder, com.google.pubsub.v1.PlatformLogsSettingsOrBuilder>( @@ -15389,17 +15065,6 @@ public com.google.pubsub.v1.PlatformLogsSettingsOrBuilder getPlatformLogsSetting return platformLogsSettingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionDataSourceSettings) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java index 31f1058e2..9e641bb67 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface IngestionDataSourceSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.IngestionDataSourceSettings) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEvent.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEvent.java index 2df52b4a8..6fde71fb1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEvent.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEvent.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -29,14 +30,25 @@ * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent} */ -public final class IngestionFailureEvent extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class IngestionFailureEvent extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent) IngestionFailureEventOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "IngestionFailureEvent"); + } + // Use IngestionFailureEvent.newBuilder() to construct. - private IngestionFailureEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private IngestionFailureEvent(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private IngestionFailureEvent() { errorMessage_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new IngestionFailureEvent(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_fieldAccessorTable @@ -87,32 +93,36 @@ public interface ApiViolationReasonOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.ApiViolationReason} */ - public static final class ApiViolationReason extends com.google.protobuf.GeneratedMessageV3 + public static final class ApiViolationReason extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.ApiViolationReason) ApiViolationReasonOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ApiViolationReason"); + } + // Use ApiViolationReason.newBuilder() to construct. - private ApiViolationReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ApiViolationReason(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ApiViolationReason() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ApiViolationReason(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_ApiViolationReason_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_ApiViolationReason_fieldAccessorTable @@ -213,38 +223,38 @@ public static com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason pars public static com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -268,8 +278,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -290,8 +299,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.ApiViolationReason} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.ApiViolationReason) com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder { @@ -301,7 +309,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_ApiViolationReason_fieldAccessorTable @@ -313,7 +321,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -352,41 +360,6 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason buildPartia return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason) { @@ -445,18 +418,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.ApiViolationReason) } @@ -527,32 +488,36 @@ public interface AvroFailureReasonOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.AvroFailureReason} */ - public static final class AvroFailureReason extends com.google.protobuf.GeneratedMessageV3 + public static final class AvroFailureReason extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.AvroFailureReason) AvroFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AvroFailureReason"); + } + // Use AvroFailureReason.newBuilder() to construct. - private AvroFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AvroFailureReason(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private AvroFailureReason() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AvroFailureReason(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AvroFailureReason_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AvroFailureReason_fieldAccessorTable @@ -653,38 +618,38 @@ public static com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason parse public static com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -708,8 +673,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -724,8 +688,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.AvroFailureReason} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.AvroFailureReason) com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReasonOrBuilder { @@ -735,7 +698,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AvroFailureReason_fieldAccessorTable @@ -747,7 +710,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -786,41 +749,6 @@ public com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason buildPartial return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason) { @@ -878,18 +806,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.AvroFailureReason) } @@ -960,32 +876,36 @@ public interface SchemaViolationReasonOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason} */ - public static final class SchemaViolationReason extends com.google.protobuf.GeneratedMessageV3 + public static final class SchemaViolationReason extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason) SchemaViolationReasonOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "SchemaViolationReason"); + } + // Use SchemaViolationReason.newBuilder() to construct. - private SchemaViolationReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SchemaViolationReason(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private SchemaViolationReason() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SchemaViolationReason(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_SchemaViolationReason_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_SchemaViolationReason_fieldAccessorTable @@ -1086,39 +1006,39 @@ public static com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason p public static com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1142,8 +1062,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1158,8 +1077,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason) com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder { @@ -1169,7 +1087,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_SchemaViolationReason_fieldAccessorTable @@ -1182,7 +1100,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1222,41 +1140,6 @@ public com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason buildPar return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason) { @@ -1316,18 +1199,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason) } @@ -1399,33 +1270,37 @@ public interface MessageTransformationFailureReasonOrBuilder * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason} */ public static final class MessageTransformationFailureReason - extends com.google.protobuf.GeneratedMessageV3 + extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason) MessageTransformationFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "MessageTransformationFailureReason"); + } + // Use MessageTransformationFailureReason.newBuilder() to construct. private MessageTransformationFailureReason( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private MessageTransformationFailureReason() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MessageTransformationFailureReason(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_MessageTransformationFailureReason_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_MessageTransformationFailureReason_fieldAccessorTable @@ -1532,33 +1407,33 @@ public int hashCode() { public static com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason @@ -1566,7 +1441,7 @@ public int hashCode() { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1590,8 +1465,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1607,8 +1481,7 @@ protected Builder newBuilderForType( * Protobuf type {@code * google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason) com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReasonOrBuilder { @@ -1618,7 +1491,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_MessageTransformationFailureReason_fieldAccessorTable @@ -1632,7 +1505,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1674,41 +1547,6 @@ public com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureRe return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -1771,18 +1609,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason) } @@ -2108,14 +1934,24 @@ public interface CloudStorageFailureOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure} */ - public static final class CloudStorageFailure extends com.google.protobuf.GeneratedMessageV3 + public static final class CloudStorageFailure extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure) CloudStorageFailureOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "CloudStorageFailure"); + } + // Use CloudStorageFailure.newBuilder() to construct. - private CloudStorageFailure(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CloudStorageFailure(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -2124,19 +1960,13 @@ private CloudStorageFailure() { objectName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CloudStorageFailure(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_CloudStorageFailure_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_CloudStorageFailure_fieldAccessorTable @@ -2599,11 +2429,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucket_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, bucket_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, objectName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(objectName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, objectName_); } if (objectGeneration_ != 0L) { output.writeInt64(3, objectGeneration_); @@ -2635,11 +2465,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucket_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucket_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, bucket_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, objectName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(objectName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, objectName_); } if (objectGeneration_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, objectGeneration_); @@ -2782,38 +2612,38 @@ public static com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure par public static com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2837,8 +2667,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2852,8 +2681,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure) com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailureOrBuilder { @@ -2863,7 +2691,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_CloudStorageFailure_fieldAccessorTable @@ -2875,7 +2703,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2968,41 +2796,6 @@ private void buildPartialOneofs( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure) { @@ -3105,28 +2898,29 @@ public Builder mergeFrom( case 42: { input.readMessage( - getAvroFailureReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetAvroFailureReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 5; break; } // case 42 case 50: { input.readMessage( - getApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 6; break; } // case 50 case 58: { input.readMessage( - getSchemaViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetSchemaViolationReasonFieldBuilder().getBuilder(), + extensionRegistry); reasonCase_ = 7; break; } // case 58 case 66: { input.readMessage( - getMessageTransformationFailureReasonFieldBuilder().getBuilder(), + internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 8; break; @@ -3450,7 +3244,7 @@ public Builder clearObjectGeneration() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReasonOrBuilder> @@ -3630,7 +3424,7 @@ public Builder clearAvroFailureReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.Builder getAvroFailureReasonBuilder() { - return getAvroFailureReasonFieldBuilder().getBuilder(); + return internalGetAvroFailureReasonFieldBuilder().getBuilder(); } /** @@ -3668,18 +3462,18 @@ public Builder clearAvroFailureReason() { * .google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReasonOrBuilder> - getAvroFailureReasonFieldBuilder() { + internalGetAvroFailureReasonFieldBuilder() { if (avroFailureReasonBuilder_ == null) { if (!(reasonCase_ == 5)) { reason_ = com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.getDefaultInstance(); } avroFailureReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReasonOrBuilder>( @@ -3693,7 +3487,7 @@ public Builder clearAvroFailureReason() { return avroFailureReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> @@ -3880,7 +3674,7 @@ public Builder clearApiViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder getApiViolationReasonBuilder() { - return getApiViolationReasonFieldBuilder().getBuilder(); + return internalGetApiViolationReasonFieldBuilder().getBuilder(); } /** @@ -3920,18 +3714,18 @@ public Builder clearApiViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> - getApiViolationReasonFieldBuilder() { + internalGetApiViolationReasonFieldBuilder() { if (apiViolationReasonBuilder_ == null) { if (!(reasonCase_ == 6)) { reason_ = com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } apiViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder>( @@ -3945,7 +3739,7 @@ public Builder clearApiViolationReason() { return apiViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> @@ -4129,7 +3923,7 @@ public Builder clearSchemaViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder getSchemaViolationReasonBuilder() { - return getSchemaViolationReasonFieldBuilder().getBuilder(); + return internalGetSchemaViolationReasonFieldBuilder().getBuilder(); } /** @@ -4168,11 +3962,11 @@ public Builder clearSchemaViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> - getSchemaViolationReasonFieldBuilder() { + internalGetSchemaViolationReasonFieldBuilder() { if (schemaViolationReasonBuilder_ == null) { if (!(reasonCase_ == 7)) { reason_ = @@ -4180,7 +3974,7 @@ public Builder clearSchemaViolationReason() { .getDefaultInstance(); } schemaViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder>( @@ -4194,7 +3988,7 @@ public Builder clearSchemaViolationReason() { return schemaViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent @@ -4390,7 +4184,7 @@ public Builder clearMessageTransformationFailureReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder getMessageTransformationFailureReasonBuilder() { - return getMessageTransformationFailureReasonFieldBuilder().getBuilder(); + return internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(); } /** @@ -4432,12 +4226,12 @@ public Builder clearMessageTransformationFailureReason() { * .google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason message_transformation_failure_reason = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent .MessageTransformationFailureReasonOrBuilder> - getMessageTransformationFailureReasonFieldBuilder() { + internalGetMessageTransformationFailureReasonFieldBuilder() { if (messageTransformationFailureReasonBuilder_ == null) { if (!(reasonCase_ == 8)) { reason_ = @@ -4445,7 +4239,7 @@ public Builder clearMessageTransformationFailureReason() { .getDefaultInstance(); } messageTransformationFailureReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason .Builder, @@ -4462,18 +4256,6 @@ public Builder clearMessageTransformationFailureReason() { return messageTransformationFailureReasonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure) } @@ -4764,14 +4546,24 @@ public interface AwsMskFailureReasonOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason} */ - public static final class AwsMskFailureReason extends com.google.protobuf.GeneratedMessageV3 + public static final class AwsMskFailureReason extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason) AwsMskFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AwsMskFailureReason"); + } + // Use AwsMskFailureReason.newBuilder() to construct. - private AwsMskFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AwsMskFailureReason(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -4780,19 +4572,13 @@ private AwsMskFailureReason() { kafkaTopic_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AwsMskFailureReason(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AwsMskFailureReason_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AwsMskFailureReason_fieldAccessorTable @@ -5208,11 +4994,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterArn_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, clusterArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kafkaTopic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kafkaTopic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kafkaTopic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, kafkaTopic_); } if (partitionId_ != 0L) { output.writeInt64(3, partitionId_); @@ -5243,11 +5029,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterArn_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, clusterArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kafkaTopic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kafkaTopic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kafkaTopic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, kafkaTopic_); } if (partitionId_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, partitionId_); @@ -5384,38 +5170,38 @@ public static com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason par public static com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -5439,8 +5225,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -5454,8 +5239,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason) com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReasonOrBuilder { @@ -5465,7 +5249,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AwsMskFailureReason_fieldAccessorTable @@ -5477,7 +5261,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -5568,41 +5352,6 @@ private void buildPartialOneofs( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason) { @@ -5709,21 +5458,22 @@ public Builder mergeFrom( case 42: { input.readMessage( - getApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 5; break; } // case 42 case 50: { input.readMessage( - getSchemaViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetSchemaViolationReasonFieldBuilder().getBuilder(), + extensionRegistry); reasonCase_ = 6; break; } // case 50 case 58: { input.readMessage( - getMessageTransformationFailureReasonFieldBuilder().getBuilder(), + internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 7; break; @@ -6098,7 +5848,7 @@ public Builder clearOffset() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> @@ -6285,7 +6035,7 @@ public Builder clearApiViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder getApiViolationReasonBuilder() { - return getApiViolationReasonFieldBuilder().getBuilder(); + return internalGetApiViolationReasonFieldBuilder().getBuilder(); } /** @@ -6325,18 +6075,18 @@ public Builder clearApiViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> - getApiViolationReasonFieldBuilder() { + internalGetApiViolationReasonFieldBuilder() { if (apiViolationReasonBuilder_ == null) { if (!(reasonCase_ == 5)) { reason_ = com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } apiViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder>( @@ -6350,7 +6100,7 @@ public Builder clearApiViolationReason() { return apiViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> @@ -6534,7 +6284,7 @@ public Builder clearSchemaViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder getSchemaViolationReasonBuilder() { - return getSchemaViolationReasonFieldBuilder().getBuilder(); + return internalGetSchemaViolationReasonFieldBuilder().getBuilder(); } /** @@ -6573,11 +6323,11 @@ public Builder clearSchemaViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> - getSchemaViolationReasonFieldBuilder() { + internalGetSchemaViolationReasonFieldBuilder() { if (schemaViolationReasonBuilder_ == null) { if (!(reasonCase_ == 6)) { reason_ = @@ -6585,7 +6335,7 @@ public Builder clearSchemaViolationReason() { .getDefaultInstance(); } schemaViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder>( @@ -6599,7 +6349,7 @@ public Builder clearSchemaViolationReason() { return schemaViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent @@ -6795,7 +6545,7 @@ public Builder clearMessageTransformationFailureReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder getMessageTransformationFailureReasonBuilder() { - return getMessageTransformationFailureReasonFieldBuilder().getBuilder(); + return internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(); } /** @@ -6837,12 +6587,12 @@ public Builder clearMessageTransformationFailureReason() { * .google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason message_transformation_failure_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent .MessageTransformationFailureReasonOrBuilder> - getMessageTransformationFailureReasonFieldBuilder() { + internalGetMessageTransformationFailureReasonFieldBuilder() { if (messageTransformationFailureReasonBuilder_ == null) { if (!(reasonCase_ == 7)) { reason_ = @@ -6850,7 +6600,7 @@ public Builder clearMessageTransformationFailureReason() { .getDefaultInstance(); } messageTransformationFailureReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason .Builder, @@ -6867,18 +6617,6 @@ public Builder clearMessageTransformationFailureReason() { return messageTransformationFailureReasonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason) } @@ -7170,15 +6908,24 @@ public interface AzureEventHubsFailureReasonOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason} */ - public static final class AzureEventHubsFailureReason - extends com.google.protobuf.GeneratedMessageV3 + public static final class AzureEventHubsFailureReason extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason) AzureEventHubsFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AzureEventHubsFailureReason"); + } + // Use AzureEventHubsFailureReason.newBuilder() to construct. - private AzureEventHubsFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AzureEventHubsFailureReason(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -7187,19 +6934,13 @@ private AzureEventHubsFailureReason() { eventHub_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AzureEventHubsFailureReason(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AzureEventHubsFailureReason_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AzureEventHubsFailureReason_fieldAccessorTable @@ -7615,11 +7356,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namespace_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(namespace_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, namespace_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventHub_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, eventHub_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventHub_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, eventHub_); } if (partitionId_ != 0L) { output.writeInt64(3, partitionId_); @@ -7650,11 +7391,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, namespace_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(namespace_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, namespace_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventHub_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventHub_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventHub_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, eventHub_); } if (partitionId_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, partitionId_); @@ -7792,39 +7533,39 @@ public static com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureRe public static com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -7848,8 +7589,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -7863,8 +7603,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason) com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder { @@ -7874,7 +7613,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AzureEventHubsFailureReason_fieldAccessorTable @@ -7888,7 +7627,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -7981,41 +7720,6 @@ private void buildPartialOneofs( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -8124,21 +7828,22 @@ public Builder mergeFrom( case 42: { input.readMessage( - getApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 5; break; } // case 42 case 50: { input.readMessage( - getSchemaViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetSchemaViolationReasonFieldBuilder().getBuilder(), + extensionRegistry); reasonCase_ = 6; break; } // case 50 case 58: { input.readMessage( - getMessageTransformationFailureReasonFieldBuilder().getBuilder(), + internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 7; break; @@ -8513,7 +8218,7 @@ public Builder clearOffset() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> @@ -8700,7 +8405,7 @@ public Builder clearApiViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder getApiViolationReasonBuilder() { - return getApiViolationReasonFieldBuilder().getBuilder(); + return internalGetApiViolationReasonFieldBuilder().getBuilder(); } /** @@ -8740,18 +8445,18 @@ public Builder clearApiViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> - getApiViolationReasonFieldBuilder() { + internalGetApiViolationReasonFieldBuilder() { if (apiViolationReasonBuilder_ == null) { if (!(reasonCase_ == 5)) { reason_ = com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } apiViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder>( @@ -8765,7 +8470,7 @@ public Builder clearApiViolationReason() { return apiViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> @@ -8949,7 +8654,7 @@ public Builder clearSchemaViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder getSchemaViolationReasonBuilder() { - return getSchemaViolationReasonFieldBuilder().getBuilder(); + return internalGetSchemaViolationReasonFieldBuilder().getBuilder(); } /** @@ -8988,11 +8693,11 @@ public Builder clearSchemaViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> - getSchemaViolationReasonFieldBuilder() { + internalGetSchemaViolationReasonFieldBuilder() { if (schemaViolationReasonBuilder_ == null) { if (!(reasonCase_ == 6)) { reason_ = @@ -9000,7 +8705,7 @@ public Builder clearSchemaViolationReason() { .getDefaultInstance(); } schemaViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder>( @@ -9014,7 +8719,7 @@ public Builder clearSchemaViolationReason() { return schemaViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent @@ -9210,7 +8915,7 @@ public Builder clearMessageTransformationFailureReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder getMessageTransformationFailureReasonBuilder() { - return getMessageTransformationFailureReasonFieldBuilder().getBuilder(); + return internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(); } /** @@ -9252,12 +8957,12 @@ public Builder clearMessageTransformationFailureReason() { * .google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason message_transformation_failure_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent .MessageTransformationFailureReasonOrBuilder> - getMessageTransformationFailureReasonFieldBuilder() { + internalGetMessageTransformationFailureReasonFieldBuilder() { if (messageTransformationFailureReasonBuilder_ == null) { if (!(reasonCase_ == 7)) { reason_ = @@ -9265,7 +8970,7 @@ public Builder clearMessageTransformationFailureReason() { .getDefaultInstance(); } messageTransformationFailureReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason .Builder, @@ -9282,18 +8987,6 @@ public Builder clearMessageTransformationFailureReason() { return messageTransformationFailureReasonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason) } @@ -9586,15 +9279,24 @@ public interface ConfluentCloudFailureReasonOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason} */ - public static final class ConfluentCloudFailureReason - extends com.google.protobuf.GeneratedMessageV3 + public static final class ConfluentCloudFailureReason extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason) ConfluentCloudFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ConfluentCloudFailureReason"); + } + // Use ConfluentCloudFailureReason.newBuilder() to construct. - private ConfluentCloudFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfluentCloudFailureReason(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -9603,19 +9305,13 @@ private ConfluentCloudFailureReason() { kafkaTopic_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ConfluentCloudFailureReason(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_ConfluentCloudFailureReason_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_ConfluentCloudFailureReason_fieldAccessorTable @@ -10031,11 +9727,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, clusterId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kafkaTopic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kafkaTopic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kafkaTopic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, kafkaTopic_); } if (partitionId_ != 0L) { output.writeInt64(3, partitionId_); @@ -10066,11 +9762,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, clusterId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kafkaTopic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kafkaTopic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kafkaTopic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, kafkaTopic_); } if (partitionId_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, partitionId_); @@ -10208,39 +9904,39 @@ public static com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureRe public static com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -10264,8 +9960,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -10279,8 +9974,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason) com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder { @@ -10290,7 +9984,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_ConfluentCloudFailureReason_fieldAccessorTable @@ -10304,7 +9998,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -10397,41 +10091,6 @@ private void buildPartialOneofs( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -10540,21 +10199,22 @@ public Builder mergeFrom( case 42: { input.readMessage( - getApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 5; break; } // case 42 case 50: { input.readMessage( - getSchemaViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetSchemaViolationReasonFieldBuilder().getBuilder(), + extensionRegistry); reasonCase_ = 6; break; } // case 50 case 58: { input.readMessage( - getMessageTransformationFailureReasonFieldBuilder().getBuilder(), + internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 7; break; @@ -10929,7 +10589,7 @@ public Builder clearOffset() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> @@ -11116,7 +10776,7 @@ public Builder clearApiViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder getApiViolationReasonBuilder() { - return getApiViolationReasonFieldBuilder().getBuilder(); + return internalGetApiViolationReasonFieldBuilder().getBuilder(); } /** @@ -11156,18 +10816,18 @@ public Builder clearApiViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> - getApiViolationReasonFieldBuilder() { + internalGetApiViolationReasonFieldBuilder() { if (apiViolationReasonBuilder_ == null) { if (!(reasonCase_ == 5)) { reason_ = com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } apiViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder>( @@ -11181,7 +10841,7 @@ public Builder clearApiViolationReason() { return apiViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> @@ -11365,7 +11025,7 @@ public Builder clearSchemaViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder getSchemaViolationReasonBuilder() { - return getSchemaViolationReasonFieldBuilder().getBuilder(); + return internalGetSchemaViolationReasonFieldBuilder().getBuilder(); } /** @@ -11404,11 +11064,11 @@ public Builder clearSchemaViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> - getSchemaViolationReasonFieldBuilder() { + internalGetSchemaViolationReasonFieldBuilder() { if (schemaViolationReasonBuilder_ == null) { if (!(reasonCase_ == 6)) { reason_ = @@ -11416,7 +11076,7 @@ public Builder clearSchemaViolationReason() { .getDefaultInstance(); } schemaViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder>( @@ -11430,7 +11090,7 @@ public Builder clearSchemaViolationReason() { return schemaViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent @@ -11626,7 +11286,7 @@ public Builder clearMessageTransformationFailureReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder getMessageTransformationFailureReasonBuilder() { - return getMessageTransformationFailureReasonFieldBuilder().getBuilder(); + return internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(); } /** @@ -11668,12 +11328,12 @@ public Builder clearMessageTransformationFailureReason() { * .google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason message_transformation_failure_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent .MessageTransformationFailureReasonOrBuilder> - getMessageTransformationFailureReasonFieldBuilder() { + internalGetMessageTransformationFailureReasonFieldBuilder() { if (messageTransformationFailureReasonBuilder_ == null) { if (!(reasonCase_ == 7)) { reason_ = @@ -11681,7 +11341,7 @@ public Builder clearMessageTransformationFailureReason() { .getDefaultInstance(); } messageTransformationFailureReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason .Builder, @@ -11698,18 +11358,6 @@ public Builder clearMessageTransformationFailureReason() { return messageTransformationFailureReasonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason) } @@ -12003,14 +11651,24 @@ public interface AwsKinesisFailureReasonOrBuilder * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason} */ - public static final class AwsKinesisFailureReason extends com.google.protobuf.GeneratedMessageV3 + public static final class AwsKinesisFailureReason extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason) AwsKinesisFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AwsKinesisFailureReason"); + } + // Use AwsKinesisFailureReason.newBuilder() to construct. - private AwsKinesisFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AwsKinesisFailureReason(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -12020,19 +11678,13 @@ private AwsKinesisFailureReason() { sequenceNumber_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AwsKinesisFailureReason(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AwsKinesisFailureReason_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AwsKinesisFailureReason_fieldAccessorTable @@ -12465,14 +12117,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamArn_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, streamArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(streamArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, streamArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionKey_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partitionKey_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(partitionKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, partitionKey_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sequenceNumber_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sequenceNumber_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sequenceNumber_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, sequenceNumber_); } if (reasonCase_ == 4) { output.writeMessage( @@ -12497,14 +12149,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamArn_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, streamArn_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(streamArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, streamArn_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionKey_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partitionKey_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(partitionKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, partitionKey_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sequenceNumber_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sequenceNumber_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sequenceNumber_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, sequenceNumber_); } if (reasonCase_ == 4) { size += @@ -12632,39 +12284,39 @@ public static com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason public static com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -12688,8 +12340,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -12703,8 +12354,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason) com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder { @@ -12714,7 +12364,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_AwsKinesisFailureReason_fieldAccessorTable @@ -12727,7 +12377,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -12815,41 +12465,6 @@ private void buildPartialOneofs( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason) { @@ -12950,14 +12565,15 @@ public Builder mergeFrom( case 34: { input.readMessage( - getSchemaViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetSchemaViolationReasonFieldBuilder().getBuilder(), + extensionRegistry); reasonCase_ = 4; break; } // case 34 case 42: { input.readMessage( - getMessageTransformationFailureReasonFieldBuilder().getBuilder(), + internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 5; break; @@ -12965,7 +12581,7 @@ public Builder mergeFrom( case 50: { input.readMessage( - getApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); + internalGetApiViolationReasonFieldBuilder().getBuilder(), extensionRegistry); reasonCase_ = 6; break; } // case 50 @@ -13335,7 +12951,7 @@ public Builder setSequenceNumberBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> @@ -13519,7 +13135,7 @@ public Builder clearSchemaViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder getSchemaViolationReasonBuilder() { - return getSchemaViolationReasonFieldBuilder().getBuilder(); + return internalGetSchemaViolationReasonFieldBuilder().getBuilder(); } /** @@ -13558,11 +13174,11 @@ public Builder clearSchemaViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder> - getSchemaViolationReasonFieldBuilder() { + internalGetSchemaViolationReasonFieldBuilder() { if (schemaViolationReasonBuilder_ == null) { if (!(reasonCase_ == 4)) { reason_ = @@ -13570,7 +13186,7 @@ public Builder clearSchemaViolationReason() { .getDefaultInstance(); } schemaViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReasonOrBuilder>( @@ -13584,7 +13200,7 @@ public Builder clearSchemaViolationReason() { return schemaViolationReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent @@ -13780,7 +13396,7 @@ public Builder clearMessageTransformationFailureReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder getMessageTransformationFailureReasonBuilder() { - return getMessageTransformationFailureReasonFieldBuilder().getBuilder(); + return internalGetMessageTransformationFailureReasonFieldBuilder().getBuilder(); } /** @@ -13822,12 +13438,12 @@ public Builder clearMessageTransformationFailureReason() { * .google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason message_transformation_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent .MessageTransformationFailureReasonOrBuilder> - getMessageTransformationFailureReasonFieldBuilder() { + internalGetMessageTransformationFailureReasonFieldBuilder() { if (messageTransformationFailureReasonBuilder_ == null) { if (!(reasonCase_ == 5)) { reason_ = @@ -13835,7 +13451,7 @@ public Builder clearMessageTransformationFailureReason() { .getDefaultInstance(); } messageTransformationFailureReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason, com.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason .Builder, @@ -13852,7 +13468,7 @@ public Builder clearMessageTransformationFailureReason() { return messageTransformationFailureReasonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> @@ -14046,7 +13662,7 @@ public Builder clearApiViolationReason() { */ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder getApiViolationReasonBuilder() { - return getApiViolationReasonFieldBuilder().getBuilder(); + return internalGetApiViolationReasonFieldBuilder().getBuilder(); } /** @@ -14088,18 +13704,18 @@ public Builder clearApiViolationReason() { * .google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> - getApiViolationReasonFieldBuilder() { + internalGetApiViolationReasonFieldBuilder() { if (apiViolationReasonBuilder_ == null) { if (!(reasonCase_ == 6)) { reason_ = com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } apiViolationReasonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder>( @@ -14113,18 +13729,6 @@ public Builder clearApiViolationReason() { return apiViolationReasonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason) } @@ -14676,11 +14280,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, errorMessage_); } if (failureCase_ == 3) { output.writeMessage( @@ -14711,11 +14315,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, topic_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, errorMessage_); } if (failureCase_ == 3) { size += @@ -14861,38 +14465,38 @@ public static com.google.pubsub.v1.IngestionFailureEvent parseFrom( public static com.google.pubsub.v1.IngestionFailureEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.IngestionFailureEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.IngestionFailureEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -14915,7 +14519,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -14930,7 +14534,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.IngestionFailureEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.IngestionFailureEvent) com.google.pubsub.v1.IngestionFailureEventOrBuilder { @@ -14940,7 +14544,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_IngestionFailureEvent_fieldAccessorTable @@ -14952,7 +14556,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.IngestionFailureEvent.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -15044,39 +14648,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.IngestionFailureEvent resul } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.IngestionFailureEvent) { @@ -15171,34 +14742,35 @@ public Builder mergeFrom( case 26: { input.readMessage( - getCloudStorageFailureFieldBuilder().getBuilder(), extensionRegistry); + internalGetCloudStorageFailureFieldBuilder().getBuilder(), extensionRegistry); failureCase_ = 3; break; } // case 26 case 34: { - input.readMessage(getAwsMskFailureFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetAwsMskFailureFieldBuilder().getBuilder(), extensionRegistry); failureCase_ = 4; break; } // case 34 case 42: { input.readMessage( - getAzureEventHubsFailureFieldBuilder().getBuilder(), extensionRegistry); + internalGetAzureEventHubsFailureFieldBuilder().getBuilder(), extensionRegistry); failureCase_ = 5; break; } // case 42 case 50: { input.readMessage( - getConfluentCloudFailureFieldBuilder().getBuilder(), extensionRegistry); + internalGetConfluentCloudFailureFieldBuilder().getBuilder(), extensionRegistry); failureCase_ = 6; break; } // case 50 case 58: { input.readMessage( - getAwsKinesisFailureFieldBuilder().getBuilder(), extensionRegistry); + internalGetAwsKinesisFailureFieldBuilder().getBuilder(), extensionRegistry); failureCase_ = 7; break; } // case 58 @@ -15472,7 +15044,7 @@ public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure, com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.Builder, com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailureOrBuilder> @@ -15652,7 +15224,7 @@ public Builder clearCloudStorageFailure() { */ public com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.Builder getCloudStorageFailureBuilder() { - return getCloudStorageFailureFieldBuilder().getBuilder(); + return internalGetCloudStorageFailureFieldBuilder().getBuilder(); } /** @@ -15690,18 +15262,18 @@ public Builder clearCloudStorageFailure() { * .google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure, com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.Builder, com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailureOrBuilder> - getCloudStorageFailureFieldBuilder() { + internalGetCloudStorageFailureFieldBuilder() { if (cloudStorageFailureBuilder_ == null) { if (!(failureCase_ == 3)) { failure_ = com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.getDefaultInstance(); } cloudStorageFailureBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure, com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.Builder, com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailureOrBuilder>( @@ -15715,7 +15287,7 @@ public Builder clearCloudStorageFailure() { return cloudStorageFailureBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReasonOrBuilder> @@ -15895,7 +15467,7 @@ public Builder clearAwsMskFailure() { */ public com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.Builder getAwsMskFailureBuilder() { - return getAwsMskFailureFieldBuilder().getBuilder(); + return internalGetAwsMskFailureFieldBuilder().getBuilder(); } /** @@ -15933,18 +15505,18 @@ public Builder clearAwsMskFailure() { * .google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReasonOrBuilder> - getAwsMskFailureFieldBuilder() { + internalGetAwsMskFailureFieldBuilder() { if (awsMskFailureBuilder_ == null) { if (!(failureCase_ == 4)) { failure_ = com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.getDefaultInstance(); } awsMskFailureBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReasonOrBuilder>( @@ -15958,7 +15530,7 @@ public Builder clearAwsMskFailure() { return awsMskFailureBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder> @@ -16143,7 +15715,7 @@ public Builder clearAzureEventHubsFailure() { */ public com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.Builder getAzureEventHubsFailureBuilder() { - return getAzureEventHubsFailureFieldBuilder().getBuilder(); + return internalGetAzureEventHubsFailureFieldBuilder().getBuilder(); } /** @@ -16182,11 +15754,11 @@ public Builder clearAzureEventHubsFailure() { * .google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason azure_event_hubs_failure = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder> - getAzureEventHubsFailureFieldBuilder() { + internalGetAzureEventHubsFailureFieldBuilder() { if (azureEventHubsFailureBuilder_ == null) { if (!(failureCase_ == 5)) { failure_ = @@ -16194,7 +15766,7 @@ public Builder clearAzureEventHubsFailure() { .getDefaultInstance(); } azureEventHubsFailureBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder>( @@ -16208,7 +15780,7 @@ public Builder clearAzureEventHubsFailure() { return azureEventHubsFailureBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason, com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder> @@ -16393,7 +15965,7 @@ public Builder clearConfluentCloudFailure() { */ public com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.Builder getConfluentCloudFailureBuilder() { - return getConfluentCloudFailureFieldBuilder().getBuilder(); + return internalGetConfluentCloudFailureFieldBuilder().getBuilder(); } /** @@ -16432,11 +16004,11 @@ public Builder clearConfluentCloudFailure() { * .google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason confluent_cloud_failure = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason, com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder> - getConfluentCloudFailureFieldBuilder() { + internalGetConfluentCloudFailureFieldBuilder() { if (confluentCloudFailureBuilder_ == null) { if (!(failureCase_ == 6)) { failure_ = @@ -16444,7 +16016,7 @@ public Builder clearConfluentCloudFailure() { .getDefaultInstance(); } confluentCloudFailureBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason, com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder>( @@ -16458,7 +16030,7 @@ public Builder clearConfluentCloudFailure() { return confluentCloudFailureBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder> @@ -16642,7 +16214,7 @@ public Builder clearAwsKinesisFailure() { */ public com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.Builder getAwsKinesisFailureBuilder() { - return getAwsKinesisFailureFieldBuilder().getBuilder(); + return internalGetAwsKinesisFailureFieldBuilder().getBuilder(); } /** @@ -16681,11 +16253,11 @@ public Builder clearAwsKinesisFailure() { * .google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason aws_kinesis_failure = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder> - getAwsKinesisFailureFieldBuilder() { + internalGetAwsKinesisFailureFieldBuilder() { if (awsKinesisFailureBuilder_ == null) { if (!(failureCase_ == 7)) { failure_ = @@ -16693,7 +16265,7 @@ public Builder clearAwsKinesisFailure() { .getDefaultInstance(); } awsKinesisFailureBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason, com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder>( @@ -16707,17 +16279,6 @@ public Builder clearAwsKinesisFailure() { return awsKinesisFailureBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.IngestionFailureEvent) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEventOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEventOrBuilder.java index d251ce95c..3fe15ccd9 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEventOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionFailureEventOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface IngestionFailureEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.IngestionFailureEvent) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDF.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDF.java index 89247115d..18ac95eb0 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDF.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDF.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -29,14 +30,25 @@ * * Protobuf type {@code google.pubsub.v1.JavaScriptUDF} */ -public final class JavaScriptUDF extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class JavaScriptUDF extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.JavaScriptUDF) JavaScriptUDFOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "JavaScriptUDF"); + } + // Use JavaScriptUDF.newBuilder() to construct. - private JavaScriptUDF(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private JavaScriptUDF(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private JavaScriptUDF() { code_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new JavaScriptUDF(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_JavaScriptUDF_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_JavaScriptUDF_fieldAccessorTable @@ -134,31 +140,31 @@ public com.google.protobuf.ByteString getFunctionNameBytes() { * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. + * /** + * * Transforms a Pub/Sub message. * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ * - * function <function_name>(message, metadata) { - * } + * function <function_name>(message, metadata) { + * } * ``` * * @@ -187,31 +193,31 @@ public java.lang.String getCode() { * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. + * /** + * * Transforms a Pub/Sub message. * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ * - * function <function_name>(message, metadata) { - * } + * function <function_name>(message, metadata) { + * } * ``` * * @@ -246,11 +252,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, functionName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(functionName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, functionName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, code_); } getUnknownFields().writeTo(output); } @@ -261,11 +267,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(functionName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, functionName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(functionName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, functionName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(code_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, code_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -340,38 +346,38 @@ public static com.google.pubsub.v1.JavaScriptUDF parseFrom( public static com.google.pubsub.v1.JavaScriptUDF parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.JavaScriptUDF parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.JavaScriptUDF parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.JavaScriptUDF parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.JavaScriptUDF parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.JavaScriptUDF parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -394,7 +400,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -409,7 +415,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.JavaScriptUDF} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.JavaScriptUDF) com.google.pubsub.v1.JavaScriptUDFOrBuilder { @@ -419,7 +425,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_JavaScriptUDF_fieldAccessorTable @@ -431,7 +437,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.JavaScriptUDF.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -484,39 +490,6 @@ private void buildPartial0(com.google.pubsub.v1.JavaScriptUDF result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.JavaScriptUDF) { @@ -722,31 +695,31 @@ public Builder setFunctionNameBytes(com.google.protobuf.ByteString value) { * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. - * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ - * - * function <function_name>(message, metadata) { - * } + * /** + * * Transforms a Pub/Sub message. + * + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ + * + * function <function_name>(message, metadata) { + * } * ``` * * @@ -774,31 +747,31 @@ public java.lang.String getCode() { * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. - * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ - * - * function <function_name>(message, metadata) { - * } + * /** + * * Transforms a Pub/Sub message. + * + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ + * + * function <function_name>(message, metadata) { + * } * ``` * * @@ -826,31 +799,31 @@ public com.google.protobuf.ByteString getCodeBytes() { * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. - * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ - * - * function <function_name>(message, metadata) { - * } + * /** + * * Transforms a Pub/Sub message. + * + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ + * + * function <function_name>(message, metadata) { + * } * ``` * * @@ -877,31 +850,31 @@ public Builder setCode(java.lang.String value) { * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. - * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ - * - * function <function_name>(message, metadata) { - * } + * /** + * * Transforms a Pub/Sub message. + * + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ + * + * function <function_name>(message, metadata) { + * } * ``` * * @@ -924,31 +897,31 @@ public Builder clearCode() { * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. - * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ - * - * function <function_name>(message, metadata) { - * } + * /** + * * Transforms a Pub/Sub message. + * + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ + * + * function <function_name>(message, metadata) { + * } * ``` * * @@ -968,17 +941,6 @@ public Builder setCodeBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.JavaScriptUDF) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDFOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDFOrBuilder.java index 7a7ab67c5..9e60471bf 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDFOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/JavaScriptUDFOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface JavaScriptUDFOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.JavaScriptUDF) @@ -60,31 +62,31 @@ public interface JavaScriptUDFOrBuilder * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. - * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ - * - * function <function_name>(message, metadata) { - * } + * /** + * * Transforms a Pub/Sub message. + * + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ + * + * function <function_name>(message, metadata) { + * } * ``` * * @@ -102,31 +104,31 @@ public interface JavaScriptUDFOrBuilder * below signature: * * ``` - * /** - * * Transforms a Pub/Sub message. - * - * * @return {(Object<string, (string | Object<string, string>)>|null)} - To - * * filter a message, return `null`. To transform a message return a map - * * with the following keys: - * * - (required) 'data' : {string} - * * - (optional) 'attributes' : {Object<string, string>} - * * Returning empty `attributes` will remove all attributes from the - * * message. - * * - * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub - * * message. Keys: - * * - (required) 'data' : {string} - * * - (required) 'attributes' : {Object<string, string>} - * * - * * @param {Object<string, any>} metadata - Pub/Sub message metadata. - * * Keys: - * * - (optional) 'message_id' : {string} - * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format - * * - (optional) 'ordering_key': {string} - * */ - * - * function <function_name>(message, metadata) { - * } + * /** + * * Transforms a Pub/Sub message. + * + * * @return {(Object<string, (string | Object<string, string>)>|null)} - To + * * filter a message, return `null`. To transform a message return a map + * * with the following keys: + * * - (required) 'data' : {string} + * * - (optional) 'attributes' : {Object<string, string>} + * * Returning empty `attributes` will remove all attributes from the + * * message. + * * + * * @param {(Object<string, (string | Object<string, string>)>} Pub/Sub + * * message. Keys: + * * - (required) 'data' : {string} + * * - (required) 'attributes' : {Object<string, string>} + * * + * * @param {Object<string, any>} metadata - Pub/Sub message metadata. + * * Keys: + * * - (optional) 'message_id' : {string} + * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format + * * - (optional) 'ordering_key': {string} + * */ + * + * function <function_name>(message, metadata) { + * } * ``` * * diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java index 42838105b..f2a56f7b8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListSchemaRevisionsRequest} */ -public final class ListSchemaRevisionsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSchemaRevisionsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSchemaRevisionsRequest) ListSchemaRevisionsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListSchemaRevisionsRequest"); + } + // Use ListSchemaRevisionsRequest.newBuilder() to construct. - private ListSchemaRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSchemaRevisionsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private ListSchemaRevisionsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSchemaRevisionsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_fieldAccessorTable @@ -251,8 +257,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (view_ != com.google.pubsub.v1.SchemaView.SCHEMA_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); @@ -260,8 +266,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (pageSize_ != 0) { output.writeInt32(3, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, pageToken_); } getUnknownFields().writeTo(output); } @@ -272,8 +278,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (view_ != com.google.pubsub.v1.SchemaView.SCHEMA_VIEW_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); @@ -281,8 +287,8 @@ public int getSerializedSize() { if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, pageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -365,38 +371,38 @@ public static com.google.pubsub.v1.ListSchemaRevisionsRequest parseFrom( public static com.google.pubsub.v1.ListSchemaRevisionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemaRevisionsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSchemaRevisionsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemaRevisionsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSchemaRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemaRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -419,7 +425,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -433,7 +439,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListSchemaRevisionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListSchemaRevisionsRequest) com.google.pubsub.v1.ListSchemaRevisionsRequestOrBuilder { @@ -443,7 +449,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_fieldAccessorTable @@ -455,7 +461,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListSchemaRevisionsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -517,39 +523,6 @@ private void buildPartial0(com.google.pubsub.v1.ListSchemaRevisionsRequest resul } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListSchemaRevisionsRequest) { @@ -1045,17 +1018,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListSchemaRevisionsRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java index c219edbf2..5145cce90 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListSchemaRevisionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListSchemaRevisionsRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java index 35ad88ea7..c9bda70ee 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListSchemaRevisionsResponse} */ -public final class ListSchemaRevisionsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSchemaRevisionsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSchemaRevisionsResponse) ListSchemaRevisionsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListSchemaRevisionsResponse"); + } + // Use ListSchemaRevisionsResponse.newBuilder() to construct. - private ListSchemaRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSchemaRevisionsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListSchemaRevisionsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSchemaRevisionsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_fieldAccessorTable @@ -212,8 +218,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < schemas_.size(); i++) { output.writeMessage(1, schemas_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -227,8 +233,8 @@ public int getSerializedSize() { for (int i = 0; i < schemas_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, schemas_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -307,38 +313,38 @@ public static com.google.pubsub.v1.ListSchemaRevisionsResponse parseFrom( public static com.google.pubsub.v1.ListSchemaRevisionsResponse parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemaRevisionsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSchemaRevisionsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemaRevisionsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSchemaRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemaRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -361,7 +367,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -375,7 +381,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListSchemaRevisionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListSchemaRevisionsResponse) com.google.pubsub.v1.ListSchemaRevisionsResponseOrBuilder { @@ -385,7 +391,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_fieldAccessorTable @@ -397,7 +403,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListSchemaRevisionsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -468,39 +474,6 @@ private void buildPartial0(com.google.pubsub.v1.ListSchemaRevisionsResponse resu } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListSchemaRevisionsResponse) { @@ -533,8 +506,8 @@ public Builder mergeFrom(com.google.pubsub.v1.ListSchemaRevisionsResponse other) schemas_ = other.schemas_; bitField0_ = (bitField0_ & ~0x00000001); schemasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSchemasFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetSchemasFieldBuilder() : null; } else { schemasBuilder_.addAllMessages(other.schemas_); @@ -619,7 +592,7 @@ private void ensureSchemasIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> @@ -875,7 +848,7 @@ public Builder removeSchemas(int index) { * repeated .google.pubsub.v1.Schema schemas = 1; */ public com.google.pubsub.v1.Schema.Builder getSchemasBuilder(int index) { - return getSchemasFieldBuilder().getBuilder(index); + return internalGetSchemasFieldBuilder().getBuilder(index); } /** @@ -923,7 +896,8 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemasOrBuilder(int index) { * repeated .google.pubsub.v1.Schema schemas = 1; */ public com.google.pubsub.v1.Schema.Builder addSchemasBuilder() { - return getSchemasFieldBuilder().addBuilder(com.google.pubsub.v1.Schema.getDefaultInstance()); + return internalGetSchemasFieldBuilder() + .addBuilder(com.google.pubsub.v1.Schema.getDefaultInstance()); } /** @@ -936,7 +910,7 @@ public com.google.pubsub.v1.Schema.Builder addSchemasBuilder() { * repeated .google.pubsub.v1.Schema schemas = 1; */ public com.google.pubsub.v1.Schema.Builder addSchemasBuilder(int index) { - return getSchemasFieldBuilder() + return internalGetSchemasFieldBuilder() .addBuilder(index, com.google.pubsub.v1.Schema.getDefaultInstance()); } @@ -950,17 +924,17 @@ public com.google.pubsub.v1.Schema.Builder addSchemasBuilder(int index) { * repeated .google.pubsub.v1.Schema schemas = 1; */ public java.util.List getSchemasBuilderList() { - return getSchemasFieldBuilder().getBuilderList(); + return internalGetSchemasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> - getSchemasFieldBuilder() { + internalGetSchemasFieldBuilder() { if (schemasBuilder_ == null) { schemasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder>( @@ -1086,17 +1060,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListSchemaRevisionsResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java index 2cf0fb260..5e423029e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListSchemaRevisionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListSchemaRevisionsResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java index f6ccfff1b..20c5c2c1d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListSchemasRequest} */ -public final class ListSchemasRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSchemasRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSchemasRequest) ListSchemasRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListSchemasRequest"); + } + // Use ListSchemasRequest.newBuilder() to construct. - private ListSchemasRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSchemasRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private ListSchemasRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSchemasRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemasRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemasRequest_fieldAccessorTable @@ -255,8 +261,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } if (view_ != com.google.pubsub.v1.SchemaView.SCHEMA_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); @@ -264,8 +270,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (pageSize_ != 0) { output.writeInt32(3, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, pageToken_); } getUnknownFields().writeTo(output); } @@ -276,8 +282,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } if (view_ != com.google.pubsub.v1.SchemaView.SCHEMA_VIEW_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); @@ -285,8 +291,8 @@ public int getSerializedSize() { if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, pageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -368,38 +374,38 @@ public static com.google.pubsub.v1.ListSchemasRequest parseFrom( public static com.google.pubsub.v1.ListSchemasRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemasRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSchemasRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemasRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSchemasRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemasRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -422,7 +428,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -436,7 +442,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListSchemasRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListSchemasRequest) com.google.pubsub.v1.ListSchemasRequestOrBuilder { @@ -446,7 +452,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemasRequest_fieldAccessorTable @@ -458,7 +464,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListSchemasRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -520,39 +526,6 @@ private void buildPartial0(com.google.pubsub.v1.ListSchemasRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListSchemasRequest) { @@ -1057,17 +1030,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListSchemasRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java index 90a678059..ae335367a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListSchemasRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListSchemasRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java index 78fd83151..1b34d2651 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListSchemasResponse} */ -public final class ListSchemasResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSchemasResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSchemasResponse) ListSchemasResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListSchemasResponse"); + } + // Use ListSchemasResponse.newBuilder() to construct. - private ListSchemasResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSchemasResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListSchemasResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSchemasResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemasResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemasResponse_fieldAccessorTable @@ -212,8 +218,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < schemas_.size(); i++) { output.writeMessage(1, schemas_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -227,8 +233,8 @@ public int getSerializedSize() { for (int i = 0; i < schemas_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, schemas_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -306,38 +312,38 @@ public static com.google.pubsub.v1.ListSchemasResponse parseFrom( public static com.google.pubsub.v1.ListSchemasResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemasResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSchemasResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemasResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSchemasResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSchemasResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -360,7 +366,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -374,7 +380,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListSchemasResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListSchemasResponse) com.google.pubsub.v1.ListSchemasResponseOrBuilder { @@ -384,7 +390,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ListSchemasResponse_fieldAccessorTable @@ -396,7 +402,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListSchemasResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -466,39 +472,6 @@ private void buildPartial0(com.google.pubsub.v1.ListSchemasResponse result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListSchemasResponse) { @@ -530,8 +503,8 @@ public Builder mergeFrom(com.google.pubsub.v1.ListSchemasResponse other) { schemas_ = other.schemas_; bitField0_ = (bitField0_ & ~0x00000001); schemasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSchemasFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetSchemasFieldBuilder() : null; } else { schemasBuilder_.addAllMessages(other.schemas_); @@ -616,7 +589,7 @@ private void ensureSchemasIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> @@ -872,7 +845,7 @@ public Builder removeSchemas(int index) { * repeated .google.pubsub.v1.Schema schemas = 1; */ public com.google.pubsub.v1.Schema.Builder getSchemasBuilder(int index) { - return getSchemasFieldBuilder().getBuilder(index); + return internalGetSchemasFieldBuilder().getBuilder(index); } /** @@ -920,7 +893,8 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemasOrBuilder(int index) { * repeated .google.pubsub.v1.Schema schemas = 1; */ public com.google.pubsub.v1.Schema.Builder addSchemasBuilder() { - return getSchemasFieldBuilder().addBuilder(com.google.pubsub.v1.Schema.getDefaultInstance()); + return internalGetSchemasFieldBuilder() + .addBuilder(com.google.pubsub.v1.Schema.getDefaultInstance()); } /** @@ -933,7 +907,7 @@ public com.google.pubsub.v1.Schema.Builder addSchemasBuilder() { * repeated .google.pubsub.v1.Schema schemas = 1; */ public com.google.pubsub.v1.Schema.Builder addSchemasBuilder(int index) { - return getSchemasFieldBuilder() + return internalGetSchemasFieldBuilder() .addBuilder(index, com.google.pubsub.v1.Schema.getDefaultInstance()); } @@ -947,17 +921,17 @@ public com.google.pubsub.v1.Schema.Builder addSchemasBuilder(int index) { * repeated .google.pubsub.v1.Schema schemas = 1; */ public java.util.List getSchemasBuilderList() { - return getSchemasFieldBuilder().getBuilderList(); + return internalGetSchemasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> - getSchemasFieldBuilder() { + internalGetSchemasFieldBuilder() { if (schemasBuilder_ == null) { schemasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder>( @@ -1083,17 +1057,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListSchemasResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java index 8c3fba55a..5631cbf6e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListSchemasResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListSchemasResponse) 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 d56a4a719..f25cd5e2e 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListSnapshotsRequest} */ -public final class ListSnapshotsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSnapshotsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSnapshotsRequest) ListSnapshotsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListSnapshotsRequest"); + } + // Use ListSnapshotsRequest.newBuilder() to construct. - private ListSnapshotsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSnapshotsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListSnapshotsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSnapshotsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSnapshotsRequest_fieldAccessorTable @@ -214,14 +220,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, project_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); } getUnknownFields().writeTo(output); } @@ -232,14 +238,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, project_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -319,38 +325,38 @@ public static com.google.pubsub.v1.ListSnapshotsRequest parseFrom( public static com.google.pubsub.v1.ListSnapshotsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSnapshotsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSnapshotsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSnapshotsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSnapshotsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSnapshotsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -373,7 +379,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -387,7 +393,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListSnapshotsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListSnapshotsRequest) com.google.pubsub.v1.ListSnapshotsRequestOrBuilder { @@ -397,7 +403,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSnapshotsRequest_fieldAccessorTable @@ -409,7 +415,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListSnapshotsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -467,39 +473,6 @@ private void buildPartial0(com.google.pubsub.v1.ListSnapshotsRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListSnapshotsRequest) { @@ -891,17 +864,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListSnapshotsRequest) } 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 47d596cba..b51ea89ab 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListSnapshotsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListSnapshotsRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java index 5600f79dc..5c4719949 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListSnapshotsResponse} */ -public final class ListSnapshotsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSnapshotsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSnapshotsResponse) ListSnapshotsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListSnapshotsResponse"); + } + // Use ListSnapshotsResponse.newBuilder() to construct. - private ListSnapshotsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSnapshotsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListSnapshotsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSnapshotsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSnapshotsResponse_fieldAccessorTable @@ -225,8 +231,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < snapshots_.size(); i++) { output.writeMessage(1, snapshots_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -240,8 +246,8 @@ public int getSerializedSize() { for (int i = 0; i < snapshots_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, snapshots_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,38 +326,38 @@ public static com.google.pubsub.v1.ListSnapshotsResponse parseFrom( public static com.google.pubsub.v1.ListSnapshotsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSnapshotsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSnapshotsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSnapshotsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSnapshotsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSnapshotsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -374,7 +380,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -388,7 +394,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListSnapshotsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListSnapshotsResponse) com.google.pubsub.v1.ListSnapshotsResponseOrBuilder { @@ -398,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSnapshotsResponse_fieldAccessorTable @@ -410,7 +416,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListSnapshotsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -480,39 +486,6 @@ private void buildPartial0(com.google.pubsub.v1.ListSnapshotsResponse result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListSnapshotsResponse) { @@ -544,8 +517,8 @@ public Builder mergeFrom(com.google.pubsub.v1.ListSnapshotsResponse other) { snapshots_ = other.snapshots_; bitField0_ = (bitField0_ & ~0x00000001); snapshotsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSnapshotsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetSnapshotsFieldBuilder() : null; } else { snapshotsBuilder_.addAllMessages(other.snapshots_); @@ -630,7 +603,7 @@ private void ensureSnapshotsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Snapshot, com.google.pubsub.v1.Snapshot.Builder, com.google.pubsub.v1.SnapshotOrBuilder> @@ -913,7 +886,7 @@ public Builder removeSnapshots(int index) { * */ public com.google.pubsub.v1.Snapshot.Builder getSnapshotsBuilder(int index) { - return getSnapshotsFieldBuilder().getBuilder(index); + return internalGetSnapshotsFieldBuilder().getBuilder(index); } /** @@ -967,7 +940,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { * */ public com.google.pubsub.v1.Snapshot.Builder addSnapshotsBuilder() { - return getSnapshotsFieldBuilder() + return internalGetSnapshotsFieldBuilder() .addBuilder(com.google.pubsub.v1.Snapshot.getDefaultInstance()); } @@ -983,7 +956,7 @@ public com.google.pubsub.v1.Snapshot.Builder addSnapshotsBuilder() { * */ public com.google.pubsub.v1.Snapshot.Builder addSnapshotsBuilder(int index) { - return getSnapshotsFieldBuilder() + return internalGetSnapshotsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.Snapshot.getDefaultInstance()); } @@ -999,17 +972,17 @@ public com.google.pubsub.v1.Snapshot.Builder addSnapshotsBuilder(int index) { * */ public java.util.List getSnapshotsBuilderList() { - return getSnapshotsFieldBuilder().getBuilderList(); + return internalGetSnapshotsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Snapshot, com.google.pubsub.v1.Snapshot.Builder, com.google.pubsub.v1.SnapshotOrBuilder> - getSnapshotsFieldBuilder() { + internalGetSnapshotsFieldBuilder() { if (snapshotsBuilder_ == null) { snapshotsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Snapshot, com.google.pubsub.v1.Snapshot.Builder, com.google.pubsub.v1.SnapshotOrBuilder>( @@ -1140,17 +1113,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListSnapshotsResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java index 9e17810b9..ec4643a06 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListSnapshotsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListSnapshotsResponse) 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 e9bd5fcc9..c1e4ddcb1 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListSubscriptionsRequest} */ -public final class ListSubscriptionsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSubscriptionsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSubscriptionsRequest) ListSubscriptionsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListSubscriptionsRequest"); + } + // Use ListSubscriptionsRequest.newBuilder() to construct. - private ListSubscriptionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSubscriptionsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListSubscriptionsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSubscriptionsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSubscriptionsRequest_fieldAccessorTable @@ -214,14 +220,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, project_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); } getUnknownFields().writeTo(output); } @@ -232,14 +238,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, project_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -319,38 +325,38 @@ public static com.google.pubsub.v1.ListSubscriptionsRequest parseFrom( public static com.google.pubsub.v1.ListSubscriptionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSubscriptionsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSubscriptionsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSubscriptionsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSubscriptionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSubscriptionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -373,7 +379,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -387,7 +393,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListSubscriptionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListSubscriptionsRequest) com.google.pubsub.v1.ListSubscriptionsRequestOrBuilder { @@ -397,7 +403,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSubscriptionsRequest_fieldAccessorTable @@ -409,7 +415,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListSubscriptionsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -467,39 +473,6 @@ private void buildPartial0(com.google.pubsub.v1.ListSubscriptionsRequest result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListSubscriptionsRequest) { @@ -891,17 +864,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListSubscriptionsRequest) } 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 61bbb606d..85908081b 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListSubscriptionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListSubscriptionsRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java index ac7bfb9f2..44acf2f2d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListSubscriptionsResponse} */ -public final class ListSubscriptionsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSubscriptionsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSubscriptionsResponse) ListSubscriptionsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListSubscriptionsResponse"); + } + // Use ListSubscriptionsResponse.newBuilder() to construct. - private ListSubscriptionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSubscriptionsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListSubscriptionsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSubscriptionsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSubscriptionsResponse_fieldAccessorTable @@ -225,8 +231,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < subscriptions_.size(); i++) { output.writeMessage(1, subscriptions_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -240,8 +246,8 @@ public int getSerializedSize() { for (int i = 0; i < subscriptions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, subscriptions_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,38 +326,38 @@ public static com.google.pubsub.v1.ListSubscriptionsResponse parseFrom( public static com.google.pubsub.v1.ListSubscriptionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSubscriptionsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSubscriptionsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSubscriptionsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListSubscriptionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListSubscriptionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -374,7 +380,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -388,7 +394,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListSubscriptionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListSubscriptionsResponse) com.google.pubsub.v1.ListSubscriptionsResponseOrBuilder { @@ -398,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListSubscriptionsResponse_fieldAccessorTable @@ -410,7 +416,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListSubscriptionsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -480,39 +486,6 @@ private void buildPartial0(com.google.pubsub.v1.ListSubscriptionsResponse result } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListSubscriptionsResponse) { @@ -544,8 +517,8 @@ public Builder mergeFrom(com.google.pubsub.v1.ListSubscriptionsResponse other) { subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000001); subscriptionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSubscriptionsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetSubscriptionsFieldBuilder() : null; } else { subscriptionsBuilder_.addAllMessages(other.subscriptions_); @@ -631,7 +604,7 @@ private void ensureSubscriptionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Subscription, com.google.pubsub.v1.Subscription.Builder, com.google.pubsub.v1.SubscriptionOrBuilder> @@ -916,7 +889,7 @@ public Builder removeSubscriptions(int index) { * */ public com.google.pubsub.v1.Subscription.Builder getSubscriptionsBuilder(int index) { - return getSubscriptionsFieldBuilder().getBuilder(index); + return internalGetSubscriptionsFieldBuilder().getBuilder(index); } /** @@ -970,7 +943,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionsOrBuilder(int * */ public com.google.pubsub.v1.Subscription.Builder addSubscriptionsBuilder() { - return getSubscriptionsFieldBuilder() + return internalGetSubscriptionsFieldBuilder() .addBuilder(com.google.pubsub.v1.Subscription.getDefaultInstance()); } @@ -986,7 +959,7 @@ public com.google.pubsub.v1.Subscription.Builder addSubscriptionsBuilder() { * */ public com.google.pubsub.v1.Subscription.Builder addSubscriptionsBuilder(int index) { - return getSubscriptionsFieldBuilder() + return internalGetSubscriptionsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.Subscription.getDefaultInstance()); } @@ -1002,17 +975,17 @@ public com.google.pubsub.v1.Subscription.Builder addSubscriptionsBuilder(int ind * */ public java.util.List getSubscriptionsBuilderList() { - return getSubscriptionsFieldBuilder().getBuilderList(); + return internalGetSubscriptionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Subscription, com.google.pubsub.v1.Subscription.Builder, com.google.pubsub.v1.SubscriptionOrBuilder> - getSubscriptionsFieldBuilder() { + internalGetSubscriptionsFieldBuilder() { if (subscriptionsBuilder_ == null) { subscriptionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Subscription, com.google.pubsub.v1.Subscription.Builder, com.google.pubsub.v1.SubscriptionOrBuilder>( @@ -1146,17 +1119,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListSubscriptionsResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java index a4db2bf03..55129e301 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListSubscriptionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListSubscriptionsResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java index e30b2affc..0293fb6de 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListTopicSnapshotsRequest} */ -public final class ListTopicSnapshotsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListTopicSnapshotsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicSnapshotsRequest) ListTopicSnapshotsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListTopicSnapshotsRequest"); + } + // Use ListTopicSnapshotsRequest.newBuilder() to construct. - private ListTopicSnapshotsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListTopicSnapshotsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListTopicSnapshotsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListTopicSnapshotsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_fieldAccessorTable @@ -214,14 +220,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); } getUnknownFields().writeTo(output); } @@ -232,14 +238,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, topic_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -319,38 +325,38 @@ public static com.google.pubsub.v1.ListTopicSnapshotsRequest parseFrom( public static com.google.pubsub.v1.ListTopicSnapshotsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSnapshotsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicSnapshotsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSnapshotsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicSnapshotsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSnapshotsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -373,7 +379,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -387,7 +393,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListTopicSnapshotsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListTopicSnapshotsRequest) com.google.pubsub.v1.ListTopicSnapshotsRequestOrBuilder { @@ -397,7 +403,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_fieldAccessorTable @@ -409,7 +415,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListTopicSnapshotsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -467,39 +473,6 @@ private void buildPartial0(com.google.pubsub.v1.ListTopicSnapshotsRequest result } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListTopicSnapshotsRequest) { @@ -891,17 +864,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListTopicSnapshotsRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java index a82f8a690..bdddb1f3d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListTopicSnapshotsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListTopicSnapshotsRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java index ba7785807..5f7ba1850 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListTopicSnapshotsResponse} */ -public final class ListTopicSnapshotsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListTopicSnapshotsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicSnapshotsResponse) ListTopicSnapshotsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListTopicSnapshotsResponse"); + } + // Use ListTopicSnapshotsResponse.newBuilder() to construct. - private ListTopicSnapshotsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListTopicSnapshotsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListTopicSnapshotsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListTopicSnapshotsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_fieldAccessorTable @@ -213,10 +219,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < snapshots_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, snapshots_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, snapshots_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -235,8 +241,8 @@ public int getSerializedSize() { size += dataSize; size += 1 * getSnapshotsList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -315,38 +321,38 @@ public static com.google.pubsub.v1.ListTopicSnapshotsResponse parseFrom( public static com.google.pubsub.v1.ListTopicSnapshotsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSnapshotsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicSnapshotsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSnapshotsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicSnapshotsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSnapshotsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -369,7 +375,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -383,7 +389,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListTopicSnapshotsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListTopicSnapshotsResponse) com.google.pubsub.v1.ListTopicSnapshotsResponseOrBuilder { @@ -393,7 +399,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_fieldAccessorTable @@ -405,7 +411,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListTopicSnapshotsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -460,39 +466,6 @@ private void buildPartial0(com.google.pubsub.v1.ListTopicSnapshotsResponse resul } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListTopicSnapshotsResponse) { @@ -901,17 +874,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListTopicSnapshotsResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java index cb4cbbc6b..25382f4f1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListTopicSnapshotsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListTopicSnapshotsResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java index 5ee6fbb1e..be6c24a99 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListTopicSubscriptionsRequest} */ -public final class ListTopicSubscriptionsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListTopicSubscriptionsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicSubscriptionsRequest) ListTopicSubscriptionsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListTopicSubscriptionsRequest"); + } + // Use ListTopicSubscriptionsRequest.newBuilder() to construct. - private ListTopicSubscriptionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListTopicSubscriptionsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListTopicSubscriptionsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListTopicSubscriptionsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_fieldAccessorTable @@ -214,14 +220,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); } getUnknownFields().writeTo(output); } @@ -232,14 +238,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, topic_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -319,38 +325,38 @@ public static com.google.pubsub.v1.ListTopicSubscriptionsRequest parseFrom( public static com.google.pubsub.v1.ListTopicSubscriptionsRequest parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSubscriptionsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicSubscriptionsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSubscriptionsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicSubscriptionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSubscriptionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -373,7 +379,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -387,7 +393,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListTopicSubscriptionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListTopicSubscriptionsRequest) com.google.pubsub.v1.ListTopicSubscriptionsRequestOrBuilder { @@ -397,7 +403,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_fieldAccessorTable @@ -409,7 +415,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListTopicSubscriptionsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -467,39 +473,6 @@ private void buildPartial0(com.google.pubsub.v1.ListTopicSubscriptionsRequest re } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListTopicSubscriptionsRequest) { @@ -892,17 +865,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListTopicSubscriptionsRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java index 05f476a4b..07a1f6124 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListTopicSubscriptionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListTopicSubscriptionsRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java index ab32db2f5..ed115a4c5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,15 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListTopicSubscriptionsResponse} */ -public final class ListTopicSubscriptionsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListTopicSubscriptionsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicSubscriptionsResponse) ListTopicSubscriptionsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListTopicSubscriptionsResponse"); + } + // Use ListTopicSubscriptionsResponse.newBuilder() to construct. - private ListTopicSubscriptionsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListTopicSubscriptionsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +56,13 @@ private ListTopicSubscriptionsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListTopicSubscriptionsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_fieldAccessorTable @@ -218,10 +223,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < subscriptions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscriptions_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscriptions_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -240,8 +245,8 @@ public int getSerializedSize() { size += dataSize; size += 1 * getSubscriptionsList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,38 +325,38 @@ public static com.google.pubsub.v1.ListTopicSubscriptionsResponse parseFrom( public static com.google.pubsub.v1.ListTopicSubscriptionsResponse parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSubscriptionsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicSubscriptionsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSubscriptionsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicSubscriptionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicSubscriptionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -374,7 +379,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -388,7 +393,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListTopicSubscriptionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListTopicSubscriptionsResponse) com.google.pubsub.v1.ListTopicSubscriptionsResponseOrBuilder { @@ -398,7 +403,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_fieldAccessorTable @@ -410,7 +415,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListTopicSubscriptionsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -465,39 +470,6 @@ private void buildPartial0(com.google.pubsub.v1.ListTopicSubscriptionsResponse r } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListTopicSubscriptionsResponse) { @@ -915,17 +887,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListTopicSubscriptionsResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java index 685626b41..559bb08c2 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListTopicSubscriptionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListTopicSubscriptionsResponse) 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 75c711d16..5db5c1454 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListTopicsRequest} */ -public final class ListTopicsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListTopicsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicsRequest) ListTopicsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListTopicsRequest"); + } + // Use ListTopicsRequest.newBuilder() to construct. - private ListTopicsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListTopicsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListTopicsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListTopicsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicsRequest_fieldAccessorTable @@ -214,14 +220,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, project_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); } getUnknownFields().writeTo(output); } @@ -232,14 +238,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, project_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -318,38 +324,38 @@ public static com.google.pubsub.v1.ListTopicsRequest parseFrom( public static com.google.pubsub.v1.ListTopicsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -372,7 +378,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -386,7 +392,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListTopicsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListTopicsRequest) com.google.pubsub.v1.ListTopicsRequestOrBuilder { @@ -396,7 +402,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicsRequest_fieldAccessorTable @@ -408,7 +414,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListTopicsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -466,39 +472,6 @@ private void buildPartial0(com.google.pubsub.v1.ListTopicsRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListTopicsRequest) { @@ -890,17 +863,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListTopicsRequest) } 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 cb3a136a1..2b30c60b8 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListTopicsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListTopicsRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java index 2f1fc149c..832ad62ae 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ListTopicsResponse} */ -public final class ListTopicsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListTopicsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicsResponse) ListTopicsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListTopicsResponse"); + } + // Use ListTopicsResponse.newBuilder() to construct. - private ListTopicsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListTopicsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListTopicsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListTopicsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicsResponse_fieldAccessorTable @@ -217,8 +223,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < topics_.size(); i++) { output.writeMessage(1, topics_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -232,8 +238,8 @@ public int getSerializedSize() { for (int i = 0; i < topics_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, topics_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -311,38 +317,38 @@ public static com.google.pubsub.v1.ListTopicsResponse parseFrom( public static com.google.pubsub.v1.ListTopicsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ListTopicsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ListTopicsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -365,7 +371,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -379,7 +385,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ListTopicsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ListTopicsResponse) com.google.pubsub.v1.ListTopicsResponseOrBuilder { @@ -389,7 +395,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ListTopicsResponse_fieldAccessorTable @@ -401,7 +407,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ListTopicsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -471,39 +477,6 @@ private void buildPartial0(com.google.pubsub.v1.ListTopicsResponse result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ListTopicsResponse) { @@ -535,8 +508,8 @@ public Builder mergeFrom(com.google.pubsub.v1.ListTopicsResponse other) { topics_ = other.topics_; bitField0_ = (bitField0_ & ~0x00000001); topicsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTopicsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetTopicsFieldBuilder() : null; } else { topicsBuilder_.addAllMessages(other.topics_); @@ -620,7 +593,7 @@ private void ensureTopicsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Topic, com.google.pubsub.v1.Topic.Builder, com.google.pubsub.v1.TopicOrBuilder> @@ -889,7 +862,7 @@ public Builder removeTopics(int index) { * */ public com.google.pubsub.v1.Topic.Builder getTopicsBuilder(int index) { - return getTopicsFieldBuilder().getBuilder(index); + return internalGetTopicsFieldBuilder().getBuilder(index); } /** @@ -939,7 +912,8 @@ public java.util.List getTopicsOr * */ public com.google.pubsub.v1.Topic.Builder addTopicsBuilder() { - return getTopicsFieldBuilder().addBuilder(com.google.pubsub.v1.Topic.getDefaultInstance()); + return internalGetTopicsFieldBuilder() + .addBuilder(com.google.pubsub.v1.Topic.getDefaultInstance()); } /** @@ -953,7 +927,7 @@ public com.google.pubsub.v1.Topic.Builder addTopicsBuilder() { * */ public com.google.pubsub.v1.Topic.Builder addTopicsBuilder(int index) { - return getTopicsFieldBuilder() + return internalGetTopicsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.Topic.getDefaultInstance()); } @@ -968,17 +942,17 @@ public com.google.pubsub.v1.Topic.Builder addTopicsBuilder(int index) { * */ public java.util.List getTopicsBuilderList() { - return getTopicsFieldBuilder().getBuilderList(); + return internalGetTopicsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Topic, com.google.pubsub.v1.Topic.Builder, com.google.pubsub.v1.TopicOrBuilder> - getTopicsFieldBuilder() { + internalGetTopicsFieldBuilder() { if (topicsBuilder_ == null) { topicsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.Topic, com.google.pubsub.v1.Topic.Builder, com.google.pubsub.v1.TopicOrBuilder>( @@ -1104,17 +1078,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ListTopicsResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java index 7f35ebf29..ff3026965 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ListTopicsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ListTopicsResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java index 5db66167e..c19f2e154 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.MessageStoragePolicy} */ -public final class MessageStoragePolicy extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class MessageStoragePolicy extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.MessageStoragePolicy) MessageStoragePolicyOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "MessageStoragePolicy"); + } + // Use MessageStoragePolicy.newBuilder() to construct. - private MessageStoragePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MessageStoragePolicy(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private MessageStoragePolicy() { allowedPersistenceRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MessageStoragePolicy(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_MessageStoragePolicy_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_MessageStoragePolicy_fieldAccessorTable @@ -198,7 +204,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < allowedPersistenceRegions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( + com.google.protobuf.GeneratedMessage.writeString( output, 1, allowedPersistenceRegions_.getRaw(i)); } if (enforceInTransit_ != false) { @@ -302,38 +308,38 @@ public static com.google.pubsub.v1.MessageStoragePolicy parseFrom( public static com.google.pubsub.v1.MessageStoragePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.MessageStoragePolicy parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.MessageStoragePolicy parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.MessageStoragePolicy parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.MessageStoragePolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.MessageStoragePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -356,7 +362,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -370,7 +376,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.MessageStoragePolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.MessageStoragePolicy) com.google.pubsub.v1.MessageStoragePolicyOrBuilder { @@ -380,7 +386,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_MessageStoragePolicy_fieldAccessorTable @@ -392,7 +398,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.MessageStoragePolicy.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -447,39 +453,6 @@ private void buildPartial0(com.google.pubsub.v1.MessageStoragePolicy result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.MessageStoragePolicy) { @@ -878,17 +851,6 @@ public Builder clearEnforceInTransit() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.MessageStoragePolicy) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java index 5bbe0270e..b023c895a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface MessageStoragePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.MessageStoragePolicy) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransform.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransform.java index 74f22a393..64bffd993 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransform.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransform.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.pubsub.v1.MessageTransform} */ -public final class MessageTransform extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class MessageTransform extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.MessageTransform) MessageTransformOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "MessageTransform"); + } + // Use MessageTransform.newBuilder() to construct. - private MessageTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MessageTransform(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private MessageTransform() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MessageTransform(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_MessageTransform_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_MessageTransform_fieldAccessorTable @@ -428,38 +434,38 @@ public static com.google.pubsub.v1.MessageTransform parseFrom( public static com.google.pubsub.v1.MessageTransform parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.MessageTransform parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.MessageTransform parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.MessageTransform parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.MessageTransform parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.MessageTransform parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -482,7 +488,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -496,7 +502,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.MessageTransform} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.MessageTransform) com.google.pubsub.v1.MessageTransformOrBuilder { @@ -506,7 +512,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_MessageTransform_fieldAccessorTable @@ -518,7 +524,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.MessageTransform.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -592,39 +598,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.MessageTransform result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.MessageTransform) { @@ -687,7 +660,8 @@ public Builder mergeFrom( break; case 18: { - input.readMessage(getJavascriptUdfFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetJavascriptUdfFieldBuilder().getBuilder(), extensionRegistry); transformCase_ = 2; break; } // case 18 @@ -705,7 +679,8 @@ public Builder mergeFrom( } // case 32 case 50: { - input.readMessage(getAiInferenceFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetAiInferenceFieldBuilder().getBuilder(), extensionRegistry); transformCase_ = 6; break; } // case 50 @@ -742,7 +717,7 @@ public Builder clearTransform() { private int bitField0_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.JavaScriptUDF, com.google.pubsub.v1.JavaScriptUDF.Builder, com.google.pubsub.v1.JavaScriptUDFOrBuilder> @@ -923,7 +898,7 @@ public Builder clearJavascriptUdf() { * */ public com.google.pubsub.v1.JavaScriptUDF.Builder getJavascriptUdfBuilder() { - return getJavascriptUdfFieldBuilder().getBuilder(); + return internalGetJavascriptUdfFieldBuilder().getBuilder(); } /** @@ -962,17 +937,17 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { * .google.pubsub.v1.JavaScriptUDF javascript_udf = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.JavaScriptUDF, com.google.pubsub.v1.JavaScriptUDF.Builder, com.google.pubsub.v1.JavaScriptUDFOrBuilder> - getJavascriptUdfFieldBuilder() { + internalGetJavascriptUdfFieldBuilder() { if (javascriptUdfBuilder_ == null) { if (!(transformCase_ == 2)) { transform_ = com.google.pubsub.v1.JavaScriptUDF.getDefaultInstance(); } javascriptUdfBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.JavaScriptUDF, com.google.pubsub.v1.JavaScriptUDF.Builder, com.google.pubsub.v1.JavaScriptUDFOrBuilder>( @@ -984,7 +959,7 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { return javascriptUdfBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.AIInference, com.google.pubsub.v1.AIInference.Builder, com.google.pubsub.v1.AIInferenceOrBuilder> @@ -1172,7 +1147,7 @@ public Builder clearAiInference() { * */ public com.google.pubsub.v1.AIInference.Builder getAiInferenceBuilder() { - return getAiInferenceFieldBuilder().getBuilder(); + return internalGetAiInferenceFieldBuilder().getBuilder(); } /** @@ -1213,17 +1188,17 @@ public com.google.pubsub.v1.AIInferenceOrBuilder getAiInferenceOrBuilder() { * .google.pubsub.v1.AIInference ai_inference = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.AIInference, com.google.pubsub.v1.AIInference.Builder, com.google.pubsub.v1.AIInferenceOrBuilder> - getAiInferenceFieldBuilder() { + internalGetAiInferenceFieldBuilder() { if (aiInferenceBuilder_ == null) { if (!(transformCase_ == 6)) { transform_ = com.google.pubsub.v1.AIInference.getDefaultInstance(); } aiInferenceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.AIInference, com.google.pubsub.v1.AIInference.Builder, com.google.pubsub.v1.AIInferenceOrBuilder>( @@ -1362,17 +1337,6 @@ public Builder clearDisabled() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.MessageTransform) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransformOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransformOrBuilder.java index 85fe71dad..9c31737d0 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransformOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageTransformOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface MessageTransformOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.MessageTransform) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java index 64f101a14..383bd5c0e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ModifyAckDeadlineRequest} */ -public final class ModifyAckDeadlineRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ModifyAckDeadlineRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ModifyAckDeadlineRequest) ModifyAckDeadlineRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ModifyAckDeadlineRequest"); + } + // Use ModifyAckDeadlineRequest.newBuilder() to construct. - private ModifyAckDeadlineRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ModifyAckDeadlineRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ModifyAckDeadlineRequest() { ackIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ModifyAckDeadlineRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_fieldAccessorTable @@ -233,14 +239,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } if (ackDeadlineSeconds_ != 0) { output.writeInt32(3, ackDeadlineSeconds_); } for (int i = 0; i < ackIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ackIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 4, ackIds_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -251,8 +257,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } if (ackDeadlineSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, ackDeadlineSeconds_); @@ -345,38 +351,38 @@ public static com.google.pubsub.v1.ModifyAckDeadlineRequest parseFrom( public static com.google.pubsub.v1.ModifyAckDeadlineRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ModifyAckDeadlineRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ModifyAckDeadlineRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ModifyAckDeadlineRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ModifyAckDeadlineRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ModifyAckDeadlineRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -399,7 +405,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -413,7 +419,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ModifyAckDeadlineRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ModifyAckDeadlineRequest) com.google.pubsub.v1.ModifyAckDeadlineRequestOrBuilder { @@ -423,7 +429,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_fieldAccessorTable @@ -435,7 +441,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ModifyAckDeadlineRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -494,39 +500,6 @@ private void buildPartial0(com.google.pubsub.v1.ModifyAckDeadlineRequest result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ModifyAckDeadlineRequest) { @@ -1010,17 +983,6 @@ public Builder clearAckDeadlineSeconds() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ModifyAckDeadlineRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java index 184107b00..56439946d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ModifyAckDeadlineRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ModifyAckDeadlineRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java index 02d5a6095..0a0181ec3 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ModifyPushConfigRequest} */ -public final class ModifyPushConfigRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ModifyPushConfigRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ModifyPushConfigRequest) ModifyPushConfigRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ModifyPushConfigRequest"); + } + // Use ModifyPushConfigRequest.newBuilder() to construct. - private ModifyPushConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ModifyPushConfigRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private ModifyPushConfigRequest() { subscription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ModifyPushConfigRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ModifyPushConfigRequest_fieldAccessorTable @@ -205,8 +211,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getPushConfig()); @@ -220,8 +226,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPushConfig()); @@ -306,38 +312,38 @@ public static com.google.pubsub.v1.ModifyPushConfigRequest parseFrom( public static com.google.pubsub.v1.ModifyPushConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ModifyPushConfigRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ModifyPushConfigRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ModifyPushConfigRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ModifyPushConfigRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ModifyPushConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -360,7 +366,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -374,7 +380,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ModifyPushConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ModifyPushConfigRequest) com.google.pubsub.v1.ModifyPushConfigRequestOrBuilder { @@ -384,7 +390,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ModifyPushConfigRequest_fieldAccessorTable @@ -398,14 +404,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPushConfigFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetPushConfigFieldBuilder(); } } @@ -466,39 +472,6 @@ private void buildPartial0(com.google.pubsub.v1.ModifyPushConfigRequest result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ModifyPushConfigRequest) { @@ -553,7 +526,8 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getPushConfigFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetPushConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -703,7 +677,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { } private com.google.pubsub.v1.PushConfig pushConfig_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig, com.google.pubsub.v1.PushConfig.Builder, com.google.pubsub.v1.PushConfigOrBuilder> @@ -890,7 +864,7 @@ public Builder clearPushConfig() { public com.google.pubsub.v1.PushConfig.Builder getPushConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getPushConfigFieldBuilder().getBuilder(); + return internalGetPushConfigFieldBuilder().getBuilder(); } /** @@ -933,14 +907,14 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { * .google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig, com.google.pubsub.v1.PushConfig.Builder, com.google.pubsub.v1.PushConfigOrBuilder> - getPushConfigFieldBuilder() { + internalGetPushConfigFieldBuilder() { if (pushConfigBuilder_ == null) { pushConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig, com.google.pubsub.v1.PushConfig.Builder, com.google.pubsub.v1.PushConfigOrBuilder>( @@ -950,17 +924,6 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { return pushConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ModifyPushConfigRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java index 80ce0456c..25f579d74 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ModifyPushConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ModifyPushConfigRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java index fab452ea1..1135d99de 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.PlatformLogsSettings} */ -public final class PlatformLogsSettings extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class PlatformLogsSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PlatformLogsSettings) PlatformLogsSettingsOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PlatformLogsSettings"); + } + // Use PlatformLogsSettings.newBuilder() to construct. - private PlatformLogsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PlatformLogsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private PlatformLogsSettings() { severity_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PlatformLogsSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PlatformLogsSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PlatformLogsSettings_fieldAccessorTable @@ -137,6 +143,16 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Severity"); + } + /** * * @@ -267,7 +283,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.PlatformLogsSettings.getDescriptor().getEnumTypes().get(0); } @@ -438,38 +454,38 @@ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom( public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PlatformLogsSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PlatformLogsSettings parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PlatformLogsSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PlatformLogsSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PlatformLogsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -492,7 +508,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -506,7 +522,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.PlatformLogsSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PlatformLogsSettings) com.google.pubsub.v1.PlatformLogsSettingsOrBuilder { @@ -516,7 +532,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PlatformLogsSettings_fieldAccessorTable @@ -528,7 +544,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.PlatformLogsSettings.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -578,39 +594,6 @@ private void buildPartial0(com.google.pubsub.v1.PlatformLogsSettings result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PlatformLogsSettings) { @@ -784,17 +767,6 @@ public Builder clearSeverity() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PlatformLogsSettings) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettingsOrBuilder.java index c2165b689..e01f7b068 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettingsOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettingsOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface PlatformLogsSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PlatformLogsSettings) 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 1a90a5f5b..a98f3bd07 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.PublishRequest} */ -public final class PublishRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class PublishRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PublishRequest) PublishRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PublishRequest"); + } + // Use PublishRequest.newBuilder() to construct. - private PublishRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PublishRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private PublishRequest() { messages_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PublishRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PublishRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PublishRequest_fieldAccessorTable @@ -224,8 +230,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_); } for (int i = 0; i < messages_.size(); i++) { output.writeMessage(2, messages_.get(i)); @@ -239,8 +245,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, topic_); } for (int i = 0; i < messages_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, messages_.get(i)); @@ -320,38 +326,38 @@ public static com.google.pubsub.v1.PublishRequest parseFrom( public static com.google.pubsub.v1.PublishRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PublishRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PublishRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PublishRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PublishRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PublishRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -374,7 +380,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -388,7 +394,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.PublishRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PublishRequest) com.google.pubsub.v1.PublishRequestOrBuilder { @@ -398,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PublishRequest_fieldAccessorTable @@ -410,7 +416,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.PublishRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -479,39 +485,6 @@ private void buildPartial0(com.google.pubsub.v1.PublishRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PublishRequest) { @@ -548,8 +521,8 @@ public Builder mergeFrom(com.google.pubsub.v1.PublishRequest other) { messages_ = other.messages_; bitField0_ = (bitField0_ & ~0x00000002); messagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMessagesFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetMessagesFieldBuilder() : null; } else { messagesBuilder_.addAllMessages(other.messages_); @@ -756,7 +729,7 @@ private void ensureMessagesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.PubsubMessage, com.google.pubsub.v1.PubsubMessage.Builder, com.google.pubsub.v1.PubsubMessageOrBuilder> @@ -1041,7 +1014,7 @@ public Builder removeMessages(int index) { * */ public com.google.pubsub.v1.PubsubMessage.Builder getMessagesBuilder(int index) { - return getMessagesFieldBuilder().getBuilder(index); + return internalGetMessagesFieldBuilder().getBuilder(index); } /** @@ -1095,7 +1068,7 @@ public com.google.pubsub.v1.PubsubMessageOrBuilder getMessagesOrBuilder(int inde * */ public com.google.pubsub.v1.PubsubMessage.Builder addMessagesBuilder() { - return getMessagesFieldBuilder() + return internalGetMessagesFieldBuilder() .addBuilder(com.google.pubsub.v1.PubsubMessage.getDefaultInstance()); } @@ -1111,7 +1084,7 @@ public com.google.pubsub.v1.PubsubMessage.Builder addMessagesBuilder() { * */ public com.google.pubsub.v1.PubsubMessage.Builder addMessagesBuilder(int index) { - return getMessagesFieldBuilder() + return internalGetMessagesFieldBuilder() .addBuilder(index, com.google.pubsub.v1.PubsubMessage.getDefaultInstance()); } @@ -1127,17 +1100,17 @@ public com.google.pubsub.v1.PubsubMessage.Builder addMessagesBuilder(int index) * */ public java.util.List getMessagesBuilderList() { - return getMessagesFieldBuilder().getBuilderList(); + return internalGetMessagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.PubsubMessage, com.google.pubsub.v1.PubsubMessage.Builder, com.google.pubsub.v1.PubsubMessageOrBuilder> - getMessagesFieldBuilder() { + internalGetMessagesFieldBuilder() { if (messagesBuilder_ == null) { messagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.PubsubMessage, com.google.pubsub.v1.PubsubMessage.Builder, com.google.pubsub.v1.PubsubMessageOrBuilder>( @@ -1147,17 +1120,6 @@ public java.util.List getMessagesBui return messagesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PublishRequest) } 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 21447e8e3..18f0e8e57 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface PublishRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PublishRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java index e552f7bdd..d00cf0040 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.PublishResponse} */ -public final class PublishResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class PublishResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PublishResponse) PublishResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PublishResponse"); + } + // Use PublishResponse.newBuilder() to construct. - private PublishResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PublishResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private PublishResponse() { messageIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PublishResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PublishResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PublishResponse_fieldAccessorTable @@ -155,7 +161,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < messageIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, messageIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, messageIds_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -246,38 +252,38 @@ public static com.google.pubsub.v1.PublishResponse parseFrom( public static com.google.pubsub.v1.PublishResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PublishResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PublishResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PublishResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PublishResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PublishResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -300,7 +306,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -314,7 +320,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.PublishResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PublishResponse) com.google.pubsub.v1.PublishResponseOrBuilder { @@ -324,7 +330,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PublishResponse_fieldAccessorTable @@ -336,7 +342,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.PublishResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -386,39 +392,6 @@ private void buildPartial0(com.google.pubsub.v1.PublishResponse result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PublishResponse) { @@ -694,17 +667,6 @@ public Builder addMessageIdsBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PublishResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java index 18b8bc10f..067a2b264 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface PublishResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PublishResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java index 198e1349f..ef7fcebb9 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -35,14 +36,25 @@ * * Protobuf type {@code google.pubsub.v1.PubsubMessage} */ -public final class PubsubMessage extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class PubsubMessage extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PubsubMessage) PubsubMessageOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PubsubMessage"); + } + // Use PubsubMessage.newBuilder() to construct. - private PubsubMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PubsubMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -52,12 +64,6 @@ private PubsubMessage() { orderingKey_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PubsubMessage(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PubsubMessage_descriptor; @@ -76,7 +82,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PubsubMessage_fieldAccessorTable @@ -423,16 +429,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!data_.isEmpty()) { output.writeBytes(1, data_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 2); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, messageId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(messageId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, messageId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getPublishTime()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderingKey_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderingKey_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderingKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, orderingKey_); } getUnknownFields().writeTo(output); } @@ -456,14 +462,14 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, attributes__); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, messageId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(messageId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, messageId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPublishTime()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderingKey_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderingKey_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderingKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, orderingKey_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -554,38 +560,38 @@ public static com.google.pubsub.v1.PubsubMessage parseFrom( public static com.google.pubsub.v1.PubsubMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PubsubMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PubsubMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PubsubMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PubsubMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PubsubMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -608,7 +614,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -629,7 +635,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.PubsubMessage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PubsubMessage) com.google.pubsub.v1.PubsubMessageOrBuilder { @@ -661,7 +667,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PubsubMessage_fieldAccessorTable @@ -675,14 +681,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPublishTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetPublishTimeFieldBuilder(); } } @@ -756,39 +762,6 @@ private void buildPartial0(com.google.pubsub.v1.PubsubMessage result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PubsubMessage) { @@ -801,7 +774,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.pubsub.v1.PubsubMessage other) { if (other == com.google.pubsub.v1.PubsubMessage.getDefaultInstance()) return this; - if (other.getData() != com.google.protobuf.ByteString.EMPTY) { + if (!other.getData().isEmpty()) { setData(other.getData()); } internalGetMutableAttributes().mergeFrom(other.internalGetAttributes()); @@ -871,7 +844,8 @@ public Builder mergeFrom( } // case 26 case 34: { - input.readMessage(getPublishTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetPublishTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 @@ -1284,7 +1258,7 @@ public Builder setMessageIdBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp publishTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1443,7 +1417,7 @@ public Builder clearPublishTime() { public com.google.protobuf.Timestamp.Builder getPublishTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); - return getPublishTimeFieldBuilder().getBuilder(); + return internalGetPublishTimeFieldBuilder().getBuilder(); } /** @@ -1478,14 +1452,14 @@ public com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder() { * * .google.protobuf.Timestamp publish_time = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getPublishTimeFieldBuilder() { + internalGetPublishTimeFieldBuilder() { if (publishTimeBuilder_ == null) { publishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1641,17 +1615,6 @@ public Builder setOrderingKeyBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PubsubMessage) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java index 16fa1601f..801741079 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface PubsubMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PubsubMessage) 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 770662845..4717d7ebf 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 @@ -14,14 +14,26 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; -public final class PubsubProto { +@com.google.protobuf.Generated +public final class PubsubProto extends com.google.protobuf.GeneratedFile { private PubsubProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PubsubProto"); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,355 +42,355 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_MessageStoragePolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_MessageStoragePolicy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_SchemaSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_SchemaSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsMsk_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsMsk_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionDataSourceSettings_ConfluentCloud_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionDataSourceSettings_ConfluentCloud_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PlatformLogsSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PlatformLogsSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_ApiViolationReason_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_ApiViolationReason_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_AvroFailureReason_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_AvroFailureReason_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_SchemaViolationReason_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_SchemaViolationReason_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_MessageTransformationFailureReason_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_MessageTransformationFailureReason_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_CloudStorageFailure_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_CloudStorageFailure_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_AwsMskFailureReason_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_AwsMskFailureReason_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_AzureEventHubsFailureReason_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_AzureEventHubsFailureReason_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_ConfluentCloudFailureReason_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_ConfluentCloudFailureReason_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_IngestionFailureEvent_AwsKinesisFailureReason_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_IngestionFailureEvent_AwsKinesisFailureReason_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_JavaScriptUDF_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_JavaScriptUDF_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_AIInference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_AIInference_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_AIInference_UnstructuredInference_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_MessageTransform_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_MessageTransform_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Topic_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Topic_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Topic_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Topic_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Topic_TagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Topic_TagsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PubsubMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PubsubMessage_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_GetTopicRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_GetTopicRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_UpdateTopicRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_UpdateTopicRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PublishRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PublishRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PublishResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PublishResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListTopicsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListTopicsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListTopicsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListTopicsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_DeleteTopicRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_DetachSubscriptionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_DetachSubscriptionResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Subscription_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Subscription_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Subscription_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Subscription_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Subscription_TagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Subscription_TagsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_RetryPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_RetryPolicy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_DeadLetterPolicy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ExpirationPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ExpirationPolicy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PushConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PushConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PushConfig_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PushConfig_OidcToken_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PushConfig_PubsubWrapper_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PushConfig_PubsubWrapper_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PushConfig_NoWrapper_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PushConfig_NoWrapper_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PushConfig_AttributesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PushConfig_AttributesEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_BigQueryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_BigQueryConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CloudStorageConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ReceivedMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_UpdateSubscriptionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListSubscriptionsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListSubscriptionsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ModifyPushConfigRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PullRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PullRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_PullResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_PullResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_AcknowledgeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_StreamingPullRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_StreamingPullResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_StreamingPullResponse_AcknowledgeConfirmation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_StreamingPullResponse_AcknowledgeConfirmation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_StreamingPullResponse_ModifyAckDeadlineConfirmation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_StreamingPullResponse_ModifyAckDeadlineConfirmation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_StreamingPullResponse_SubscriptionProperties_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_StreamingPullResponse_SubscriptionProperties_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CreateSnapshotRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_CreateSnapshotRequest_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CreateSnapshotRequest_TagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_CreateSnapshotRequest_TagsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_UpdateSnapshotRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Snapshot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Snapshot_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Snapshot_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Snapshot_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListSnapshotsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListSnapshotsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_SeekRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_SeekRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_SeekResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_SeekResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -1079,25 +1091,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.pubsub.v1.SchemaProto.getDescriptor(), }); internal_static_google_pubsub_v1_MessageStoragePolicy_descriptor = - getDescriptor().getMessageTypes().get(0); + getDescriptor().getMessageType(0); internal_static_google_pubsub_v1_MessageStoragePolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_MessageStoragePolicy_descriptor, new java.lang.String[] { "AllowedPersistenceRegions", "EnforceInTransit", }); - internal_static_google_pubsub_v1_SchemaSettings_descriptor = - getDescriptor().getMessageTypes().get(1); + internal_static_google_pubsub_v1_SchemaSettings_descriptor = getDescriptor().getMessageType(1); internal_static_google_pubsub_v1_SchemaSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_SchemaSettings_descriptor, new java.lang.String[] { "Schema", "Encoding", "FirstRevisionId", "LastRevisionId", }); internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageType(2); internal_static_google_pubsub_v1_IngestionDataSourceSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor, new java.lang.String[] { "AwsKinesis", @@ -1109,21 +1120,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Source", }); internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_descriptor = - internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor - .getNestedTypes() - .get(0); + internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor.getNestedType(0); internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_descriptor, new java.lang.String[] { "State", "StreamArn", "ConsumerArn", "AwsRoleArn", "GcpServiceAccount", }); internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor = - internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor - .getNestedTypes() - .get(1); + internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor.getNestedType(1); internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor, new java.lang.String[] { "State", @@ -1137,36 +1144,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_descriptor = internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor - .getNestedTypes() - .get(0); + .getNestedType(0); internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_descriptor, new java.lang.String[] { "Delimiter", }); internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_descriptor = internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor - .getNestedTypes() - .get(1); + .getNestedType(1); internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_descriptor = internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor - .getNestedTypes() - .get(2); + .getNestedType(2); internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_descriptor = - internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor - .getNestedTypes() - .get(2); + internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor.getNestedType(2); internal_static_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_descriptor, new java.lang.String[] { "State", @@ -1179,21 +1181,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "GcpServiceAccount", }); internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsMsk_descriptor = - internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor - .getNestedTypes() - .get(3); + internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor.getNestedType(3); internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsMsk_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsMsk_descriptor, new java.lang.String[] { "State", "ClusterArn", "Topic", "AwsRoleArn", "GcpServiceAccount", }); internal_static_google_pubsub_v1_IngestionDataSourceSettings_ConfluentCloud_descriptor = - internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor - .getNestedTypes() - .get(4); + internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor.getNestedType(4); internal_static_google_pubsub_v1_IngestionDataSourceSettings_ConfluentCloud_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionDataSourceSettings_ConfluentCloud_descriptor, new java.lang.String[] { "State", @@ -1204,17 +1202,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "GcpServiceAccount", }); internal_static_google_pubsub_v1_PlatformLogsSettings_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageType(3); internal_static_google_pubsub_v1_PlatformLogsSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PlatformLogsSettings_descriptor, new java.lang.String[] { "Severity", }); internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageType(4); internal_static_google_pubsub_v1_IngestionFailureEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor, new java.lang.String[] { "Topic", @@ -1227,33 +1225,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Failure", }); internal_static_google_pubsub_v1_IngestionFailureEvent_ApiViolationReason_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(0); internal_static_google_pubsub_v1_IngestionFailureEvent_ApiViolationReason_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_ApiViolationReason_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_IngestionFailureEvent_AvroFailureReason_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(1); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(1); internal_static_google_pubsub_v1_IngestionFailureEvent_AvroFailureReason_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_AvroFailureReason_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_IngestionFailureEvent_SchemaViolationReason_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(2); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(2); internal_static_google_pubsub_v1_IngestionFailureEvent_SchemaViolationReason_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_SchemaViolationReason_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_IngestionFailureEvent_MessageTransformationFailureReason_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(3); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(3); internal_static_google_pubsub_v1_IngestionFailureEvent_MessageTransformationFailureReason_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_MessageTransformationFailureReason_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_IngestionFailureEvent_CloudStorageFailure_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(4); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(4); internal_static_google_pubsub_v1_IngestionFailureEvent_CloudStorageFailure_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_CloudStorageFailure_descriptor, new java.lang.String[] { "Bucket", @@ -1266,9 +1264,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Reason", }); internal_static_google_pubsub_v1_IngestionFailureEvent_AwsMskFailureReason_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(5); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(5); internal_static_google_pubsub_v1_IngestionFailureEvent_AwsMskFailureReason_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_AwsMskFailureReason_descriptor, new java.lang.String[] { "ClusterArn", @@ -1281,9 +1279,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Reason", }); internal_static_google_pubsub_v1_IngestionFailureEvent_AzureEventHubsFailureReason_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(6); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(6); internal_static_google_pubsub_v1_IngestionFailureEvent_AzureEventHubsFailureReason_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_AzureEventHubsFailureReason_descriptor, new java.lang.String[] { "Namespace", @@ -1296,9 +1294,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Reason", }); internal_static_google_pubsub_v1_IngestionFailureEvent_ConfluentCloudFailureReason_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(7); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(7); internal_static_google_pubsub_v1_IngestionFailureEvent_ConfluentCloudFailureReason_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_ConfluentCloudFailureReason_descriptor, new java.lang.String[] { "ClusterId", @@ -1311,9 +1309,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Reason", }); internal_static_google_pubsub_v1_IngestionFailureEvent_AwsKinesisFailureReason_descriptor = - internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedTypes().get(8); + internal_static_google_pubsub_v1_IngestionFailureEvent_descriptor.getNestedType(8); internal_static_google_pubsub_v1_IngestionFailureEvent_AwsKinesisFailureReason_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_IngestionFailureEvent_AwsKinesisFailureReason_descriptor, new java.lang.String[] { "StreamArn", @@ -1324,41 +1322,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ApiViolationReason", "Reason", }); - internal_static_google_pubsub_v1_JavaScriptUDF_descriptor = - getDescriptor().getMessageTypes().get(5); + internal_static_google_pubsub_v1_JavaScriptUDF_descriptor = getDescriptor().getMessageType(5); internal_static_google_pubsub_v1_JavaScriptUDF_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_JavaScriptUDF_descriptor, new java.lang.String[] { "FunctionName", "Code", }); - internal_static_google_pubsub_v1_AIInference_descriptor = - getDescriptor().getMessageTypes().get(6); + internal_static_google_pubsub_v1_AIInference_descriptor = getDescriptor().getMessageType(6); internal_static_google_pubsub_v1_AIInference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_AIInference_descriptor, new java.lang.String[] { "Endpoint", "UnstructuredInference", "ServiceAccountEmail", "InferenceMode", }); internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor = - internal_static_google_pubsub_v1_AIInference_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_AIInference_descriptor.getNestedType(0); internal_static_google_pubsub_v1_AIInference_UnstructuredInference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_AIInference_UnstructuredInference_descriptor, new java.lang.String[] { "Parameters", }); internal_static_google_pubsub_v1_MessageTransform_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageType(7); internal_static_google_pubsub_v1_MessageTransform_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_MessageTransform_descriptor, new java.lang.String[] { "JavascriptUdf", "AiInference", "Enabled", "Disabled", "Transform", }); - internal_static_google_pubsub_v1_Topic_descriptor = getDescriptor().getMessageTypes().get(8); + internal_static_google_pubsub_v1_Topic_descriptor = getDescriptor().getMessageType(8); internal_static_google_pubsub_v1_Topic_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Topic_descriptor, new java.lang.String[] { "Name", @@ -1374,143 +1370,140 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Tags", }); internal_static_google_pubsub_v1_Topic_LabelsEntry_descriptor = - internal_static_google_pubsub_v1_Topic_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_Topic_descriptor.getNestedType(0); internal_static_google_pubsub_v1_Topic_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Topic_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_pubsub_v1_Topic_TagsEntry_descriptor = - internal_static_google_pubsub_v1_Topic_descriptor.getNestedTypes().get(1); + internal_static_google_pubsub_v1_Topic_descriptor.getNestedType(1); internal_static_google_pubsub_v1_Topic_TagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Topic_TagsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_google_pubsub_v1_PubsubMessage_descriptor = - getDescriptor().getMessageTypes().get(9); + internal_static_google_pubsub_v1_PubsubMessage_descriptor = getDescriptor().getMessageType(9); internal_static_google_pubsub_v1_PubsubMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PubsubMessage_descriptor, new java.lang.String[] { "Data", "Attributes", "MessageId", "PublishTime", "OrderingKey", }); internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_descriptor = - internal_static_google_pubsub_v1_PubsubMessage_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_PubsubMessage_descriptor.getNestedType(0); internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_pubsub_v1_GetTopicRequest_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageType(10); internal_static_google_pubsub_v1_GetTopicRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_GetTopicRequest_descriptor, new java.lang.String[] { "Topic", }); internal_static_google_pubsub_v1_UpdateTopicRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageType(11); internal_static_google_pubsub_v1_UpdateTopicRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_UpdateTopicRequest_descriptor, new java.lang.String[] { "Topic", "UpdateMask", }); - internal_static_google_pubsub_v1_PublishRequest_descriptor = - getDescriptor().getMessageTypes().get(12); + internal_static_google_pubsub_v1_PublishRequest_descriptor = getDescriptor().getMessageType(12); internal_static_google_pubsub_v1_PublishRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PublishRequest_descriptor, new java.lang.String[] { "Topic", "Messages", }); internal_static_google_pubsub_v1_PublishResponse_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageType(13); internal_static_google_pubsub_v1_PublishResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PublishResponse_descriptor, new java.lang.String[] { "MessageIds", }); internal_static_google_pubsub_v1_ListTopicsRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageType(14); internal_static_google_pubsub_v1_ListTopicsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicsRequest_descriptor, new java.lang.String[] { "Project", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListTopicsResponse_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageType(15); internal_static_google_pubsub_v1_ListTopicsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicsResponse_descriptor, new java.lang.String[] { "Topics", "NextPageToken", }); internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageType(16); internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_descriptor, new java.lang.String[] { "Topic", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageType(17); internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_descriptor, new java.lang.String[] { "Subscriptions", "NextPageToken", }); internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageType(18); internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_descriptor, new java.lang.String[] { "Topic", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageType(19); internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_descriptor, new java.lang.String[] { "Snapshots", "NextPageToken", }); internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageType(20); internal_static_google_pubsub_v1_DeleteTopicRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor, new java.lang.String[] { "Topic", }); internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageType(21); internal_static_google_pubsub_v1_DetachSubscriptionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor, new java.lang.String[] { "Subscription", }); internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageType(22); internal_static_google_pubsub_v1_DetachSubscriptionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor, new java.lang.String[] {}); - internal_static_google_pubsub_v1_Subscription_descriptor = - getDescriptor().getMessageTypes().get(23); + internal_static_google_pubsub_v1_Subscription_descriptor = getDescriptor().getMessageType(23); internal_static_google_pubsub_v1_Subscription_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Subscription_descriptor, new java.lang.String[] { "Name", @@ -1536,57 +1529,55 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Tags", }); internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_descriptor = - internal_static_google_pubsub_v1_Subscription_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_Subscription_descriptor.getNestedType(0); internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_descriptor, new java.lang.String[] { "Listing", "Subscription", }); internal_static_google_pubsub_v1_Subscription_LabelsEntry_descriptor = - internal_static_google_pubsub_v1_Subscription_descriptor.getNestedTypes().get(1); + internal_static_google_pubsub_v1_Subscription_descriptor.getNestedType(1); internal_static_google_pubsub_v1_Subscription_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Subscription_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_pubsub_v1_Subscription_TagsEntry_descriptor = - internal_static_google_pubsub_v1_Subscription_descriptor.getNestedTypes().get(2); + internal_static_google_pubsub_v1_Subscription_descriptor.getNestedType(2); internal_static_google_pubsub_v1_Subscription_TagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Subscription_TagsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_google_pubsub_v1_RetryPolicy_descriptor = - getDescriptor().getMessageTypes().get(24); + internal_static_google_pubsub_v1_RetryPolicy_descriptor = getDescriptor().getMessageType(24); internal_static_google_pubsub_v1_RetryPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_RetryPolicy_descriptor, new java.lang.String[] { "MinimumBackoff", "MaximumBackoff", }); internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageType(25); internal_static_google_pubsub_v1_DeadLetterPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor, new java.lang.String[] { "DeadLetterTopic", "MaxDeliveryAttempts", }); internal_static_google_pubsub_v1_ExpirationPolicy_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageType(26); internal_static_google_pubsub_v1_ExpirationPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ExpirationPolicy_descriptor, new java.lang.String[] { "Ttl", }); - internal_static_google_pubsub_v1_PushConfig_descriptor = - getDescriptor().getMessageTypes().get(27); + internal_static_google_pubsub_v1_PushConfig_descriptor = getDescriptor().getMessageType(27); internal_static_google_pubsub_v1_PushConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PushConfig_descriptor, new java.lang.String[] { "PushEndpoint", @@ -1598,39 +1589,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Wrapper", }); internal_static_google_pubsub_v1_PushConfig_OidcToken_descriptor = - internal_static_google_pubsub_v1_PushConfig_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_PushConfig_descriptor.getNestedType(0); internal_static_google_pubsub_v1_PushConfig_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PushConfig_OidcToken_descriptor, new java.lang.String[] { "ServiceAccountEmail", "Audience", }); internal_static_google_pubsub_v1_PushConfig_PubsubWrapper_descriptor = - internal_static_google_pubsub_v1_PushConfig_descriptor.getNestedTypes().get(1); + internal_static_google_pubsub_v1_PushConfig_descriptor.getNestedType(1); internal_static_google_pubsub_v1_PushConfig_PubsubWrapper_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PushConfig_PubsubWrapper_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_PushConfig_NoWrapper_descriptor = - internal_static_google_pubsub_v1_PushConfig_descriptor.getNestedTypes().get(2); + internal_static_google_pubsub_v1_PushConfig_descriptor.getNestedType(2); internal_static_google_pubsub_v1_PushConfig_NoWrapper_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PushConfig_NoWrapper_descriptor, new java.lang.String[] { "WriteMetadata", }); internal_static_google_pubsub_v1_PushConfig_AttributesEntry_descriptor = - internal_static_google_pubsub_v1_PushConfig_descriptor.getNestedTypes().get(3); + internal_static_google_pubsub_v1_PushConfig_descriptor.getNestedType(3); internal_static_google_pubsub_v1_PushConfig_AttributesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PushConfig_AttributesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_google_pubsub_v1_BigQueryConfig_descriptor = - getDescriptor().getMessageTypes().get(28); + internal_static_google_pubsub_v1_BigQueryConfig_descriptor = getDescriptor().getMessageType(28); internal_static_google_pubsub_v1_BigQueryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_BigQueryConfig_descriptor, new java.lang.String[] { "Table", @@ -1642,9 +1632,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceAccountEmail", }); internal_static_google_pubsub_v1_CloudStorageConfig_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageType(29); internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CloudStorageConfig_descriptor, new java.lang.String[] { "Bucket", @@ -1661,111 +1651,109 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OutputFormat", }); internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_descriptor = - internal_static_google_pubsub_v1_CloudStorageConfig_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_CloudStorageConfig_descriptor.getNestedType(0); internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_descriptor = - internal_static_google_pubsub_v1_CloudStorageConfig_descriptor.getNestedTypes().get(1); + internal_static_google_pubsub_v1_CloudStorageConfig_descriptor.getNestedType(1); internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_descriptor, new java.lang.String[] { "WriteMetadata", "UseTopicSchema", }); internal_static_google_pubsub_v1_ReceivedMessage_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageType(30); internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ReceivedMessage_descriptor, new java.lang.String[] { "AckId", "Message", "DeliveryAttempt", }); internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageType(31); internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor, new java.lang.String[] { "Subscription", }); internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageType(32); internal_static_google_pubsub_v1_UpdateSubscriptionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor, new java.lang.String[] { "Subscription", "UpdateMask", }); internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageType(33); internal_static_google_pubsub_v1_ListSubscriptionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor, new java.lang.String[] { "Project", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageType(34); internal_static_google_pubsub_v1_ListSubscriptionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor, new java.lang.String[] { "Subscriptions", "NextPageToken", }); internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageType(35); internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor, new java.lang.String[] { "Subscription", }); internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageType(36); internal_static_google_pubsub_v1_ModifyPushConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor, new java.lang.String[] { "Subscription", "PushConfig", }); - internal_static_google_pubsub_v1_PullRequest_descriptor = - getDescriptor().getMessageTypes().get(37); + internal_static_google_pubsub_v1_PullRequest_descriptor = getDescriptor().getMessageType(37); internal_static_google_pubsub_v1_PullRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PullRequest_descriptor, new java.lang.String[] { "Subscription", "ReturnImmediately", "MaxMessages", }); - internal_static_google_pubsub_v1_PullResponse_descriptor = - getDescriptor().getMessageTypes().get(38); + internal_static_google_pubsub_v1_PullResponse_descriptor = getDescriptor().getMessageType(38); internal_static_google_pubsub_v1_PullResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PullResponse_descriptor, new java.lang.String[] { "ReceivedMessages", }); internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageType(39); internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor, new java.lang.String[] { "Subscription", "AckIds", "AckDeadlineSeconds", }); internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor = - getDescriptor().getMessageTypes().get(40); + getDescriptor().getMessageType(40); internal_static_google_pubsub_v1_AcknowledgeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor, new java.lang.String[] { "Subscription", "AckIds", }); internal_static_google_pubsub_v1_StreamingPullRequest_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageType(41); internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullRequest_descriptor, new java.lang.String[] { "Subscription", @@ -1779,9 +1767,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProtocolVersion", }); internal_static_google_pubsub_v1_StreamingPullResponse_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageType(42); internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullResponse_descriptor, new java.lang.String[] { "ReceivedMessages", @@ -1790,122 +1778,130 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SubscriptionProperties", }); internal_static_google_pubsub_v1_StreamingPullResponse_AcknowledgeConfirmation_descriptor = - internal_static_google_pubsub_v1_StreamingPullResponse_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_StreamingPullResponse_descriptor.getNestedType(0); internal_static_google_pubsub_v1_StreamingPullResponse_AcknowledgeConfirmation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullResponse_AcknowledgeConfirmation_descriptor, new java.lang.String[] { "AckIds", "InvalidAckIds", "UnorderedAckIds", "TemporaryFailedAckIds", }); internal_static_google_pubsub_v1_StreamingPullResponse_ModifyAckDeadlineConfirmation_descriptor = - internal_static_google_pubsub_v1_StreamingPullResponse_descriptor.getNestedTypes().get(1); + internal_static_google_pubsub_v1_StreamingPullResponse_descriptor.getNestedType(1); internal_static_google_pubsub_v1_StreamingPullResponse_ModifyAckDeadlineConfirmation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullResponse_ModifyAckDeadlineConfirmation_descriptor, new java.lang.String[] { "AckIds", "InvalidAckIds", "TemporaryFailedAckIds", }); internal_static_google_pubsub_v1_StreamingPullResponse_SubscriptionProperties_descriptor = - internal_static_google_pubsub_v1_StreamingPullResponse_descriptor.getNestedTypes().get(2); + internal_static_google_pubsub_v1_StreamingPullResponse_descriptor.getNestedType(2); internal_static_google_pubsub_v1_StreamingPullResponse_SubscriptionProperties_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullResponse_SubscriptionProperties_descriptor, new java.lang.String[] { "ExactlyOnceDeliveryEnabled", "MessageOrderingEnabled", }); internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageType(43); internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor, new java.lang.String[] { "Name", "Subscription", "Labels", "Tags", }); internal_static_google_pubsub_v1_CreateSnapshotRequest_LabelsEntry_descriptor = - internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor.getNestedType(0); internal_static_google_pubsub_v1_CreateSnapshotRequest_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CreateSnapshotRequest_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_pubsub_v1_CreateSnapshotRequest_TagsEntry_descriptor = - internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor.getNestedTypes().get(1); + internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor.getNestedType(1); internal_static_google_pubsub_v1_CreateSnapshotRequest_TagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CreateSnapshotRequest_TagsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageType(44); internal_static_google_pubsub_v1_UpdateSnapshotRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor, new java.lang.String[] { "Snapshot", "UpdateMask", }); - internal_static_google_pubsub_v1_Snapshot_descriptor = - getDescriptor().getMessageTypes().get(45); + internal_static_google_pubsub_v1_Snapshot_descriptor = getDescriptor().getMessageType(45); internal_static_google_pubsub_v1_Snapshot_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Snapshot_descriptor, new java.lang.String[] { "Name", "Topic", "ExpireTime", "Labels", }); internal_static_google_pubsub_v1_Snapshot_LabelsEntry_descriptor = - internal_static_google_pubsub_v1_Snapshot_descriptor.getNestedTypes().get(0); + internal_static_google_pubsub_v1_Snapshot_descriptor.getNestedType(0); internal_static_google_pubsub_v1_Snapshot_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Snapshot_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageType(46); internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor, new java.lang.String[] { "Snapshot", }); internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(47); + getDescriptor().getMessageType(47); internal_static_google_pubsub_v1_ListSnapshotsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor, new java.lang.String[] { "Project", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor = - getDescriptor().getMessageTypes().get(48); + getDescriptor().getMessageType(48); internal_static_google_pubsub_v1_ListSnapshotsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor, new java.lang.String[] { "Snapshots", "NextPageToken", }); internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(49); + getDescriptor().getMessageType(49); internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor, new java.lang.String[] { "Snapshot", }); - internal_static_google_pubsub_v1_SeekRequest_descriptor = - getDescriptor().getMessageTypes().get(50); + internal_static_google_pubsub_v1_SeekRequest_descriptor = getDescriptor().getMessageType(50); internal_static_google_pubsub_v1_SeekRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_SeekRequest_descriptor, new java.lang.String[] { "Subscription", "Time", "Snapshot", "Target", }); - internal_static_google_pubsub_v1_SeekResponse_descriptor = - getDescriptor().getMessageTypes().get(51); + internal_static_google_pubsub_v1_SeekResponse_descriptor = getDescriptor().getMessageType(51); internal_static_google_pubsub_v1_SeekResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_SeekResponse_descriptor, new java.lang.String[] {}); + descriptor.resolveAllFeaturesImmutable(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.pubsub.v1.SchemaProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -1918,16 +1914,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.pubsub.v1.SchemaProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) 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 aa9f8534e..54de83b87 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.PullRequest} */ -public final class PullRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class PullRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PullRequest) PullRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PullRequest"); + } + // Use PullRequest.newBuilder() to construct. - private PullRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PullRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +55,12 @@ private PullRequest() { subscription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PullRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto.internal_static_google_pubsub_v1_PullRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PullRequest_fieldAccessorTable @@ -185,8 +191,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } if (returnImmediately_ != false) { output.writeBool(2, returnImmediately_); @@ -203,8 +209,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } if (returnImmediately_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, returnImmediately_); @@ -288,38 +294,38 @@ public static com.google.pubsub.v1.PullRequest parseFrom( public static com.google.pubsub.v1.PullRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PullRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PullRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PullRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PullRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PullRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -342,7 +348,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -356,7 +362,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.PullRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PullRequest) com.google.pubsub.v1.PullRequestOrBuilder { @@ -366,7 +372,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PullRequest_fieldAccessorTable @@ -378,7 +384,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.PullRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -435,39 +441,6 @@ private void buildPartial0(com.google.pubsub.v1.PullRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PullRequest) { @@ -831,17 +804,6 @@ public Builder clearMaxMessages() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PullRequest) } 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 4127d54a9..ab3fd9f9d 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface PullRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PullRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java index b9e013d59..cad6472f0 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.PullResponse} */ -public final class PullResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class PullResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PullResponse) PullResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PullResponse"); + } + // Use PullResponse.newBuilder() to construct. - private PullResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PullResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private PullResponse() { receivedMessages_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PullResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PullResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PullResponse_fieldAccessorTable @@ -271,38 +277,38 @@ public static com.google.pubsub.v1.PullResponse parseFrom( public static com.google.pubsub.v1.PullResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PullResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PullResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PullResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PullResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PullResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -325,7 +331,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -339,7 +345,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.PullResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PullResponse) com.google.pubsub.v1.PullResponseOrBuilder { @@ -349,7 +355,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PullResponse_fieldAccessorTable @@ -361,7 +367,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.PullResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -426,39 +432,6 @@ private void buildPartial0(com.google.pubsub.v1.PullResponse result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PullResponse) { @@ -490,8 +463,8 @@ public Builder mergeFrom(com.google.pubsub.v1.PullResponse other) { receivedMessages_ = other.receivedMessages_; bitField0_ = (bitField0_ & ~0x00000001); receivedMessagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReceivedMessagesFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetReceivedMessagesFieldBuilder() : null; } else { receivedMessagesBuilder_.addAllMessages(other.receivedMessages_); @@ -567,7 +540,7 @@ private void ensureReceivedMessagesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.ReceivedMessage, com.google.pubsub.v1.ReceivedMessage.Builder, com.google.pubsub.v1.ReceivedMessageOrBuilder> @@ -905,7 +878,7 @@ public Builder removeReceivedMessages(int index) { * */ public com.google.pubsub.v1.ReceivedMessage.Builder getReceivedMessagesBuilder(int index) { - return getReceivedMessagesFieldBuilder().getBuilder(index); + return internalGetReceivedMessagesFieldBuilder().getBuilder(index); } /** @@ -971,7 +944,7 @@ public com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilde * */ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder() { - return getReceivedMessagesFieldBuilder() + return internalGetReceivedMessagesFieldBuilder() .addBuilder(com.google.pubsub.v1.ReceivedMessage.getDefaultInstance()); } @@ -991,7 +964,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder() * */ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(int index) { - return getReceivedMessagesFieldBuilder() + return internalGetReceivedMessagesFieldBuilder() .addBuilder(index, com.google.pubsub.v1.ReceivedMessage.getDefaultInstance()); } @@ -1012,17 +985,17 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(i */ public java.util.List getReceivedMessagesBuilderList() { - return getReceivedMessagesFieldBuilder().getBuilderList(); + return internalGetReceivedMessagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.ReceivedMessage, com.google.pubsub.v1.ReceivedMessage.Builder, com.google.pubsub.v1.ReceivedMessageOrBuilder> - getReceivedMessagesFieldBuilder() { + internalGetReceivedMessagesFieldBuilder() { if (receivedMessagesBuilder_ == null) { receivedMessagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.ReceivedMessage, com.google.pubsub.v1.ReceivedMessage.Builder, com.google.pubsub.v1.ReceivedMessageOrBuilder>( @@ -1035,17 +1008,6 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(i return receivedMessagesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PullResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java index f5f2b6847..98cb9ba32 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface PullResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PullResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java index 4165a9093..304cd75ab 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.PushConfig} */ -public final class PushConfig extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class PushConfig extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PushConfig) PushConfigOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PushConfig"); + } + // Use PushConfig.newBuilder() to construct. - private PushConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PushConfig(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,12 +55,6 @@ private PushConfig() { pushEndpoint_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PushConfig(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto.internal_static_google_pubsub_v1_PushConfig_descriptor; } @@ -66,7 +72,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_fieldAccessorTable @@ -163,14 +169,24 @@ public interface OidcTokenOrBuilder * * Protobuf type {@code google.pubsub.v1.PushConfig.OidcToken} */ - public static final class OidcToken extends com.google.protobuf.GeneratedMessageV3 + public static final class OidcToken extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PushConfig.OidcToken) OidcTokenOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "OidcToken"); + } + // Use OidcToken.newBuilder() to construct. - private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OidcToken(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -179,19 +195,13 @@ private OidcToken() { audience_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OidcToken(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_OidcToken_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_OidcToken_fieldAccessorTable @@ -340,11 +350,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, serviceAccountEmail_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, audience_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(audience_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, audience_); } getUnknownFields().writeTo(output); } @@ -355,11 +365,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccountEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, serviceAccountEmail_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, audience_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(audience_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, audience_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -436,38 +446,38 @@ public static com.google.pubsub.v1.PushConfig.OidcToken parseFrom( public static com.google.pubsub.v1.PushConfig.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.OidcToken parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PushConfig.OidcToken parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.OidcToken parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PushConfig.OidcToken parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -490,8 +500,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -507,8 +516,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.PushConfig.OidcToken} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PushConfig.OidcToken) com.google.pubsub.v1.PushConfig.OidcTokenOrBuilder { @@ -518,7 +526,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_OidcToken_fieldAccessorTable @@ -530,7 +538,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.PushConfig.OidcToken.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -584,41 +592,6 @@ private void buildPartial0(com.google.pubsub.v1.PushConfig.OidcToken result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PushConfig.OidcToken) { @@ -970,18 +943,6 @@ public Builder setAudienceBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PushConfig.OidcToken) } @@ -1050,32 +1011,36 @@ public interface PubsubWrapperOrBuilder * * Protobuf type {@code google.pubsub.v1.PushConfig.PubsubWrapper} */ - public static final class PubsubWrapper extends com.google.protobuf.GeneratedMessageV3 + public static final class PubsubWrapper extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PushConfig.PubsubWrapper) PubsubWrapperOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "PubsubWrapper"); + } + // Use PubsubWrapper.newBuilder() to construct. - private PubsubWrapper(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PubsubWrapper(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private PubsubWrapper() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PubsubWrapper(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_PubsubWrapper_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_PubsubWrapper_fieldAccessorTable @@ -1176,38 +1141,38 @@ public static com.google.pubsub.v1.PushConfig.PubsubWrapper parseFrom( public static com.google.pubsub.v1.PushConfig.PubsubWrapper parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.PubsubWrapper parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PushConfig.PubsubWrapper parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.PubsubWrapper parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PushConfig.PubsubWrapper parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.PubsubWrapper parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1230,8 +1195,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1247,8 +1211,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.PushConfig.PubsubWrapper} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PushConfig.PubsubWrapper) com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder { @@ -1258,7 +1221,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_PubsubWrapper_fieldAccessorTable @@ -1270,7 +1233,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.PushConfig.PubsubWrapper.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1308,41 +1271,6 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapper buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PushConfig.PubsubWrapper) { @@ -1399,18 +1327,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PushConfig.PubsubWrapper) } @@ -1493,32 +1409,36 @@ public interface NoWrapperOrBuilder * * Protobuf type {@code google.pubsub.v1.PushConfig.NoWrapper} */ - public static final class NoWrapper extends com.google.protobuf.GeneratedMessageV3 + public static final class NoWrapper extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.PushConfig.NoWrapper) NoWrapperOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "NoWrapper"); + } + // Use NoWrapper.newBuilder() to construct. - private NoWrapper(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private NoWrapper(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private NoWrapper() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new NoWrapper(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_NoWrapper_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_NoWrapper_fieldAccessorTable @@ -1649,38 +1569,38 @@ public static com.google.pubsub.v1.PushConfig.NoWrapper parseFrom( public static com.google.pubsub.v1.PushConfig.NoWrapper parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.NoWrapper parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PushConfig.NoWrapper parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.NoWrapper parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PushConfig.NoWrapper parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig.NoWrapper parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1703,8 +1623,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1718,8 +1637,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.PushConfig.NoWrapper} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PushConfig.NoWrapper) com.google.pubsub.v1.PushConfig.NoWrapperOrBuilder { @@ -1729,7 +1647,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_NoWrapper_fieldAccessorTable @@ -1741,7 +1659,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.PushConfig.NoWrapper.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1791,41 +1709,6 @@ private void buildPartial0(com.google.pubsub.v1.PushConfig.NoWrapper result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PushConfig.NoWrapper) { @@ -1954,18 +1837,6 @@ public Builder clearWriteMetadata() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PushConfig.NoWrapper) } @@ -2567,10 +2438,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pushEndpoint_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pushEndpoint_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pushEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, pushEndpoint_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 2); if (authenticationMethodCase_ == 3) { output.writeMessage(3, (com.google.pubsub.v1.PushConfig.OidcToken) authenticationMethod_); @@ -2590,8 +2461,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pushEndpoint_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pushEndpoint_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pushEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, pushEndpoint_); } for (java.util.Map.Entry entry : internalGetAttributes().getMap().entrySet()) { @@ -2732,38 +2603,38 @@ public static com.google.pubsub.v1.PushConfig parseFrom( public static com.google.pubsub.v1.PushConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PushConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.PushConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.PushConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2786,7 +2657,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2800,7 +2671,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.PushConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.PushConfig) com.google.pubsub.v1.PushConfigOrBuilder { @@ -2832,7 +2703,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_PushConfig_fieldAccessorTable @@ -2843,7 +2714,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.pubsub.v1.PushConfig.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2927,39 +2798,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.PushConfig result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.PushConfig) { @@ -3052,19 +2890,22 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(getOidcTokenFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetOidcTokenFieldBuilder().getBuilder(), extensionRegistry); authenticationMethodCase_ = 3; break; } // case 26 case 34: { - input.readMessage(getPubsubWrapperFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetPubsubWrapperFieldBuilder().getBuilder(), extensionRegistry); wrapperCase_ = 4; break; } // case 34 case 42: { - input.readMessage(getNoWrapperFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetNoWrapperFieldBuilder().getBuilder(), extensionRegistry); wrapperCase_ = 5; break; } // case 42 @@ -3553,7 +3394,7 @@ public Builder putAllAttributes(java.util.Map @@ -3742,7 +3583,7 @@ public Builder clearOidcToken() { * */ public com.google.pubsub.v1.PushConfig.OidcToken.Builder getOidcTokenBuilder() { - return getOidcTokenFieldBuilder().getBuilder(); + return internalGetOidcTokenFieldBuilder().getBuilder(); } /** @@ -3783,17 +3624,17 @@ public com.google.pubsub.v1.PushConfig.OidcTokenOrBuilder getOidcTokenOrBuilder( * .google.pubsub.v1.PushConfig.OidcToken oidc_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig.OidcToken, com.google.pubsub.v1.PushConfig.OidcToken.Builder, com.google.pubsub.v1.PushConfig.OidcTokenOrBuilder> - getOidcTokenFieldBuilder() { + internalGetOidcTokenFieldBuilder() { if (oidcTokenBuilder_ == null) { if (!(authenticationMethodCase_ == 3)) { authenticationMethod_ = com.google.pubsub.v1.PushConfig.OidcToken.getDefaultInstance(); } oidcTokenBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig.OidcToken, com.google.pubsub.v1.PushConfig.OidcToken.Builder, com.google.pubsub.v1.PushConfig.OidcTokenOrBuilder>( @@ -3807,7 +3648,7 @@ public com.google.pubsub.v1.PushConfig.OidcTokenOrBuilder getOidcTokenOrBuilder( return oidcTokenBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig.PubsubWrapper, com.google.pubsub.v1.PushConfig.PubsubWrapper.Builder, com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder> @@ -3996,7 +3837,7 @@ public Builder clearPubsubWrapper() { * */ public com.google.pubsub.v1.PushConfig.PubsubWrapper.Builder getPubsubWrapperBuilder() { - return getPubsubWrapperFieldBuilder().getBuilder(); + return internalGetPubsubWrapperFieldBuilder().getBuilder(); } /** @@ -4037,17 +3878,17 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder getPubsubWrapperOr * .google.pubsub.v1.PushConfig.PubsubWrapper pubsub_wrapper = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig.PubsubWrapper, com.google.pubsub.v1.PushConfig.PubsubWrapper.Builder, com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder> - getPubsubWrapperFieldBuilder() { + internalGetPubsubWrapperFieldBuilder() { if (pubsubWrapperBuilder_ == null) { if (!(wrapperCase_ == 4)) { wrapper_ = com.google.pubsub.v1.PushConfig.PubsubWrapper.getDefaultInstance(); } pubsubWrapperBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig.PubsubWrapper, com.google.pubsub.v1.PushConfig.PubsubWrapper.Builder, com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder>( @@ -4061,7 +3902,7 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder getPubsubWrapperOr return pubsubWrapperBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig.NoWrapper, com.google.pubsub.v1.PushConfig.NoWrapper.Builder, com.google.pubsub.v1.PushConfig.NoWrapperOrBuilder> @@ -4235,7 +4076,7 @@ public Builder clearNoWrapper() { * */ public com.google.pubsub.v1.PushConfig.NoWrapper.Builder getNoWrapperBuilder() { - return getNoWrapperFieldBuilder().getBuilder(); + return internalGetNoWrapperFieldBuilder().getBuilder(); } /** @@ -4272,17 +4113,17 @@ public com.google.pubsub.v1.PushConfig.NoWrapperOrBuilder getNoWrapperOrBuilder( * .google.pubsub.v1.PushConfig.NoWrapper no_wrapper = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig.NoWrapper, com.google.pubsub.v1.PushConfig.NoWrapper.Builder, com.google.pubsub.v1.PushConfig.NoWrapperOrBuilder> - getNoWrapperFieldBuilder() { + internalGetNoWrapperFieldBuilder() { if (noWrapperBuilder_ == null) { if (!(wrapperCase_ == 5)) { wrapper_ = com.google.pubsub.v1.PushConfig.NoWrapper.getDefaultInstance(); } noWrapperBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig.NoWrapper, com.google.pubsub.v1.PushConfig.NoWrapper.Builder, com.google.pubsub.v1.PushConfig.NoWrapperOrBuilder>( @@ -4296,17 +4137,6 @@ public com.google.pubsub.v1.PushConfig.NoWrapperOrBuilder getNoWrapperOrBuilder( return noWrapperBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.PushConfig) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java index 0a6358afc..c789fff48 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface PushConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PushConfig) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java index f916be13f..116667ae5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ReceivedMessage} */ -public final class ReceivedMessage extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ReceivedMessage extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ReceivedMessage) ReceivedMessageOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ReceivedMessage"); + } + // Use ReceivedMessage.newBuilder() to construct. - private ReceivedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ReceivedMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private ReceivedMessage() { ackId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ReceivedMessage(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ReceivedMessage_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable @@ -218,8 +224,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ackId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ackId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ackId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, ackId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getMessage()); @@ -236,8 +242,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ackId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ackId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ackId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, ackId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMessage()); @@ -326,38 +332,38 @@ public static com.google.pubsub.v1.ReceivedMessage parseFrom( public static com.google.pubsub.v1.ReceivedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ReceivedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ReceivedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ReceivedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ReceivedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ReceivedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -380,7 +386,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -394,7 +400,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ReceivedMessage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ReceivedMessage) com.google.pubsub.v1.ReceivedMessageOrBuilder { @@ -404,7 +410,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable @@ -418,14 +424,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMessageFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetMessageFieldBuilder(); } } @@ -489,39 +495,6 @@ private void buildPartial0(com.google.pubsub.v1.ReceivedMessage result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ReceivedMessage) { @@ -579,7 +552,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getMessageFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetMessageFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -720,7 +693,7 @@ public Builder setAckIdBytes(com.google.protobuf.ByteString value) { } private com.google.pubsub.v1.PubsubMessage message_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PubsubMessage, com.google.pubsub.v1.PubsubMessage.Builder, com.google.pubsub.v1.PubsubMessageOrBuilder> @@ -872,7 +845,7 @@ public Builder clearMessage() { public com.google.pubsub.v1.PubsubMessage.Builder getMessageBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getMessageFieldBuilder().getBuilder(); + return internalGetMessageFieldBuilder().getBuilder(); } /** @@ -905,14 +878,14 @@ public com.google.pubsub.v1.PubsubMessageOrBuilder getMessageOrBuilder() { * .google.pubsub.v1.PubsubMessage message = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PubsubMessage, com.google.pubsub.v1.PubsubMessage.Builder, com.google.pubsub.v1.PubsubMessageOrBuilder> - getMessageFieldBuilder() { + internalGetMessageFieldBuilder() { if (messageBuilder_ == null) { messageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PubsubMessage, com.google.pubsub.v1.PubsubMessage.Builder, com.google.pubsub.v1.PubsubMessageOrBuilder>( @@ -1023,17 +996,6 @@ public Builder clearDeliveryAttempt() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ReceivedMessage) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java index ac4189647..c5acfe765 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ReceivedMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ReceivedMessage) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java index 0f4fa3c7e..bc68bddfc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -38,31 +39,36 @@ * * Protobuf type {@code google.pubsub.v1.RetryPolicy} */ -public final class RetryPolicy extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class RetryPolicy extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.RetryPolicy) RetryPolicyOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "RetryPolicy"); + } + // Use RetryPolicy.newBuilder() to construct. - private RetryPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetryPolicy(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private RetryPolicy() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RetryPolicy(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto.internal_static_google_pubsub_v1_RetryPolicy_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_RetryPolicy_fieldAccessorTable @@ -310,38 +316,38 @@ public static com.google.pubsub.v1.RetryPolicy parseFrom( public static com.google.pubsub.v1.RetryPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.RetryPolicy parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.RetryPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.RetryPolicy parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.RetryPolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.RetryPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -364,7 +370,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -388,7 +394,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.RetryPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.RetryPolicy) com.google.pubsub.v1.RetryPolicyOrBuilder { @@ -398,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_RetryPolicy_fieldAccessorTable @@ -412,15 +418,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMinimumBackoffFieldBuilder(); - getMaximumBackoffFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetMinimumBackoffFieldBuilder(); + internalGetMaximumBackoffFieldBuilder(); } } @@ -487,39 +493,6 @@ private void buildPartial0(com.google.pubsub.v1.RetryPolicy result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.RetryPolicy) { @@ -566,13 +539,15 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getMinimumBackoffFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetMinimumBackoffFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(getMaximumBackoffFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetMaximumBackoffFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -596,7 +571,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Duration minimumBackoff_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -762,7 +737,7 @@ public Builder clearMinimumBackoff() { public com.google.protobuf.Duration.Builder getMinimumBackoffBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getMinimumBackoffFieldBuilder().getBuilder(); + return internalGetMinimumBackoffFieldBuilder().getBuilder(); } /** @@ -799,14 +774,14 @@ public com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder() { * .google.protobuf.Duration minimum_backoff = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getMinimumBackoffFieldBuilder() { + internalGetMinimumBackoffFieldBuilder() { if (minimumBackoffBuilder_ == null) { minimumBackoffBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -817,7 +792,7 @@ public com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder() { } private com.google.protobuf.Duration maximumBackoff_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -990,7 +965,7 @@ public Builder clearMaximumBackoff() { public com.google.protobuf.Duration.Builder getMaximumBackoffBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getMaximumBackoffFieldBuilder().getBuilder(); + return internalGetMaximumBackoffFieldBuilder().getBuilder(); } /** @@ -1029,14 +1004,14 @@ public com.google.protobuf.DurationOrBuilder getMaximumBackoffOrBuilder() { * .google.protobuf.Duration maximum_backoff = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getMaximumBackoffFieldBuilder() { + internalGetMaximumBackoffFieldBuilder() { if (maximumBackoffBuilder_ == null) { maximumBackoffBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1046,17 +1021,6 @@ public com.google.protobuf.DurationOrBuilder getMaximumBackoffOrBuilder() { return maximumBackoffBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.RetryPolicy) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java index 3685bcb54..1d4583231 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface RetryPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.RetryPolicy) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java index fa7078f6a..651e58a5a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.RollbackSchemaRequest} */ -public final class RollbackSchemaRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class RollbackSchemaRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.RollbackSchemaRequest) RollbackSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "RollbackSchemaRequest"); + } + // Use RollbackSchemaRequest.newBuilder() to construct. - private RollbackSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RollbackSchemaRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private RollbackSchemaRequest() { revisionId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RollbackSchemaRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_RollbackSchemaRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_RollbackSchemaRequest_fieldAccessorTable @@ -134,7 +140,7 @@ public com.google.protobuf.ByteString getNameBytes() { * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -161,7 +167,7 @@ public java.lang.String getRevisionId() { * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -195,11 +201,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, revisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(revisionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, revisionId_); } getUnknownFields().writeTo(output); } @@ -210,11 +216,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, revisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(revisionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, revisionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,38 +297,38 @@ public static com.google.pubsub.v1.RollbackSchemaRequest parseFrom( public static com.google.pubsub.v1.RollbackSchemaRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.RollbackSchemaRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.RollbackSchemaRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.RollbackSchemaRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.RollbackSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.RollbackSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -345,7 +351,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -359,7 +365,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.RollbackSchemaRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.RollbackSchemaRequest) com.google.pubsub.v1.RollbackSchemaRequestOrBuilder { @@ -369,7 +375,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_RollbackSchemaRequest_fieldAccessorTable @@ -381,7 +387,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.RollbackSchemaRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -435,39 +441,6 @@ private void buildPartial0(com.google.pubsub.v1.RollbackSchemaRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.RollbackSchemaRequest) { @@ -677,7 +650,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -703,7 +676,7 @@ public java.lang.String getRevisionId() { * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -729,7 +702,7 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -754,7 +727,7 @@ public Builder setRevisionId(java.lang.String value) { * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -775,7 +748,7 @@ public Builder clearRevisionId() { * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -794,17 +767,6 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.RollbackSchemaRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java index c21bfd90a..3a99e5b04 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface RollbackSchemaRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.RollbackSchemaRequest) @@ -61,7 +63,7 @@ public interface RollbackSchemaRequestOrBuilder * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -77,7 +79,7 @@ public interface RollbackSchemaRequestOrBuilder * Required. The revision ID to roll back to. * It must be a revision of the same schema. * - * Example: c7cfa2a8 + * Example: c7cfa2a8 * * * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java index 863a75fe9..c5cf382ad 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.Schema} */ -public final class Schema extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class Schema extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.Schema) SchemaOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Schema"); + } + // Use Schema.newBuilder() to construct. - private Schema(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Schema(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,18 +58,12 @@ private Schema() { revisionId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Schema(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto.internal_static_google_pubsub_v1_Schema_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_Schema_fieldAccessorTable @@ -108,6 +114,16 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Type"); + } + /** * * @@ -199,7 +215,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.Schema.getDescriptor().getEnumTypes().get(0); } @@ -503,17 +519,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (type_ != com.google.pubsub.v1.Schema.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, definition_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(definition_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, definition_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, revisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(revisionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, revisionId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(6, getRevisionCreateTime()); @@ -527,17 +543,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (type_ != com.google.pubsub.v1.Schema.Type.TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, definition_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(definition_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, definition_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, revisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(revisionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, revisionId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRevisionCreateTime()); @@ -629,38 +645,38 @@ public static com.google.pubsub.v1.Schema parseFrom( public static com.google.pubsub.v1.Schema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Schema parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Schema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.Schema parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Schema parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Schema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -683,7 +699,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -697,7 +713,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.Schema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.Schema) com.google.pubsub.v1.SchemaOrBuilder { @@ -706,7 +722,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_Schema_fieldAccessorTable @@ -719,14 +735,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getRevisionCreateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetRevisionCreateTimeFieldBuilder(); } } @@ -800,39 +816,6 @@ private void buildPartial0(com.google.pubsub.v1.Schema result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.Schema) { @@ -919,7 +902,7 @@ public Builder mergeFrom( case 50: { input.readMessage( - getRevisionCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + internalGetRevisionCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 50 @@ -1395,7 +1378,7 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp revisionCreateTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1554,7 +1537,7 @@ public Builder clearRevisionCreateTime() { public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { bitField0_ |= 0x00000010; onChanged(); - return getRevisionCreateTimeFieldBuilder().getBuilder(); + return internalGetRevisionCreateTimeFieldBuilder().getBuilder(); } /** @@ -1589,14 +1572,14 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getRevisionCreateTimeFieldBuilder() { + internalGetRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { revisionCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1606,17 +1589,6 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { return revisionCreateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.Schema) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java index b6d585d04..07b9739b1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface SchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.Schema) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java index c918247f8..6964d4e1d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java @@ -14,14 +14,26 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; -public final class SchemaProto { +@com.google.protobuf.Generated +public final class SchemaProto extends com.google.protobuf.GeneratedFile { private SchemaProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "SchemaProto"); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,63 +42,63 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_Schema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_Schema_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CreateSchemaRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_CreateSchemaRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_GetSchemaRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_GetSchemaRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListSchemasRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListSchemasRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListSchemasResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListSchemasResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CommitSchemaRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_CommitSchemaRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_RollbackSchemaRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_RollbackSchemaRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_DeleteSchemaRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ValidateSchemaRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ValidateSchemaRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ValidateSchemaResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ValidateSchemaResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ValidateMessageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ValidateMessageRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_ValidateMessageResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_ValidateMessageResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -214,121 +226,128 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_pubsub_v1_Schema_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_google_pubsub_v1_Schema_descriptor = getDescriptor().getMessageType(0); internal_static_google_pubsub_v1_Schema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Schema_descriptor, new java.lang.String[] { "Name", "Type", "Definition", "RevisionId", "RevisionCreateTime", }); internal_static_google_pubsub_v1_CreateSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(1); + getDescriptor().getMessageType(1); internal_static_google_pubsub_v1_CreateSchemaRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CreateSchemaRequest_descriptor, new java.lang.String[] { "Parent", "Schema", "SchemaId", }); internal_static_google_pubsub_v1_GetSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageType(2); internal_static_google_pubsub_v1_GetSchemaRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_GetSchemaRequest_descriptor, new java.lang.String[] { "Name", "View", }); internal_static_google_pubsub_v1_ListSchemasRequest_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageType(3); internal_static_google_pubsub_v1_ListSchemasRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSchemasRequest_descriptor, new java.lang.String[] { "Parent", "View", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListSchemasResponse_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageType(4); internal_static_google_pubsub_v1_ListSchemasResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSchemasResponse_descriptor, new java.lang.String[] { "Schemas", "NextPageToken", }); internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageType(5); internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSchemaRevisionsRequest_descriptor, new java.lang.String[] { "Name", "View", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageType(6); internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSchemaRevisionsResponse_descriptor, new java.lang.String[] { "Schemas", "NextPageToken", }); internal_static_google_pubsub_v1_CommitSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageType(7); internal_static_google_pubsub_v1_CommitSchemaRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CommitSchemaRequest_descriptor, new java.lang.String[] { "Name", "Schema", }); internal_static_google_pubsub_v1_RollbackSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageType(8); internal_static_google_pubsub_v1_RollbackSchemaRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_RollbackSchemaRequest_descriptor, new java.lang.String[] { "Name", "RevisionId", }); internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageType(9); internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_descriptor, new java.lang.String[] { "Name", "RevisionId", }); internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageType(10); internal_static_google_pubsub_v1_DeleteSchemaRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_pubsub_v1_ValidateSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageType(11); internal_static_google_pubsub_v1_ValidateSchemaRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ValidateSchemaRequest_descriptor, new java.lang.String[] { "Parent", "Schema", }); internal_static_google_pubsub_v1_ValidateSchemaResponse_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageType(12); internal_static_google_pubsub_v1_ValidateSchemaResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ValidateSchemaResponse_descriptor, new java.lang.String[] {}); internal_static_google_pubsub_v1_ValidateMessageRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageType(13); internal_static_google_pubsub_v1_ValidateMessageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ValidateMessageRequest_descriptor, new java.lang.String[] { "Parent", "Name", "Schema", "Message", "Encoding", "SchemaSpec", }); internal_static_google_pubsub_v1_ValidateMessageResponse_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageType(14); internal_static_google_pubsub_v1_ValidateMessageResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ValidateMessageResponse_descriptor, new java.lang.String[] {}); + descriptor.resolveAllFeaturesImmutable(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -340,12 +359,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java index 8dc989fab..b7f4a37ae 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.SchemaSettings} */ -public final class SchemaSettings extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class SchemaSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.SchemaSettings) SchemaSettingsOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "SchemaSettings"); + } + // Use SchemaSettings.newBuilder() to construct. - private SchemaSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SchemaSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,19 +58,13 @@ private SchemaSettings() { lastRevisionId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SchemaSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_SchemaSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_SchemaSettings_fieldAccessorTable @@ -294,17 +300,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schema_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, schema_); } if (encoding_ != com.google.pubsub.v1.Encoding.ENCODING_UNSPECIFIED.getNumber()) { output.writeEnum(2, encoding_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstRevisionId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, firstRevisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(firstRevisionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, firstRevisionId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastRevisionId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, lastRevisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(lastRevisionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, lastRevisionId_); } getUnknownFields().writeTo(output); } @@ -315,17 +321,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schema_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, schema_); } if (encoding_ != com.google.pubsub.v1.Encoding.ENCODING_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, encoding_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstRevisionId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, firstRevisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(firstRevisionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, firstRevisionId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastRevisionId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, lastRevisionId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(lastRevisionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, lastRevisionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -406,38 +412,38 @@ public static com.google.pubsub.v1.SchemaSettings parseFrom( public static com.google.pubsub.v1.SchemaSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.SchemaSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.SchemaSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.SchemaSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.SchemaSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.SchemaSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -460,7 +466,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -474,7 +480,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.SchemaSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.SchemaSettings) com.google.pubsub.v1.SchemaSettingsOrBuilder { @@ -484,7 +490,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_SchemaSettings_fieldAccessorTable @@ -496,7 +502,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.SchemaSettings.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -557,39 +563,6 @@ private void buildPartial0(com.google.pubsub.v1.SchemaSettings result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.SchemaSettings) { @@ -1166,17 +1139,6 @@ public Builder setLastRevisionIdBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.SchemaSettings) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java index 5b6d7c1cf..a5f003482 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface SchemaSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.SchemaSettings) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java index aeecfa82f..4a9a82324 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,6 +29,7 @@ * * Protobuf enum {@code google.pubsub.v1.SchemaView} */ +@com.google.protobuf.Generated public enum SchemaView implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -63,6 +65,16 @@ public enum SchemaView implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "SchemaView"); + } + /** * * @@ -155,7 +167,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto.getDescriptor().getEnumTypes().get(0); } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java index 20b1493f5..da4217b2f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.SeekRequest} */ -public final class SeekRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class SeekRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.SeekRequest) SeekRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "SeekRequest"); + } + // Use SeekRequest.newBuilder() to construct. - private SeekRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SeekRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +55,12 @@ private SeekRequest() { subscription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SeekRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto.internal_static_google_pubsub_v1_SeekRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_SeekRequest_fieldAccessorTable @@ -352,14 +358,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } if (targetCase_ == 2) { output.writeMessage(2, (com.google.protobuf.Timestamp) target_); } if (targetCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, target_); + com.google.protobuf.GeneratedMessage.writeString(output, 3, target_); } getUnknownFields().writeTo(output); } @@ -370,8 +376,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } if (targetCase_ == 2) { size += @@ -379,7 +385,7 @@ public int getSerializedSize() { 2, (com.google.protobuf.Timestamp) target_); } if (targetCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, target_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -474,38 +480,38 @@ public static com.google.pubsub.v1.SeekRequest parseFrom( public static com.google.pubsub.v1.SeekRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.SeekRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.SeekRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.SeekRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.SeekRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.SeekRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -528,7 +534,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -542,7 +548,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.SeekRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.SeekRequest) com.google.pubsub.v1.SeekRequestOrBuilder { @@ -552,7 +558,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_SeekRequest_fieldAccessorTable @@ -564,7 +570,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.SeekRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -627,39 +633,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.SeekRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.SeekRequest) { @@ -729,7 +702,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetTimeFieldBuilder().getBuilder(), extensionRegistry); targetCase_ = 2; break; } // case 18 @@ -894,7 +867,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1122,7 +1095,7 @@ public Builder clearTime() { * .google.protobuf.Timestamp time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getTimeBuilder() { - return getTimeFieldBuilder().getBuilder(); + return internalGetTimeFieldBuilder().getBuilder(); } /** @@ -1175,17 +1148,17 @@ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { * * .google.protobuf.Timestamp time = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getTimeFieldBuilder() { + internalGetTimeFieldBuilder() { if (timeBuilder_ == null) { if (!(targetCase_ == 2)) { target_ = com.google.protobuf.Timestamp.getDefaultInstance(); } timeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1360,17 +1333,6 @@ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.SeekRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java index c2dfb4a4f..e597f2c52 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface SeekRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.SeekRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java index 62873623c..882eb143a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.pubsub.v1.SeekResponse} */ -public final class SeekResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class SeekResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.SeekResponse) SeekResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "SeekResponse"); + } + // Use SeekResponse.newBuilder() to construct. - private SeekResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SeekResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private SeekResponse() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SeekResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_SeekResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_SeekResponse_fieldAccessorTable @@ -152,38 +158,38 @@ public static com.google.pubsub.v1.SeekResponse parseFrom( public static com.google.pubsub.v1.SeekResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.SeekResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.SeekResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.SeekResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.SeekResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.SeekResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -206,7 +212,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -220,7 +226,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.SeekResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.SeekResponse) com.google.pubsub.v1.SeekResponseOrBuilder { @@ -230,7 +236,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_SeekResponse_fieldAccessorTable @@ -242,7 +248,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.SeekResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -279,39 +285,6 @@ public com.google.pubsub.v1.SeekResponse buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.SeekResponse) { @@ -367,17 +340,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.SeekResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java index 123ca3392..9d214afc7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface SeekResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.SeekResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java index 47e2309a9..b9179a725 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -32,14 +33,25 @@ * * Protobuf type {@code google.pubsub.v1.Snapshot} */ -public final class Snapshot extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class Snapshot extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.Snapshot) SnapshotOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Snapshot"); + } + // Use Snapshot.newBuilder() to construct. - private Snapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Snapshot(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,12 +60,6 @@ private Snapshot() { topic_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Snapshot(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto.internal_static_google_pubsub_v1_Snapshot_descriptor; } @@ -71,7 +77,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Snapshot_fieldAccessorTable @@ -396,16 +402,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, topic_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getExpireTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); getUnknownFields().writeTo(output); } @@ -416,11 +422,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, topic_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); @@ -521,38 +527,38 @@ public static com.google.pubsub.v1.Snapshot parseFrom( public static com.google.pubsub.v1.Snapshot parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Snapshot parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Snapshot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.Snapshot parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Snapshot parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Snapshot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -575,7 +581,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -593,7 +599,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.Snapshot} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.Snapshot) com.google.pubsub.v1.SnapshotOrBuilder { @@ -624,7 +630,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Snapshot_fieldAccessorTable @@ -637,14 +643,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExpireTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetExpireTimeFieldBuilder(); } } @@ -712,39 +718,6 @@ private void buildPartial0(com.google.pubsub.v1.Snapshot result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.Snapshot) { @@ -812,7 +785,8 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetExpireTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -1085,7 +1059,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp expireTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1300,7 +1274,7 @@ public Builder clearExpireTime() { public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getExpireTimeFieldBuilder().getBuilder(); + return internalGetExpireTimeFieldBuilder().getBuilder(); } /** @@ -1351,14 +1325,14 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getExpireTimeFieldBuilder() { + internalGetExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1547,17 +1521,6 @@ public Builder putAllLabels(java.util.Map va return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.Snapshot) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java index 0b8f450c3..c84e5b505 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface SnapshotOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.Snapshot) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java index f052854be..6187f41a0 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -30,14 +31,25 @@ * * Protobuf type {@code google.pubsub.v1.StreamingPullRequest} */ -public final class StreamingPullRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class StreamingPullRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullRequest) StreamingPullRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "StreamingPullRequest"); + } + // Use StreamingPullRequest.newBuilder() to construct. - private StreamingPullRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingPullRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -49,19 +61,13 @@ private StreamingPullRequest() { clientId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StreamingPullRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable @@ -567,11 +573,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } for (int i = 0; i < ackIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ackIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, ackIds_.getRaw(i)); } if (getModifyDeadlineSecondsList().size() > 0) { output.writeUInt32NoTag(26); @@ -581,14 +587,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt32NoTag(modifyDeadlineSeconds_.getInt(i)); } for (int i = 0; i < modifyDeadlineAckIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, modifyDeadlineAckIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 4, modifyDeadlineAckIds_.getRaw(i)); } if (streamAckDeadlineSeconds_ != 0) { output.writeInt32(5, streamAckDeadlineSeconds_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, clientId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, clientId_); } if (maxOutstandingMessages_ != 0L) { output.writeInt64(7, maxOutstandingMessages_); @@ -608,8 +613,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } { int dataSize = 0; @@ -644,8 +649,8 @@ public int getSerializedSize() { if (streamAckDeadlineSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, streamAckDeadlineSeconds_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, clientId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, clientId_); } if (maxOutstandingMessages_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, maxOutstandingMessages_); @@ -758,38 +763,38 @@ public static com.google.pubsub.v1.StreamingPullRequest parseFrom( public static com.google.pubsub.v1.StreamingPullRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -812,7 +817,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -828,7 +833,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.StreamingPullRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.StreamingPullRequest) com.google.pubsub.v1.StreamingPullRequestOrBuilder { @@ -838,7 +843,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable @@ -850,7 +855,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.StreamingPullRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -935,39 +940,6 @@ private void buildPartial0(com.google.pubsub.v1.StreamingPullRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.StreamingPullRequest) { @@ -2367,17 +2339,6 @@ public Builder clearProtocolVersion() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.StreamingPullRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java index 8f2b3b186..6f4d94bcb 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface StreamingPullRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.StreamingPullRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java index 83f04a1ab..2ec1bf15c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -29,14 +30,25 @@ * * Protobuf type {@code google.pubsub.v1.StreamingPullResponse} */ -public final class StreamingPullResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class StreamingPullResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullResponse) StreamingPullResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "StreamingPullResponse"); + } + // Use StreamingPullResponse.newBuilder() to construct. - private StreamingPullResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingPullResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private StreamingPullResponse() { receivedMessages_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StreamingPullResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable @@ -309,14 +315,24 @@ public interface AcknowledgeConfirmationOrBuilder * * Protobuf type {@code google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation} */ - public static final class AcknowledgeConfirmation extends com.google.protobuf.GeneratedMessageV3 + public static final class AcknowledgeConfirmation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation) AcknowledgeConfirmationOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AcknowledgeConfirmation"); + } + // Use AcknowledgeConfirmation.newBuilder() to construct. - private AcknowledgeConfirmation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AcknowledgeConfirmation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -327,19 +343,13 @@ private AcknowledgeConfirmation() { temporaryFailedAckIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AcknowledgeConfirmation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_AcknowledgeConfirmation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_AcknowledgeConfirmation_fieldAccessorTable @@ -647,16 +657,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < ackIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ackIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, ackIds_.getRaw(i)); } for (int i = 0; i < invalidAckIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, invalidAckIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, invalidAckIds_.getRaw(i)); } for (int i = 0; i < unorderedAckIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unorderedAckIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 3, unorderedAckIds_.getRaw(i)); } for (int i = 0; i < temporaryFailedAckIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( + com.google.protobuf.GeneratedMessage.writeString( output, 4, temporaryFailedAckIds_.getRaw(i)); } getUnknownFields().writeTo(output); @@ -790,39 +800,39 @@ public static com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation public static com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -846,8 +856,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -862,8 +871,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation) com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmationOrBuilder { @@ -873,7 +881,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_AcknowledgeConfirmation_fieldAccessorTable @@ -886,7 +894,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -955,41 +963,6 @@ private void buildPartial0( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation) { @@ -1897,18 +1870,6 @@ public Builder addTemporaryFailedAckIdsBytes(com.google.protobuf.ByteString valu return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation) } @@ -2155,15 +2116,24 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * Protobuf type {@code google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation} */ public static final class ModifyAckDeadlineConfirmation - extends com.google.protobuf.GeneratedMessageV3 + extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation) ModifyAckDeadlineConfirmationOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ModifyAckDeadlineConfirmation"); + } + // Use ModifyAckDeadlineConfirmation.newBuilder() to construct. - private ModifyAckDeadlineConfirmation( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ModifyAckDeadlineConfirmation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -2173,19 +2143,13 @@ private ModifyAckDeadlineConfirmation() { temporaryFailedAckIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ModifyAckDeadlineConfirmation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_ModifyAckDeadlineConfirmation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_ModifyAckDeadlineConfirmation_fieldAccessorTable @@ -2426,13 +2390,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < ackIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ackIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, ackIds_.getRaw(i)); } for (int i = 0; i < invalidAckIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, invalidAckIds_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, invalidAckIds_.getRaw(i)); } for (int i = 0; i < temporaryFailedAckIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( + com.google.protobuf.GeneratedMessage.writeString( output, 3, temporaryFailedAckIds_.getRaw(i)); } getUnknownFields().writeTo(output); @@ -2557,33 +2521,33 @@ public int hashCode() { public static com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation @@ -2591,7 +2555,7 @@ public int hashCode() { com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2615,8 +2579,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2631,8 +2594,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation) com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder { @@ -2642,7 +2604,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_ModifyAckDeadlineConfirmation_fieldAccessorTable @@ -2656,7 +2618,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2722,41 +2684,6 @@ private void buildPartial0( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -3456,18 +3383,6 @@ public Builder addTemporaryFailedAckIdsBytes(com.google.protobuf.ByteString valu return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation) } @@ -3567,32 +3482,36 @@ public interface SubscriptionPropertiesOrBuilder * * Protobuf type {@code google.pubsub.v1.StreamingPullResponse.SubscriptionProperties} */ - public static final class SubscriptionProperties extends com.google.protobuf.GeneratedMessageV3 + public static final class SubscriptionProperties extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullResponse.SubscriptionProperties) SubscriptionPropertiesOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "SubscriptionProperties"); + } + // Use SubscriptionProperties.newBuilder() to construct. - private SubscriptionProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SubscriptionProperties(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private SubscriptionProperties() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SubscriptionProperties(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_SubscriptionProperties_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_SubscriptionProperties_fieldAccessorTable @@ -3753,39 +3672,39 @@ public static com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties public static com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -3809,8 +3728,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -3824,8 +3742,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.StreamingPullResponse.SubscriptionProperties} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.StreamingPullResponse.SubscriptionProperties) com.google.pubsub.v1.StreamingPullResponse.SubscriptionPropertiesOrBuilder { @@ -3835,7 +3752,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_SubscriptionProperties_fieldAccessorTable @@ -3848,7 +3765,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -3905,41 +3822,6 @@ private void buildPartial0( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties) { @@ -4137,18 +4019,6 @@ public Builder clearMessageOrderingEnabled() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.StreamingPullResponse.SubscriptionProperties) } @@ -4635,38 +4505,38 @@ public static com.google.pubsub.v1.StreamingPullResponse parseFrom( public static com.google.pubsub.v1.StreamingPullResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.StreamingPullResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.StreamingPullResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -4689,7 +4559,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -4704,7 +4574,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.StreamingPullResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.StreamingPullResponse) com.google.pubsub.v1.StreamingPullResponseOrBuilder { @@ -4714,7 +4584,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable @@ -4728,17 +4598,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getReceivedMessagesFieldBuilder(); - getAcknowledgeConfirmationFieldBuilder(); - getModifyAckDeadlineConfirmationFieldBuilder(); - getSubscriptionPropertiesFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetReceivedMessagesFieldBuilder(); + internalGetAcknowledgeConfirmationFieldBuilder(); + internalGetModifyAckDeadlineConfirmationFieldBuilder(); + internalGetSubscriptionPropertiesFieldBuilder(); } } @@ -4842,39 +4712,6 @@ private void buildPartial0(com.google.pubsub.v1.StreamingPullResponse result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.StreamingPullResponse) { @@ -4906,8 +4743,8 @@ public Builder mergeFrom(com.google.pubsub.v1.StreamingPullResponse other) { receivedMessages_ = other.receivedMessages_; bitField0_ = (bitField0_ & ~0x00000001); receivedMessagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReceivedMessagesFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetReceivedMessagesFieldBuilder() : null; } else { receivedMessagesBuilder_.addAllMessages(other.receivedMessages_); @@ -4965,21 +4802,24 @@ public Builder mergeFrom( case 26: { input.readMessage( - getModifyAckDeadlineConfirmationFieldBuilder().getBuilder(), extensionRegistry); + internalGetModifyAckDeadlineConfirmationFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( - getSubscriptionPropertiesFieldBuilder().getBuilder(), extensionRegistry); + internalGetSubscriptionPropertiesFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( - getAcknowledgeConfirmationFieldBuilder().getBuilder(), extensionRegistry); + internalGetAcknowledgeConfirmationFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000002; break; } // case 42 @@ -5013,7 +4853,7 @@ private void ensureReceivedMessagesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.ReceivedMessage, com.google.pubsub.v1.ReceivedMessage.Builder, com.google.pubsub.v1.ReceivedMessageOrBuilder> @@ -5299,7 +5139,7 @@ public Builder removeReceivedMessages(int index) { * */ public com.google.pubsub.v1.ReceivedMessage.Builder getReceivedMessagesBuilder(int index) { - return getReceivedMessagesFieldBuilder().getBuilder(index); + return internalGetReceivedMessagesFieldBuilder().getBuilder(index); } /** @@ -5353,7 +5193,7 @@ public com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilde * */ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder() { - return getReceivedMessagesFieldBuilder() + return internalGetReceivedMessagesFieldBuilder() .addBuilder(com.google.pubsub.v1.ReceivedMessage.getDefaultInstance()); } @@ -5369,7 +5209,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder() * */ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(int index) { - return getReceivedMessagesFieldBuilder() + return internalGetReceivedMessagesFieldBuilder() .addBuilder(index, com.google.pubsub.v1.ReceivedMessage.getDefaultInstance()); } @@ -5386,17 +5226,17 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(i */ public java.util.List getReceivedMessagesBuilderList() { - return getReceivedMessagesFieldBuilder().getBuilderList(); + return internalGetReceivedMessagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.ReceivedMessage, com.google.pubsub.v1.ReceivedMessage.Builder, com.google.pubsub.v1.ReceivedMessageOrBuilder> - getReceivedMessagesFieldBuilder() { + internalGetReceivedMessagesFieldBuilder() { if (receivedMessagesBuilder_ == null) { receivedMessagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.ReceivedMessage, com.google.pubsub.v1.ReceivedMessage.Builder, com.google.pubsub.v1.ReceivedMessageOrBuilder>( @@ -5411,7 +5251,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(i private com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledgeConfirmation_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation, com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation.Builder, com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmationOrBuilder> @@ -5586,7 +5426,7 @@ public Builder clearAcknowledgeConfirmation() { getAcknowledgeConfirmationBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getAcknowledgeConfirmationFieldBuilder().getBuilder(); + return internalGetAcknowledgeConfirmationFieldBuilder().getBuilder(); } /** @@ -5625,14 +5465,14 @@ public Builder clearAcknowledgeConfirmation() { * .google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation, com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation.Builder, com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmationOrBuilder> - getAcknowledgeConfirmationFieldBuilder() { + internalGetAcknowledgeConfirmationFieldBuilder() { if (acknowledgeConfirmationBuilder_ == null) { acknowledgeConfirmationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation, com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation.Builder, com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmationOrBuilder>( @@ -5644,7 +5484,7 @@ public Builder clearAcknowledgeConfirmation() { private com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modifyAckDeadlineConfirmation_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation, com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder, com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder> @@ -5819,7 +5659,7 @@ public Builder clearModifyAckDeadlineConfirmation() { getModifyAckDeadlineConfirmationBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getModifyAckDeadlineConfirmationFieldBuilder().getBuilder(); + return internalGetModifyAckDeadlineConfirmationFieldBuilder().getBuilder(); } /** @@ -5858,14 +5698,14 @@ public Builder clearModifyAckDeadlineConfirmation() { * .google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation, com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder, com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder> - getModifyAckDeadlineConfirmationFieldBuilder() { + internalGetModifyAckDeadlineConfirmationFieldBuilder() { if (modifyAckDeadlineConfirmationBuilder_ == null) { modifyAckDeadlineConfirmationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation, com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder, com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder>( @@ -5877,7 +5717,7 @@ public Builder clearModifyAckDeadlineConfirmation() { private com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscriptionProperties_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties, com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties.Builder, com.google.pubsub.v1.StreamingPullResponse.SubscriptionPropertiesOrBuilder> @@ -6043,7 +5883,7 @@ public Builder clearSubscriptionProperties() { getSubscriptionPropertiesBuilder() { bitField0_ |= 0x00000008; onChanged(); - return getSubscriptionPropertiesFieldBuilder().getBuilder(); + return internalGetSubscriptionPropertiesFieldBuilder().getBuilder(); } /** @@ -6079,14 +5919,14 @@ public Builder clearSubscriptionProperties() { * .google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties, com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties.Builder, com.google.pubsub.v1.StreamingPullResponse.SubscriptionPropertiesOrBuilder> - getSubscriptionPropertiesFieldBuilder() { + internalGetSubscriptionPropertiesFieldBuilder() { if (subscriptionPropertiesBuilder_ == null) { subscriptionPropertiesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties, com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties.Builder, com.google.pubsub.v1.StreamingPullResponse.SubscriptionPropertiesOrBuilder>( @@ -6096,17 +5936,6 @@ public Builder clearSubscriptionProperties() { return subscriptionPropertiesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.StreamingPullResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java index 480214168..6705ad05d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface StreamingPullResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.StreamingPullResponse) 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 adccb455a..867496f2f 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -30,14 +31,25 @@ * * Protobuf type {@code google.pubsub.v1.Subscription} */ -public final class Subscription extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class Subscription extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.Subscription) SubscriptionOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Subscription"); + } + // Use Subscription.newBuilder() to construct. - private Subscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Subscription(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -49,12 +61,6 @@ private Subscription() { messageTransforms_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Subscription(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Subscription_descriptor; @@ -75,7 +81,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Subscription_fieldAccessorTable @@ -129,6 +135,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -222,7 +238,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.Subscription.getDescriptor().getEnumTypes().get(0); } @@ -328,15 +344,24 @@ public interface AnalyticsHubSubscriptionInfoOrBuilder * Protobuf type {@code google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo} */ public static final class AnalyticsHubSubscriptionInfo - extends com.google.protobuf.GeneratedMessageV3 + extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo) AnalyticsHubSubscriptionInfoOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "AnalyticsHubSubscriptionInfo"); + } + // Use AnalyticsHubSubscriptionInfo.newBuilder() to construct. - private AnalyticsHubSubscriptionInfo( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AnalyticsHubSubscriptionInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -345,19 +370,13 @@ private AnalyticsHubSubscriptionInfo() { subscription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AnalyticsHubSubscriptionInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_fieldAccessorTable @@ -498,11 +517,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listing_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, listing_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(listing_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, listing_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subscription_); } getUnknownFields().writeTo(output); } @@ -513,11 +532,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listing_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, listing_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(listing_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, listing_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subscription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subscription_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -594,38 +613,38 @@ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo par public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -649,8 +668,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -665,8 +683,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo) com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder { @@ -676,7 +693,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_fieldAccessorTable @@ -688,7 +705,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -744,41 +761,6 @@ private void buildPartial0( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo) { @@ -1113,18 +1095,6 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo) } @@ -2408,8 +2378,8 @@ public int getTagsCount() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -2439,8 +2409,8 @@ public java.util.Map getTags() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -2460,8 +2430,8 @@ public java.util.Map getTagsMap() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -2488,8 +2458,8 @@ public java.util.Map getTagsMap() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -2524,11 +2494,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, topic_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getPushConfig()); @@ -2542,7 +2512,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(8, getMessageRetentionDuration()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9); if (enableMessageOrdering_ != false) { output.writeBool(10, enableMessageOrdering_); @@ -2550,8 +2520,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(11, getExpirationPolicy()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, filter_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(13, getDeadLetterPolicy()); @@ -2583,7 +2553,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < messageTransforms_.size(); i++) { output.writeMessage(25, messageTransforms_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 26); getUnknownFields().writeTo(output); } @@ -2594,11 +2564,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, topic_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPushConfig()); @@ -2630,8 +2600,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getExpirationPolicy()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, filter_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getDeadLetterPolicy()); @@ -2862,38 +2832,38 @@ public static com.google.pubsub.v1.Subscription parseFrom( public static com.google.pubsub.v1.Subscription parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Subscription parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Subscription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.Subscription parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Subscription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Subscription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2916,7 +2886,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2932,7 +2902,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.Subscription} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.Subscription) com.google.pubsub.v1.SubscriptionOrBuilder { @@ -2968,7 +2938,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Subscription_fieldAccessorTable @@ -2982,23 +2952,23 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPushConfigFieldBuilder(); - getBigqueryConfigFieldBuilder(); - getCloudStorageConfigFieldBuilder(); - getMessageRetentionDurationFieldBuilder(); - getExpirationPolicyFieldBuilder(); - getDeadLetterPolicyFieldBuilder(); - getRetryPolicyFieldBuilder(); - getTopicMessageRetentionDurationFieldBuilder(); - getAnalyticsHubSubscriptionInfoFieldBuilder(); - getMessageTransformsFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetPushConfigFieldBuilder(); + internalGetBigqueryConfigFieldBuilder(); + internalGetCloudStorageConfigFieldBuilder(); + internalGetMessageRetentionDurationFieldBuilder(); + internalGetExpirationPolicyFieldBuilder(); + internalGetDeadLetterPolicyFieldBuilder(); + internalGetRetryPolicyFieldBuilder(); + internalGetTopicMessageRetentionDurationFieldBuilder(); + internalGetAnalyticsHubSubscriptionInfoFieldBuilder(); + internalGetMessageTransformsFieldBuilder(); } } @@ -3208,39 +3178,6 @@ private void buildPartial0(com.google.pubsub.v1.Subscription result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.Subscription) { @@ -3334,8 +3271,8 @@ public Builder mergeFrom(com.google.pubsub.v1.Subscription other) { messageTransforms_ = other.messageTransforms_; bitField0_ = (bitField0_ & ~0x00080000); messageTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMessageTransformsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetMessageTransformsFieldBuilder() : null; } else { messageTransformsBuilder_.addAllMessages(other.messageTransforms_); @@ -3384,7 +3321,8 @@ public Builder mergeFrom( } // case 18 case 34: { - input.readMessage(getPushConfigFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetPushConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 @@ -3403,7 +3341,8 @@ public Builder mergeFrom( case 66: { input.readMessage( - getMessageRetentionDurationFieldBuilder().getBuilder(), extensionRegistry); + internalGetMessageRetentionDurationFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 @@ -3428,7 +3367,7 @@ public Builder mergeFrom( case 90: { input.readMessage( - getExpirationPolicyFieldBuilder().getBuilder(), extensionRegistry); + internalGetExpirationPolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 90 @@ -3441,13 +3380,14 @@ public Builder mergeFrom( case 106: { input.readMessage( - getDeadLetterPolicyFieldBuilder().getBuilder(), extensionRegistry); + internalGetDeadLetterPolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 106 case 114: { - input.readMessage(getRetryPolicyFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetRetryPolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 114 @@ -3466,13 +3406,15 @@ public Builder mergeFrom( case 138: { input.readMessage( - getTopicMessageRetentionDurationFieldBuilder().getBuilder(), extensionRegistry); + internalGetTopicMessageRetentionDurationFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00010000; break; } // case 138 case 146: { - input.readMessage(getBigqueryConfigFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetBigqueryConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 146 @@ -3485,14 +3427,15 @@ public Builder mergeFrom( case 178: { input.readMessage( - getCloudStorageConfigFieldBuilder().getBuilder(), extensionRegistry); + internalGetCloudStorageConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 178 case 186: { input.readMessage( - getAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder(), extensionRegistry); + internalGetAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00040000; break; } // case 186 @@ -3815,7 +3758,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { } private com.google.pubsub.v1.PushConfig pushConfig_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig, com.google.pubsub.v1.PushConfig.Builder, com.google.pubsub.v1.PushConfigOrBuilder> @@ -3974,7 +3917,7 @@ public Builder clearPushConfig() { public com.google.pubsub.v1.PushConfig.Builder getPushConfigBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getPushConfigFieldBuilder().getBuilder(); + return internalGetPushConfigFieldBuilder().getBuilder(); } /** @@ -4009,14 +3952,14 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { * .google.pubsub.v1.PushConfig push_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig, com.google.pubsub.v1.PushConfig.Builder, com.google.pubsub.v1.PushConfigOrBuilder> - getPushConfigFieldBuilder() { + internalGetPushConfigFieldBuilder() { if (pushConfigBuilder_ == null) { pushConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.PushConfig, com.google.pubsub.v1.PushConfig.Builder, com.google.pubsub.v1.PushConfigOrBuilder>( @@ -4027,7 +3970,7 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { } private com.google.pubsub.v1.BigQueryConfig bigqueryConfig_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.BigQueryConfig, com.google.pubsub.v1.BigQueryConfig.Builder, com.google.pubsub.v1.BigQueryConfigOrBuilder> @@ -4193,7 +4136,7 @@ public Builder clearBigqueryConfig() { public com.google.pubsub.v1.BigQueryConfig.Builder getBigqueryConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); - return getBigqueryConfigFieldBuilder().getBuilder(); + return internalGetBigqueryConfigFieldBuilder().getBuilder(); } /** @@ -4230,14 +4173,14 @@ public com.google.pubsub.v1.BigQueryConfigOrBuilder getBigqueryConfigOrBuilder() * .google.pubsub.v1.BigQueryConfig bigquery_config = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.BigQueryConfig, com.google.pubsub.v1.BigQueryConfig.Builder, com.google.pubsub.v1.BigQueryConfigOrBuilder> - getBigqueryConfigFieldBuilder() { + internalGetBigqueryConfigFieldBuilder() { if (bigqueryConfigBuilder_ == null) { bigqueryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.BigQueryConfig, com.google.pubsub.v1.BigQueryConfig.Builder, com.google.pubsub.v1.BigQueryConfigOrBuilder>( @@ -4248,7 +4191,7 @@ public com.google.pubsub.v1.BigQueryConfigOrBuilder getBigqueryConfigOrBuilder() } private com.google.pubsub.v1.CloudStorageConfig cloudStorageConfig_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig, com.google.pubsub.v1.CloudStorageConfig.Builder, com.google.pubsub.v1.CloudStorageConfigOrBuilder> @@ -4416,7 +4359,7 @@ public Builder clearCloudStorageConfig() { public com.google.pubsub.v1.CloudStorageConfig.Builder getCloudStorageConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); - return getCloudStorageConfigFieldBuilder().getBuilder(); + return internalGetCloudStorageConfigFieldBuilder().getBuilder(); } /** @@ -4453,14 +4396,14 @@ public com.google.pubsub.v1.CloudStorageConfigOrBuilder getCloudStorageConfigOrB * .google.pubsub.v1.CloudStorageConfig cloud_storage_config = 22 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig, com.google.pubsub.v1.CloudStorageConfig.Builder, com.google.pubsub.v1.CloudStorageConfigOrBuilder> - getCloudStorageConfigFieldBuilder() { + internalGetCloudStorageConfigFieldBuilder() { if (cloudStorageConfigBuilder_ == null) { cloudStorageConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.CloudStorageConfig, com.google.pubsub.v1.CloudStorageConfig.Builder, com.google.pubsub.v1.CloudStorageConfigOrBuilder>( @@ -4655,7 +4598,7 @@ public Builder clearRetainAckedMessages() { } private com.google.protobuf.Duration messageRetentionDuration_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -4843,7 +4786,7 @@ public Builder clearMessageRetentionDuration() { public com.google.protobuf.Duration.Builder getMessageRetentionDurationBuilder() { bitField0_ |= 0x00000080; onChanged(); - return getMessageRetentionDurationFieldBuilder().getBuilder(); + return internalGetMessageRetentionDurationFieldBuilder().getBuilder(); } /** @@ -4886,14 +4829,14 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde * .google.protobuf.Duration message_retention_duration = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getMessageRetentionDurationFieldBuilder() { + internalGetMessageRetentionDurationFieldBuilder() { if (messageRetentionDurationBuilder_ == null) { messageRetentionDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -5148,7 +5091,7 @@ public Builder clearEnableMessageOrdering() { } private com.google.pubsub.v1.ExpirationPolicy expirationPolicy_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.ExpirationPolicy, com.google.pubsub.v1.ExpirationPolicy.Builder, com.google.pubsub.v1.ExpirationPolicyOrBuilder> @@ -5350,7 +5293,7 @@ public Builder clearExpirationPolicy() { public com.google.pubsub.v1.ExpirationPolicy.Builder getExpirationPolicyBuilder() { bitField0_ |= 0x00000400; onChanged(); - return getExpirationPolicyFieldBuilder().getBuilder(); + return internalGetExpirationPolicyFieldBuilder().getBuilder(); } /** @@ -5397,14 +5340,14 @@ public com.google.pubsub.v1.ExpirationPolicyOrBuilder getExpirationPolicyOrBuild * .google.pubsub.v1.ExpirationPolicy expiration_policy = 11 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.ExpirationPolicy, com.google.pubsub.v1.ExpirationPolicy.Builder, com.google.pubsub.v1.ExpirationPolicyOrBuilder> - getExpirationPolicyFieldBuilder() { + internalGetExpirationPolicyFieldBuilder() { if (expirationPolicyBuilder_ == null) { expirationPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.ExpirationPolicy, com.google.pubsub.v1.ExpirationPolicy.Builder, com.google.pubsub.v1.ExpirationPolicyOrBuilder>( @@ -5546,7 +5489,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { } private com.google.pubsub.v1.DeadLetterPolicy deadLetterPolicy_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.DeadLetterPolicy, com.google.pubsub.v1.DeadLetterPolicy.Builder, com.google.pubsub.v1.DeadLetterPolicyOrBuilder> @@ -5755,7 +5698,7 @@ public Builder clearDeadLetterPolicy() { public com.google.pubsub.v1.DeadLetterPolicy.Builder getDeadLetterPolicyBuilder() { bitField0_ |= 0x00001000; onChanged(); - return getDeadLetterPolicyFieldBuilder().getBuilder(); + return internalGetDeadLetterPolicyFieldBuilder().getBuilder(); } /** @@ -5804,14 +5747,14 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild * .google.pubsub.v1.DeadLetterPolicy dead_letter_policy = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.DeadLetterPolicy, com.google.pubsub.v1.DeadLetterPolicy.Builder, com.google.pubsub.v1.DeadLetterPolicyOrBuilder> - getDeadLetterPolicyFieldBuilder() { + internalGetDeadLetterPolicyFieldBuilder() { if (deadLetterPolicyBuilder_ == null) { deadLetterPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.DeadLetterPolicy, com.google.pubsub.v1.DeadLetterPolicy.Builder, com.google.pubsub.v1.DeadLetterPolicyOrBuilder>( @@ -5822,7 +5765,7 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild } private com.google.pubsub.v1.RetryPolicy retryPolicy_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.RetryPolicy, com.google.pubsub.v1.RetryPolicy.Builder, com.google.pubsub.v1.RetryPolicyOrBuilder> @@ -6023,7 +5966,7 @@ public Builder clearRetryPolicy() { public com.google.pubsub.v1.RetryPolicy.Builder getRetryPolicyBuilder() { bitField0_ |= 0x00002000; onChanged(); - return getRetryPolicyFieldBuilder().getBuilder(); + return internalGetRetryPolicyFieldBuilder().getBuilder(); } /** @@ -6070,14 +6013,14 @@ public com.google.pubsub.v1.RetryPolicyOrBuilder getRetryPolicyOrBuilder() { * .google.pubsub.v1.RetryPolicy retry_policy = 14 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.RetryPolicy, com.google.pubsub.v1.RetryPolicy.Builder, com.google.pubsub.v1.RetryPolicyOrBuilder> - getRetryPolicyFieldBuilder() { + internalGetRetryPolicyFieldBuilder() { if (retryPolicyBuilder_ == null) { retryPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.RetryPolicy, com.google.pubsub.v1.RetryPolicy.Builder, com.google.pubsub.v1.RetryPolicyOrBuilder>( @@ -6248,7 +6191,7 @@ public Builder clearEnableExactlyOnceDelivery() { } private com.google.protobuf.Duration topicMessageRetentionDuration_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -6444,7 +6387,7 @@ public Builder clearTopicMessageRetentionDuration() { public com.google.protobuf.Duration.Builder getTopicMessageRetentionDurationBuilder() { bitField0_ |= 0x00010000; onChanged(); - return getTopicMessageRetentionDurationFieldBuilder().getBuilder(); + return internalGetTopicMessageRetentionDurationFieldBuilder().getBuilder(); } /** @@ -6489,14 +6432,14 @@ public com.google.protobuf.DurationOrBuilder getTopicMessageRetentionDurationOrB * .google.protobuf.Duration topic_message_retention_duration = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getTopicMessageRetentionDurationFieldBuilder() { + internalGetTopicMessageRetentionDurationFieldBuilder() { if (topicMessageRetentionDurationBuilder_ == null) { topicMessageRetentionDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -6618,7 +6561,7 @@ public Builder clearState() { private com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analyticsHubSubscriptionInfo_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo, com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder, com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder> @@ -6791,7 +6734,7 @@ public Builder clearAnalyticsHubSubscriptionInfo() { getAnalyticsHubSubscriptionInfoBuilder() { bitField0_ |= 0x00040000; onChanged(); - return getAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder(); + return internalGetAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder(); } /** @@ -6829,14 +6772,14 @@ public Builder clearAnalyticsHubSubscriptionInfo() { * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo, com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder, com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder> - getAnalyticsHubSubscriptionInfoFieldBuilder() { + internalGetAnalyticsHubSubscriptionInfoFieldBuilder() { if (analyticsHubSubscriptionInfoBuilder_ == null) { analyticsHubSubscriptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo, com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder, com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder>( @@ -6857,7 +6800,7 @@ private void ensureMessageTransformsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.MessageTransform, com.google.pubsub.v1.MessageTransform.Builder, com.google.pubsub.v1.MessageTransformOrBuilder> @@ -7156,7 +7099,7 @@ public Builder removeMessageTransforms(int index) { * */ public com.google.pubsub.v1.MessageTransform.Builder getMessageTransformsBuilder(int index) { - return getMessageTransformsFieldBuilder().getBuilder(index); + return internalGetMessageTransformsFieldBuilder().getBuilder(index); } /** @@ -7213,7 +7156,7 @@ public com.google.pubsub.v1.MessageTransformOrBuilder getMessageTransformsOrBuil * */ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder() { - return getMessageTransformsFieldBuilder() + return internalGetMessageTransformsFieldBuilder() .addBuilder(com.google.pubsub.v1.MessageTransform.getDefaultInstance()); } @@ -7230,7 +7173,7 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder * */ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder(int index) { - return getMessageTransformsFieldBuilder() + return internalGetMessageTransformsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.MessageTransform.getDefaultInstance()); } @@ -7248,17 +7191,17 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder */ public java.util.List getMessageTransformsBuilderList() { - return getMessageTransformsFieldBuilder().getBuilderList(); + return internalGetMessageTransformsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.MessageTransform, com.google.pubsub.v1.MessageTransform.Builder, com.google.pubsub.v1.MessageTransformOrBuilder> - getMessageTransformsFieldBuilder() { + internalGetMessageTransformsFieldBuilder() { if (messageTransformsBuilder_ == null) { messageTransformsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.MessageTransform, com.google.pubsub.v1.MessageTransform.Builder, com.google.pubsub.v1.MessageTransformOrBuilder>( @@ -7303,8 +7246,8 @@ public int getTagsCount() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -7334,8 +7277,8 @@ public java.util.Map getTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -7355,8 +7298,8 @@ public java.util.Map getTagsMap() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -7383,8 +7326,8 @@ public java.util.Map getTagsMap() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -7417,8 +7360,8 @@ public Builder clearTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -7448,8 +7391,8 @@ public java.util.Map getMutableTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -7476,8 +7419,8 @@ public Builder putTags(java.lang.String key, java.lang.String value) { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -7492,17 +7435,6 @@ public Builder putAllTags(java.util.Map valu return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.Subscription) } 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 371f05913..3b6932128 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface SubscriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.Subscription) @@ -897,8 +899,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -915,8 +917,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -937,8 +939,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -955,8 +957,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -977,8 +979,8 @@ java.lang.String getTagsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
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 563a2feb5..52f12129f 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.Topic} */ -public final class Topic extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class Topic extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.Topic) TopicOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Topic"); + } + // Use Topic.newBuilder() to construct. - private Topic(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Topic(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,12 +58,6 @@ private Topic() { messageTransforms_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Topic(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto.internal_static_google_pubsub_v1_Topic_descriptor; } @@ -71,7 +77,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Topic_fieldAccessorTable @@ -124,6 +130,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + /** * * @@ -217,7 +233,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.pubsub.v1.Topic.getDescriptor().getEnumTypes().get(0); } @@ -933,8 +949,8 @@ public int getTagsCount() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -964,8 +980,8 @@ public java.util.Map getTags() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -985,8 +1001,8 @@ public java.util.Map getTagsMap() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -1013,8 +1029,8 @@ public java.util.Map getTagsMap() { *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -1049,16 +1065,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getMessageStoragePolicy()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, kmsKeyName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getSchemaSettings()); @@ -1078,7 +1094,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < messageTransforms_.size(); i++) { output.writeMessage(13, messageTransforms_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 14); getUnknownFields().writeTo(output); } @@ -1089,8 +1105,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { @@ -1106,8 +1122,8 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMessageStoragePolicy()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, kmsKeyName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSchemaSettings()); @@ -1269,38 +1285,38 @@ public static com.google.pubsub.v1.Topic parseFrom( public static com.google.pubsub.v1.Topic parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Topic parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Topic parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.Topic parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.Topic parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.Topic parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1323,7 +1339,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1337,7 +1353,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.Topic} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.Topic) com.google.pubsub.v1.TopicOrBuilder { @@ -1372,7 +1388,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_Topic_fieldAccessorTable @@ -1385,18 +1401,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMessageStoragePolicyFieldBuilder(); - getSchemaSettingsFieldBuilder(); - getMessageRetentionDurationFieldBuilder(); - getIngestionDataSourceSettingsFieldBuilder(); - getMessageTransformsFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetMessageStoragePolicyFieldBuilder(); + internalGetSchemaSettingsFieldBuilder(); + internalGetMessageRetentionDurationFieldBuilder(); + internalGetIngestionDataSourceSettingsFieldBuilder(); + internalGetMessageTransformsFieldBuilder(); } } @@ -1534,39 +1550,6 @@ private void buildPartial0(com.google.pubsub.v1.Topic result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.Topic) { @@ -1628,8 +1611,8 @@ public Builder mergeFrom(com.google.pubsub.v1.Topic other) { messageTransforms_ = other.messageTransforms_; bitField0_ = (bitField0_ & ~0x00000200); messageTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMessageTransformsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetMessageTransformsFieldBuilder() : null; } else { messageTransformsBuilder_.addAllMessages(other.messageTransforms_); @@ -1685,7 +1668,7 @@ public Builder mergeFrom( case 26: { input.readMessage( - getMessageStoragePolicyFieldBuilder().getBuilder(), extensionRegistry); + internalGetMessageStoragePolicyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -1697,7 +1680,8 @@ public Builder mergeFrom( } // case 42 case 50: { - input.readMessage(getSchemaSettingsFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetSchemaSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 50 @@ -1710,7 +1694,8 @@ public Builder mergeFrom( case 66: { input.readMessage( - getMessageRetentionDurationFieldBuilder().getBuilder(), extensionRegistry); + internalGetMessageRetentionDurationFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000040; break; } // case 66 @@ -1723,7 +1708,8 @@ public Builder mergeFrom( case 82: { input.readMessage( - getIngestionDataSourceSettingsFieldBuilder().getBuilder(), extensionRegistry); + internalGetIngestionDataSourceSettingsFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000100; break; } // case 82 @@ -2094,7 +2080,7 @@ public Builder putAllLabels(java.util.Map va } private com.google.pubsub.v1.MessageStoragePolicy messageStoragePolicy_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.MessageStoragePolicy, com.google.pubsub.v1.MessageStoragePolicy.Builder, com.google.pubsub.v1.MessageStoragePolicyOrBuilder> @@ -2269,7 +2255,7 @@ public Builder clearMessageStoragePolicy() { public com.google.pubsub.v1.MessageStoragePolicy.Builder getMessageStoragePolicyBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getMessageStoragePolicyFieldBuilder().getBuilder(); + return internalGetMessageStoragePolicyFieldBuilder().getBuilder(); } /** @@ -2308,14 +2294,14 @@ public com.google.pubsub.v1.MessageStoragePolicyOrBuilder getMessageStoragePolic * .google.pubsub.v1.MessageStoragePolicy message_storage_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.MessageStoragePolicy, com.google.pubsub.v1.MessageStoragePolicy.Builder, com.google.pubsub.v1.MessageStoragePolicyOrBuilder> - getMessageStoragePolicyFieldBuilder() { + internalGetMessageStoragePolicyFieldBuilder() { if (messageStoragePolicyBuilder_ == null) { messageStoragePolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.MessageStoragePolicy, com.google.pubsub.v1.MessageStoragePolicy.Builder, com.google.pubsub.v1.MessageStoragePolicyOrBuilder>( @@ -2462,7 +2448,7 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { } private com.google.pubsub.v1.SchemaSettings schemaSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.SchemaSettings, com.google.pubsub.v1.SchemaSettings.Builder, com.google.pubsub.v1.SchemaSettingsOrBuilder> @@ -2621,7 +2607,7 @@ public Builder clearSchemaSettings() { public com.google.pubsub.v1.SchemaSettings.Builder getSchemaSettingsBuilder() { bitField0_ |= 0x00000010; onChanged(); - return getSchemaSettingsFieldBuilder().getBuilder(); + return internalGetSchemaSettingsFieldBuilder().getBuilder(); } /** @@ -2656,14 +2642,14 @@ public com.google.pubsub.v1.SchemaSettingsOrBuilder getSchemaSettingsOrBuilder() * .google.pubsub.v1.SchemaSettings schema_settings = 6 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.SchemaSettings, com.google.pubsub.v1.SchemaSettings.Builder, com.google.pubsub.v1.SchemaSettingsOrBuilder> - getSchemaSettingsFieldBuilder() { + internalGetSchemaSettingsFieldBuilder() { if (schemaSettingsBuilder_ == null) { schemaSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.SchemaSettings, com.google.pubsub.v1.SchemaSettings.Builder, com.google.pubsub.v1.SchemaSettingsOrBuilder>( @@ -2733,7 +2719,7 @@ public Builder clearSatisfiesPzs() { } private com.google.protobuf.Duration messageRetentionDuration_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -2949,7 +2935,7 @@ public Builder clearMessageRetentionDuration() { public com.google.protobuf.Duration.Builder getMessageRetentionDurationBuilder() { bitField0_ |= 0x00000040; onChanged(); - return getMessageRetentionDurationFieldBuilder().getBuilder(); + return internalGetMessageRetentionDurationFieldBuilder().getBuilder(); } /** @@ -3000,14 +2986,14 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde * .google.protobuf.Duration message_retention_duration = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getMessageRetentionDurationFieldBuilder() { + internalGetMessageRetentionDurationFieldBuilder() { if (messageRetentionDurationBuilder_ == null) { messageRetentionDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -3117,7 +3103,7 @@ public Builder clearState() { } private com.google.pubsub.v1.IngestionDataSourceSettings ingestionDataSourceSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings, com.google.pubsub.v1.IngestionDataSourceSettings.Builder, com.google.pubsub.v1.IngestionDataSourceSettingsOrBuilder> @@ -3281,7 +3267,7 @@ public Builder clearIngestionDataSourceSettings() { getIngestionDataSourceSettingsBuilder() { bitField0_ |= 0x00000100; onChanged(); - return getIngestionDataSourceSettingsFieldBuilder().getBuilder(); + return internalGetIngestionDataSourceSettingsFieldBuilder().getBuilder(); } /** @@ -3317,14 +3303,14 @@ public Builder clearIngestionDataSourceSettings() { * .google.pubsub.v1.IngestionDataSourceSettings ingestion_data_source_settings = 10 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings, com.google.pubsub.v1.IngestionDataSourceSettings.Builder, com.google.pubsub.v1.IngestionDataSourceSettingsOrBuilder> - getIngestionDataSourceSettingsFieldBuilder() { + internalGetIngestionDataSourceSettingsFieldBuilder() { if (ingestionDataSourceSettingsBuilder_ == null) { ingestionDataSourceSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.IngestionDataSourceSettings, com.google.pubsub.v1.IngestionDataSourceSettings.Builder, com.google.pubsub.v1.IngestionDataSourceSettingsOrBuilder>( @@ -3345,7 +3331,7 @@ private void ensureMessageTransformsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.MessageTransform, com.google.pubsub.v1.MessageTransform.Builder, com.google.pubsub.v1.MessageTransformOrBuilder> @@ -3644,7 +3630,7 @@ public Builder removeMessageTransforms(int index) { * */ public com.google.pubsub.v1.MessageTransform.Builder getMessageTransformsBuilder(int index) { - return getMessageTransformsFieldBuilder().getBuilder(index); + return internalGetMessageTransformsFieldBuilder().getBuilder(index); } /** @@ -3701,7 +3687,7 @@ public com.google.pubsub.v1.MessageTransformOrBuilder getMessageTransformsOrBuil * */ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder() { - return getMessageTransformsFieldBuilder() + return internalGetMessageTransformsFieldBuilder() .addBuilder(com.google.pubsub.v1.MessageTransform.getDefaultInstance()); } @@ -3718,7 +3704,7 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder * */ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder(int index) { - return getMessageTransformsFieldBuilder() + return internalGetMessageTransformsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.MessageTransform.getDefaultInstance()); } @@ -3736,17 +3722,17 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder */ public java.util.List getMessageTransformsBuilderList() { - return getMessageTransformsFieldBuilder().getBuilderList(); + return internalGetMessageTransformsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.MessageTransform, com.google.pubsub.v1.MessageTransform.Builder, com.google.pubsub.v1.MessageTransformOrBuilder> - getMessageTransformsFieldBuilder() { + internalGetMessageTransformsFieldBuilder() { if (messageTransformsBuilder_ == null) { messageTransformsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.pubsub.v1.MessageTransform, com.google.pubsub.v1.MessageTransform.Builder, com.google.pubsub.v1.MessageTransformOrBuilder>( @@ -3791,8 +3777,8 @@ public int getTagsCount() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -3822,8 +3808,8 @@ public java.util.Map getTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -3843,8 +3829,8 @@ public java.util.Map getTagsMap() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -3871,8 +3857,8 @@ public java.util.Map getTagsMap() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -3905,8 +3891,8 @@ public Builder clearTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -3936,8 +3922,8 @@ public java.util.Map getMutableTags() { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -3964,8 +3950,8 @@ public Builder putTags(java.lang.String key, java.lang.String value) { *
      * Optional. Input only. Immutable. Tag keys/values directly bound to this
      * resource. For example:
-     *   "123/environment": "production",
-     *   "123/costCenter": "marketing"
+     * "123/environment": "production",
+     * "123/costCenter": "marketing"
      * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
      * using tags with Pub/Sub resources.
      * 
@@ -3980,17 +3966,6 @@ public Builder putAllTags(java.util.Map valu return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.Topic) } 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 6ba83cf39..4d3334471 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface TopicOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.Topic) @@ -490,8 +492,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -508,8 +510,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -530,8 +532,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -548,8 +550,8 @@ java.lang.String getLabelsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
@@ -570,8 +572,8 @@ java.lang.String getTagsOrDefault( *
    * Optional. Input only. Immutable. Tag keys/values directly bound to this
    * resource. For example:
-   *   "123/environment": "production",
-   *   "123/costCenter": "marketing"
+   * "123/environment": "production",
+   * "123/costCenter": "marketing"
    * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
    * using tags with Pub/Sub resources.
    * 
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java index dff4fc4fe..954a9f822 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.pubsub.v1.UpdateSnapshotRequest} */ -public final class UpdateSnapshotRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class UpdateSnapshotRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.UpdateSnapshotRequest) UpdateSnapshotRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "UpdateSnapshotRequest"); + } + // Use UpdateSnapshotRequest.newBuilder() to construct. - private UpdateSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateSnapshotRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private UpdateSnapshotRequest() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UpdateSnapshotRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateSnapshotRequest_fieldAccessorTable @@ -287,38 +293,38 @@ public static com.google.pubsub.v1.UpdateSnapshotRequest parseFrom( public static com.google.pubsub.v1.UpdateSnapshotRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateSnapshotRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.UpdateSnapshotRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateSnapshotRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.UpdateSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -341,7 +347,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -355,7 +361,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.UpdateSnapshotRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.UpdateSnapshotRequest) com.google.pubsub.v1.UpdateSnapshotRequestOrBuilder { @@ -365,7 +371,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateSnapshotRequest_fieldAccessorTable @@ -379,15 +385,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSnapshotFieldBuilder(); - getUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSnapshotFieldBuilder(); + internalGetUpdateMaskFieldBuilder(); } } @@ -453,39 +459,6 @@ private void buildPartial0(com.google.pubsub.v1.UpdateSnapshotRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.UpdateSnapshotRequest) { @@ -532,13 +505,15 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getSnapshotFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetSnapshotFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -562,7 +537,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.pubsub.v1.Snapshot snapshot_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Snapshot, com.google.pubsub.v1.Snapshot.Builder, com.google.pubsub.v1.SnapshotOrBuilder> @@ -712,7 +687,7 @@ public Builder clearSnapshot() { public com.google.pubsub.v1.Snapshot.Builder getSnapshotBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getSnapshotFieldBuilder().getBuilder(); + return internalGetSnapshotFieldBuilder().getBuilder(); } /** @@ -743,14 +718,14 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotOrBuilder() { * .google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Snapshot, com.google.pubsub.v1.Snapshot.Builder, com.google.pubsub.v1.SnapshotOrBuilder> - getSnapshotFieldBuilder() { + internalGetSnapshotFieldBuilder() { if (snapshotBuilder_ == null) { snapshotBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Snapshot, com.google.pubsub.v1.Snapshot.Builder, com.google.pubsub.v1.SnapshotOrBuilder>( @@ -761,7 +736,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -920,7 +895,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); } /** @@ -955,14 +930,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { + internalGetUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -972,17 +947,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.UpdateSnapshotRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java index 1f2dde409..76a1b76dc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface UpdateSnapshotRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.UpdateSnapshotRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java index fca247f19..59183a696 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.pubsub.v1.UpdateSubscriptionRequest} */ -public final class UpdateSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class UpdateSubscriptionRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.UpdateSubscriptionRequest) UpdateSubscriptionRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "UpdateSubscriptionRequest"); + } + // Use UpdateSubscriptionRequest.newBuilder() to construct. - private UpdateSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateSubscriptionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private UpdateSubscriptionRequest() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UpdateSubscriptionRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateSubscriptionRequest_fieldAccessorTable @@ -297,38 +303,38 @@ public static com.google.pubsub.v1.UpdateSubscriptionRequest parseFrom( public static com.google.pubsub.v1.UpdateSubscriptionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateSubscriptionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.UpdateSubscriptionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateSubscriptionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.UpdateSubscriptionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateSubscriptionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -351,7 +357,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -365,7 +371,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.UpdateSubscriptionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.UpdateSubscriptionRequest) com.google.pubsub.v1.UpdateSubscriptionRequestOrBuilder { @@ -375,7 +381,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateSubscriptionRequest_fieldAccessorTable @@ -389,15 +395,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSubscriptionFieldBuilder(); - getUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSubscriptionFieldBuilder(); + internalGetUpdateMaskFieldBuilder(); } } @@ -464,39 +470,6 @@ private void buildPartial0(com.google.pubsub.v1.UpdateSubscriptionRequest result result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.UpdateSubscriptionRequest) { @@ -543,13 +516,15 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getSubscriptionFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetSubscriptionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -573,7 +548,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.pubsub.v1.Subscription subscription_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Subscription, com.google.pubsub.v1.Subscription.Builder, com.google.pubsub.v1.SubscriptionOrBuilder> @@ -732,7 +707,7 @@ public Builder clearSubscription() { public com.google.pubsub.v1.Subscription.Builder getSubscriptionBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getSubscriptionFieldBuilder().getBuilder(); + return internalGetSubscriptionFieldBuilder().getBuilder(); } /** @@ -767,14 +742,14 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionOrBuilder() { * .google.pubsub.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Subscription, com.google.pubsub.v1.Subscription.Builder, com.google.pubsub.v1.SubscriptionOrBuilder> - getSubscriptionFieldBuilder() { + internalGetSubscriptionFieldBuilder() { if (subscriptionBuilder_ == null) { subscriptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Subscription, com.google.pubsub.v1.Subscription.Builder, com.google.pubsub.v1.SubscriptionOrBuilder>( @@ -785,7 +760,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -944,7 +919,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); } /** @@ -979,14 +954,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { + internalGetUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -996,17 +971,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.UpdateSubscriptionRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java index 6a180c218..e54b29c99 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface UpdateSubscriptionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.UpdateSubscriptionRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java index f6b0db9d5..a504c1e61 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.pubsub.v1.UpdateTopicRequest} */ -public final class UpdateTopicRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class UpdateTopicRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.UpdateTopicRequest) UpdateTopicRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "UpdateTopicRequest"); + } + // Use UpdateTopicRequest.newBuilder() to construct. - private UpdateTopicRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateTopicRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private UpdateTopicRequest() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UpdateTopicRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateTopicRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateTopicRequest_fieldAccessorTable @@ -295,38 +301,38 @@ public static com.google.pubsub.v1.UpdateTopicRequest parseFrom( public static com.google.pubsub.v1.UpdateTopicRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateTopicRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.UpdateTopicRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateTopicRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.UpdateTopicRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.UpdateTopicRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -349,7 +355,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -363,7 +369,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.UpdateTopicRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.UpdateTopicRequest) com.google.pubsub.v1.UpdateTopicRequestOrBuilder { @@ -373,7 +379,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.PubsubProto .internal_static_google_pubsub_v1_UpdateTopicRequest_fieldAccessorTable @@ -387,15 +393,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getTopicFieldBuilder(); - getUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetTopicFieldBuilder(); + internalGetUpdateMaskFieldBuilder(); } } @@ -461,39 +467,6 @@ private void buildPartial0(com.google.pubsub.v1.UpdateTopicRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.UpdateTopicRequest) { @@ -540,13 +513,14 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getTopicFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetTopicFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -570,7 +544,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.pubsub.v1.Topic topic_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Topic, com.google.pubsub.v1.Topic.Builder, com.google.pubsub.v1.TopicOrBuilder> @@ -713,7 +687,7 @@ public Builder clearTopic() { public com.google.pubsub.v1.Topic.Builder getTopicBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getTopicFieldBuilder().getBuilder(); + return internalGetTopicFieldBuilder().getBuilder(); } /** @@ -742,14 +716,14 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicOrBuilder() { * * .google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Topic, com.google.pubsub.v1.Topic.Builder, com.google.pubsub.v1.TopicOrBuilder> - getTopicFieldBuilder() { + internalGetTopicFieldBuilder() { if (topicBuilder_ == null) { topicBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Topic, com.google.pubsub.v1.Topic.Builder, com.google.pubsub.v1.TopicOrBuilder>(getTopic(), getParentForChildren(), isClean()); @@ -759,7 +733,7 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -939,7 +913,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); } /** @@ -980,14 +954,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { + internalGetUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -997,17 +971,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.UpdateTopicRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java index dc69ff623..180f0b5b0 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface UpdateTopicRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.UpdateTopicRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java index 0c1d390fe..2acb3165e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ValidateMessageRequest} */ -public final class ValidateMessageRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ValidateMessageRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ValidateMessageRequest) ValidateMessageRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ValidateMessageRequest"); + } + // Use ValidateMessageRequest.newBuilder() to construct. - private ValidateMessageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ValidateMessageRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private ValidateMessageRequest() { encoding_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ValidateMessageRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateMessageRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateMessageRequest_fieldAccessorTable @@ -377,11 +383,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } if (schemaSpecCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaSpec_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, schemaSpec_); } if (schemaSpecCase_ == 3) { output.writeMessage(3, (com.google.pubsub.v1.Schema) schemaSpec_); @@ -401,11 +407,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } if (schemaSpecCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaSpec_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, schemaSpec_); } if (schemaSpecCase_ == 3) { size += @@ -519,38 +525,38 @@ public static com.google.pubsub.v1.ValidateMessageRequest parseFrom( public static com.google.pubsub.v1.ValidateMessageRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateMessageRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ValidateMessageRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateMessageRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ValidateMessageRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateMessageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -573,7 +579,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -587,7 +593,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ValidateMessageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ValidateMessageRequest) com.google.pubsub.v1.ValidateMessageRequestOrBuilder { @@ -597,7 +603,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateMessageRequest_fieldAccessorTable @@ -609,7 +615,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ValidateMessageRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -681,39 +687,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.ValidateMessageRequest resu } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ValidateMessageRequest) { @@ -731,7 +704,7 @@ public Builder mergeFrom(com.google.pubsub.v1.ValidateMessageRequest other) { bitField0_ |= 0x00000001; onChanged(); } - if (other.getMessage() != com.google.protobuf.ByteString.EMPTY) { + if (!other.getMessage().isEmpty()) { setMessage(other.getMessage()); } if (other.encoding_ != 0) { @@ -796,7 +769,7 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetSchemaFieldBuilder().getBuilder(), extensionRegistry); schemaSpecCase_ = 3; break; } // case 26 @@ -1122,7 +1095,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> @@ -1281,7 +1254,7 @@ public Builder clearSchema() { * .google.pubsub.v1.Schema schema = 3; */ public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() { - return getSchemaFieldBuilder().getBuilder(); + return internalGetSchemaFieldBuilder().getBuilder(); } /** @@ -1314,17 +1287,17 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { * * .google.pubsub.v1.Schema schema = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> - getSchemaFieldBuilder() { + internalGetSchemaFieldBuilder() { if (schemaBuilder_ == null) { if (!(schemaSpecCase_ == 3)) { schemaSpec_ = com.google.pubsub.v1.Schema.getDefaultInstance(); } schemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder>( @@ -1488,17 +1461,6 @@ public Builder clearEncoding() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ValidateMessageRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java index cc528d1b8..5f00d2f91 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ValidateMessageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ValidateMessageRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java index adc83bf94..559ef7b70 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -29,32 +30,37 @@ * * Protobuf type {@code google.pubsub.v1.ValidateMessageResponse} */ -public final class ValidateMessageResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ValidateMessageResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ValidateMessageResponse) ValidateMessageResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ValidateMessageResponse"); + } + // Use ValidateMessageResponse.newBuilder() to construct. - private ValidateMessageResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ValidateMessageResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ValidateMessageResponse() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ValidateMessageResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateMessageResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateMessageResponse_fieldAccessorTable @@ -155,38 +161,38 @@ public static com.google.pubsub.v1.ValidateMessageResponse parseFrom( public static com.google.pubsub.v1.ValidateMessageResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateMessageResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ValidateMessageResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateMessageResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ValidateMessageResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateMessageResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -209,7 +215,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -224,7 +230,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ValidateMessageResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ValidateMessageResponse) com.google.pubsub.v1.ValidateMessageResponseOrBuilder { @@ -234,7 +240,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateMessageResponse_fieldAccessorTable @@ -246,7 +252,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ValidateMessageResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -284,39 +290,6 @@ public com.google.pubsub.v1.ValidateMessageResponse buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ValidateMessageResponse) { @@ -372,17 +345,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ValidateMessageResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java index a86e7459c..387ce625e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ValidateMessageResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ValidateMessageResponse) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java index 4bef8e405..27199f5c1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.pubsub.v1.ValidateSchemaRequest} */ -public final class ValidateSchemaRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ValidateSchemaRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ValidateSchemaRequest) ValidateSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ValidateSchemaRequest"); + } + // Use ValidateSchemaRequest.newBuilder() to construct. - private ValidateSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ValidateSchemaRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private ValidateSchemaRequest() { parent_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ValidateSchemaRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateSchemaRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateSchemaRequest_fieldAccessorTable @@ -187,8 +193,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSchema()); @@ -202,8 +208,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema()); @@ -288,38 +294,38 @@ public static com.google.pubsub.v1.ValidateSchemaRequest parseFrom( public static com.google.pubsub.v1.ValidateSchemaRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateSchemaRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ValidateSchemaRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateSchemaRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ValidateSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateSchemaRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -342,7 +348,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -356,7 +362,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ValidateSchemaRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ValidateSchemaRequest) com.google.pubsub.v1.ValidateSchemaRequestOrBuilder { @@ -366,7 +372,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateSchemaRequest_fieldAccessorTable @@ -380,14 +386,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSchemaFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSchemaFieldBuilder(); } } @@ -448,39 +454,6 @@ private void buildPartial0(com.google.pubsub.v1.ValidateSchemaRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ValidateSchemaRequest) { @@ -535,7 +508,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetSchemaFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -685,7 +658,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.pubsub.v1.Schema schema_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> @@ -828,7 +801,7 @@ public Builder clearSchema() { public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getSchemaFieldBuilder().getBuilder(); + return internalGetSchemaFieldBuilder().getBuilder(); } /** @@ -857,14 +830,14 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { * * .google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> - getSchemaFieldBuilder() { + internalGetSchemaFieldBuilder() { if (schemaBuilder_ == null) { schemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.pubsub.v1.Schema, com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder>( @@ -874,17 +847,6 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { return schemaBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ValidateSchemaRequest) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java index 3d7e74425..3ec527a91 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ValidateSchemaRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ValidateSchemaRequest) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java index 485f58448..dda69a413 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; /** @@ -29,32 +30,37 @@ * * Protobuf type {@code google.pubsub.v1.ValidateSchemaResponse} */ -public final class ValidateSchemaResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ValidateSchemaResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.pubsub.v1.ValidateSchemaResponse) ValidateSchemaResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ValidateSchemaResponse"); + } + // Use ValidateSchemaResponse.newBuilder() to construct. - private ValidateSchemaResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ValidateSchemaResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ValidateSchemaResponse() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ValidateSchemaResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateSchemaResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateSchemaResponse_fieldAccessorTable @@ -155,38 +161,38 @@ public static com.google.pubsub.v1.ValidateSchemaResponse parseFrom( public static com.google.pubsub.v1.ValidateSchemaResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateSchemaResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ValidateSchemaResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateSchemaResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.pubsub.v1.ValidateSchemaResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.pubsub.v1.ValidateSchemaResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -209,7 +215,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -224,7 +230,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.pubsub.v1.ValidateSchemaResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.pubsub.v1.ValidateSchemaResponse) com.google.pubsub.v1.ValidateSchemaResponseOrBuilder { @@ -234,7 +240,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.pubsub.v1.SchemaProto .internal_static_google_pubsub_v1_ValidateSchemaResponse_fieldAccessorTable @@ -246,7 +252,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.pubsub.v1.ValidateSchemaResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -284,39 +290,6 @@ public com.google.pubsub.v1.ValidateSchemaResponse buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.pubsub.v1.ValidateSchemaResponse) { @@ -372,17 +345,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.pubsub.v1.ValidateSchemaResponse) } diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java index 9b0803ac4..cae8fc5fb 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 4.33.2 -// Protobuf Java Version: 3.25.8 package com.google.pubsub.v1; +@com.google.protobuf.Generated public interface ValidateSchemaResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.ValidateSchemaResponse) From 198a97e9c82479e6f7a5b8b21b45e35b59af316e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 13:11:30 -0500 Subject: [PATCH 13/62] chore(main): release 1.146.0 (#2666) * chore(main): release 1.146.0 * chore: generate libraries at Mon Jan 26 17:00:40 UTC 2026 --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot --- CHANGELOG.md | 13 +++++++++++++ README.md | 6 +++--- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 34 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34f49328f..c1669569f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [1.146.0](https://github.com/googleapis/java-pubsub/compare/v1.145.0...v1.146.0) (2026-01-26) + + +### Features + +* **deps:** Update the Java code generator (gapic-generator-java) to 2.66.0 ([a7edd5b](https://github.com/googleapis/java-pubsub/commit/a7edd5b705557bcf72ca47dc8219677ba8595f8c)) + + +### Dependencies + +* Update dependency com.google.cloud:sdk-platform-java-config to v3.56.0 ([#2664](https://github.com/googleapis/java-pubsub/issues/2664)) ([6d44cf3](https://github.com/googleapis/java-pubsub/commit/6d44cf3b94e6fe8603e3d8bb9357643f0315fa4e)) +* Update googleapis/sdk-platform-java action to v2.66.0 ([#2665](https://github.com/googleapis/java-pubsub/issues/2665)) ([1f95f3a](https://github.com/googleapis/java-pubsub/commit/1f95f3ac56ef371b7eee05aa2d294e0e4ca6ad84)) + ## [1.145.0](https://github.com/googleapis/java-pubsub/compare/v1.144.1...v1.145.0) (2026-01-15) diff --git a/README.md b/README.md index 2a08eefb5..6e5d5c56e 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.145.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.146.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.145.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.146.0" ``` ## Authentication @@ -401,7 +401,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.145.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.146.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 3bd6ad2c6..f27924841 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.145.1-SNAPSHOT + 1.146.0 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.145.1-SNAPSHOT + 1.146.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.127.1-SNAPSHOT + 1.128.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.127.1-SNAPSHOT + 1.128.0
diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 7b005d873..8ce8a0694 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.145.1-SNAPSHOT + 1.146.0 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.145.1-SNAPSHOT + 1.146.0 google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 365f2268e..1555c7efe 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.127.1-SNAPSHOT + 1.128.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.145.1-SNAPSHOT + 1.146.0 diff --git a/pom.xml b/pom.xml index 123ae5b9d..791e3bf6e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.145.1-SNAPSHOT + 1.146.0 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.127.1-SNAPSHOT + 1.128.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.127.1-SNAPSHOT + 1.128.0 com.google.cloud google-cloud-pubsub - 1.145.1-SNAPSHOT + 1.146.0 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 6d0a89adc..c4fa57fec 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.127.1-SNAPSHOT + 1.128.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.145.1-SNAPSHOT + 1.146.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index d709c0207..072904022 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.145.1-SNAPSHOT + 1.146.0 diff --git a/versions.txt b/versions.txt index 8248cbd03..546a95b0d 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.145.0:1.145.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.127.0:1.127.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.127.0:1.127.1-SNAPSHOT +google-cloud-pubsub:1.146.0:1.146.0 +grpc-google-cloud-pubsub-v1:1.128.0:1.128.0 +proto-google-cloud-pubsub-v1:1.128.0:1.128.0 From b66351c4f2e16fedf85d38b753bb7d2040eb40bb Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 13:43:20 -0500 Subject: [PATCH 14/62] chore(main): release 1.146.1-SNAPSHOT (#2669) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index f27924841..a4fe8e63a 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.146.0 + 1.146.1-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.146.0 + 1.146.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.128.0 + 1.128.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.128.0 + 1.128.1-SNAPSHOT diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 8ce8a0694..0a295a36c 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.146.0 + 1.146.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.146.0 + 1.146.1-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 1555c7efe..1d8b5e05d 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.128.0 + 1.128.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.146.0 + 1.146.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 791e3bf6e..bc965f1e6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.146.0 + 1.146.1-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.128.0 + 1.128.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.128.0 + 1.128.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.146.0 + 1.146.1-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index c4fa57fec..634d2155c 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.128.0 + 1.128.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.146.0 + 1.146.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 072904022..b7bf96571 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.146.0 + 1.146.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 546a95b0d..ec58d73e4 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.146.0:1.146.0 -grpc-google-cloud-pubsub-v1:1.128.0:1.128.0 -proto-google-cloud-pubsub-v1:1.128.0:1.128.0 +google-cloud-pubsub:1.146.0:1.146.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.128.0:1.128.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.128.0:1.128.1-SNAPSHOT From f87836ff22a08cbcec234bb14dc09ab3f716c22b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 27 Jan 2026 14:57:35 +0000 Subject: [PATCH 15/62] chore(deps): update dependency com.google.cloud:google-cloud-pubsub to v1.146.0 (#2638) --- samples/install-without-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index f7b7098da..0c6653822 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -44,7 +44,7 @@ com.google.cloud google-cloud-pubsub - 1.143.1 + 1.146.0 From afe27d881379ad2564961b439176c61d0e9ce663 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 27 Jan 2026 14:57:46 +0000 Subject: [PATCH 16/62] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.58.0 (#2639) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 0c6653822..11af82fa7 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-bigquery - 2.56.0 + 2.58.0 com.google.cloud diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index b7bf96571..06098f5a7 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -85,7 +85,7 @@ com.google.cloud google-cloud-bigquery - 2.56.0 + 2.58.0 com.google.cloud From 93368a3e9aec90e42a944d76e79559f3f35ac792 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 27 Jan 2026 14:57:59 +0000 Subject: [PATCH 17/62] deps: update dependency com.google.cloud:google-cloud-core to v2.64.0 (#2641) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 11af82fa7..c84f716e3 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -80,7 +80,7 @@ com.google.cloud google-cloud-core - 2.62.2 + 2.64.0 tests diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 06098f5a7..ea1136071 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -79,7 +79,7 @@ com.google.cloud google-cloud-core - 2.62.2 + 2.64.0 tests diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index a80f9af05..2fe8fcf8d 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -103,7 +103,7 @@ com.google.cloud google-cloud-core - 2.62.2 + 2.64.0 tests From 32d75fd9096bb56286c98636d5a8fa6a23508f60 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 27 Jan 2026 14:58:31 +0000 Subject: [PATCH 18/62] deps: update dependency org.assertj:assertj-core to v3.27.7 [security] (#2670) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bc965f1e6..b58f194f4 100644 --- a/pom.xml +++ b/pom.xml @@ -116,7 +116,7 @@ org.assertj assertj-core - 3.27.6 + 3.27.7 test From bf69e2325829846fcf949386c411aaca290960a3 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 27 Jan 2026 15:29:17 +0000 Subject: [PATCH 19/62] chore(deps): update dependency com.google.cloud:libraries-bom to v26.74.0 (#2647) Co-authored-by: Mike Prieto --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 2fe8fcf8d..34c4b2aa1 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -45,7 +45,7 @@ com.google.cloud libraries-bom - 26.72.0 + 26.74.0 pom import From 0973b81b82493e7a7df1764e4f29435abe545d50 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 27 Jan 2026 15:29:28 +0000 Subject: [PATCH 20/62] deps: update dependency com.google.protobuf:protobuf-java-util to v4.33.4 (#2656) Co-authored-by: Mike Prieto --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index c84f716e3..edb254c38 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -75,7 +75,7 @@ com.google.protobuf protobuf-java-util - 4.33.2 + 4.33.4 com.google.cloud diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index ea1136071..89c5f4b71 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -61,7 +61,7 @@ com.google.protobuf protobuf-java-util - 4.33.2 + 4.33.4 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 34c4b2aa1..7c5e65b08 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -85,7 +85,7 @@ com.google.protobuf protobuf-java-util - 4.33.2 + 4.33.4 From 18a592d81971ca99fa8fac0b355b02c4c3646bf2 Mon Sep 17 00:00:00 2001 From: Mike Prieto Date: Tue, 27 Jan 2026 10:29:51 -0500 Subject: [PATCH 21/62] feat: Enable Subscriber StreamingPull keepalives by increasing the StreamingPull protocol version (#2672) --- .../src/main/java/com/google/cloud/pubsub/v1/Subscriber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java index 37440ba40..a2d4f3b38 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java @@ -144,7 +144,7 @@ public class Subscriber extends AbstractApiService implements SubscriberInterfac private final boolean maxDurationPerAckExtensionDefaultUsed; private final java.time.Duration minDurationPerAckExtension; private final boolean minDurationPerAckExtensionDefaultUsed; - private final long protocolVersion = 0L; + private final long protocolVersion = 1L; // The ExecutorProvider used to generate executors for processing messages. private final ExecutorProvider executorProvider; From 6a4f0595610e06ba1fa58fe916c7f5a1f09245ca Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 27 Jan 2026 15:35:41 +0000 Subject: [PATCH 22/62] deps: update dependency com.google.cloud:google-cloud-storage to v2.62.0 (#2643) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index edb254c38..28ccba7f2 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -91,7 +91,7 @@ com.google.cloud google-cloud-storage - 2.60.0 + 2.62.0 com.google.cloud.opentelemetry diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 89c5f4b71..4c09af4b4 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -90,7 +90,7 @@ com.google.cloud google-cloud-storage - 2.60.0 + 2.62.0 com.google.cloud.opentelemetry From 1676abcdbe470912d6bda9c732bcea366d1e9e50 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 27 Jan 2026 12:01:27 -0500 Subject: [PATCH 23/62] chore(main): release 1.147.0 (#2673) * chore(main): release 1.147.0 * chore: generate libraries at Tue Jan 27 15:36:37 UTC 2026 --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot --- CHANGELOG.md | 16 ++++++++++++++++ README.md | 10 +++++----- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 39 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1669569f..28e8ac1b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [1.147.0](https://github.com/googleapis/java-pubsub/compare/v1.146.0...v1.147.0) (2026-01-27) + + +### Features + +* Enable Subscriber StreamingPull keepalives by increasing the StreamingPull protocol version ([#2672](https://github.com/googleapis/java-pubsub/issues/2672)) ([18a592d](https://github.com/googleapis/java-pubsub/commit/18a592d81971ca99fa8fac0b355b02c4c3646bf2)) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-bigquery to v2.58.0 ([#2639](https://github.com/googleapis/java-pubsub/issues/2639)) ([afe27d8](https://github.com/googleapis/java-pubsub/commit/afe27d881379ad2564961b439176c61d0e9ce663)) +* Update dependency com.google.cloud:google-cloud-core to v2.64.0 ([#2641](https://github.com/googleapis/java-pubsub/issues/2641)) ([93368a3](https://github.com/googleapis/java-pubsub/commit/93368a3e9aec90e42a944d76e79559f3f35ac792)) +* Update dependency com.google.cloud:google-cloud-storage to v2.62.0 ([#2643](https://github.com/googleapis/java-pubsub/issues/2643)) ([6a4f059](https://github.com/googleapis/java-pubsub/commit/6a4f0595610e06ba1fa58fe916c7f5a1f09245ca)) +* Update dependency com.google.protobuf:protobuf-java-util to v4.33.4 ([#2656](https://github.com/googleapis/java-pubsub/issues/2656)) ([0973b81](https://github.com/googleapis/java-pubsub/commit/0973b81b82493e7a7df1764e4f29435abe545d50)) +* Update dependency org.assertj:assertj-core to v3.27.7 [security] ([#2670](https://github.com/googleapis/java-pubsub/issues/2670)) ([32d75fd](https://github.com/googleapis/java-pubsub/commit/32d75fd9096bb56286c98636d5a8fa6a23508f60)) + ## [1.146.0](https://github.com/googleapis/java-pubsub/compare/v1.145.0...v1.146.0) (2026-01-26) diff --git a/README.md b/README.md index 6e5d5c56e..7fc4786d2 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.72.0 + 26.74.0 pom import @@ -43,7 +43,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-pubsub - 1.143.1 + 1.146.0 ``` @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.146.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.147.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.146.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.147.0" ``` ## Authentication @@ -401,7 +401,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.146.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.147.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index a4fe8e63a..a6f32b5c5 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.146.1-SNAPSHOT + 1.147.0 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.146.1-SNAPSHOT + 1.147.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.128.1-SNAPSHOT + 1.129.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.128.1-SNAPSHOT + 1.129.0 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 0a295a36c..f0bacee92 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.146.1-SNAPSHOT + 1.147.0 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.146.1-SNAPSHOT + 1.147.0 google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 1d8b5e05d..89e17a19a 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.128.1-SNAPSHOT + 1.129.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.146.1-SNAPSHOT + 1.147.0 diff --git a/pom.xml b/pom.xml index b58f194f4..40409ef29 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.146.1-SNAPSHOT + 1.147.0 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.128.1-SNAPSHOT + 1.129.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.128.1-SNAPSHOT + 1.129.0 com.google.cloud google-cloud-pubsub - 1.146.1-SNAPSHOT + 1.147.0 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 634d2155c..fcddf43a2 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.128.1-SNAPSHOT + 1.129.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.146.1-SNAPSHOT + 1.147.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 4c09af4b4..cfc6d809b 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.146.1-SNAPSHOT + 1.147.0 diff --git a/versions.txt b/versions.txt index ec58d73e4..61c00dc3d 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.146.0:1.146.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.128.0:1.128.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.128.0:1.128.1-SNAPSHOT +google-cloud-pubsub:1.147.0:1.147.0 +grpc-google-cloud-pubsub-v1:1.129.0:1.129.0 +proto-google-cloud-pubsub-v1:1.129.0:1.129.0 From 09c01ed8b24ce019cea629dcb0d45dacfe5f112a Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 30 Jan 2026 14:14:31 -0500 Subject: [PATCH 24/62] chore: replace old java team with cloud-sdk-java-team (#2677) Replace old teams with new ones. b/479542582 --- .github/CODEOWNERS | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1e8bea4c7..02da5de55 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -5,25 +5,25 @@ # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax # The @googleapis/api-pubsub is the default owner for changes in this repo -* @googleapis/yoshi-java @googleapis/api-pubsub +* @googleapis/cloud-sdk-java-team @googleapis/api-pubsub # for handwritten libraries, keep codeowner_team in .repo-metadata.json as owner **/*.java @googleapis/api-pubsub # For generated Java code -proto-*/ @googleapis/yoshi-java @googleapis/api-pubsub -grpc-*/ @googleapis/yoshi-java @googleapis/api-pubsub +proto-*/ @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +grpc-*/ @googleapis/cloud-sdk-java-team @googleapis/api-pubsub # Generated code pattern in google-cloud-pubsub -**/*Client.java @googleapis/yoshi-java @googleapis/api-pubsub -**/*Settings.java @googleapis/yoshi-java @googleapis/api-pubsub -**/*ClientHttpJsonTest.java @googleapis/yoshi-java @googleapis/api-pubsub -**/*ClientTest.java @googleapis/yoshi-java @googleapis/api-pubsub -google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/** @googleapis/yoshi-java @googleapis/api-pubsub -google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java @googleapis/yoshi-java @googleapis/api-pubsub -google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/Mock* @googleapis/yoshi-java @googleapis/api-pubsub +**/*Client.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +**/*Settings.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +**/*ClientHttpJsonTest.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +**/*ClientTest.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/** @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/Mock* @googleapis/cloud-sdk-java-team @googleapis/api-pubsub # The java-samples-reviewers team is the default owner for samples changes samples/**/*.java @googleapis/java-samples-reviewers # Generated snippets should not be owned by samples reviewers -samples/snippets/generated/ @googleapis/yoshi-java +samples/snippets/generated/ @googleapis/cloud-sdk-java-team From 6b133e8277bba25ab8f91d970d8d79e8bdaaa7e7 Mon Sep 17 00:00:00 2001 From: Blake Li Date: Tue, 10 Feb 2026 12:21:32 -0500 Subject: [PATCH 25/62] feat: next release from main branch is 1.148.0 (#2686) --- .github/release-please.yml | 54 ++++++++++++++++++--------------- .github/sync-repo-settings.yaml | 19 ++++++++++++ 2 files changed, 48 insertions(+), 25 deletions(-) diff --git a/.github/release-please.yml b/.github/release-please.yml index 94186875d..dd5ccf112 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -2,28 +2,32 @@ bumpMinorPreMajor: true handleGHRelease: true releaseType: java-yoshi branches: - - branch: 1.111.0-sp - releaseType: java-lts - - branch: java7 - - branch: 1.114.x - releaseType: java-backport - - branch: 1.116.x - releaseType: java-backport - - branch: 1.117.x - releaseType: java-backport - - branch: 1.120.x - releaseType: java-backport - - branch: 1.121.x - releaseType: java-backport - - branch: 1.123.x - releaseType: java-backport - - branch: 1.125.x - releaseType: java-backport - - branch: 1.129.x - releaseType: java-backport - - branch: 1.137.x - releaseType: java-backport - - branch: 1.140.x - releaseType: java-backport - - branch: protobuf-4.x-rc - manifest: true + - branch: 1.111.0-sp + releaseType: java-lts + - branch: java7 + - branch: 1.114.x + releaseType: java-backport + - branch: 1.116.x + releaseType: java-backport + - branch: 1.117.x + releaseType: java-backport + - branch: 1.120.x + releaseType: java-backport + - branch: 1.121.x + releaseType: java-backport + - branch: 1.123.x + releaseType: java-backport + - branch: 1.125.x + releaseType: java-backport + - branch: 1.129.x + releaseType: java-backport + - branch: 1.137.x + releaseType: java-backport + - branch: 1.140.x + releaseType: java-backport + - branch: protobuf-4.x-rc + manifest: true + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-backport + branch: 1.147.x diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 3e4d39bcd..ce658ac8d 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -215,6 +215,25 @@ branchProtectionRules: - javadoc - library_generation - unmanaged_dependency_check + - pattern: 1.147.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (17) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - 'Kokoro - Test: Java GraalVM Native Image A' + - 'Kokoro - Test: Java GraalVM Native Image B' + - 'Kokoro - Test: Java GraalVM Native Image C' + - javadoc + - library_generation + - unmanaged_dependency_check permissionRules: - team: yoshi-admins permission: admin From 1a94be982e291c8cbf1ac2ec4aa6a84a4dabd17d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 11 Feb 2026 19:56:28 +0000 Subject: [PATCH 26/62] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.56.1 (#2682) Co-authored-by: Jin Seop Kim --- .github/workflows/unmanaged_dependency_check.yaml | 2 +- google-cloud-pubsub-bom/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index 8dc06537e..f480e1e24 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -17,6 +17,6 @@ jobs: # repository .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.56.0 + uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.56.1 with: bom-path: google-cloud-pubsub-bom/pom.xml diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index a6f32b5c5..de729c8e7 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud sdk-platform-java-config - 3.56.0 + 3.56.1 Google Cloud pubsub BOM diff --git a/pom.xml b/pom.xml index 40409ef29..f1f99d24d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud sdk-platform-java-config - 3.56.0 + 3.56.1 From 7e154469b5feff3da4811e26c2fbeba2f715f8e8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Feb 2026 15:23:37 -0500 Subject: [PATCH 27/62] chore(main): release 1.147.1-SNAPSHOT (#2674) Merge pull request #2674 from googleapis/java-pubsub --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index de729c8e7..b63882bfd 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.147.0 + 1.147.1-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.147.0 + 1.147.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.129.0 + 1.129.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.129.0 + 1.129.1-SNAPSHOT diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index f0bacee92..595f3315c 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.147.0 + 1.147.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.147.0 + 1.147.1-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 89e17a19a..977db1d12 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.129.0 + 1.129.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.147.0 + 1.147.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index f1f99d24d..eb75d32af 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.147.0 + 1.147.1-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.129.0 + 1.129.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.129.0 + 1.129.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.147.0 + 1.147.1-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index fcddf43a2..c82d96013 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.129.0 + 1.129.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.147.0 + 1.147.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index cfc6d809b..f6c0b2d99 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.147.0 + 1.147.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 61c00dc3d..1c8a3555e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.147.0:1.147.0 -grpc-google-cloud-pubsub-v1:1.129.0:1.129.0 -proto-google-cloud-pubsub-v1:1.129.0:1.129.0 +google-cloud-pubsub:1.147.0:1.147.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.129.0:1.129.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.129.0:1.129.1-SNAPSHOT From 11c3e7b29d9aa9fbc99eedb4940a9e7471e078a4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Feb 2026 15:53:14 -0500 Subject: [PATCH 28/62] chore(main): release 1.148.0 (#2688) Merge pull request #2688 from googleapis/java-pubsub --- CHANGELOG.md | 12 ++++++++++++ README.md | 6 +++--- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 33 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28e8ac1b9..4d4fa5fbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.148.0](https://github.com/googleapis/java-pubsub/compare/v1.147.0...v1.148.0) (2026-02-11) + + +### Features + +* Next release from main branch is 1.148.0 ([#2686](https://github.com/googleapis/java-pubsub/issues/2686)) ([6b133e8](https://github.com/googleapis/java-pubsub/commit/6b133e8277bba25ab8f91d970d8d79e8bdaaa7e7)) + + +### Dependencies + +* Update dependency com.google.cloud:sdk-platform-java-config to v3.56.1 ([#2682](https://github.com/googleapis/java-pubsub/issues/2682)) ([1a94be9](https://github.com/googleapis/java-pubsub/commit/1a94be982e291c8cbf1ac2ec4aa6a84a4dabd17d)) + ## [1.147.0](https://github.com/googleapis/java-pubsub/compare/v1.146.0...v1.147.0) (2026-01-27) diff --git a/README.md b/README.md index 7fc4786d2..46a08b0bf 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.147.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.148.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.147.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.148.0" ``` ## Authentication @@ -401,7 +401,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.147.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.148.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index b63882bfd..b48b9bbc6 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.147.1-SNAPSHOT + 1.148.0 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.147.1-SNAPSHOT + 1.148.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.129.1-SNAPSHOT + 1.130.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.129.1-SNAPSHOT + 1.130.0 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 595f3315c..3308cdcd1 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.147.1-SNAPSHOT + 1.148.0 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.147.1-SNAPSHOT + 1.148.0 google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 977db1d12..2550d1719 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.129.1-SNAPSHOT + 1.130.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.147.1-SNAPSHOT + 1.148.0 diff --git a/pom.xml b/pom.xml index eb75d32af..55d3cdc6b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.147.1-SNAPSHOT + 1.148.0 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.129.1-SNAPSHOT + 1.130.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.129.1-SNAPSHOT + 1.130.0 com.google.cloud google-cloud-pubsub - 1.147.1-SNAPSHOT + 1.148.0 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index c82d96013..b4fd8af4c 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.129.1-SNAPSHOT + 1.130.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.147.1-SNAPSHOT + 1.148.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index f6c0b2d99..d19b2c592 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.147.1-SNAPSHOT + 1.148.0 diff --git a/versions.txt b/versions.txt index 1c8a3555e..4d5a1a8ff 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.147.0:1.147.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.129.0:1.129.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.129.0:1.129.1-SNAPSHOT +google-cloud-pubsub:1.148.0:1.148.0 +grpc-google-cloud-pubsub-v1:1.130.0:1.130.0 +proto-google-cloud-pubsub-v1:1.130.0:1.130.0 From c4e10b95880d0db61b62e89c58d269c755d9e11e Mon Sep 17 00:00:00 2001 From: Samuel Schaub <40373331+SamuelSchaub@users.noreply.github.com> Date: Thu, 12 Feb 2026 14:03:50 -0500 Subject: [PATCH 29/62] feat: add client library debug logging * feat: add keepalive feature to tear down streams in their absence * fix: reset timer each time stream is opened * fix: update timings for server monitor to meet stream close time policy * fix: update initial delay vs period in fake scheduled executor and fix test cases * fix merging errors * feat: add client library debug logging * fix: formatting to previous version * fix: revert subscriber to original state * fix: create Logger objects for each sub-system tag * fix: ran formatter * fix: update LoggingUtil to house all subsytems * fix: typo, renaming, and using throwable on failure for logging util --- .../google/cloud/pubsub/v1/LoggingUtil.java | 146 ++++++++++++++++++ .../cloud/pubsub/v1/MessageDispatcher.java | 93 +++++++++-- .../com/google/cloud/pubsub/v1/Publisher.java | 8 + .../v1/StreamingSubscriberConnection.java | 5 + 4 files changed, 242 insertions(+), 10 deletions(-) create mode 100644 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/LoggingUtil.java diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/LoggingUtil.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/LoggingUtil.java new file mode 100644 index 000000000..dbc3a5d86 --- /dev/null +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/LoggingUtil.java @@ -0,0 +1,146 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.pubsub.v1; + +import com.google.pubsub.v1.PubsubMessage; +import java.util.logging.Level; +import java.util.logging.Logger; + +public final class LoggingUtil { + // Instantiate all loggers as static final fields to maintain strong references + + private static final Logger slowAckLogger = Logger.getLogger("slow-ack"); + private static final Logger callbackDeliveryLogger = Logger.getLogger("callback-delivery"); + private static final Logger expiryLogger = Logger.getLogger("expiry"); + private static final Logger callbackExceptionsLogger = Logger.getLogger("callback-exceptions"); + private static final Logger ackBatchLogger = Logger.getLogger("ack-batch"); + private static final Logger subscriberFlowControlLogger = + Logger.getLogger("subscriber-flow-control"); + private static final Logger ackNackLogger = Logger.getLogger("ack-nack"); + private static final Logger publishBatchLogger = Logger.getLogger("publish-batch"); + private static final Logger subscriberStreamsLogger = Logger.getLogger("subscriber-streams"); + + public enum SubSystem { + SLOW_ACK(slowAckLogger), + CALLBACK_DELIVERY(callbackDeliveryLogger), + EXPIRY(expiryLogger), + CALLBACK_EXCEPTIONS(callbackExceptionsLogger), + ACK_BATCH(ackBatchLogger), + SUBSCRIBER_FLOW_CONTROL(subscriberFlowControlLogger), + ACK_NACK(ackNackLogger), + PUBLISH_BATCH(publishBatchLogger), + SUBSCRIBER_STREAMS(subscriberStreamsLogger); + + private final Logger logger; + + SubSystem(Logger logger) { + this.logger = logger; + } + + public Logger getLogger() { + return logger; + } + } + + public LoggingUtil() {} + + private String getSubscriptionLogPrefix( + PubsubMessageWrapper messageWrapper, String ackId, boolean exactlyOnceDeliveryEnabled) { + if (messageWrapper == null || messageWrapper.getPubsubMessage() == null) { + return " Ack ID: " + + ackId + + ", Exactly Once Delivery: " + + exactlyOnceDeliveryEnabled + + " (Message details not available)"; + } + + PubsubMessage message = messageWrapper.getPubsubMessage(); + String messageId = message.getMessageId(); + String orderingKey = message.getOrderingKey(); + + StringBuilder sb = new StringBuilder(); + sb.append("Message ID: ").append(messageId); + sb.append(", Ack ID: ").append(ackId); + if (orderingKey != null && !orderingKey.isEmpty()) { + sb.append(", Ordering Key: ").append(orderingKey); + } + sb.append(", Exactly Once Delivery: ").append(exactlyOnceDeliveryEnabled); + return sb.toString(); + } + + private String getPublisherLogPrefix(PubsubMessageWrapper messageWrapper) { + if (messageWrapper == null || messageWrapper.getPubsubMessage() == null) { + return " (Message details not available)"; + } + + PubsubMessage message = messageWrapper.getPubsubMessage(); + String messageId = message.getMessageId(); + String orderingKey = message.getOrderingKey(); + + StringBuilder sb = new StringBuilder(); + sb.append("Message ID: ").append(messageId); + if (orderingKey != null && !orderingKey.isEmpty()) { + sb.append(", Ordering Key: ").append(orderingKey); + } + return sb.toString(); + } + + public void logSubscriber( + SubSystem subSystem, + Level level, + String msg, + PubsubMessageWrapper messageWrapper, + String ackId, + boolean exactlyOnceDeliveryEnabled) { + Logger logger = subSystem.getLogger(); + if (logger.isLoggable(level)) { + String prefix = getSubscriptionLogPrefix(messageWrapper, ackId, exactlyOnceDeliveryEnabled); + logger.log(level, prefix + " - " + msg); + } + } + + public void logSubscriberWithThrowable( + SubSystem subSystem, + Level level, + String msg, + PubsubMessageWrapper messageWrapper, + String ackId, + boolean exactlyOnceDeliveryEnabled, + Throwable throwable) { + Logger logger = subSystem.getLogger(); + if (logger.isLoggable(level)) { + String prefix = getSubscriptionLogPrefix(messageWrapper, ackId, exactlyOnceDeliveryEnabled); + logger.log(level, prefix + " - " + msg, throwable); + } + } + + public void logPublisher( + SubSystem subSystem, Level level, String msg, PubsubMessageWrapper messageWrapper) { + Logger logger = subSystem.getLogger(); + if (logger.isLoggable(level)) { + String prefix = getPublisherLogPrefix(messageWrapper); + logger.log(level, prefix + " - " + msg); + } + } + + public void logEvent(SubSystem subSystem, Level level, String msg, Object... params) { + Logger logger = subSystem.getLogger(); + if (logger.isLoggable(level)) { + logger.log(level, msg, params); + } + } +} diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/MessageDispatcher.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/MessageDispatcher.java index 5ed36b9cd..f2f7cd2e7 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/MessageDispatcher.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/MessageDispatcher.java @@ -59,6 +59,7 @@ */ class MessageDispatcher { private static final Logger logger = Logger.getLogger(MessageDispatcher.class.getName()); + private LoggingUtil loggingUtil = new LoggingUtil(); @InternalApi static final double PERCENTILE_FOR_ACK_DEADLINE_UPDATES = 99.9; @InternalApi static final Duration PENDING_ACKS_SEND_DELAY = Duration.ofMillis(100); @@ -112,6 +113,8 @@ class MessageDispatcher { private final SubscriberShutdownSettings subscriberShutdownSettings; private final AtomicBoolean nackImmediatelyShutdownInProgress = new AtomicBoolean(false); + private final double slowAckPercentile = 99.0; + /** Internal representation of a reply to a Pubsub message, to be sent back to the service. */ public enum AckReply { ACK, @@ -157,11 +160,13 @@ private void forget() { @Override public void onFailure(Throwable t) { - logger.log( + loggingUtil.logSubscriberWithThrowable( + LoggingUtil.SubSystem.CALLBACK_EXCEPTIONS, Level.WARNING, - "MessageReceiver failed to process ack ID: " - + this.ackRequestData.getAckId() - + ", the message will be nacked.", + "MessageReceiver exception.", + this.ackRequestData.getMessageWrapper(), + this.ackRequestData.getAckId(), + exactlyOnceDeliveryEnabled.get(), t); this.ackRequestData.setResponse(AckResponse.OTHER, false); pendingNacks.add(this.ackRequestData); @@ -171,6 +176,19 @@ public void onFailure(Throwable t) { @Override public void onSuccess(AckReply reply) { + int ackLatency = + Ints.saturatedCast((long) Math.ceil((clock.millisTime() - receivedTimeMillis) / 1000D)); + if (ackLatency >= ackLatencyDistribution.getPercentile(slowAckPercentile)) { + loggingUtil.logSubscriber( + LoggingUtil.SubSystem.SLOW_ACK, + Level.FINE, + String.format( + "Message ack duration of %d is higher than the p99 ack duration", ackLatency), + this.ackRequestData.getMessageWrapper(), + this.ackRequestData.getAckId(), + exactlyOnceDeliveryEnabled.get()); + } + switch (reply) { case ACK: if (nackImmediatelyShutdownInProgress.get() && exactlyOnceDeliveryEnabled.get()) { @@ -180,15 +198,27 @@ public void onSuccess(AckReply reply) { } else { pendingAcks.add(this.ackRequestData); // Record the latency rounded to the next closest integer. - ackLatencyDistribution.record( - Ints.saturatedCast( - (long) Math.ceil((clock.millisTime() - receivedTimeMillis) / 1000D))); + ackLatencyDistribution.record(ackLatency); tracer.endSubscribeProcessSpan(this.ackRequestData.getMessageWrapper(), "ack"); } + loggingUtil.logSubscriber( + LoggingUtil.SubSystem.ACK_NACK, + Level.FINE, + "Ack called on message.", + this.ackRequestData.getMessageWrapper(), + this.ackRequestData.getAckId(), + exactlyOnceDeliveryEnabled.get()); break; case NACK: pendingNacks.add(this.ackRequestData); tracer.endSubscribeProcessSpan(this.ackRequestData.getMessageWrapper(), "nack"); + loggingUtil.logSubscriber( + LoggingUtil.SubSystem.ACK_NACK, + Level.FINE, + "Nack called on message.", + this.ackRequestData.getMessageWrapper(), + this.ackRequestData.getAckId(), + exactlyOnceDeliveryEnabled.get()); break; default: throw new IllegalArgumentException(String.format("AckReply: %s not supported", reply)); @@ -568,10 +598,32 @@ private void processBatch(List batch) { // shutdown will block on processing of all these messages anyway. tracer.startSubscribeConcurrencyControlSpan(message.messageWrapper()); try { + loggingUtil.logSubscriber( + LoggingUtil.SubSystem.SUBSCRIBER_FLOW_CONTROL, + Level.FINE, + "Flow controller is blocking.", + message.messageWrapper(), + message.messageWrapper().getAckId(), + exactlyOnceDeliveryEnabled.get()); flowController.reserve(1, message.messageWrapper().getPubsubMessage().getSerializedSize()); + loggingUtil.logSubscriber( + LoggingUtil.SubSystem.SUBSCRIBER_FLOW_CONTROL, + Level.FINE, + "Flow controller is done blocking.", + message.messageWrapper(), + message.messageWrapper().getAckId(), + exactlyOnceDeliveryEnabled.get()); tracer.endSubscribeConcurrencyControlSpan(message.messageWrapper()); } catch (FlowControlException unexpectedException) { // This should be a blocking flow controller and never throw an exception. + loggingUtil.logSubscriberWithThrowable( + LoggingUtil.SubSystem.SUBSCRIBER_FLOW_CONTROL, + Level.FINE, + "Flow controller unexpected exception.", + message.messageWrapper(), + message.messageWrapper().getAckId(), + exactlyOnceDeliveryEnabled.get(), + unexpectedException); tracer.setSubscribeConcurrencyControlSpanException( message.messageWrapper(), unexpectedException); throw new IllegalStateException("Flow control unexpected exception", unexpectedException); @@ -619,9 +671,23 @@ public void run() { // Don't nack it either, because we'd be nacking someone else's message. ackHandler.forget(); tracer.setSubscriberSpanExpirationResult(messageWrapper); + loggingUtil.logSubscriber( + LoggingUtil.SubSystem.EXPIRY, + Level.FINE, + "Message expired.", + messageWrapper, + ackHandler.ackRequestData.getAckId(), + exactlyOnceDeliveryEnabled.get()); return; } tracer.startSubscribeProcessSpan(messageWrapper); + loggingUtil.logSubscriber( + LoggingUtil.SubSystem.CALLBACK_DELIVERY, + Level.FINE, + "Message delivered.", + messageWrapper, + ackHandler.ackRequestData.getAckId(), + exactlyOnceDeliveryEnabled.get()); if (shouldSetMessageFuture()) { // This is the message future that is propagated to the user SettableApiFuture messageFuture = @@ -725,7 +791,6 @@ void processOutstandingOperations() { if (!nackRequestDataList.isEmpty()) { modackRequestData.add(new ModackRequestData(0, nackRequestDataList)); } - logger.log(Level.FINER, "Sending {0} nacks", nackRequestDataList.size()); List ackRequestDataReceipts = new ArrayList(); pendingReceipts.drainTo(ackRequestDataReceipts); @@ -735,13 +800,21 @@ void processOutstandingOperations() { receiptModack.setIsReceiptModack(true); modackRequestData.add(receiptModack); } - logger.log(Level.FINER, "Sending {0} receipts", ackRequestDataReceipts.size()); ackProcessor.sendModackOperations(modackRequestData); List ackRequestDataList = new ArrayList(); pendingAcks.drainTo(ackRequestDataList); - logger.log(Level.FINER, "Sending {0} acks", ackRequestDataList.size()); + loggingUtil.logEvent( + LoggingUtil.SubSystem.ACK_BATCH, + Level.FINE, + "Sending {0} ACKs, {1} NACKs, {2} receipts. Exactly Once Delivery: {3}", + new Object[] { + ackRequestDataList.size(), + nackRequestDataList.size(), + ackRequestDataReceipts.size(), + exactlyOnceDeliveryEnabled.get() + }); ackProcessor.sendAckOperations(ackRequestDataList); } diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java index 113cbf932..43012bcfc 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java @@ -94,6 +94,7 @@ */ public class Publisher implements PublisherInterface { private static final Logger logger = Logger.getLogger(Publisher.class.getName()); + private LoggingUtil loggingUtil = new LoggingUtil(); private static final String GZIP_COMPRESSION = "gzip"; @@ -509,6 +510,13 @@ private void publishOutstandingBatch(final OutstandingBatch outstandingBatch) { logger.log(Level.WARNING, "Attempted to publish batch with zero messages."); return; } + + loggingUtil.logPublisher( + LoggingUtil.SubSystem.PUBLISH_BATCH, + Level.FINE, + String.format("Attempting to batch publish %d messages", outstandingBatch.size()), + outstandingBatch.getMessageWrappers().get(0)); + final ApiFutureCallback futureCallback = new ApiFutureCallback() { @Override diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java index 2ee077597..24c580b6c 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java @@ -77,6 +77,7 @@ final class StreamingSubscriberConnection extends AbstractApiService implements AckProcessor { private static final Logger logger = Logger.getLogger(StreamingSubscriberConnection.class.getName()); + private LoggingUtil loggingUtil = new LoggingUtil(); private static final Duration INITIAL_CHANNEL_RECONNECT_BACKOFF = Duration.ofMillis(100); private static final Duration MAX_CHANNEL_RECONNECT_BACKOFF = Duration.ofSeconds(10); @@ -222,6 +223,8 @@ public boolean getExactlyOnceDeliveryEnabled() { @Override protected void doStart() { logger.config("Starting subscriber."); + loggingUtil.logEvent( + LoggingUtil.SubSystem.SUBSCRIBER_STREAMS, Level.FINE, "Opening stream.", ""); messageDispatcher.start(); initialize(); notifyStarted(); @@ -229,6 +232,8 @@ protected void doStart() { @Override protected void doStop() { + loggingUtil.logEvent( + LoggingUtil.SubSystem.SUBSCRIBER_STREAMS, Level.FINE, "Closing stream.", ""); lock.lock(); try { clientStream.closeSendWithError(Status.CANCELLED.asException()); From c7ecd2b5aac2719ca55a93d6bd5b9afc9aeb5a9c Mon Sep 17 00:00:00 2001 From: Mike Prieto Date: Tue, 17 Feb 2026 11:27:17 -0500 Subject: [PATCH 30/62] fix: Do not use directExecutor() for the publish callback when ordering is enabled (#2693) --- .../src/main/java/com/google/cloud/pubsub/v1/Publisher.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java index 43012bcfc..56c920bcf 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java @@ -66,6 +66,7 @@ import java.util.Map; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; +import java.util.concurrent.Executor; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; @@ -569,6 +570,7 @@ public void onFailure(Throwable t) { }; ApiFuture future; + Executor callbackExecutor = directExecutor(); if (outstandingBatch.orderingKey == null || outstandingBatch.orderingKey.isEmpty()) { future = publishCall(outstandingBatch); } else { @@ -581,8 +583,9 @@ public ApiFuture call() { return publishCall(outstandingBatch); } }); + callbackExecutor = this.executor; } - ApiFutures.addCallback(future, futureCallback, directExecutor()); + ApiFutures.addCallback(future, futureCallback, callbackExecutor); } private final class OutstandingBatch { From f5873061843b08405b0d9e70849bdc37a935697c Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 18 Feb 2026 16:22:41 -0500 Subject: [PATCH 31/62] chore: replace api-pubsub and yoshi-java with updated names (#2695) b/478003109 --- .github/CODEOWNERS | 24 ++++++++++++------------ .github/sync-repo-settings.yaml | 2 +- .repo-metadata.json | 2 +- generation_config.yaml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 02da5de55..3a6e0dbe4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,23 +4,23 @@ # For syntax help see: # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax -# The @googleapis/api-pubsub is the default owner for changes in this repo -* @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +# The @googleapis/pubsub-team is the default owner for changes in this repo +* @googleapis/cloud-sdk-java-team @googleapis/pubsub-team # for handwritten libraries, keep codeowner_team in .repo-metadata.json as owner -**/*.java @googleapis/api-pubsub +**/*.java @googleapis/pubsub-team # For generated Java code -proto-*/ @googleapis/cloud-sdk-java-team @googleapis/api-pubsub -grpc-*/ @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +proto-*/ @googleapis/cloud-sdk-java-team @googleapis/pubsub-team +grpc-*/ @googleapis/cloud-sdk-java-team @googleapis/pubsub-team # Generated code pattern in google-cloud-pubsub -**/*Client.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub -**/*Settings.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub -**/*ClientHttpJsonTest.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub -**/*ClientTest.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub -google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/** @googleapis/cloud-sdk-java-team @googleapis/api-pubsub -google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java @googleapis/cloud-sdk-java-team @googleapis/api-pubsub -google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/Mock* @googleapis/cloud-sdk-java-team @googleapis/api-pubsub +**/*Client.java @googleapis/cloud-sdk-java-team @googleapis/pubsub-team +**/*Settings.java @googleapis/cloud-sdk-java-team @googleapis/pubsub-team +**/*ClientHttpJsonTest.java @googleapis/cloud-sdk-java-team @googleapis/pubsub-team +**/*ClientTest.java @googleapis/cloud-sdk-java-team @googleapis/pubsub-team +google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/** @googleapis/cloud-sdk-java-team @googleapis/pubsub-team +google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java @googleapis/cloud-sdk-java-team @googleapis/pubsub-team +google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/Mock* @googleapis/cloud-sdk-java-team @googleapis/pubsub-team # The java-samples-reviewers team is the default owner for samples changes samples/**/*.java @googleapis/java-samples-reviewers diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index ce658ac8d..1f09ebd60 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -239,5 +239,5 @@ permissionRules: permission: admin - team: yoshi-java-admins permission: admin - - team: yoshi-java + - team: cloud-sdk-java-team permission: push diff --git a/.repo-metadata.json b/.repo-metadata.json index 0c8364b05..31cf00630 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -14,7 +14,7 @@ "library_type": "GAPIC_COMBO", "requires_billing": true, "api_reference": "https://cloud.google.com/pubsub/", - "codeowner_team": "@googleapis/api-pubsub", + "codeowner_team": "@googleapis/pubsub-team", "issue_tracker": "https://issuetracker.google.com/savedsearches/559741", "recommended_package": "com.google.cloud.pubsub.v1" } \ No newline at end of file diff --git a/generation_config.yaml b/generation_config.yaml index 31ade0ccf..cba64deff 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -14,7 +14,7 @@ libraries: repo: googleapis/java-pubsub repo_short: java-pubsub distribution_name: com.google.cloud:google-cloud-pubsub - codeowner_team: '@googleapis/api-pubsub' + codeowner_team: '@googleapis/pubsub-team' api_id: pubsub.googleapis.com library_type: GAPIC_COMBO requires_billing: true From 18562b4f13385bc4231beb8a2248ba6a7fa1f469 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 24 Feb 2026 16:03:46 +0000 Subject: [PATCH 32/62] chore(deps): update dependency com.google.cloud:google-cloud-pubsub to v1.148.0 (#2675) --- samples/install-without-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 28ccba7f2..01f474f4c 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -44,7 +44,7 @@ com.google.cloud google-cloud-pubsub - 1.146.0 + 1.148.0 From 2a1ebea9d101cc650e1276e30063f87193eb1f6e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 24 Feb 2026 16:04:04 +0000 Subject: [PATCH 33/62] deps: update dependency com.google.cloud:google-cloud-storage to v2.63.0 (#2676) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 01f474f4c..ad751db16 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -91,7 +91,7 @@ com.google.cloud google-cloud-storage - 2.62.0 + 2.63.0 com.google.cloud.opentelemetry diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index d19b2c592..bbce3aaba 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -90,7 +90,7 @@ com.google.cloud google-cloud-storage - 2.62.0 + 2.63.0 com.google.cloud.opentelemetry From 70b781c51dc82de76ff1417c1c0ab4b012cb7cc0 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 24 Feb 2026 16:04:21 +0000 Subject: [PATCH 34/62] deps: update dependency com.google.protobuf:protobuf-java-util to v4.33.5 (#2678) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index ad751db16..637f340cd 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -75,7 +75,7 @@ com.google.protobuf protobuf-java-util - 4.33.4 + 4.33.5 com.google.cloud diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index bbce3aaba..0208724b3 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -61,7 +61,7 @@ com.google.protobuf protobuf-java-util - 4.33.4 + 4.33.5 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 7c5e65b08..e1366e700 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -85,7 +85,7 @@ com.google.protobuf protobuf-java-util - 4.33.4 + 4.33.5 From 4b18e88c2620b82d013c5378f9132d56fc17704f Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 24 Feb 2026 16:04:34 +0000 Subject: [PATCH 35/62] chore(deps): update dependency com.google.cloud:libraries-bom to v26.76.0 (#2679) --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index e1366e700..e3569da1c 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -45,7 +45,7 @@ com.google.cloud libraries-bom - 26.74.0 + 26.76.0 pom import From e291b0d98d576f0beceb49af002fc501ad31683f Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 24 Feb 2026 16:04:49 +0000 Subject: [PATCH 36/62] deps: update dependency com.google.cloud:google-cloud-core to v2.65.0 (#2681) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 637f340cd..72593243d 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -80,7 +80,7 @@ com.google.cloud google-cloud-core - 2.64.0 + 2.65.0 tests diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 0208724b3..7b6329efc 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -79,7 +79,7 @@ com.google.cloud google-cloud-core - 2.64.0 + 2.65.0 tests diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index e3569da1c..42f69ff4a 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -103,7 +103,7 @@ com.google.cloud google-cloud-core - 2.64.0 + 2.65.0 tests From 9d5fa5b04c633879567b2025bc045ef2e6b48b59 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 24 Feb 2026 16:05:08 +0000 Subject: [PATCH 37/62] deps: update googleapis/sdk-platform-java action to v2.67.0 (#2683) --- .github/workflows/hermetic_library_generation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index d1a4b69f7..ef71d4f6a 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.66.0 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.67.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} From dd02393c586de6cfe7d91d9579a490533876c7f1 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 24 Feb 2026 16:05:31 +0000 Subject: [PATCH 38/62] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.57.0 (#2696) --- .github/workflows/unmanaged_dependency_check.yaml | 2 +- google-cloud-pubsub-bom/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index f480e1e24..87add3353 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -17,6 +17,6 @@ jobs: # repository .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.56.1 + uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.57.0 with: bom-path: google-cloud-pubsub-bom/pom.xml diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index b48b9bbc6..bf8eeede2 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud sdk-platform-java-config - 3.56.1 + 3.57.0 Google Cloud pubsub BOM diff --git a/pom.xml b/pom.xml index 55d3cdc6b..f755e02f3 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud sdk-platform-java-config - 3.56.1 + 3.57.0 From bed94648ceede888a244d21082b7e403fbae0aaa Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 24 Feb 2026 16:05:44 +0000 Subject: [PATCH 39/62] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.59.0 (#2690) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 72593243d..f5f4ee888 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-bigquery - 2.58.0 + 2.59.0 com.google.cloud diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 7b6329efc..770851b54 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -85,7 +85,7 @@ com.google.cloud google-cloud-bigquery - 2.58.0 + 2.59.0 com.google.cloud From f95abb7071d14a5235155af7b4cd52ea0457bc27 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 26 Feb 2026 14:24:10 -0500 Subject: [PATCH 40/62] chore: Add LoggingUtil.java to be preserved (#2698) * chore: Add LoggingUtil.java to be preserved * chore: generate libraries at Thu Feb 26 19:00:55 UTC 2026 --------- Co-authored-by: cloud-java-bot --- .github/.OwlBot-hermetic.yaml | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot-hermetic.yaml b/.github/.OwlBot-hermetic.yaml index d426d10ea..85ecbdeb5 100644 --- a/.github/.OwlBot-hermetic.yaml +++ b/.github/.OwlBot-hermetic.yaml @@ -68,6 +68,7 @@ deep-preserve-regex: - "/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriberShutdownSettings.java" - "/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriberStats.java" - "/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Waiter.java" +- "/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/LoggingUtil.java" deep-copy-regex: - source: "/google/pubsub/(v.*)/.*-java/proto-google-.*/src" diff --git a/README.md b/README.md index 46a08b0bf..0908ab37b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.74.0 + 26.76.0 pom import @@ -43,7 +43,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-pubsub - 1.146.0 + 1.148.0 ``` From c5ad5cee83605a4e2a9ddf07913aec2fdd522fef Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 15:03:12 -0500 Subject: [PATCH 41/62] chore(main): release 1.148.1-SNAPSHOT (#2689) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index bf8eeede2..fc5b77f23 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.148.0 + 1.148.1-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.148.0 + 1.148.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.130.0 + 1.130.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.130.0 + 1.130.1-SNAPSHOT diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 3308cdcd1..188f542af 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.148.0 + 1.148.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.148.0 + 1.148.1-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 2550d1719..962a25751 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.130.0 + 1.130.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.148.0 + 1.148.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index f755e02f3..484406659 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.148.0 + 1.148.1-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.130.0 + 1.130.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.130.0 + 1.130.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.148.0 + 1.148.1-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index b4fd8af4c..7814e2d2f 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.130.0 + 1.130.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.148.0 + 1.148.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 770851b54..08e9e6fdf 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.148.0 + 1.148.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 4d5a1a8ff..efe90b7fb 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.148.0:1.148.0 -grpc-google-cloud-pubsub-v1:1.130.0:1.130.0 -proto-google-cloud-pubsub-v1:1.130.0:1.130.0 +google-cloud-pubsub:1.148.0:1.148.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.130.0:1.130.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.130.0:1.130.1-SNAPSHOT From c85f4eaaf2b28e7c0c544d5a4a92a197112e7723 Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Thu, 26 Feb 2026 15:58:36 -0500 Subject: [PATCH 42/62] chore: Update generation configuration at Thu Feb 26 20:11:10 UTC 2026 (#2671) * chore: Update generation configuration at Tue Jan 27 02:48:00 UTC 2026 * chore: Update generation configuration at Wed Jan 28 02:45:19 UTC 2026 * chore: Update generation configuration at Thu Jan 29 02:58:14 UTC 2026 * chore: Update generation configuration at Fri Jan 30 02:59:03 UTC 2026 * chore: Update generation configuration at Sat Jan 31 02:55:08 UTC 2026 * chore: generate libraries at Sat Jan 31 02:55:36 UTC 2026 * chore: Update generation configuration at Sun Feb 1 03:05:25 UTC 2026 * chore: Update generation configuration at Tue Feb 3 03:02:24 UTC 2026 * chore: Update generation configuration at Wed Feb 4 03:00:02 UTC 2026 * chore: Update generation configuration at Thu Feb 5 03:01:27 UTC 2026 * chore: generate libraries at Thu Feb 5 03:01:57 UTC 2026 * chore: Update generation configuration at Fri Feb 6 03:00:39 UTC 2026 * chore: Update generation configuration at Sat Feb 7 02:57:26 UTC 2026 * chore: Update generation configuration at Tue Feb 10 03:05:35 UTC 2026 * chore: Update generation configuration at Wed Feb 11 03:05:47 UTC 2026 * chore: Update generation configuration at Thu Feb 12 03:05:23 UTC 2026 * chore: Update generation configuration at Fri Feb 13 03:05:24 UTC 2026 * chore: generate libraries at Fri Feb 13 03:05:55 UTC 2026 * chore: Update generation configuration at Sat Feb 14 02:59:26 UTC 2026 * chore: Update generation configuration at Sun Feb 15 03:05:15 UTC 2026 * chore: generate libraries at Sun Feb 15 03:05:44 UTC 2026 * chore: Update generation configuration at Tue Feb 17 03:02:46 UTC 2026 * chore: Update generation configuration at Wed Feb 18 03:03:55 UTC 2026 * chore: Update generation configuration at Thu Feb 19 03:03:15 UTC 2026 * chore: Update generation configuration at Fri Feb 20 03:01:16 UTC 2026 * chore: generate libraries at Fri Feb 20 03:01:49 UTC 2026 * chore: Update generation configuration at Sat Feb 21 02:56:46 UTC 2026 * chore: Update generation configuration at Tue Feb 24 03:03:00 UTC 2026 * chore: Update generation configuration at Wed Feb 25 03:03:27 UTC 2026 * chore: generate libraries at Wed Feb 25 03:03:54 UTC 2026 * chore: Update generation configuration at Thu Feb 26 03:01:04 UTC 2026 * chore: Update generation configuration at Thu Feb 26 20:11:10 UTC 2026 * chore: Add deleted LoggingUtil class * chore: Fix lint issues --------- Co-authored-by: Lawrence Qiu --- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- README.md | 2 +- generation_config.yaml | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index af4115f37..b113cf7c7 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.57.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 33056bc06..1f91aa678 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.57.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index 8a6c25f49..53a7b7d63 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.56.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.57.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index 0908ab37b..2339aa3d7 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.74.0') +implementation platform('com.google.cloud:libraries-bom:26.76.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` diff --git a/generation_config.yaml b/generation_config.yaml index cba64deff..86168938d 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.66.0 -googleapis_commitish: 2ac88973cbafba24e4fb6f31038e0c76174ae704 -libraries_bom_version: 26.74.0 +gapic_generator_version: 2.67.0 +googleapis_commitish: 9637e50bc0ff6a5e8944980aaf6a2b7f34a90910 +libraries_bom_version: 26.76.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub From d263eeff08e191f98d32a80a8dd153400428ef09 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 17:53:34 -0500 Subject: [PATCH 43/62] chore(main): release 1.149.0 (#2699) * chore(main): release 1.149.0 * chore: generate libraries at Thu Feb 26 20:59:24 UTC 2026 --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot --- CHANGELOG.md | 23 +++++++++++++++++++++++ README.md | 6 +++--- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 44 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d4fa5fbd..7d86617e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [1.149.0](https://github.com/googleapis/java-pubsub/compare/v1.148.0...v1.149.0) (2026-02-26) + + +### Features + +* Add client library debug logging ([c4e10b9](https://github.com/googleapis/java-pubsub/commit/c4e10b95880d0db61b62e89c58d269c755d9e11e)) + + +### Bug Fixes + +* **deps:** Update the Java code generator (gapic-generator-java) to 2.67.0 ([c85f4ea](https://github.com/googleapis/java-pubsub/commit/c85f4eaaf2b28e7c0c544d5a4a92a197112e7723)) +* Do not use directExecutor() for the publish callback when ordering is enabled ([#2693](https://github.com/googleapis/java-pubsub/issues/2693)) ([c7ecd2b](https://github.com/googleapis/java-pubsub/commit/c7ecd2b5aac2719ca55a93d6bd5b9afc9aeb5a9c)) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-bigquery to v2.59.0 ([#2690](https://github.com/googleapis/java-pubsub/issues/2690)) ([bed9464](https://github.com/googleapis/java-pubsub/commit/bed94648ceede888a244d21082b7e403fbae0aaa)) +* Update dependency com.google.cloud:google-cloud-core to v2.65.0 ([#2681](https://github.com/googleapis/java-pubsub/issues/2681)) ([e291b0d](https://github.com/googleapis/java-pubsub/commit/e291b0d98d576f0beceb49af002fc501ad31683f)) +* Update dependency com.google.cloud:google-cloud-storage to v2.63.0 ([#2676](https://github.com/googleapis/java-pubsub/issues/2676)) ([2a1ebea](https://github.com/googleapis/java-pubsub/commit/2a1ebea9d101cc650e1276e30063f87193eb1f6e)) +* Update dependency com.google.cloud:sdk-platform-java-config to v3.57.0 ([#2696](https://github.com/googleapis/java-pubsub/issues/2696)) ([dd02393](https://github.com/googleapis/java-pubsub/commit/dd02393c586de6cfe7d91d9579a490533876c7f1)) +* Update dependency com.google.protobuf:protobuf-java-util to v4.33.5 ([#2678](https://github.com/googleapis/java-pubsub/issues/2678)) ([70b781c](https://github.com/googleapis/java-pubsub/commit/70b781c51dc82de76ff1417c1c0ab4b012cb7cc0)) +* Update googleapis/sdk-platform-java action to v2.67.0 ([#2683](https://github.com/googleapis/java-pubsub/issues/2683)) ([9d5fa5b](https://github.com/googleapis/java-pubsub/commit/9d5fa5b04c633879567b2025bc045ef2e6b48b59)) + ## [1.148.0](https://github.com/googleapis/java-pubsub/compare/v1.147.0...v1.148.0) (2026-02-11) diff --git a/README.md b/README.md index 2339aa3d7..3756b7602 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.148.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.149.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.148.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.149.0" ``` ## Authentication @@ -401,7 +401,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.148.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.149.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index fc5b77f23..1b9fae9f0 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.148.1-SNAPSHOT + 1.149.0 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.148.1-SNAPSHOT + 1.149.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.130.1-SNAPSHOT + 1.131.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.130.1-SNAPSHOT + 1.131.0 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 188f542af..d6b1e963b 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.148.1-SNAPSHOT + 1.149.0 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.148.1-SNAPSHOT + 1.149.0 google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 962a25751..f9e5777ee 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.130.1-SNAPSHOT + 1.131.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.148.1-SNAPSHOT + 1.149.0 diff --git a/pom.xml b/pom.xml index 484406659..6929c5e65 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.148.1-SNAPSHOT + 1.149.0 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.130.1-SNAPSHOT + 1.131.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.130.1-SNAPSHOT + 1.131.0 com.google.cloud google-cloud-pubsub - 1.148.1-SNAPSHOT + 1.149.0 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 7814e2d2f..ecbb177ae 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.130.1-SNAPSHOT + 1.131.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.148.1-SNAPSHOT + 1.149.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 08e9e6fdf..b5fd7b23a 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.148.1-SNAPSHOT + 1.149.0 diff --git a/versions.txt b/versions.txt index efe90b7fb..69040dab2 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.148.0:1.148.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.130.0:1.130.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.130.0:1.130.1-SNAPSHOT +google-cloud-pubsub:1.149.0:1.149.0 +grpc-google-cloud-pubsub-v1:1.131.0:1.131.0 +proto-google-cloud-pubsub-v1:1.131.0:1.131.0 From 39378352cae559874f3e16f52d34e55eeadaec9c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 12:58:03 -0700 Subject: [PATCH 44/62] chore(main): release 1.149.1-SNAPSHOT (#2700) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 1b9fae9f0..02df40a40 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.149.0 + 1.149.1-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.149.0 + 1.149.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.131.0 + 1.131.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.131.0 + 1.131.1-SNAPSHOT diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index d6b1e963b..c7914ddef 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.149.0 + 1.149.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.149.0 + 1.149.1-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index f9e5777ee..aac991b79 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.131.0 + 1.131.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.149.0 + 1.149.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 6929c5e65..706b5ca7f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.149.0 + 1.149.1-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.131.0 + 1.131.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.131.0 + 1.131.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.149.0 + 1.149.1-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index ecbb177ae..797014929 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.131.0 + 1.131.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.149.0 + 1.149.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index b5fd7b23a..b96ea4c33 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.149.0 + 1.149.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 69040dab2..56826c969 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.149.0:1.149.0 -grpc-google-cloud-pubsub-v1:1.131.0:1.131.0 -proto-google-cloud-pubsub-v1:1.131.0:1.131.0 +google-cloud-pubsub:1.149.0:1.149.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.131.0:1.131.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.131.0:1.131.1-SNAPSHOT From e82a6ff52154f3acaaf8195a90e2966666353609 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 20 Mar 2026 21:11:21 +0000 Subject: [PATCH 45/62] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.58.0 (#2709) --- .github/workflows/unmanaged_dependency_check.yaml | 2 +- google-cloud-pubsub-bom/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index 87add3353..8208170cc 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -17,6 +17,6 @@ jobs: # repository .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.57.0 + uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.58.0 with: bom-path: google-cloud-pubsub-bom/pom.xml diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 02df40a40..0e7f09f74 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud sdk-platform-java-config - 3.57.0 + 3.58.0 Google Cloud pubsub BOM diff --git a/pom.xml b/pom.xml index 706b5ca7f..5a46cddd4 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud sdk-platform-java-config - 3.57.0 + 3.58.0 From f69de7ee2cb5b96adbf3fc5b11e1f8a3bbbd0bee Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Fri, 20 Mar 2026 17:30:54 -0400 Subject: [PATCH 46/62] chore: Update generation configuration at Fri Mar 20 03:01:07 UTC 2026 (#2703) * chore: Update generation configuration at Fri Feb 27 03:00:12 UTC 2026 * chore: Update generation configuration at Sat Feb 28 02:50:18 UTC 2026 * chore: Update generation configuration at Tue Mar 3 03:03:04 UTC 2026 * chore: Update generation configuration at Wed Mar 4 02:58:16 UTC 2026 * chore: Update generation configuration at Thu Mar 5 03:00:09 UTC 2026 * chore: generate libraries at Thu Mar 5 03:00:45 UTC 2026 * chore: Update generation configuration at Fri Mar 6 02:59:58 UTC 2026 * chore: Update generation configuration at Sat Mar 7 02:53:29 UTC 2026 * chore: Update generation configuration at Tue Mar 10 02:58:26 UTC 2026 * chore: Update generation configuration at Wed Mar 11 02:57:53 UTC 2026 * chore: Update generation configuration at Thu Mar 12 03:01:35 UTC 2026 * chore: Update generation configuration at Fri Mar 13 02:59:40 UTC 2026 * chore: Update generation configuration at Sat Mar 14 02:58:26 UTC 2026 * chore: generate libraries at Sat Mar 14 02:58:53 UTC 2026 * chore: Update generation configuration at Tue Mar 17 03:02:03 UTC 2026 * chore: Update generation configuration at Wed Mar 18 03:05:29 UTC 2026 * chore: generate libraries at Wed Mar 18 03:05:56 UTC 2026 * chore: Update generation configuration at Thu Mar 19 03:05:36 UTC 2026 * chore: Update generation configuration at Fri Mar 20 03:01:07 UTC 2026 --------- Co-authored-by: Lawrence Qiu --- .../hermetic_library_generation.yaml | 2 +- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- README.md | 2 +- generation_config.yaml | 6 +- .../pubsub/v1/SubscriptionAdminClient.java | 2 + .../pubsub/v1/stub/PublisherStubSettings.java | 10 + .../v1/stub/SchemaServiceStubSettings.java | 10 + .../v1/stub/SubscriberStubSettings.java | 10 + .../reflect-config.json | 27 + .../SubscriptionAdminClientHttpJsonTest.java | 10 + .../v1/SubscriptionAdminClientTest.java | 8 + .../com/google/pubsub/v1/BigtableConfig.java | 1650 +++++++++++++++++ .../pubsub/v1/BigtableConfigOrBuilder.java | 176 ++ .../com/google/pubsub/v1/PubsubProto.java | 457 ++--- .../com/google/pubsub/v1/PullRequest.java | 8 +- .../pubsub/v1/PullRequestOrBuilder.java | 2 +- .../com/google/pubsub/v1/Subscription.java | 584 ++++-- .../pubsub/v1/SubscriptionOrBuilder.java | 46 + .../main/proto/google/pubsub/v1/pubsub.proto | 82 + 21 files changed, 2744 insertions(+), 354 deletions(-) create mode 100644 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfig.java create mode 100644 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfigOrBuilder.java diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index ef71d4f6a..1b1f157b2 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.67.0 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.68.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index b113cf7c7..de4ac9dbf 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.57.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.58.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 1f91aa678..d8ae3b322 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.57.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.58.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index 53a7b7d63..0e9d1203a 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.57.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.58.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index 3756b7602..b12fbeaac 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.76.0') +implementation platform('com.google.cloud:libraries-bom:26.78.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` diff --git a/generation_config.yaml b/generation_config.yaml index 86168938d..5da7557e5 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.67.0 -googleapis_commitish: 9637e50bc0ff6a5e8944980aaf6a2b7f34a90910 -libraries_bom_version: 26.76.0 +gapic_generator_version: 2.68.0 +googleapis_commitish: c063f49852ce7fc08c722c87f3a6f676209985a2 +libraries_bom_version: 26.78.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub 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 d82b6afa4..26a764dab 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 @@ -866,6 +866,7 @@ public final Subscription createSubscription( * .setPushConfig(PushConfig.newBuilder().build()) * .setBigqueryConfig(BigQueryConfig.newBuilder().build()) * .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + * .setBigtableConfig(BigtableConfig.newBuilder().build()) * .setAckDeadlineSeconds(2135351438) * .setRetainAckedMessages(true) * .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -1133,6 +1134,7 @@ public final Subscription createSubscription( * .setPushConfig(PushConfig.newBuilder().build()) * .setBigqueryConfig(BigQueryConfig.newBuilder().build()) * .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + * .setBigtableConfig(BigtableConfig.newBuilder().build()) * .setAckDeadlineSeconds(2135351438) * .setRetainAckedMessages(true) * .setMessageRetentionDuration(Duration.newBuilder().build()) diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java index f8f9d766a..ed148fe35 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java @@ -45,6 +45,7 @@ import com.google.api.gax.rpc.BatchingCallSettings; import com.google.api.gax.rpc.BatchingDescriptor; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.LibraryMetadata; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.PagedCallSettings; import com.google.api.gax.rpc.PagedListDescriptor; @@ -135,6 +136,7 @@ * retries. */ @Generated("by gapic-generator-java") +@SuppressWarnings("CanonicalDuration") public class PublisherStubSettings extends StubSettings { /** The default scopes of the service. */ private static final ImmutableList DEFAULT_SERVICE_SCOPES = @@ -595,6 +597,14 @@ protected PublisherStubSettings(Builder settingsBuilder) throws IOException { testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); } + @Override + protected LibraryMetadata getLibraryMetadata() { + return LibraryMetadata.newBuilder() + .setArtifactName("com.google.cloud:google-cloud-pubsub") + .setRepository("googleapis/java-pubsub") + .build(); + } + /** Builder for PublisherStubSettings. */ public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java index 3f728307c..1509bd98e 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java @@ -36,6 +36,7 @@ import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.LibraryMetadata; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.PagedCallSettings; import com.google.api.gax.rpc.PagedListDescriptor; @@ -126,6 +127,7 @@ * retries. */ @Generated("by gapic-generator-java") +@SuppressWarnings("CanonicalDuration") public class SchemaServiceStubSettings extends StubSettings { /** The default scopes of the service. */ private static final ImmutableList DEFAULT_SERVICE_SCOPES = @@ -460,6 +462,14 @@ protected SchemaServiceStubSettings(Builder settingsBuilder) throws IOException testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); } + @Override + protected LibraryMetadata getLibraryMetadata() { + return LibraryMetadata.newBuilder() + .setArtifactName("com.google.cloud:google-cloud-pubsub") + .setRepository("googleapis/java-pubsub") + .build(); + } + /** Builder for SchemaServiceStubSettings. */ public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java index e3489bb58..82446684a 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java @@ -36,6 +36,7 @@ import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.LibraryMetadata; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.PagedCallSettings; import com.google.api.gax.rpc.PagedListDescriptor; @@ -134,6 +135,7 @@ * retries. */ @Generated("by gapic-generator-java") +@SuppressWarnings("CanonicalDuration") public class SubscriberStubSettings extends StubSettings { /** The default scopes of the service. */ private static final ImmutableList DEFAULT_SERVICE_SCOPES = @@ -510,6 +512,14 @@ protected SubscriberStubSettings(Builder settingsBuilder) throws IOException { testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); } + @Override + protected LibraryMetadata getLibraryMetadata() { + return LibraryMetadata.newBuilder() + .setArtifactName("com.google.cloud:google-cloud-pubsub") + .setRepository("googleapis/java-pubsub") + .build(); + } + /** Builder for SubscriberStubSettings. */ public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; diff --git a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json index 885e01e89..e3938470a 100644 --- a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json +++ b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json @@ -1664,6 +1664,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.pubsub.v1.BigtableConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.pubsub.v1.BigtableConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.pubsub.v1.BigtableConfig$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.pubsub.v1.CloudStorageConfig", "queryAllDeclaredConstructors": true, diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java index 128e6e2f6..8ec2cdfab 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java @@ -44,6 +44,7 @@ import com.google.protobuf.FieldMask; import com.google.protobuf.Timestamp; import com.google.pubsub.v1.BigQueryConfig; +import com.google.pubsub.v1.BigtableConfig; import com.google.pubsub.v1.CloudStorageConfig; import com.google.pubsub.v1.DeadLetterPolicy; import com.google.pubsub.v1.ExpirationPolicy; @@ -120,6 +121,7 @@ public void createSubscriptionTest() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -191,6 +193,7 @@ public void createSubscriptionTest2() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -262,6 +265,7 @@ public void createSubscriptionTest3() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -333,6 +337,7 @@ public void createSubscriptionTest4() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -404,6 +409,7 @@ public void getSubscriptionTest() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -468,6 +474,7 @@ public void getSubscriptionTest2() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -532,6 +539,7 @@ public void updateSubscriptionTest() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -558,6 +566,7 @@ public void updateSubscriptionTest() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -610,6 +619,7 @@ public void updateSubscriptionExceptionTest() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java index 552249455..7df554b6d 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java @@ -47,6 +47,7 @@ import com.google.protobuf.Timestamp; import com.google.pubsub.v1.AcknowledgeRequest; import com.google.pubsub.v1.BigQueryConfig; +import com.google.pubsub.v1.BigtableConfig; import com.google.pubsub.v1.CloudStorageConfig; import com.google.pubsub.v1.CreateSnapshotRequest; import com.google.pubsub.v1.DeadLetterPolicy; @@ -146,6 +147,7 @@ public void createSubscriptionTest() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -214,6 +216,7 @@ public void createSubscriptionTest2() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -282,6 +285,7 @@ public void createSubscriptionTest3() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -350,6 +354,7 @@ public void createSubscriptionTest4() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -418,6 +423,7 @@ public void getSubscriptionTest() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -476,6 +482,7 @@ public void getSubscriptionTest2() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) @@ -534,6 +541,7 @@ public void updateSubscriptionTest() throws Exception { .setPushConfig(PushConfig.newBuilder().build()) .setBigqueryConfig(BigQueryConfig.newBuilder().build()) .setCloudStorageConfig(CloudStorageConfig.newBuilder().build()) + .setBigtableConfig(BigtableConfig.newBuilder().build()) .setAckDeadlineSeconds(2135351438) .setRetainAckedMessages(true) .setMessageRetentionDuration(Duration.newBuilder().build()) diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfig.java new file mode 100644 index 000000000..38cafb2e0 --- /dev/null +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfig.java @@ -0,0 +1,1650 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 + +package com.google.pubsub.v1; + +/** + * + * + *
+ * Configuration for a Bigtable subscription. The Pub/Sub message will be
+ * written to a Bigtable row as follows:
+ * - row key: subscription name and message ID delimited by #.
+ * - columns: message bytes written to a single column family "data" with an
+ * empty-string column qualifier.
+ * - cell timestamp: the message publish timestamp.
+ * 
+ * + * Protobuf type {@code google.pubsub.v1.BigtableConfig} + */ +@com.google.protobuf.Generated +public final class BigtableConfig extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.BigtableConfig) + BigtableConfigOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "BigtableConfig"); + } + + // Use BigtableConfig.newBuilder() to construct. + private BigtableConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private BigtableConfig() { + table_ = ""; + appProfileId_ = ""; + serviceAccountEmail_ = ""; + state_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_BigtableConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_BigtableConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.BigtableConfig.class, + com.google.pubsub.v1.BigtableConfig.Builder.class); + } + + /** + * + * + *
+   * Possible states for a Bigtable subscription.
+   * Note: more states could be added in the future. Please code accordingly.
+   * 
+ * + * Protobuf enum {@code google.pubsub.v1.BigtableConfig.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value. This value is unused.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+     * The subscription can actively send messages to Bigtable.
+     * 
+ * + * ACTIVE = 1; + */ + ACTIVE(1), + /** + * + * + *
+     * Cannot write to Bigtable because the instance, table, or app profile
+     * does not exist.
+     * 
+ * + * NOT_FOUND = 2; + */ + NOT_FOUND(2), + /** + * + * + *
+     * Cannot write to Bigtable because the app profile is not configured for
+     * single-cluster routing.
+     * 
+ * + * APP_PROFILE_MISCONFIGURED = 3; + */ + APP_PROFILE_MISCONFIGURED(3), + /** + * + * + *
+     * Cannot write to Bigtable because of permission denied errors.
+     * This can happen if:
+     * - The Pub/Sub service agent has not been granted the
+     * [appropriate Bigtable IAM permission
+     * bigtable.tables.mutateRows]({$universe.dns_names.final_documentation_domain}/bigtable/docs/access-control#permissions)
+     * - The bigtable.googleapis.com API is not enabled for the project
+     * ([instructions]({$universe.dns_names.final_documentation_domain}/service-usage/docs/enable-disable))
+     * 
+ * + * PERMISSION_DENIED = 4; + */ + PERMISSION_DENIED(4), + /** + * + * + *
+     * Cannot write to Bigtable because of a missing column family ("data") or
+     * if there is no structured row key for the subscription name + message ID.
+     * 
+ * + * SCHEMA_MISMATCH = 5; + */ + SCHEMA_MISMATCH(5), + /** + * + * + *
+     * Cannot write to the destination because enforce_in_transit is set to true
+     * and the destination locations are not in the allowed regions.
+     * 
+ * + * IN_TRANSIT_LOCATION_RESTRICTION = 6; + */ + IN_TRANSIT_LOCATION_RESTRICTION(6), + /** + * + * + *
+     * Cannot write to Bigtable because the table is not in the same location as
+     * where Vertex AI models used in `message_transform`s are deployed.
+     * 
+ * + * VERTEX_AI_LOCATION_RESTRICTION = 7; + */ + VERTEX_AI_LOCATION_RESTRICTION(7), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + + /** + * + * + *
+     * Default value. This value is unused.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * The subscription can actively send messages to Bigtable.
+     * 
+ * + * ACTIVE = 1; + */ + public static final int ACTIVE_VALUE = 1; + + /** + * + * + *
+     * Cannot write to Bigtable because the instance, table, or app profile
+     * does not exist.
+     * 
+ * + * NOT_FOUND = 2; + */ + public static final int NOT_FOUND_VALUE = 2; + + /** + * + * + *
+     * Cannot write to Bigtable because the app profile is not configured for
+     * single-cluster routing.
+     * 
+ * + * APP_PROFILE_MISCONFIGURED = 3; + */ + public static final int APP_PROFILE_MISCONFIGURED_VALUE = 3; + + /** + * + * + *
+     * Cannot write to Bigtable because of permission denied errors.
+     * This can happen if:
+     * - The Pub/Sub service agent has not been granted the
+     * [appropriate Bigtable IAM permission
+     * bigtable.tables.mutateRows]({$universe.dns_names.final_documentation_domain}/bigtable/docs/access-control#permissions)
+     * - The bigtable.googleapis.com API is not enabled for the project
+     * ([instructions]({$universe.dns_names.final_documentation_domain}/service-usage/docs/enable-disable))
+     * 
+ * + * PERMISSION_DENIED = 4; + */ + public static final int PERMISSION_DENIED_VALUE = 4; + + /** + * + * + *
+     * Cannot write to Bigtable because of a missing column family ("data") or
+     * if there is no structured row key for the subscription name + message ID.
+     * 
+ * + * SCHEMA_MISMATCH = 5; + */ + public static final int SCHEMA_MISMATCH_VALUE = 5; + + /** + * + * + *
+     * Cannot write to the destination because enforce_in_transit is set to true
+     * and the destination locations are not in the allowed regions.
+     * 
+ * + * IN_TRANSIT_LOCATION_RESTRICTION = 6; + */ + public static final int IN_TRANSIT_LOCATION_RESTRICTION_VALUE = 6; + + /** + * + * + *
+     * Cannot write to Bigtable because the table is not in the same location as
+     * where Vertex AI models used in `message_transform`s are deployed.
+     * 
+ * + * VERTEX_AI_LOCATION_RESTRICTION = 7; + */ + public static final int VERTEX_AI_LOCATION_RESTRICTION_VALUE = 7; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return ACTIVE; + case 2: + return NOT_FOUND; + case 3: + return APP_PROFILE_MISCONFIGURED; + case 4: + return PERMISSION_DENIED; + case 5: + return SCHEMA_MISMATCH; + case 6: + return IN_TRANSIT_LOCATION_RESTRICTION; + case 7: + return VERTEX_AI_LOCATION_RESTRICTION; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.pubsub.v1.BigtableConfig.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.pubsub.v1.BigtableConfig.State) + } + + public static final int TABLE_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object table_ = ""; + + /** + * + * + *
+   * Optional. The unique name of the table to write messages to.
+   *
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The table. + */ + @java.lang.Override + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The unique name of the table to write messages to.
+   *
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for table. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object appProfileId_ = ""; + + /** + * + * + *
+   * Optional. The app profile to use for the Bigtable writes. If not specified,
+   * the "default" application profile will be used. The app profile must use
+   * single-cluster routing.
+   * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The appProfileId. + */ + @java.lang.Override + public java.lang.String getAppProfileId() { + java.lang.Object ref = appProfileId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + appProfileId_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The app profile to use for the Bigtable writes. If not specified,
+   * the "default" application profile will be used. The app profile must use
+   * single-cluster routing.
+   * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for appProfileId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAppProfileIdBytes() { + java.lang.Object ref = appProfileId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + appProfileId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object serviceAccountEmail_ = ""; + + /** + * + * + *
+   * Optional. The service account to use to write to Bigtable. The subscription
+   * creator or updater that specifies this field must have
+   * `iam.serviceAccounts.actAs` permission on the service account. If not
+   * specified, the Pub/Sub [service
+   * agent](https://cloud.google.com/iam/docs/service-agents),
+   * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+   * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccountEmail. + */ + @java.lang.Override + public java.lang.String getServiceAccountEmail() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccountEmail_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The service account to use to write to Bigtable. The subscription
+   * creator or updater that specifies this field must have
+   * `iam.serviceAccounts.actAs` permission on the service account. If not
+   * specified, the Pub/Sub [service
+   * agent](https://cloud.google.com/iam/docs/service-agents),
+   * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+   * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccountEmail. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WRITE_METADATA_FIELD_NUMBER = 5; + private boolean writeMetadata_ = false; + + /** + * + * + *
+   * Optional. When true, write the subscription name, message_id, publish_time,
+   * attributes, and ordering_key to additional columns in the table under the
+   * pubsub_metadata column family. The subscription name, message_id, and
+   * publish_time fields are put in their own columns while all other message
+   * properties (other than data) are written to a JSON object in the attributes
+   * column.
+   * 
+ * + * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The writeMetadata. + */ + @java.lang.Override + public boolean getWriteMetadata() { + return writeMetadata_; + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_ = 0; + + /** + * + * + *
+   * Output only. An output-only field that indicates whether or not the
+   * subscription can receive messages.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + + /** + * + * + *
+   * Output only. An output-only field that indicates whether or not the
+   * subscription can receive messages.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.pubsub.v1.BigtableConfig.State getState() { + com.google.pubsub.v1.BigtableConfig.State result = + com.google.pubsub.v1.BigtableConfig.State.forNumber(state_); + return result == null ? com.google.pubsub.v1.BigtableConfig.State.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(table_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, table_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(appProfileId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, appProfileId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, serviceAccountEmail_); + } + if (state_ != com.google.pubsub.v1.BigtableConfig.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(4, state_); + } + if (writeMetadata_ != false) { + output.writeBool(5, writeMetadata_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(table_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, table_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(appProfileId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, appProfileId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, serviceAccountEmail_); + } + if (state_ != com.google.pubsub.v1.BigtableConfig.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + } + if (writeMetadata_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, writeMetadata_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.pubsub.v1.BigtableConfig)) { + return super.equals(obj); + } + com.google.pubsub.v1.BigtableConfig other = (com.google.pubsub.v1.BigtableConfig) obj; + + if (!getTable().equals(other.getTable())) return false; + if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (getWriteMetadata() != other.getWriteMetadata()) return false; + if (state_ != other.state_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + hash = (37 * hash) + APP_PROFILE_ID_FIELD_NUMBER; + hash = (53 * hash) + getAppProfileId().hashCode(); + hash = (37 * hash) + SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER; + hash = (53 * hash) + getServiceAccountEmail().hashCode(); + hash = (37 * hash) + WRITE_METADATA_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWriteMetadata()); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.BigtableConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.BigtableConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.BigtableConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.pubsub.v1.BigtableConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Configuration for a Bigtable subscription. The Pub/Sub message will be
+   * written to a Bigtable row as follows:
+   * - row key: subscription name and message ID delimited by #.
+   * - columns: message bytes written to a single column family "data" with an
+   * empty-string column qualifier.
+   * - cell timestamp: the message publish timestamp.
+   * 
+ * + * Protobuf type {@code google.pubsub.v1.BigtableConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.pubsub.v1.BigtableConfig) + com.google.pubsub.v1.BigtableConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_BigtableConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_BigtableConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.BigtableConfig.class, + com.google.pubsub.v1.BigtableConfig.Builder.class); + } + + // Construct using com.google.pubsub.v1.BigtableConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + table_ = ""; + appProfileId_ = ""; + serviceAccountEmail_ = ""; + writeMetadata_ = false; + state_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_BigtableConfig_descriptor; + } + + @java.lang.Override + public com.google.pubsub.v1.BigtableConfig getDefaultInstanceForType() { + return com.google.pubsub.v1.BigtableConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.pubsub.v1.BigtableConfig build() { + com.google.pubsub.v1.BigtableConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.pubsub.v1.BigtableConfig buildPartial() { + com.google.pubsub.v1.BigtableConfig result = new com.google.pubsub.v1.BigtableConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.pubsub.v1.BigtableConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.table_ = table_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.appProfileId_ = appProfileId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.serviceAccountEmail_ = serviceAccountEmail_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.writeMetadata_ = writeMetadata_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.state_ = state_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.pubsub.v1.BigtableConfig) { + return mergeFrom((com.google.pubsub.v1.BigtableConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.pubsub.v1.BigtableConfig other) { + if (other == com.google.pubsub.v1.BigtableConfig.getDefaultInstance()) return this; + if (!other.getTable().isEmpty()) { + table_ = other.table_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getAppProfileId().isEmpty()) { + appProfileId_ = other.appProfileId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getServiceAccountEmail().isEmpty()) { + serviceAccountEmail_ = other.serviceAccountEmail_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getWriteMetadata() != false) { + setWriteMetadata(other.getWriteMetadata()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + serviceAccountEmail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 32 + case 40: + { + writeMetadata_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object table_ = ""; + + /** + * + * + *
+     * Optional. The unique name of the table to write messages to.
+     *
+     * Values are of the form
+     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The table. + */ + public java.lang.String getTable() { + java.lang.Object ref = table_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + table_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The unique name of the table to write messages to.
+     *
+     * Values are of the form
+     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for table. + */ + public com.google.protobuf.ByteString getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The unique name of the table to write messages to.
+     *
+     * Values are of the form
+     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The table to set. + * @return This builder for chaining. + */ + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + table_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The unique name of the table to write messages to.
+     *
+     * Values are of the form
+     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearTable() { + table_ = getDefaultInstance().getTable(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The unique name of the table to write messages to.
+     *
+     * Values are of the form
+     * `projects/<project>/instances/<instance>/tables/<table>`.
+     * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for table to set. + * @return This builder for chaining. + */ + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object appProfileId_ = ""; + + /** + * + * + *
+     * Optional. The app profile to use for the Bigtable writes. If not specified,
+     * the "default" application profile will be used. The app profile must use
+     * single-cluster routing.
+     * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The appProfileId. + */ + public java.lang.String getAppProfileId() { + java.lang.Object ref = appProfileId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + appProfileId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The app profile to use for the Bigtable writes. If not specified,
+     * the "default" application profile will be used. The app profile must use
+     * single-cluster routing.
+     * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for appProfileId. + */ + public com.google.protobuf.ByteString getAppProfileIdBytes() { + java.lang.Object ref = appProfileId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + appProfileId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The app profile to use for the Bigtable writes. If not specified,
+     * the "default" application profile will be used. The app profile must use
+     * single-cluster routing.
+     * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The appProfileId to set. + * @return This builder for chaining. + */ + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + appProfileId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The app profile to use for the Bigtable writes. If not specified,
+     * the "default" application profile will be used. The app profile must use
+     * single-cluster routing.
+     * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearAppProfileId() { + appProfileId_ = getDefaultInstance().getAppProfileId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The app profile to use for the Bigtable writes. If not specified,
+     * the "default" application profile will be used. The app profile must use
+     * single-cluster routing.
+     * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for appProfileId to set. + * @return This builder for chaining. + */ + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object serviceAccountEmail_ = ""; + + /** + * + * + *
+     * Optional. The service account to use to write to Bigtable. The subscription
+     * creator or updater that specifies this field must have
+     * `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent](https://cloud.google.com/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccountEmail. + */ + public java.lang.String getServiceAccountEmail() { + java.lang.Object ref = serviceAccountEmail_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccountEmail_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The service account to use to write to Bigtable. The subscription
+     * creator or updater that specifies this field must have
+     * `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent](https://cloud.google.com/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccountEmail. + */ + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The service account to use to write to Bigtable. The subscription
+     * creator or updater that specifies this field must have
+     * `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent](https://cloud.google.com/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The serviceAccountEmail to set. + * @return This builder for chaining. + */ + public Builder setServiceAccountEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + serviceAccountEmail_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The service account to use to write to Bigtable. The subscription
+     * creator or updater that specifies this field must have
+     * `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent](https://cloud.google.com/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearServiceAccountEmail() { + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The service account to use to write to Bigtable. The subscription
+     * creator or updater that specifies this field must have
+     * `iam.serviceAccounts.actAs` permission on the service account. If not
+     * specified, the Pub/Sub [service
+     * agent](https://cloud.google.com/iam/docs/service-agents),
+     * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+     * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for serviceAccountEmail to set. + * @return This builder for chaining. + */ + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private boolean writeMetadata_; + + /** + * + * + *
+     * Optional. When true, write the subscription name, message_id, publish_time,
+     * attributes, and ordering_key to additional columns in the table under the
+     * pubsub_metadata column family. The subscription name, message_id, and
+     * publish_time fields are put in their own columns while all other message
+     * properties (other than data) are written to a JSON object in the attributes
+     * column.
+     * 
+ * + * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The writeMetadata. + */ + @java.lang.Override + public boolean getWriteMetadata() { + return writeMetadata_; + } + + /** + * + * + *
+     * Optional. When true, write the subscription name, message_id, publish_time,
+     * attributes, and ordering_key to additional columns in the table under the
+     * pubsub_metadata column family. The subscription name, message_id, and
+     * publish_time fields are put in their own columns while all other message
+     * properties (other than data) are written to a JSON object in the attributes
+     * column.
+     * 
+ * + * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The writeMetadata to set. + * @return This builder for chaining. + */ + public Builder setWriteMetadata(boolean value) { + + writeMetadata_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. When true, write the subscription name, message_id, publish_time,
+     * attributes, and ordering_key to additional columns in the table under the
+     * pubsub_metadata column family. The subscription name, message_id, and
+     * publish_time fields are put in their own columns while all other message
+     * properties (other than data) are written to a JSON object in the attributes
+     * column.
+     * 
+ * + * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearWriteMetadata() { + bitField0_ = (bitField0_ & ~0x00000008); + writeMetadata_ = false; + onChanged(); + return this; + } + + private int state_ = 0; + + /** + * + * + *
+     * Output only. An output-only field that indicates whether or not the
+     * subscription can receive messages.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + + /** + * + * + *
+     * Output only. An output-only field that indicates whether or not the
+     * subscription can receive messages.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + state_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. An output-only field that indicates whether or not the
+     * subscription can receive messages.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.pubsub.v1.BigtableConfig.State getState() { + com.google.pubsub.v1.BigtableConfig.State result = + com.google.pubsub.v1.BigtableConfig.State.forNumber(state_); + return result == null ? com.google.pubsub.v1.BigtableConfig.State.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * Output only. An output-only field that indicates whether or not the
+     * subscription can receive messages.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.pubsub.v1.BigtableConfig.State value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + state_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. An output-only field that indicates whether or not the
+     * subscription can receive messages.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000010); + state_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.pubsub.v1.BigtableConfig) + } + + // @@protoc_insertion_point(class_scope:google.pubsub.v1.BigtableConfig) + private static final com.google.pubsub.v1.BigtableConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.pubsub.v1.BigtableConfig(); + } + + public static com.google.pubsub.v1.BigtableConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigtableConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.pubsub.v1.BigtableConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfigOrBuilder.java new file mode 100644 index 000000000..ef22565e2 --- /dev/null +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfigOrBuilder.java @@ -0,0 +1,176 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 4.33.2 + +package com.google.pubsub.v1; + +@com.google.protobuf.Generated +public interface BigtableConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.pubsub.v1.BigtableConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. The unique name of the table to write messages to.
+   *
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The table. + */ + java.lang.String getTable(); + + /** + * + * + *
+   * Optional. The unique name of the table to write messages to.
+   *
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/tables/<table>`.
+   * 
+ * + * string table = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for table. + */ + com.google.protobuf.ByteString getTableBytes(); + + /** + * + * + *
+   * Optional. The app profile to use for the Bigtable writes. If not specified,
+   * the "default" application profile will be used. The app profile must use
+   * single-cluster routing.
+   * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The appProfileId. + */ + java.lang.String getAppProfileId(); + + /** + * + * + *
+   * Optional. The app profile to use for the Bigtable writes. If not specified,
+   * the "default" application profile will be used. The app profile must use
+   * single-cluster routing.
+   * 
+ * + * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for appProfileId. + */ + com.google.protobuf.ByteString getAppProfileIdBytes(); + + /** + * + * + *
+   * Optional. The service account to use to write to Bigtable. The subscription
+   * creator or updater that specifies this field must have
+   * `iam.serviceAccounts.actAs` permission on the service account. If not
+   * specified, the Pub/Sub [service
+   * agent](https://cloud.google.com/iam/docs/service-agents),
+   * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+   * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The serviceAccountEmail. + */ + java.lang.String getServiceAccountEmail(); + + /** + * + * + *
+   * Optional. The service account to use to write to Bigtable. The subscription
+   * creator or updater that specifies this field must have
+   * `iam.serviceAccounts.actAs` permission on the service account. If not
+   * specified, the Pub/Sub [service
+   * agent](https://cloud.google.com/iam/docs/service-agents),
+   * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+   * 
+ * + * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for serviceAccountEmail. + */ + com.google.protobuf.ByteString getServiceAccountEmailBytes(); + + /** + * + * + *
+   * Optional. When true, write the subscription name, message_id, publish_time,
+   * attributes, and ordering_key to additional columns in the table under the
+   * pubsub_metadata column family. The subscription name, message_id, and
+   * publish_time fields are put in their own columns while all other message
+   * properties (other than data) are written to a JSON object in the attributes
+   * column.
+   * 
+ * + * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The writeMetadata. + */ + boolean getWriteMetadata(); + + /** + * + * + *
+   * Output only. An output-only field that indicates whether or not the
+   * subscription can receive messages.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + + /** + * + * + *
+   * Output only. An output-only field that indicates whether or not the
+   * subscription can receive messages.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.pubsub.v1.BigtableConfig.State getState(); +} 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 4717d7ebf..10ab7cdd2 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 @@ -268,6 +268,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_pubsub_v1_BigQueryConfig_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_pubsub_v1_BigQueryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_pubsub_v1_BigtableConfig_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_pubsub_v1_BigtableConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_pubsub_v1_CloudStorageConfig_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -718,7 +722,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031DetachSubscriptionRequest\022@\n" + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + "\"pubsub.googleapis.com/Subscription\"\034\n" - + "\032DetachSubscriptionResponse\"\250\014\n" + + "\032DetachSubscriptionResponse\"\350\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" @@ -728,13 +732,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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" + + " \001(\0132$.google.pubsub.v1.CloudStorageConfigB\003\340A\001\022>\n" + + "\017bigtable_config\030\033 \001(\0132" + + " .google.pubsub.v1.BigtableConfigB\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*.g" + + "oogle.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" @@ -749,8 +755,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " 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;.goo" - + "gle.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoB\003\340A\003\022C\n" + + "\037analytics_hub_subscription_info\030\027 \001(\0132;.google.pubsub.v1.Su" + + "bscription.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" @@ -769,8 +775,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/proj" - + "ects/{project}/subscriptions/{subscription}*\r" + + "\"pubsub.googleapi" + + "s.com/Subscription\022/projects/{project}/subscriptions/{subscription}*\r" + "subscriptions2\014subscription\"\177\n" + "\013RetryPolicy\0227\n" + "\017minimum_backoff\030\001" @@ -784,12 +790,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" - + "oidc_token\030\003 \001(\013" - + "2&.google.pubsub.v1.PushConfig.OidcTokenB\003\340A\001H\000\022I\n" - + "\016pubsub_wrapper\030\004 \001(\0132*.google" - + ".pubsub.v1.PushConfig.PubsubWrapperB\003\340A\001H\001\022A\n\n" + + "attributes\030\002 \003(\0132,.goog" + + "le.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*.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" @@ -808,8 +814,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&.go" - + "ogle.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\"\256\001\n" + "\005State\022\025\n" @@ -819,17 +825,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tNOT_FOUND\020\003\022\023\n" + "\017SCHEMA_MISMATCH\020\004\022#\n" + "\037IN_TRANSIT_LOCATION_RESTRICTION\020\005\022\"\n" - + "\036VERTEX_AI_LOCATION_RESTRICTION\020\006\"\215\006\n" + + "\036VERTEX_AI_LOCATION_RESTRICTION\020\006\"\216\003\n" + + "\016BigtableConfig\022\022\n" + + "\005table\030\001 \001(\tB\003\340A\001\022\033\n" + + "\016app_profile_id\030\002 \001(\tB\003\340A\001\022\"\n" + + "\025service_account_email\030\003 \001(\tB\003\340A\001\022\033\n" + + "\016write_metadata\030\005 \001(\010B\003\340A\001\022:\n" + + "\005state\030\004" + + " \001(\0162&.google.pubsub.v1.BigtableConfig.StateB\003\340A\003\"\315\001\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006ACTIVE\020\001\022\r\n" + + "\tNOT_FOUND\020\002\022\035\n" + + "\031APP_PROFILE_MISCONFIGURED\020\003\022\025\n" + + "\021PERMISSION_DENIED\020\004\022\023\n" + + "\017SCHEMA_MISMATCH\020\005\022#\n" + + "\037IN_TRANSIT_LOCATION_RESTRICTION\020\006\022\"\n" + + "\036VERTEX_AI_LOCATION_RESTRICTION\020\007\"\215\006\n" + "\022CloudStorageConfig\022\023\n" + "\006bucket\030\001 \001(\tB\003\340A\002\022\034\n" + "\017filename_prefix\030\002 \001(\tB\003\340A\001\022\034\n" + "\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/.goog" + + "le.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" @@ -859,8 +881,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014subscription\030\001 \001(\tB*\340A\002\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" + + "\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" @@ -912,168 +934,179 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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.StreamingPullResponse.AcknowledgeConfirmationB\003\340A\001\022t\n" - + " modify_ack_deadline_confirmation\030\003 \001(\0132E.google." - + "pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationB\003\340A\001\022d\n" - + "\027subscription_properties\030\004 \001(\0132>.google.pubsub.v1.S" - + "treamingPullResponse.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" - + "\021unordered_ack_ids\030\003 \003(\tB\003\340A\001\022%\n" - + "\030temporary_failed_ack_ids\030\004 \003(\tB\003\340A\001\032", - "z\n" - + "\035ModifyAckDeadlineConfirmation\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%\n" - + "\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" - + "\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.goo" - + "gle.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" - + "\005value\030\002 \001(\t:\0028\001\032+\n" - + "\tTagsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\200\001\n" - + "\025UpdateSnapshotRequest\0221\n" - + "\010snapshot\030\001 \001(\0132\032.google.pubsub.v1.SnapshotB\003\340A\002\0224\n" - + "\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\326\002\n" - + "\010Snapshot\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\001\0222\n" - + "\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" - + "\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" - + "+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" - + "\036pubsub.googleapis.com/Snapshot\"\306\001\n" - + "\013SeekRequest\022@\n" - + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" - + "\"pubsub.googleapis.com/Subscription\022/\n" - + "\004time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\001H\000\022:\n" - + "\010snapshot\030\003 \001(\tB&\340A\001\372A \n" - + "\036pubsub.googleapis.com/SnapshotH\000B\010\n" - + "\006target\"\016\n" - + "\014SeekResponse2\270\013\n" - + "\tPublisher\022q\n" - + "\013CreateTopic\022\027.google.pubsub.v1.Topic\032\027.google.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.UpdateTopicRequest\032\027.google." - + "pubsub.v1.Topic\"C\332A\021topic,update_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.PublishRes" - + "ponse\"C\332A\016topic,messages\202\323\344\223\002,\"\'/v1/{topic=projects/*/topics/*}:publish:\001*\022w\n" - + "\010GetTopic\022!.google.pubsub.v1.GetTopicReques" - + "t\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.ListTopicsRes" - + "ponse\"1\332A\007project\202\323\344\223\002!\022\037/v1/{project=projects/*}/topics\022\272\001\n" - + "\026ListTopicSubscriptions\022/.google.pubsub.v1.ListTopicSubscrip" - + "tionsRequest\0320.google.pubsub.v1.ListTopi" - + "cSubscriptionsResponse\"=\332A\005topic\202\323\344\223\002/\022-" - + "/v1/{topic=projects/*/topics/*}/subscriptions\022\252\001\n" - + "\022ListTopicSnapshots\022+.google.pubsub.v1.ListTopicSnapshotsRequest\032,.goog" - + "le.pubsub.v1.ListTopicSnapshotsResponse\"" - + "9\332A\005topic\202\323\344\223\002+\022)/v1/{topic=projects/*/topics/*}/snapshots\022|\n" - + "\013DeleteTopic\022$.google.pubsub.v1.DeleteTopicRequest\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.DetachSubscri" - + "ptionRequest\032,.google.pubsub.v1.DetachSu" - + "bscriptionResponse\"<\202\323\344\223\0026\"4/v1/{subscri" - + "ption=projects/*/subscriptions/*}:detach" - + "\032p\312A\025pubsub.googleapis.com\322AUhttps://www" - + ".googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub2\322\025\n\n" - + "Subscriber\022\264\001\n" - + "\022CreateSubscription\022\036.google.pubsub.v1.Subscription\032\036.google.pubsub" - + ".v1.Subscription\"^\332A+name,topic,push_con" - + "fig,ack_deadline_seconds\202\323\344\223\002*\032%/v1/{name=projects/*/subscriptions/*}:\001*\022\241\001\n" - + "\017GetSubscription\022(.google.pubsub.v1.GetSubsc" - + "riptionRequest\032\036.google.pubsub.v1.Subscr" - + "iption\"D\332A\014subscription\202\323\344\223\002/\022-/v1/{subscription=projects/*/subscriptions/*}\022\273\001\n" - + "\022UpdateSubscription\022+.google.pubsub.v1.U" - + "pdateSubscriptionRequest\032\036.google.pubsub" - + ".v1.Subscription\"X\332A\030subscription,update" - + "_mask\202\323\344\223\002722/v1/{subscription.name=projects/*/subscriptions/*}:\001*\022\246\001\n" - + "\021ListSubscriptions\022*.google.pubsub.v1.ListSubscrip" - + "tionsRequest\032+.google.pubsub.v1.ListSubs" - + "criptionsResponse\"8\332A\007project\202\323\344\223\002(\022&/v1/{project=projects/*}/subscriptions\022\237\001\n" - + "\022DeleteSubscription\022+.google.pubsub.v1.De" - + "leteSubscriptionRequest\032\026.google.protobu" - + "f.Empty\"D\332A\014subscription\202\323\344\223\002/*-/v1/{sub" - + "scription=projects/*/subscriptions/*}\022\317\001\n" - + "\021ModifyAckDeadline\022*.google.pubsub.v1.M" - + "odifyAckDeadlineRequest\032\026.google.protobu" - + "f.Empty\"v\332A)subscription,ack_ids,ack_dea" - + "dline_seconds\202\323\344\223\002D\"?/v1/{subscription=p" - + "rojects/*/subscriptions/*}:modifyAckDeadline:\001*\022\250\001\n" - + "\013Acknowledge\022$.google.pubsub.v1.AcknowledgeRequest\032\026.google.protobuf." - + "Empty\"[\332A\024subscription,ack_ids\202\323\344\223\002>\"9/v" - + "1/{subscription=projects/*/subscriptions/*}:acknowledge:\001*\022\320\001\n" - + "\004Pull\022\035.google.pubsub.v1.PullRequest\032\036.google.pubsub.v1.Pu" - + "llResponse\"\210\001\332A,subscription,return_imme" - + "diately,max_messages\332A\031subscription,max_" - + "messages\202\323\344\223\0027\"2/v1/{subscription=projects/*/subscriptions/*}:pull:\001*\022f\n\r" - + "StreamingPull\022&.google.pubsub.v1.StreamingPullR" - + "equest\032\'.google.pubsub.v1.StreamingPullResponse\"\000(\0010\001\022\273\001\n" - + "\020ModifyPushConfig\022).google.pubsub.v1.ModifyPushConfigRequest\032\026." - + "google.protobuf.Empty\"d\332A\030subscription,p" - + "ush_config\202\323\344\223\002C\">/v1/{subscription=proj" - + "ects/*/subscriptions/*}:modifyPushConfig:\001*\022\211\001\n" - + "\013GetSnapshot\022$.google.pubsub.v1.GetSnapshotRequest\032\032.google.pubsub.v1.Sna" - + "pshot\"8\332A\010snapshot\202\323\344\223\002\'\022%/v1/{snapshot=projects/*/snapshots/*}\022\226\001\n\r" - + "ListSnapshots\022&.google.pubsub.v1.ListSnapshotsReques" - + "t\032\'.google.pubsub.v1.ListSnapshotsRespon" - + "se\"4\332A\007project\202\323\344\223\002$\022\"/v1/{project=projects/*}/snapshots\022\227\001\n" - + "\016CreateSnapshot\022\'.google.pubsub.v1.CreateSnapshotRequest\032\032.g" - + "oogle.pubsub.v1.Snapshot\"@\332A\021name,subscr" - + "iption\202\323\344\223\002&\032!/v1/{name=projects/*/snapshots/*}:\001*\022\243\001\n" - + "\016UpdateSnapshot\022\'.google.pubsub.v1.UpdateSnapshotRequest\032\032.google." - + "pubsub.v1.Snapshot\"L\332A\024snapshot,update_m" - + "ask\202\323\344\223\002/2*/v1/{snapshot.name=projects/*/snapshots/*}:\001*\022\213\001\n" - + "\016DeleteSnapshot\022\'.google.pubsub.v1.DeleteSnapshotRequest\032\026.g" - + "oogle.protobuf.Empty\"8\332A\010snapshot\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.SeekResponse\"=\202\323\344\223\0027\"2" - + "/v1/{subscription=projects/*/subscriptio" - + "ns/*}:seek:\001*\032p\312A\025pubsub.googleapis.com\322" - + "AUhttps://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/a" - + "piv1/pubsubpb;pubsubpb\252\002\026Google.Cloud.Pu" - + "bSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031Google::Cloud::PubSub::V1\352Ax\n" - + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/l" - + "ocations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352A\177\n" - + "#analyticshub.googleapis.com/Listing\022Xprojects/{proje" - + "ct}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}b\006proto3" + + "\030acknowl", + "edge_confirmation\030\005 \001(\0132?.google.pubsub." + + "v1.StreamingPullResponse.AcknowledgeConf" + + "irmationB\003\340A\001\022t\n modify_ack_deadline_con" + + "firmation\030\003 \001(\0132E.google.pubsub.v1.Strea" + + "mingPullResponse.ModifyAckDeadlineConfir" + + "mationB\003\340A\001\022d\n\027subscription_properties\030\004" + + " \001(\0132>.google.pubsub.v1.StreamingPullRes" + + "ponse.SubscriptionPropertiesB\003\340A\001\032\224\001\n\027Ac" + + "knowledgeConfirmation\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\021uno" + + "rdered_ack_ids\030\003 \003(\tB\003\340A\001\022%\n\030temporary_f" + + "ailed_ack_ids\030\004 \003(\tB\003\340A\001\032z\n\035ModifyAckDea" + + "dlineConfirmation\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%\n\030tempora" + + "ry_failed_ack_ids\030\003 \003(\tB\003\340A\001\032k\n\026Subscrip" + + "tionProperties\022*\n\035exactly_once_delivery_" + + "enabled\030\001 \001(\010B\003\340A\001\022%\n\030message_ordering_e" + + "nabled\030\002 \001(\010B\003\340A\001\"\201\003\n\025CreateSnapshotRequ" + + "est\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036pubsub.google" + + "apis.com/Snapshot\022@\n\014subscription\030\002 \001(\tB" + + "*\340A\002\372A$\n\"pubsub.googleapis.com/Subscript" + + "ion\022H\n\006labels\030\003 \003(\01323.google.pubsub.v1.C" + + "reateSnapshotRequest.LabelsEntryB\003\340A\001\022J\n" + + "\004tags\030\004 \003(\01321.google.pubsub.v1.CreateSna" + + "pshotRequest.TagsEntryB\t\340A\004\340A\005\340A\001\032-\n\013Lab" + + "elsEntry\022\013\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\005value\030\002 \001(" + + "\t:\0028\001\"\200\001\n\025UpdateSnapshotRequest\0221\n\010snaps" + + "hot\030\001 \001(\0132\032.google.pubsub.v1.SnapshotB\003\340" + + "A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMaskB\003\340A\002\"\326\002\n\010Snapshot\022\021\n\004name\030\001 " + + "\001(\tB\003\340A\001\0222\n\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\006la" + + "bels\030\004 \003(\0132&.google.pubsub.v1.Snapshot.L" + + "abelsEntryB\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.goog" + + "leapis.com/Snapshot\022\'projects/{project}/" + + "snapshots/{snapshot}*\tsnapshots2\010snapsho" + + "t\"N\n\022GetSnapshotRequest\0228\n\010snapshot\030\001 \001(" + + "\tB&\340A\002\372A \n\036pubsub.googleapis.com/Snapsho" + + "t\"\215\001\n\024ListSnapshotsRequest\022D\n\007project\030\001 " + + "\001(\tB3\340A\002\372A-\n+cloudresourcemanager.google" + + "apis.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001" + + "\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"i\n\025ListSnapsho" + + "tsResponse\0222\n\tsnapshots\030\001 \003(\0132\032.google.p" + + "ubsub.v1.SnapshotB\003\340A\001\022\034\n\017next_page_toke" + + "n\030\002 \001(\tB\003\340A\001\"Q\n\025DeleteSnapshotRequest\0228\n" + + "\010snapshot\030\001 \001(\tB&\340A\002\372A \n\036pubsub.googleap" + + "is.com/Snapshot\"\306\001\n\013SeekRequest\022@\n\014subsc" + + "ription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis" + + ".com/Subscription\022/\n\004time\030\002 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\001H\000\022:\n\010snapshot\030\003" + + " \001(\tB&\340A\001\372A \n\036pubsub.googleapis.com/Snap" + + "shotH\000B\010\n\006target\"\016\n\014SeekResponse2\270\013\n\tPub" + + "lisher\022q\n\013CreateTopic\022\027.google.pubsub.v1" + + ".Topic\032\027.google.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.Upd" + + "ateTopicRequest\032\027.google.pubsub.v1.Topic" + + "\"C\332A\021topic,update_mask\202\323\344\223\002)2$/v1/{topic" + + ".name=projects/*/topics/*}:\001*\022\223\001\n\007Publis" + + "h\022 .google.pubsub.v1.PublishRequest\032!.go" + + "ogle.pubsub.v1.PublishResponse\"C\332A\016topic" + + ",messages\202\323\344\223\002,\"\'/v1/{topic=projects/*/t" + + "opics/*}:publish:\001*\022w\n\010GetTopic\022!.google" + + ".pubsub.v1.GetTopicRequest\032\027.google.pubs" + + "ub.v1.Topic\"/\332A\005topic\202\323\344\223\002!\022\037/v1/{topic=" + + "projects/*/topics/*}\022\212\001\n\nListTopics\022#.go" + + "ogle.pubsub.v1.ListTopicsRequest\032$.googl" + + "e.pubsub.v1.ListTopicsResponse\"1\332A\007proje" + + "ct\202\323\344\223\002!\022\037/v1/{project=projects/*}/topic" + + "s\022\272\001\n\026ListTopicSubscriptions\022/.google.pu" + + "bsub.v1.ListTopicSubscriptionsRequest\0320." + + "google.pubsub.v1.ListTopicSubscriptionsR" + + "esponse\"=\332A\005topic\202\323\344\223\002/\022-/v1/{topic=proj" + + "ects/*/topics/*}/subscriptions\022\252\001\n\022ListT" + + "opicSnapshots\022+.google.pubsub.v1.ListTop" + + "icSnapshotsRequest\032,.google.pubsub.v1.Li" + + "stTopicSnapshotsResponse\"9\332A\005topic\202\323\344\223\002+" + + "\022)/v1/{topic=projects/*/topics/*}/snapsh" + + "ots\022|\n\013DeleteTopic\022$.google.pubsub.v1.De" + + "leteTopicRequest\032\026.google.protobuf.Empty" + + "\"/\332A\005topic\202\323\344\223\002!*\037/v1/{topic=projects/*/" + + "topics/*}\022\255\001\n\022DetachSubscription\022+.googl" + + "e.pubsub.v1.DetachSubscriptionRequest\032,." + + "google.pubsub.v1.DetachSubscriptionRespo" + + "nse\"<\202\323\344\223\0026\"4/v1/{subscription=projects/" + + "*/subscriptions/*}:detach\032p\312A\025pubsub.goo" + + "gleapis.com\322AUhttps://www.googleapis.com" + + "/auth/cloud-platform,https://www.googlea" + + "pis.com/auth/pubsub2\322\025\n\nSubscriber\022\264\001\n\022C" + + "reateSubscription\022\036.google.pubsub.v1.Sub" + + "scription\032\036.google.pubsub.v1.Subscriptio" + + "n\"^\332A+name,topic,push_config,ack_deadlin" + + "e_seconds\202\323\344\223\002*\032%/v1/{name=projects/*/su" + + "bscriptions/*}:\001*\022\241\001\n\017GetSubscription\022(." + + "google.pubsub.v1.GetSubscriptionRequest\032" + + "\036.google.pubsub.v1.Subscription\"D\332A\014subs" + + "cription\202\323\344\223\002/\022-/v1/{subscription=projec" + + "ts/*/subscriptions/*}\022\273\001\n\022UpdateSubscrip" + + "tion\022+.google.pubsub.v1.UpdateSubscripti" + + "onRequest\032\036.google.pubsub.v1.Subscriptio" + + "n\"X\332A\030subscription,update_mask\202\323\344\223\002722/v" + + "1/{subscription.name=projects/*/subscrip" + + "tions/*}:\001*\022\246\001\n\021ListSubscriptions\022*.goog" + + "le.pubsub.v1.ListSubscriptionsRequest\032+." + + "google.pubsub.v1.ListSubscriptionsRespon" + + "se\"8\332A\007project\202\323\344\223\002(\022&/v1/{project=proje" + + "cts/*}/subscriptions\022\237\001\n\022DeleteSubscript" + + "ion\022+.google.pubsub.v1.DeleteSubscriptio" + + "nRequest\032\026.google.protobuf.Empty\"D\332A\014sub" + + "scription\202\323\344\223\002/*-/v1/{subscription=proje" + + "cts/*/subscriptions/*}\022\317\001\n\021ModifyAckDead" + + "line\022*.google.pubsub.v1.ModifyAckDeadlin" + + "eRequest\032\026.google.protobuf.Empty\"v\332A)sub" + + "scription,ack_ids,ack_deadline_seconds\202\323" + + "\344\223\002D\"?/v1/{subscription=projects/*/subsc" + + "riptions/*}:modifyAckDeadline:\001*\022\250\001\n\013Ack" + + "nowledge\022$.google.pubsub.v1.AcknowledgeR" + + "equest\032\026.google.protobuf.Empty\"[\332A\024subsc" + + "ription,ack_ids\202\323\344\223\002>\"9/v1/{subscription" + + "=projects/*/subscriptions/*}:acknowledge" + + ":\001*\022\320\001\n\004Pull\022\035.google.pubsub.v1.PullRequ" + + "est\032\036.google.pubsub.v1.PullResponse\"\210\001\332A" + + ",subscription,return_immediately,max_mes" + + "sages\332A\031subscription,max_messages\202\323\344\223\0027\"" + + "2/v1/{subscription=projects/*/subscripti" + + "ons/*}:pull:\001*\022f\n\rStreamingPull\022&.google" + + ".pubsub.v1.StreamingPullRequest\032\'.google" + + ".pubsub.v1.StreamingPullResponse\"\000(\0010\001\022\273" + + "\001\n\020ModifyPushConfig\022).google.pubsub.v1.M" + + "odifyPushConfigRequest\032\026.google.protobuf" + + ".Empty\"d\332A\030subscription,push_config\202\323\344\223\002" + + "C\">/v1/{subscription=projects/*/subscrip" + + "tions/*}:modifyPushConfig:\001*\022\211\001\n\013GetSnap" + + "shot\022$.google.pubsub.v1.GetSnapshotReque" + + "st\032\032.google.pubsub.v1.Snapshot\"8\332A\010snaps" + + "hot\202\323\344\223\002\'\022%/v1/{snapshot=projects/*/snap" + + "shots/*}\022\226\001\n\rListSnapshots\022&.google.pubs" + + "ub.v1.ListSnapshotsRequest\032\'.google.pubs" + + "ub.v1.ListSnapshotsResponse\"4\332A\007project\202" + + "\323\344\223\002$\022\"/v1/{project=projects/*}/snapshot" + + "s\022\227\001\n\016CreateSnapshot\022\'.google.pubsub.v1." + + "CreateSnapshotRequest\032\032.google.pubsub.v1" + + ".Snapshot\"@\332A\021name,subscription\202\323\344\223\002&\032!/" + + "v1/{name=projects/*/snapshots/*}:\001*\022\243\001\n\016" + + "UpdateSnapshot\022\'.google.pubsub.v1.Update" + + "SnapshotRequest\032\032.google.pubsub.v1.Snaps" + + "hot\"L\332A\024snapshot,update_mask\202\323\344\223\002/2*/v1/" + + "{snapshot.name=projects/*/snapshots/*}:\001" + + "*\022\213\001\n\016DeleteSnapshot\022\'.google.pubsub.v1." + + "DeleteSnapshotRequest\032\026.google.protobuf." + + "Empty\"8\332A\010snapshot\202\323\344\223\002\'*%/v1/{snapshot=" + + "projects/*/snapshots/*}\022\204\001\n\004Seek\022\035.googl" + + "e.pubsub.v1.SeekRequest\032\036.google.pubsub." + + "v1.SeekResponse\"=\202\323\344\223\0027\"2/v1/{subscripti" + + "on=projects/*/subscriptions/*}:seek:\001*\032p" + + "\312A\025pubsub.googleapis.com\322AUhttps://www.g" + + "oogleapis.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;p" + + "ubsubpb\252\002\026Google.Cloud.PubSub.V1\312\002\026Googl" + + "e\\Cloud\\PubSub\\V1\352\002\031Google::Cloud::PubSu" + + "b::V1\352Ax\n!cloudkms.googleapis.com/Crypto" + + "Key\022Sprojects/{project}/locations/{locat" + + "ion}/keyRings/{key_ring}/cryptoKeys/{cry" + + "pto_key}\352A\177\n#analyticshub.googleapis.com" + + "/Listing\022Xprojects/{project}/locations/{" + + "location}/dataExchanges/{data_exchange}/" + + "listings/{listing}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1511,6 +1544,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PushConfig", "BigqueryConfig", "CloudStorageConfig", + "BigtableConfig", "AckDeadlineSeconds", "RetainAckedMessages", "MessageRetentionDuration", @@ -1631,8 +1665,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UseTableSchema", "ServiceAccountEmail", }); + internal_static_google_pubsub_v1_BigtableConfig_descriptor = getDescriptor().getMessageType(29); + internal_static_google_pubsub_v1_BigtableConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_pubsub_v1_BigtableConfig_descriptor, + new java.lang.String[] { + "Table", "AppProfileId", "ServiceAccountEmail", "WriteMetadata", "State", + }); internal_static_google_pubsub_v1_CloudStorageConfig_descriptor = - getDescriptor().getMessageType(29); + getDescriptor().getMessageType(30); internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CloudStorageConfig_descriptor, @@ -1665,7 +1706,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "WriteMetadata", "UseTopicSchema", }); internal_static_google_pubsub_v1_ReceivedMessage_descriptor = - getDescriptor().getMessageType(30); + getDescriptor().getMessageType(31); internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ReceivedMessage_descriptor, @@ -1673,7 +1714,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AckId", "Message", "DeliveryAttempt", }); internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor = - getDescriptor().getMessageType(31); + getDescriptor().getMessageType(32); internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor, @@ -1681,7 +1722,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", }); internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor = - getDescriptor().getMessageType(32); + getDescriptor().getMessageType(33); internal_static_google_pubsub_v1_UpdateSubscriptionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor, @@ -1689,7 +1730,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "UpdateMask", }); internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor = - getDescriptor().getMessageType(33); + getDescriptor().getMessageType(34); internal_static_google_pubsub_v1_ListSubscriptionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor, @@ -1697,7 +1738,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor = - getDescriptor().getMessageType(34); + getDescriptor().getMessageType(35); internal_static_google_pubsub_v1_ListSubscriptionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor, @@ -1705,7 +1746,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscriptions", "NextPageToken", }); internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor = - getDescriptor().getMessageType(35); + getDescriptor().getMessageType(36); internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor, @@ -1713,21 +1754,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", }); internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor = - getDescriptor().getMessageType(36); + getDescriptor().getMessageType(37); internal_static_google_pubsub_v1_ModifyPushConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor, new java.lang.String[] { "Subscription", "PushConfig", }); - internal_static_google_pubsub_v1_PullRequest_descriptor = getDescriptor().getMessageType(37); + internal_static_google_pubsub_v1_PullRequest_descriptor = getDescriptor().getMessageType(38); internal_static_google_pubsub_v1_PullRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PullRequest_descriptor, new java.lang.String[] { "Subscription", "ReturnImmediately", "MaxMessages", }); - internal_static_google_pubsub_v1_PullResponse_descriptor = getDescriptor().getMessageType(38); + internal_static_google_pubsub_v1_PullResponse_descriptor = getDescriptor().getMessageType(39); internal_static_google_pubsub_v1_PullResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_PullResponse_descriptor, @@ -1735,7 +1776,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReceivedMessages", }); internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor = - getDescriptor().getMessageType(39); + getDescriptor().getMessageType(40); internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor, @@ -1743,7 +1784,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "AckIds", "AckDeadlineSeconds", }); internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor = - getDescriptor().getMessageType(40); + getDescriptor().getMessageType(41); internal_static_google_pubsub_v1_AcknowledgeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor, @@ -1751,7 +1792,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subscription", "AckIds", }); internal_static_google_pubsub_v1_StreamingPullRequest_descriptor = - getDescriptor().getMessageType(41); + getDescriptor().getMessageType(42); internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullRequest_descriptor, @@ -1767,7 +1808,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProtocolVersion", }); internal_static_google_pubsub_v1_StreamingPullResponse_descriptor = - getDescriptor().getMessageType(42); + getDescriptor().getMessageType(43); internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_StreamingPullResponse_descriptor, @@ -1802,7 +1843,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExactlyOnceDeliveryEnabled", "MessageOrderingEnabled", }); internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor = - getDescriptor().getMessageType(43); + getDescriptor().getMessageType(44); internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor, @@ -1826,14 +1867,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor = - getDescriptor().getMessageType(44); + getDescriptor().getMessageType(45); internal_static_google_pubsub_v1_UpdateSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor, new java.lang.String[] { "Snapshot", "UpdateMask", }); - internal_static_google_pubsub_v1_Snapshot_descriptor = getDescriptor().getMessageType(45); + internal_static_google_pubsub_v1_Snapshot_descriptor = getDescriptor().getMessageType(46); internal_static_google_pubsub_v1_Snapshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_Snapshot_descriptor, @@ -1849,7 +1890,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor = - getDescriptor().getMessageType(46); + getDescriptor().getMessageType(47); internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor, @@ -1857,7 +1898,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Snapshot", }); internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor = - getDescriptor().getMessageType(47); + getDescriptor().getMessageType(48); internal_static_google_pubsub_v1_ListSnapshotsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor, @@ -1865,7 +1906,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PageSize", "PageToken", }); internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor = - getDescriptor().getMessageType(48); + getDescriptor().getMessageType(49); internal_static_google_pubsub_v1_ListSnapshotsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor, @@ -1873,21 +1914,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Snapshots", "NextPageToken", }); internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor = - getDescriptor().getMessageType(49); + getDescriptor().getMessageType(50); internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor, new java.lang.String[] { "Snapshot", }); - internal_static_google_pubsub_v1_SeekRequest_descriptor = getDescriptor().getMessageType(50); + internal_static_google_pubsub_v1_SeekRequest_descriptor = getDescriptor().getMessageType(51); internal_static_google_pubsub_v1_SeekRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_SeekRequest_descriptor, new java.lang.String[] { "Subscription", "Time", "Snapshot", "Target", }); - internal_static_google_pubsub_v1_SeekResponse_descriptor = getDescriptor().getMessageType(51); + internal_static_google_pubsub_v1_SeekResponse_descriptor = getDescriptor().getMessageType(52); internal_static_google_pubsub_v1_SeekResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_pubsub_v1_SeekResponse_descriptor, new java.lang.String[] {}); 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 54de83b87..79c5b0775 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 @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2098 + * google/pubsub/v1/pubsub.proto;l=2180 * @return The returnImmediately. */ @java.lang.Override @@ -673,7 +673,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=2098 + * google/pubsub/v1/pubsub.proto;l=2180 * @return The returnImmediately. */ @java.lang.Override @@ -700,7 +700,7 @@ public boolean getReturnImmediately() { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2098 + * google/pubsub/v1/pubsub.proto;l=2180 * @param value The returnImmediately to set. * @return This builder for chaining. */ @@ -731,7 +731,7 @@ public Builder setReturnImmediately(boolean value) { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2098 + * google/pubsub/v1/pubsub.proto;l=2180 * @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 ab3fd9f9d..1346ad309 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 @@ -75,7 +75,7 @@ public interface PullRequestOrBuilder * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=2098 + * google/pubsub/v1/pubsub.proto;l=2180 * @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 867496f2f..ab7ef789d 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 @@ -1458,6 +1458,68 @@ public com.google.pubsub.v1.CloudStorageConfigOrBuilder getCloudStorageConfigOrB : cloudStorageConfig_; } + public static final int BIGTABLE_CONFIG_FIELD_NUMBER = 27; + private com.google.pubsub.v1.BigtableConfig bigtableConfig_; + + /** + * + * + *
+   * Optional. If delivery to Bigtable is used with this subscription, this
+   * field is used to configure it.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the bigtableConfig field is set. + */ + @java.lang.Override + public boolean hasBigtableConfig() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+   * Optional. If delivery to Bigtable is used with this subscription, this
+   * field is used to configure it.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The bigtableConfig. + */ + @java.lang.Override + public com.google.pubsub.v1.BigtableConfig getBigtableConfig() { + return bigtableConfig_ == null + ? com.google.pubsub.v1.BigtableConfig.getDefaultInstance() + : bigtableConfig_; + } + + /** + * + * + *
+   * Optional. If delivery to Bigtable is used with this subscription, this
+   * field is used to configure it.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.pubsub.v1.BigtableConfigOrBuilder getBigtableConfigOrBuilder() { + return bigtableConfig_ == null + ? com.google.pubsub.v1.BigtableConfig.getDefaultInstance() + : bigtableConfig_; + } + public static final int ACK_DEADLINE_SECONDS_FIELD_NUMBER = 5; private int ackDeadlineSeconds_ = 0; @@ -1542,7 +1604,7 @@ public boolean getRetainAckedMessages() { */ @java.lang.Override public boolean hasMessageRetentionDuration() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** @@ -1748,7 +1810,7 @@ public boolean getEnableMessageOrdering() { */ @java.lang.Override public boolean hasExpirationPolicy() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** @@ -1887,7 +1949,7 @@ public com.google.protobuf.ByteString getFilterBytes() { */ @java.lang.Override public boolean hasDeadLetterPolicy() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** @@ -1966,7 +2028,7 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild */ @java.lang.Override public boolean hasRetryPolicy() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** @@ -2095,7 +2157,7 @@ public boolean getEnableExactlyOnceDelivery() { */ @java.lang.Override public boolean hasTopicMessageRetentionDuration() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -2209,7 +2271,7 @@ public com.google.pubsub.v1.Subscription.State getState() { */ @java.lang.Override public boolean hasAnalyticsHubSubscriptionInfo() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** @@ -2509,7 +2571,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (retainAckedMessages_ != false) { output.writeBool(7, retainAckedMessages_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(8, getMessageRetentionDuration()); } com.google.protobuf.GeneratedMessage.serializeStringMapTo( @@ -2517,16 +2579,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableMessageOrdering_ != false) { output.writeBool(10, enableMessageOrdering_); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(11, getExpirationPolicy()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessage.writeString(output, 12, filter_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(13, getDeadLetterPolicy()); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(14, getRetryPolicy()); } if (detached_ != false) { @@ -2535,7 +2597,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableExactlyOnceDelivery_ != false) { output.writeBool(16, enableExactlyOnceDelivery_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(17, getTopicMessageRetentionDuration()); } if (((bitField0_ & 0x00000002) != 0)) { @@ -2547,7 +2609,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(22, getCloudStorageConfig()); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(23, getAnalyticsHubSubscriptionInfo()); } for (int i = 0; i < messageTransforms_.size(); i++) { @@ -2555,6 +2617,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 26); + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(27, getBigtableConfig()); + } getUnknownFields().writeTo(output); } @@ -2579,7 +2644,7 @@ public int getSerializedSize() { if (retainAckedMessages_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, retainAckedMessages_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 8, getMessageRetentionDuration()); @@ -2597,16 +2662,16 @@ public int getSerializedSize() { if (enableMessageOrdering_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, enableMessageOrdering_); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getExpirationPolicy()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(12, filter_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getDeadLetterPolicy()); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getRetryPolicy()); } if (detached_ != false) { @@ -2615,7 +2680,7 @@ public int getSerializedSize() { if (enableExactlyOnceDelivery_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, enableExactlyOnceDelivery_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 17, getTopicMessageRetentionDuration()); @@ -2629,7 +2694,7 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getCloudStorageConfig()); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 23, getAnalyticsHubSubscriptionInfo()); @@ -2648,6 +2713,9 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, tags__); } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getBigtableConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2677,6 +2745,10 @@ public boolean equals(final java.lang.Object obj) { if (hasCloudStorageConfig()) { if (!getCloudStorageConfig().equals(other.getCloudStorageConfig())) return false; } + if (hasBigtableConfig() != other.hasBigtableConfig()) return false; + if (hasBigtableConfig()) { + if (!getBigtableConfig().equals(other.getBigtableConfig())) return false; + } if (getAckDeadlineSeconds() != other.getAckDeadlineSeconds()) return false; if (getRetainAckedMessages() != other.getRetainAckedMessages()) return false; if (hasMessageRetentionDuration() != other.hasMessageRetentionDuration()) return false; @@ -2741,6 +2813,10 @@ public int hashCode() { hash = (37 * hash) + CLOUD_STORAGE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCloudStorageConfig().hashCode(); } + if (hasBigtableConfig()) { + hash = (37 * hash) + BIGTABLE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getBigtableConfig().hashCode(); + } hash = (37 * hash) + ACK_DEADLINE_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getAckDeadlineSeconds(); hash = (37 * hash) + RETAIN_ACKED_MESSAGES_FIELD_NUMBER; @@ -2962,6 +3038,7 @@ private void maybeForceBuilderInitialization() { internalGetPushConfigFieldBuilder(); internalGetBigqueryConfigFieldBuilder(); internalGetCloudStorageConfigFieldBuilder(); + internalGetBigtableConfigFieldBuilder(); internalGetMessageRetentionDurationFieldBuilder(); internalGetExpirationPolicyFieldBuilder(); internalGetDeadLetterPolicyFieldBuilder(); @@ -2993,6 +3070,11 @@ public Builder clear() { cloudStorageConfigBuilder_.dispose(); cloudStorageConfigBuilder_ = null; } + bigtableConfig_ = null; + if (bigtableConfigBuilder_ != null) { + bigtableConfigBuilder_.dispose(); + bigtableConfigBuilder_ = null; + } ackDeadlineSeconds_ = 0; retainAckedMessages_ = false; messageRetentionDuration_ = null; @@ -3037,7 +3119,7 @@ public Builder clear() { messageTransforms_ = null; messageTransformsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); internalGetMutableTags().clear(); return this; } @@ -3075,9 +3157,9 @@ public com.google.pubsub.v1.Subscription buildPartial() { private void buildPartialRepeatedFields(com.google.pubsub.v1.Subscription result) { if (messageTransformsBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { messageTransforms_ = java.util.Collections.unmodifiableList(messageTransforms_); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); } result.messageTransforms_ = messageTransforms_; } else { @@ -3111,67 +3193,72 @@ private void buildPartial0(com.google.pubsub.v1.Subscription result) { to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.ackDeadlineSeconds_ = ackDeadlineSeconds_; + result.bigtableConfig_ = + bigtableConfigBuilder_ == null ? bigtableConfig_ : bigtableConfigBuilder_.build(); + to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.retainAckedMessages_ = retainAckedMessages_; + result.ackDeadlineSeconds_ = ackDeadlineSeconds_; } if (((from_bitField0_ & 0x00000080) != 0)) { + result.retainAckedMessages_ = retainAckedMessages_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { result.messageRetentionDuration_ = messageRetentionDurationBuilder_ == null ? messageRetentionDuration_ : messageRetentionDurationBuilder_.build(); - to_bitField0_ |= 0x00000008; + to_bitField0_ |= 0x00000010; } - if (((from_bitField0_ & 0x00000100) != 0)) { + if (((from_bitField0_ & 0x00000200) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } - if (((from_bitField0_ & 0x00000200) != 0)) { + if (((from_bitField0_ & 0x00000400) != 0)) { result.enableMessageOrdering_ = enableMessageOrdering_; } - if (((from_bitField0_ & 0x00000400) != 0)) { + if (((from_bitField0_ & 0x00000800) != 0)) { result.expirationPolicy_ = expirationPolicyBuilder_ == null ? expirationPolicy_ : expirationPolicyBuilder_.build(); - to_bitField0_ |= 0x00000010; + to_bitField0_ |= 0x00000020; } - if (((from_bitField0_ & 0x00000800) != 0)) { + if (((from_bitField0_ & 0x00001000) != 0)) { result.filter_ = filter_; } - if (((from_bitField0_ & 0x00001000) != 0)) { + if (((from_bitField0_ & 0x00002000) != 0)) { result.deadLetterPolicy_ = deadLetterPolicyBuilder_ == null ? deadLetterPolicy_ : deadLetterPolicyBuilder_.build(); - to_bitField0_ |= 0x00000020; + to_bitField0_ |= 0x00000040; } - if (((from_bitField0_ & 0x00002000) != 0)) { + if (((from_bitField0_ & 0x00004000) != 0)) { result.retryPolicy_ = retryPolicyBuilder_ == null ? retryPolicy_ : retryPolicyBuilder_.build(); - to_bitField0_ |= 0x00000040; + to_bitField0_ |= 0x00000080; } - if (((from_bitField0_ & 0x00004000) != 0)) { + if (((from_bitField0_ & 0x00008000) != 0)) { result.detached_ = detached_; } - if (((from_bitField0_ & 0x00008000) != 0)) { + if (((from_bitField0_ & 0x00010000) != 0)) { result.enableExactlyOnceDelivery_ = enableExactlyOnceDelivery_; } - if (((from_bitField0_ & 0x00010000) != 0)) { + if (((from_bitField0_ & 0x00020000) != 0)) { result.topicMessageRetentionDuration_ = topicMessageRetentionDurationBuilder_ == null ? topicMessageRetentionDuration_ : topicMessageRetentionDurationBuilder_.build(); - to_bitField0_ |= 0x00000080; + to_bitField0_ |= 0x00000100; } - if (((from_bitField0_ & 0x00020000) != 0)) { + if (((from_bitField0_ & 0x00040000) != 0)) { result.state_ = state_; } - if (((from_bitField0_ & 0x00040000) != 0)) { + if (((from_bitField0_ & 0x00080000) != 0)) { result.analyticsHubSubscriptionInfo_ = analyticsHubSubscriptionInfoBuilder_ == null ? analyticsHubSubscriptionInfo_ : analyticsHubSubscriptionInfoBuilder_.build(); - to_bitField0_ |= 0x00000100; + to_bitField0_ |= 0x00000200; } - if (((from_bitField0_ & 0x00100000) != 0)) { + if (((from_bitField0_ & 0x00200000) != 0)) { result.tags_ = internalGetTags(); result.tags_.makeImmutable(); } @@ -3209,6 +3296,9 @@ public Builder mergeFrom(com.google.pubsub.v1.Subscription other) { if (other.hasCloudStorageConfig()) { mergeCloudStorageConfig(other.getCloudStorageConfig()); } + if (other.hasBigtableConfig()) { + mergeBigtableConfig(other.getBigtableConfig()); + } if (other.getAckDeadlineSeconds() != 0) { setAckDeadlineSeconds(other.getAckDeadlineSeconds()); } @@ -3219,7 +3309,7 @@ public Builder mergeFrom(com.google.pubsub.v1.Subscription other) { mergeMessageRetentionDuration(other.getMessageRetentionDuration()); } internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; if (other.getEnableMessageOrdering() != false) { setEnableMessageOrdering(other.getEnableMessageOrdering()); } @@ -3228,7 +3318,7 @@ public Builder mergeFrom(com.google.pubsub.v1.Subscription other) { } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); } if (other.hasDeadLetterPolicy()) { @@ -3256,7 +3346,7 @@ public Builder mergeFrom(com.google.pubsub.v1.Subscription other) { if (!other.messageTransforms_.isEmpty()) { if (messageTransforms_.isEmpty()) { messageTransforms_ = other.messageTransforms_; - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); } else { ensureMessageTransformsIsMutable(); messageTransforms_.addAll(other.messageTransforms_); @@ -3269,7 +3359,7 @@ public Builder mergeFrom(com.google.pubsub.v1.Subscription other) { messageTransformsBuilder_.dispose(); messageTransformsBuilder_ = null; messageTransforms_ = other.messageTransforms_; - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); messageTransformsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetMessageTransformsFieldBuilder() @@ -3280,7 +3370,7 @@ public Builder mergeFrom(com.google.pubsub.v1.Subscription other) { } } internalGetMutableTags().mergeFrom(other.internalGetTags()); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3329,13 +3419,13 @@ public Builder mergeFrom( case 40: { ackDeadlineSeconds_ = input.readInt32(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 40 case 56: { retainAckedMessages_ = input.readBool(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 56 case 66: @@ -3343,7 +3433,7 @@ public Builder mergeFrom( input.readMessage( internalGetMessageRetentionDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case 66 case 74: @@ -3355,52 +3445,52 @@ public Builder mergeFrom( internalGetMutableLabels() .getMutableMap() .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 74 case 80: { enableMessageOrdering_ = input.readBool(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; break; } // case 80 case 90: { input.readMessage( internalGetExpirationPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case 90 case 98: { filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } // case 98 case 106: { input.readMessage( internalGetDeadLetterPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; break; } // case 106 case 114: { input.readMessage( internalGetRetryPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; break; } // case 114 case 120: { detached_ = input.readBool(); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; break; } // case 120 case 128: { enableExactlyOnceDelivery_ = input.readBool(); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; break; } // case 128 case 138: @@ -3408,7 +3498,7 @@ public Builder mergeFrom( input.readMessage( internalGetTopicMessageRetentionDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; break; } // case 138 case 146: @@ -3421,7 +3511,7 @@ public Builder mergeFrom( case 152: { state_ = input.readEnum(); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; break; } // case 152 case 178: @@ -3436,7 +3526,7 @@ public Builder mergeFrom( input.readMessage( internalGetAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; break; } // case 186 case 202: @@ -3458,9 +3548,16 @@ public Builder mergeFrom( input.readMessage( TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue()); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; break; } // case 210 + case 218: + { + input.readMessage( + internalGetBigtableConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 218 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4413,6 +4510,227 @@ public com.google.pubsub.v1.CloudStorageConfigOrBuilder getCloudStorageConfigOrB return cloudStorageConfigBuilder_; } + private com.google.pubsub.v1.BigtableConfig bigtableConfig_; + private com.google.protobuf.SingleFieldBuilder< + com.google.pubsub.v1.BigtableConfig, + com.google.pubsub.v1.BigtableConfig.Builder, + com.google.pubsub.v1.BigtableConfigOrBuilder> + bigtableConfigBuilder_; + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the bigtableConfig field is set. + */ + public boolean hasBigtableConfig() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The bigtableConfig. + */ + public com.google.pubsub.v1.BigtableConfig getBigtableConfig() { + if (bigtableConfigBuilder_ == null) { + return bigtableConfig_ == null + ? com.google.pubsub.v1.BigtableConfig.getDefaultInstance() + : bigtableConfig_; + } else { + return bigtableConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setBigtableConfig(com.google.pubsub.v1.BigtableConfig value) { + if (bigtableConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + bigtableConfig_ = value; + } else { + bigtableConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setBigtableConfig(com.google.pubsub.v1.BigtableConfig.Builder builderForValue) { + if (bigtableConfigBuilder_ == null) { + bigtableConfig_ = builderForValue.build(); + } else { + bigtableConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeBigtableConfig(com.google.pubsub.v1.BigtableConfig value) { + if (bigtableConfigBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && bigtableConfig_ != null + && bigtableConfig_ != com.google.pubsub.v1.BigtableConfig.getDefaultInstance()) { + getBigtableConfigBuilder().mergeFrom(value); + } else { + bigtableConfig_ = value; + } + } else { + bigtableConfigBuilder_.mergeFrom(value); + } + if (bigtableConfig_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearBigtableConfig() { + bitField0_ = (bitField0_ & ~0x00000020); + bigtableConfig_ = null; + if (bigtableConfigBuilder_ != null) { + bigtableConfigBuilder_.dispose(); + bigtableConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.pubsub.v1.BigtableConfig.Builder getBigtableConfigBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return internalGetBigtableConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.pubsub.v1.BigtableConfigOrBuilder getBigtableConfigOrBuilder() { + if (bigtableConfigBuilder_ != null) { + return bigtableConfigBuilder_.getMessageOrBuilder(); + } else { + return bigtableConfig_ == null + ? com.google.pubsub.v1.BigtableConfig.getDefaultInstance() + : bigtableConfig_; + } + } + + /** + * + * + *
+     * Optional. If delivery to Bigtable is used with this subscription, this
+     * field is used to configure it.
+     * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.pubsub.v1.BigtableConfig, + com.google.pubsub.v1.BigtableConfig.Builder, + com.google.pubsub.v1.BigtableConfigOrBuilder> + internalGetBigtableConfigFieldBuilder() { + if (bigtableConfigBuilder_ == null) { + bigtableConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.pubsub.v1.BigtableConfig, + com.google.pubsub.v1.BigtableConfig.Builder, + com.google.pubsub.v1.BigtableConfigOrBuilder>( + getBigtableConfig(), getParentForChildren(), isClean()); + bigtableConfig_ = null; + } + return bigtableConfigBuilder_; + } + private int ackDeadlineSeconds_; /** @@ -4484,7 +4802,7 @@ public int getAckDeadlineSeconds() { public Builder setAckDeadlineSeconds(int value) { ackDeadlineSeconds_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -4520,7 +4838,7 @@ public Builder setAckDeadlineSeconds(int value) { * @return This builder for chaining. */ public Builder clearAckDeadlineSeconds() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); ackDeadlineSeconds_ = 0; onChanged(); return this; @@ -4569,7 +4887,7 @@ public boolean getRetainAckedMessages() { public Builder setRetainAckedMessages(boolean value) { retainAckedMessages_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -4591,7 +4909,7 @@ public Builder setRetainAckedMessages(boolean value) { * @return This builder for chaining. */ public Builder clearRetainAckedMessages() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); retainAckedMessages_ = false; onChanged(); return this; @@ -4622,7 +4940,7 @@ public Builder clearRetainAckedMessages() { * @return Whether the messageRetentionDuration field is set. */ public boolean hasMessageRetentionDuration() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -4676,7 +4994,7 @@ public Builder setMessageRetentionDuration(com.google.protobuf.Duration value) { } else { messageRetentionDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -4703,7 +5021,7 @@ public Builder setMessageRetentionDuration( } else { messageRetentionDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -4725,7 +5043,7 @@ public Builder setMessageRetentionDuration( */ public Builder mergeMessageRetentionDuration(com.google.protobuf.Duration value) { if (messageRetentionDurationBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) + if (((bitField0_ & 0x00000100) != 0) && messageRetentionDuration_ != null && messageRetentionDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getMessageRetentionDurationBuilder().mergeFrom(value); @@ -4736,7 +5054,7 @@ public Builder mergeMessageRetentionDuration(com.google.protobuf.Duration value) messageRetentionDurationBuilder_.mergeFrom(value); } if (messageRetentionDuration_ != null) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); } return this; @@ -4758,7 +5076,7 @@ public Builder mergeMessageRetentionDuration(com.google.protobuf.Duration value) * */ public Builder clearMessageRetentionDuration() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); messageRetentionDuration_ = null; if (messageRetentionDurationBuilder_ != null) { messageRetentionDurationBuilder_.dispose(); @@ -4784,7 +5102,7 @@ public Builder clearMessageRetentionDuration() { * */ public com.google.protobuf.Duration.Builder getMessageRetentionDurationBuilder() { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return internalGetMessageRetentionDurationFieldBuilder().getBuilder(); } @@ -4863,7 +5181,7 @@ private com.google.protobuf.MapField interna if (!labels_.isMutable()) { labels_ = labels_.copy(); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return labels_; } @@ -4957,7 +5275,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); internalGetMutableLabels().getMutableMap().clear(); return this; } @@ -4983,7 +5301,7 @@ public Builder removeLabels(java.lang.String key) { /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; return internalGetMutableLabels().getMutableMap(); } @@ -5005,7 +5323,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap().put(key, value); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; return this; } @@ -5021,7 +5339,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { */ public Builder putAllLabels(java.util.Map values) { internalGetMutableLabels().getMutableMap().putAll(values); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; return this; } @@ -5064,7 +5382,7 @@ public boolean getEnableMessageOrdering() { public Builder setEnableMessageOrdering(boolean value) { enableMessageOrdering_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -5084,7 +5402,7 @@ public Builder setEnableMessageOrdering(boolean value) { * @return This builder for chaining. */ public Builder clearEnableMessageOrdering() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); enableMessageOrdering_ = false; onChanged(); return this; @@ -5117,7 +5435,7 @@ public Builder clearEnableMessageOrdering() { * @return Whether the expirationPolicy field is set. */ public boolean hasExpirationPolicy() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** @@ -5175,7 +5493,7 @@ public Builder setExpirationPolicy(com.google.pubsub.v1.ExpirationPolicy value) } else { expirationPolicyBuilder_.setMessage(value); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -5204,7 +5522,7 @@ public Builder setExpirationPolicy( } else { expirationPolicyBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -5228,7 +5546,7 @@ public Builder setExpirationPolicy( */ public Builder mergeExpirationPolicy(com.google.pubsub.v1.ExpirationPolicy value) { if (expirationPolicyBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) + if (((bitField0_ & 0x00000800) != 0) && expirationPolicy_ != null && expirationPolicy_ != com.google.pubsub.v1.ExpirationPolicy.getDefaultInstance()) { getExpirationPolicyBuilder().mergeFrom(value); @@ -5239,7 +5557,7 @@ public Builder mergeExpirationPolicy(com.google.pubsub.v1.ExpirationPolicy value expirationPolicyBuilder_.mergeFrom(value); } if (expirationPolicy_ != null) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); } return this; @@ -5263,7 +5581,7 @@ public Builder mergeExpirationPolicy(com.google.pubsub.v1.ExpirationPolicy value * */ public Builder clearExpirationPolicy() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); expirationPolicy_ = null; if (expirationPolicyBuilder_ != null) { expirationPolicyBuilder_.dispose(); @@ -5291,7 +5609,7 @@ public Builder clearExpirationPolicy() { * */ public com.google.pubsub.v1.ExpirationPolicy.Builder getExpirationPolicyBuilder() { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return internalGetExpirationPolicyFieldBuilder().getBuilder(); } @@ -5434,7 +5752,7 @@ public Builder setFilter(java.lang.String value) { throw new NullPointerException(); } filter_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -5456,7 +5774,7 @@ public Builder setFilter(java.lang.String value) { */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } @@ -5483,7 +5801,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); filter_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -5516,7 +5834,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * @return Whether the deadLetterPolicy field is set. */ public boolean hasDeadLetterPolicy() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** @@ -5576,7 +5894,7 @@ public Builder setDeadLetterPolicy(com.google.pubsub.v1.DeadLetterPolicy value) } else { deadLetterPolicyBuilder_.setMessage(value); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -5606,7 +5924,7 @@ public Builder setDeadLetterPolicy( } else { deadLetterPolicyBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -5631,7 +5949,7 @@ public Builder setDeadLetterPolicy( */ public Builder mergeDeadLetterPolicy(com.google.pubsub.v1.DeadLetterPolicy value) { if (deadLetterPolicyBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) + if (((bitField0_ & 0x00002000) != 0) && deadLetterPolicy_ != null && deadLetterPolicy_ != com.google.pubsub.v1.DeadLetterPolicy.getDefaultInstance()) { getDeadLetterPolicyBuilder().mergeFrom(value); @@ -5642,7 +5960,7 @@ public Builder mergeDeadLetterPolicy(com.google.pubsub.v1.DeadLetterPolicy value deadLetterPolicyBuilder_.mergeFrom(value); } if (deadLetterPolicy_ != null) { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); } return this; @@ -5667,7 +5985,7 @@ public Builder mergeDeadLetterPolicy(com.google.pubsub.v1.DeadLetterPolicy value * */ public Builder clearDeadLetterPolicy() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); deadLetterPolicy_ = null; if (deadLetterPolicyBuilder_ != null) { deadLetterPolicyBuilder_.dispose(); @@ -5696,7 +6014,7 @@ public Builder clearDeadLetterPolicy() { * */ public com.google.pubsub.v1.DeadLetterPolicy.Builder getDeadLetterPolicyBuilder() { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return internalGetDeadLetterPolicyFieldBuilder().getBuilder(); } @@ -5791,7 +6109,7 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild * @return Whether the retryPolicy field is set. */ public boolean hasRetryPolicy() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** @@ -5849,7 +6167,7 @@ public Builder setRetryPolicy(com.google.pubsub.v1.RetryPolicy value) { } else { retryPolicyBuilder_.setMessage(value); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5877,7 +6195,7 @@ public Builder setRetryPolicy(com.google.pubsub.v1.RetryPolicy.Builder builderFo } else { retryPolicyBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5901,7 +6219,7 @@ public Builder setRetryPolicy(com.google.pubsub.v1.RetryPolicy.Builder builderFo */ public Builder mergeRetryPolicy(com.google.pubsub.v1.RetryPolicy value) { if (retryPolicyBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) + if (((bitField0_ & 0x00004000) != 0) && retryPolicy_ != null && retryPolicy_ != com.google.pubsub.v1.RetryPolicy.getDefaultInstance()) { getRetryPolicyBuilder().mergeFrom(value); @@ -5912,7 +6230,7 @@ public Builder mergeRetryPolicy(com.google.pubsub.v1.RetryPolicy value) { retryPolicyBuilder_.mergeFrom(value); } if (retryPolicy_ != null) { - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); } return this; @@ -5936,7 +6254,7 @@ public Builder mergeRetryPolicy(com.google.pubsub.v1.RetryPolicy value) { * */ public Builder clearRetryPolicy() { - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); retryPolicy_ = null; if (retryPolicyBuilder_ != null) { retryPolicyBuilder_.dispose(); @@ -5964,7 +6282,7 @@ public Builder clearRetryPolicy() { * */ public com.google.pubsub.v1.RetryPolicy.Builder getRetryPolicyBuilder() { - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return internalGetRetryPolicyFieldBuilder().getBuilder(); } @@ -6071,7 +6389,7 @@ public boolean getDetached() { public Builder setDetached(boolean value) { detached_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -6092,7 +6410,7 @@ public Builder setDetached(boolean value) { * @return This builder for chaining. */ public Builder clearDetached() { - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00008000); detached_ = false; onChanged(); return this; @@ -6155,7 +6473,7 @@ public boolean getEnableExactlyOnceDelivery() { public Builder setEnableExactlyOnceDelivery(boolean value) { enableExactlyOnceDelivery_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -6184,7 +6502,7 @@ public Builder setEnableExactlyOnceDelivery(boolean value) { * @return This builder for chaining. */ public Builder clearEnableExactlyOnceDelivery() { - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00010000); enableExactlyOnceDelivery_ = false; onChanged(); return this; @@ -6216,7 +6534,7 @@ public Builder clearEnableExactlyOnceDelivery() { * @return Whether the topicMessageRetentionDuration field is set. */ public boolean hasTopicMessageRetentionDuration() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** @@ -6272,7 +6590,7 @@ public Builder setTopicMessageRetentionDuration(com.google.protobuf.Duration val } else { topicMessageRetentionDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -6300,7 +6618,7 @@ public Builder setTopicMessageRetentionDuration( } else { topicMessageRetentionDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -6323,7 +6641,7 @@ public Builder setTopicMessageRetentionDuration( */ public Builder mergeTopicMessageRetentionDuration(com.google.protobuf.Duration value) { if (topicMessageRetentionDurationBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) + if (((bitField0_ & 0x00020000) != 0) && topicMessageRetentionDuration_ != null && topicMessageRetentionDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { @@ -6335,7 +6653,7 @@ public Builder mergeTopicMessageRetentionDuration(com.google.protobuf.Duration v topicMessageRetentionDurationBuilder_.mergeFrom(value); } if (topicMessageRetentionDuration_ != null) { - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); } return this; @@ -6358,7 +6676,7 @@ public Builder mergeTopicMessageRetentionDuration(com.google.protobuf.Duration v * */ public Builder clearTopicMessageRetentionDuration() { - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); topicMessageRetentionDuration_ = null; if (topicMessageRetentionDurationBuilder_ != null) { topicMessageRetentionDurationBuilder_.dispose(); @@ -6385,7 +6703,7 @@ public Builder clearTopicMessageRetentionDuration() { * */ public com.google.protobuf.Duration.Builder getTopicMessageRetentionDurationBuilder() { - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return internalGetTopicMessageRetentionDurationFieldBuilder().getBuilder(); } @@ -6487,7 +6805,7 @@ public int getStateValue() { */ public Builder setStateValue(int value) { state_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -6532,7 +6850,7 @@ public Builder setState(com.google.pubsub.v1.Subscription.State value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; state_ = value.getNumber(); onChanged(); return this; @@ -6553,7 +6871,7 @@ public Builder setState(com.google.pubsub.v1.Subscription.State value) { * @return This builder for chaining. */ public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); state_ = 0; onChanged(); return this; @@ -6582,7 +6900,7 @@ public Builder clearState() { * @return Whether the analyticsHubSubscriptionInfo field is set. */ public boolean hasAnalyticsHubSubscriptionInfo() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** @@ -6632,7 +6950,7 @@ public Builder setAnalyticsHubSubscriptionInfo( } else { analyticsHubSubscriptionInfoBuilder_.setMessage(value); } - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -6656,7 +6974,7 @@ public Builder setAnalyticsHubSubscriptionInfo( } else { analyticsHubSubscriptionInfoBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -6676,7 +6994,7 @@ public Builder setAnalyticsHubSubscriptionInfo( public Builder mergeAnalyticsHubSubscriptionInfo( com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo value) { if (analyticsHubSubscriptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) + if (((bitField0_ & 0x00080000) != 0) && analyticsHubSubscriptionInfo_ != null && analyticsHubSubscriptionInfo_ != com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo @@ -6689,7 +7007,7 @@ public Builder mergeAnalyticsHubSubscriptionInfo( analyticsHubSubscriptionInfoBuilder_.mergeFrom(value); } if (analyticsHubSubscriptionInfo_ != null) { - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); } return this; @@ -6708,7 +7026,7 @@ public Builder mergeAnalyticsHubSubscriptionInfo( * */ public Builder clearAnalyticsHubSubscriptionInfo() { - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); analyticsHubSubscriptionInfo_ = null; if (analyticsHubSubscriptionInfoBuilder_ != null) { analyticsHubSubscriptionInfoBuilder_.dispose(); @@ -6732,7 +7050,7 @@ public Builder clearAnalyticsHubSubscriptionInfo() { */ public com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder getAnalyticsHubSubscriptionInfoBuilder() { - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return internalGetAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder(); } @@ -6793,10 +7111,10 @@ public Builder clearAnalyticsHubSubscriptionInfo() { java.util.Collections.emptyList(); private void ensureMessageTransformsIsMutable() { - if (!((bitField0_ & 0x00080000) != 0)) { + if (!((bitField0_ & 0x00100000) != 0)) { messageTransforms_ = new java.util.ArrayList(messageTransforms_); - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; } } @@ -7055,7 +7373,7 @@ public Builder addAllMessageTransforms( public Builder clearMessageTransforms() { if (messageTransformsBuilder_ == null) { messageTransforms_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); } else { messageTransformsBuilder_.clear(); @@ -7206,7 +7524,7 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder com.google.pubsub.v1.MessageTransform.Builder, com.google.pubsub.v1.MessageTransformOrBuilder>( messageTransforms_, - ((bitField0_ & 0x00080000) != 0), + ((bitField0_ & 0x00100000) != 0), getParentForChildren(), isClean()); messageTransforms_ = null; @@ -7231,7 +7549,7 @@ private com.google.protobuf.MapField interna if (!tags_.isMutable()) { tags_ = tags_.copy(); } - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); return tags_; } @@ -7349,7 +7667,7 @@ public java.lang.String getTagsOrThrow(java.lang.String key) { } public Builder clearTags() { - bitField0_ = (bitField0_ & ~0x00100000); + bitField0_ = (bitField0_ & ~0x00200000); internalGetMutableTags().getMutableMap().clear(); return this; } @@ -7381,7 +7699,7 @@ public Builder removeTags(java.lang.String key) { /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableTags() { - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; return internalGetMutableTags().getMutableMap(); } @@ -7409,7 +7727,7 @@ public Builder putTags(java.lang.String key, java.lang.String value) { throw new NullPointerException("map value"); } internalGetMutableTags().getMutableMap().put(key, value); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; return this; } @@ -7431,7 +7749,7 @@ public Builder putTags(java.lang.String key, java.lang.String value) { */ public Builder putAllTags(java.util.Map values) { internalGetMutableTags().getMutableMap().putAll(values); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; return this; } 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 3b6932128..ebb45ec6a 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 @@ -235,6 +235,52 @@ public interface SubscriptionOrBuilder */ com.google.pubsub.v1.CloudStorageConfigOrBuilder getCloudStorageConfigOrBuilder(); + /** + * + * + *
+   * Optional. If delivery to Bigtable is used with this subscription, this
+   * field is used to configure it.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the bigtableConfig field is set. + */ + boolean hasBigtableConfig(); + + /** + * + * + *
+   * Optional. If delivery to Bigtable is used with this subscription, this
+   * field is used to configure it.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The bigtableConfig. + */ + com.google.pubsub.v1.BigtableConfig getBigtableConfig(); + + /** + * + * + *
+   * Optional. If delivery to Bigtable is used with this subscription, this
+   * field is used to configure it.
+   * 
+ * + * + * .google.pubsub.v1.BigtableConfig bigtable_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.pubsub.v1.BigtableConfigOrBuilder getBigtableConfigOrBuilder(); + /** * * 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 9a24bc1d4..3f07ec45c 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 @@ -1475,6 +1475,10 @@ message Subscription { CloudStorageConfig cloud_storage_config = 22 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If delivery to Bigtable is used with this subscription, this + // field is used to configure it. + BigtableConfig bigtable_config = 27 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The approximate amount of time (on a best-effort basis) Pub/Sub // waits for the subscriber to acknowledge receipt before resending the // message. In the interval after the message is delivered and before it is @@ -1853,6 +1857,84 @@ message BigQueryConfig { string service_account_email = 7 [(google.api.field_behavior) = OPTIONAL]; } +// Configuration for a Bigtable subscription. The Pub/Sub message will be +// written to a Bigtable row as follows: +// - row key: subscription name and message ID delimited by #. +// - columns: message bytes written to a single column family "data" with an +// empty-string column qualifier. +// - cell timestamp: the message publish timestamp. +message BigtableConfig { + // Possible states for a Bigtable subscription. + // Note: more states could be added in the future. Please code accordingly. + enum State { + // Default value. This value is unused. + STATE_UNSPECIFIED = 0; + + // The subscription can actively send messages to Bigtable. + ACTIVE = 1; + + // Cannot write to Bigtable because the instance, table, or app profile + // does not exist. + NOT_FOUND = 2; + + // Cannot write to Bigtable because the app profile is not configured for + // single-cluster routing. + APP_PROFILE_MISCONFIGURED = 3; + + // Cannot write to Bigtable because of permission denied errors. + // This can happen if: + // - The Pub/Sub service agent has not been granted the + // [appropriate Bigtable IAM permission + // bigtable.tables.mutateRows]({$universe.dns_names.final_documentation_domain}/bigtable/docs/access-control#permissions) + // - The bigtable.googleapis.com API is not enabled for the project + // ([instructions]({$universe.dns_names.final_documentation_domain}/service-usage/docs/enable-disable)) + PERMISSION_DENIED = 4; + + // Cannot write to Bigtable because of a missing column family ("data") or + // if there is no structured row key for the subscription name + message ID. + SCHEMA_MISMATCH = 5; + + // Cannot write to the destination because enforce_in_transit is set to true + // and the destination locations are not in the allowed regions. + IN_TRANSIT_LOCATION_RESTRICTION = 6; + + // Cannot write to Bigtable because the table is not in the same location as + // where Vertex AI models used in `message_transform`s are deployed. + VERTEX_AI_LOCATION_RESTRICTION = 7; + } + + // Optional. The unique name of the table to write messages to. + // + // Values are of the form + // `projects//instances//tables/`. + string table = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The app profile to use for the Bigtable writes. If not specified, + // the "default" application profile will be used. The app profile must use + // single-cluster routing. + string app_profile_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The service account to use to write to Bigtable. The subscription + // creator or updater that specifies this field must have + // `iam.serviceAccounts.actAs` permission on the service account. If not + // specified, the Pub/Sub [service + // agent](https://cloud.google.com/iam/docs/service-agents), + // service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. + string service_account_email = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When true, write the subscription name, message_id, publish_time, + // attributes, and ordering_key to additional columns in the table under the + // pubsub_metadata column family. The subscription name, message_id, and + // publish_time fields are put in their own columns while all other message + // properties (other than data) are written to a JSON object in the attributes + // column. + bool write_metadata = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. An output-only field that indicates whether or not the + // subscription can receive messages. + State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Configuration for a Cloud Storage subscription. message CloudStorageConfig { // Configuration for writing message data in text format. From 48e8798e71587d41f1ad05a9e0cfad024154e866 Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Mon, 23 Mar 2026 11:29:24 -0400 Subject: [PATCH 47/62] chore: Update generation configuration at Sun Mar 22 03:05:48 UTC 2026 (#2711) * chore: Update generation configuration at Sat Mar 21 02:56:31 UTC 2026 * chore: Update generation configuration at Sun Mar 22 03:05:48 UTC 2026 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 5da7557e5..454916e8f 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.68.0 -googleapis_commitish: c063f49852ce7fc08c722c87f3a6f676209985a2 +googleapis_commitish: 758d8244a84065ea6b0dfacff3d3e9284983390b libraries_bom_version: 26.78.0 libraries: - api_shortname: pubsub From 336726c7bcd3f95069b66910ab7a1d2d4619ba4d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:10:52 -0400 Subject: [PATCH 48/62] chore(main): release 1.150.0 (#2710) * chore(main): release 1.150.0 * chore: generate libraries at Mon Mar 23 15:30:22 UTC 2026 --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot --- CHANGELOG.md | 17 +++++++++++++++++ README.md | 6 +++--- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 38 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d86617e6..81dfd9414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [1.150.0](https://github.com/googleapis/java-pubsub/compare/v1.149.0...v1.150.0) (2026-03-23) + + +### Features + +* Add BigtableConfig type ([f69de7e](https://github.com/googleapis/java-pubsub/commit/f69de7ee2cb5b96adbf3fc5b11e1f8a3bbbd0bee)) + + +### Bug Fixes + +* **deps:** Update the Java code generator (gapic-generator-java) to 2.68.0 ([f69de7e](https://github.com/googleapis/java-pubsub/commit/f69de7ee2cb5b96adbf3fc5b11e1f8a3bbbd0bee)) + + +### Dependencies + +* Update dependency com.google.cloud:sdk-platform-java-config to v3.58.0 ([#2709](https://github.com/googleapis/java-pubsub/issues/2709)) ([e82a6ff](https://github.com/googleapis/java-pubsub/commit/e82a6ff52154f3acaaf8195a90e2966666353609)) + ## [1.149.0](https://github.com/googleapis/java-pubsub/compare/v1.148.0...v1.149.0) (2026-02-26) diff --git a/README.md b/README.md index b12fbeaac..9c5387318 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.149.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.150.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.149.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.150.0" ``` ## Authentication @@ -401,7 +401,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.149.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.150.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 0e7f09f74..fb1f033ae 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.149.1-SNAPSHOT + 1.150.0 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.149.1-SNAPSHOT + 1.150.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.131.1-SNAPSHOT + 1.132.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.131.1-SNAPSHOT + 1.132.0 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index c7914ddef..a7c17d223 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.149.1-SNAPSHOT + 1.150.0 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.149.1-SNAPSHOT + 1.150.0 google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index aac991b79..ebc0da233 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.131.1-SNAPSHOT + 1.132.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.149.1-SNAPSHOT + 1.150.0 diff --git a/pom.xml b/pom.xml index 5a46cddd4..b362f8750 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.149.1-SNAPSHOT + 1.150.0 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.131.1-SNAPSHOT + 1.132.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.131.1-SNAPSHOT + 1.132.0 com.google.cloud google-cloud-pubsub - 1.149.1-SNAPSHOT + 1.150.0 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 797014929..8150686ea 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.131.1-SNAPSHOT + 1.132.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.149.1-SNAPSHOT + 1.150.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index b96ea4c33..ecb067057 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.149.1-SNAPSHOT + 1.150.0 diff --git a/versions.txt b/versions.txt index 56826c969..f33bdcb90 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.149.0:1.149.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.131.0:1.131.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.131.0:1.131.1-SNAPSHOT +google-cloud-pubsub:1.150.0:1.150.0 +grpc-google-cloud-pubsub-v1:1.132.0:1.132.0 +proto-google-cloud-pubsub-v1:1.132.0:1.132.0 From 876aed861576c370fcb4dd2c0e9440646b5cdc04 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 18:30:30 -0400 Subject: [PATCH 49/62] chore(main): release 1.150.1-SNAPSHOT (#2712) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index fb1f033ae..032918db0 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.150.0 + 1.150.1-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.150.0 + 1.150.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.0 + 1.132.1-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.0 + 1.132.1-SNAPSHOT diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index a7c17d223..e58032023 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.150.0 + 1.150.1-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.150.0 + 1.150.1-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index ebc0da233..547db37c0 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.0 + 1.132.1-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.0 + 1.150.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index b362f8750..5cbccd989 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.150.0 + 1.150.1-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.0 + 1.132.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.0 + 1.132.1-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.150.0 + 1.150.1-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 8150686ea..d4728dbe6 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.0 + 1.132.1-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.0 + 1.150.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index ecb067057..8fab1a99f 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.150.0 + 1.150.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index f33bdcb90..af016b47a 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.150.0:1.150.0 -grpc-google-cloud-pubsub-v1:1.132.0:1.132.0 -proto-google-cloud-pubsub-v1:1.132.0:1.132.0 +google-cloud-pubsub:1.150.0:1.150.1-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.132.0:1.132.1-SNAPSHOT +proto-google-cloud-pubsub-v1:1.132.0:1.132.1-SNAPSHOT From 7f6dbcc11c41c682bee16818436d036a1df68512 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 14 Apr 2026 15:46:17 +0100 Subject: [PATCH 50/62] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.61.0 (#2714) * deps: update dependency com.google.cloud:sdk-platform-java-config to v3.61.0 * build: fix unmanaged dependency check --------- Co-authored-by: Diego Marquez --- .github/workflows/unmanaged_dependency_check.yaml | 2 +- google-cloud-pubsub-bom/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index 8208170cc..c2f165680 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -17,6 +17,6 @@ jobs: # repository .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.58.0 + uses: googleapis/google-cloud-java/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@v1.85.0 with: bom-path: google-cloud-pubsub-bom/pom.xml diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 032918db0..71853c54f 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud sdk-platform-java-config - 3.58.0 + 3.61.0 Google Cloud pubsub BOM diff --git a/pom.xml b/pom.xml index 5cbccd989..904782d63 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud sdk-platform-java-config - 3.58.0 + 3.61.0 From 49cb97ff6d8f1a12abc6689cadc04c888baab723 Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Tue, 14 Apr 2026 13:26:41 -0400 Subject: [PATCH 51/62] chore: Update generation configuration at Tue Apr 14 03:07:21 UTC 2026 (#2713) * chore: Update generation configuration at Tue Mar 24 03:02:27 UTC 2026 * chore: Update generation configuration at Wed Mar 25 03:04:37 UTC 2026 * chore: Update generation configuration at Thu Mar 26 03:06:35 UTC 2026 * chore: generate libraries at Thu Mar 26 03:07:04 UTC 2026 * chore: Update generation configuration at Fri Mar 27 03:06:58 UTC 2026 * chore: Update generation configuration at Sat Mar 28 03:03:59 UTC 2026 * chore: generate libraries at Sat Mar 28 03:04:25 UTC 2026 * chore: Update generation configuration at Tue Mar 31 03:06:58 UTC 2026 * chore: Update generation configuration at Wed Apr 1 03:06:55 UTC 2026 * chore: Update generation configuration at Thu Apr 2 03:06:32 UTC 2026 * chore: Update generation configuration at Fri Apr 3 03:06:35 UTC 2026 * chore: Update generation configuration at Tue Apr 7 03:06:43 UTC 2026 * chore: generate libraries at Tue Apr 7 03:07:16 UTC 2026 * chore: Update generation configuration at Wed Apr 8 03:06:45 UTC 2026 * chore: Update generation configuration at Thu Apr 9 03:06:29 UTC 2026 * chore: Update generation configuration at Fri Apr 10 03:07:38 UTC 2026 * chore: Update generation configuration at Sat Apr 11 03:05:07 UTC 2026 * chore: Update generation configuration at Mon Apr 13 03:08:33 UTC 2026 * chore: Update generation configuration at Tue Apr 14 03:07:21 UTC 2026 * build: use correct action version * chore: generate libraries at Tue Apr 14 14:49:54 UTC 2026 * deps: correct graalvm image version * chore: generate libraries at Tue Apr 14 17:04:16 UTC 2026 * chore: update generator version to 2.71.0 * chore: generate libraries at Tue Apr 14 17:10:27 UTC 2026 --------- Co-authored-by: Diego Marquez --- .../hermetic_library_generation.yaml | 2 +- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- README.md | 2 +- generation_config.yaml | 6 +- .../pubsub/v1/stub/GrpcPublisherStub.java | 11 ++++ .../pubsub/v1/stub/GrpcSchemaServiceStub.java | 13 ++++ .../pubsub/v1/stub/GrpcSubscriberStub.java | 17 +++++ .../pubsub/v1/stub/HttpJsonPublisherStub.java | 11 ++++ .../v1/stub/HttpJsonSchemaServiceStub.java | 13 ++++ .../v1/stub/HttpJsonSubscriberStub.java | 16 +++++ .../pubsub/v1/stub/PublisherStubSettings.java | 1 + .../v1/stub/SchemaServiceStubSettings.java | 1 + .../v1/stub/SubscriberStubSettings.java | 7 ++- .../google/cloud/pubsub/v1/stub/Version.java | 27 ++++++++ .../reflect-config.json | 63 +++++++++++++++++++ .../com/google/pubsub/v1/AIInference.java | 14 ++--- .../pubsub/v1/AIInferenceOrBuilder.java | 4 +- .../main/proto/google/pubsub/v1/pubsub.proto | 2 +- 20 files changed, 195 insertions(+), 21 deletions(-) create mode 100644 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/Version.java diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 1b1f157b2..9564231af 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.68.0 + - uses: googleapis/google-cloud-java/sdk-platform-java/.github/scripts@v1.85.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index de4ac9dbf..af9f68ad4 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.58.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.61.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index d8ae3b322..576031a71 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.58.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.61.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index 0e9d1203a..1d86c06d2 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.58.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.61.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index 9c5387318..ce74acefa 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.78.0') +implementation platform('com.google.cloud:libraries-bom:26.79.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` diff --git a/generation_config.yaml b/generation_config.yaml index 454916e8f..e13e43f99 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.68.0 -googleapis_commitish: 758d8244a84065ea6b0dfacff3d3e9284983390b -libraries_bom_version: 26.78.0 +gapic_generator_version: 2.71.0 +googleapis_commitish: 62e4ecb2f4390728990514fea14aad0431881a52 +libraries_bom_version: 26.79.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java index aca63c6bc..137efe471 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java @@ -257,6 +257,7 @@ protected GrpcPublisherStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings updateTopicTransportSettings = GrpcCallSettings.newBuilder() @@ -277,6 +278,7 @@ protected GrpcPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); GrpcCallSettings getTopicTransportSettings = GrpcCallSettings.newBuilder() @@ -287,6 +289,7 @@ protected GrpcPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); GrpcCallSettings listTopicsTransportSettings = GrpcCallSettings.newBuilder() @@ -297,6 +300,7 @@ protected GrpcPublisherStub( builder.add("project", String.valueOf(request.getProject())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getProject()) .build(); GrpcCallSettings listTopicSubscriptionsTransportSettings = @@ -309,6 +313,7 @@ protected GrpcPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); GrpcCallSettings listTopicSnapshotsTransportSettings = @@ -320,6 +325,7 @@ protected GrpcPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); GrpcCallSettings deleteTopicTransportSettings = GrpcCallSettings.newBuilder() @@ -330,6 +336,7 @@ protected GrpcPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); GrpcCallSettings detachSubscriptionTransportSettings = @@ -341,6 +348,7 @@ protected GrpcPublisherStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings setIamPolicyTransportSettings = GrpcCallSettings.newBuilder() @@ -351,6 +359,7 @@ protected GrpcPublisherStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); GrpcCallSettings getIamPolicyTransportSettings = GrpcCallSettings.newBuilder() @@ -361,6 +370,7 @@ protected GrpcPublisherStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); GrpcCallSettings testIamPermissionsTransportSettings = @@ -372,6 +382,7 @@ protected GrpcPublisherStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); this.createTopicCallable = diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java index 403a90e19..a13604e4b 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java @@ -269,6 +269,7 @@ protected GrpcSchemaServiceStub( builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getParent()) .build(); GrpcCallSettings getSchemaTransportSettings = GrpcCallSettings.newBuilder() @@ -279,6 +280,7 @@ protected GrpcSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings listSchemasTransportSettings = GrpcCallSettings.newBuilder() @@ -289,6 +291,7 @@ protected GrpcSchemaServiceStub( builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getParent()) .build(); GrpcCallSettings listSchemaRevisionsTransportSettings = @@ -300,6 +303,7 @@ protected GrpcSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings commitSchemaTransportSettings = GrpcCallSettings.newBuilder() @@ -310,6 +314,7 @@ protected GrpcSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings rollbackSchemaTransportSettings = GrpcCallSettings.newBuilder() @@ -320,6 +325,7 @@ protected GrpcSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings deleteSchemaRevisionTransportSettings = GrpcCallSettings.newBuilder() @@ -330,6 +336,7 @@ protected GrpcSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings deleteSchemaTransportSettings = GrpcCallSettings.newBuilder() @@ -340,6 +347,7 @@ protected GrpcSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings validateSchemaTransportSettings = @@ -351,6 +359,7 @@ protected GrpcSchemaServiceStub( builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getParent()) .build(); GrpcCallSettings validateMessageTransportSettings = @@ -362,6 +371,7 @@ protected GrpcSchemaServiceStub( builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getParent()) .build(); GrpcCallSettings setIamPolicyTransportSettings = GrpcCallSettings.newBuilder() @@ -372,6 +382,7 @@ protected GrpcSchemaServiceStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); GrpcCallSettings getIamPolicyTransportSettings = GrpcCallSettings.newBuilder() @@ -382,6 +393,7 @@ protected GrpcSchemaServiceStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); GrpcCallSettings testIamPermissionsTransportSettings = @@ -393,6 +405,7 @@ protected GrpcSchemaServiceStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); this.createSchemaCallable = diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java index 7669b2cd6..6c51332e6 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java @@ -348,6 +348,7 @@ protected GrpcSubscriberStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings getSubscriptionTransportSettings = GrpcCallSettings.newBuilder() @@ -358,6 +359,7 @@ protected GrpcSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings updateSubscriptionTransportSettings = GrpcCallSettings.newBuilder() @@ -380,6 +382,7 @@ protected GrpcSubscriberStub( builder.add("project", String.valueOf(request.getProject())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getProject()) .build(); GrpcCallSettings deleteSubscriptionTransportSettings = GrpcCallSettings.newBuilder() @@ -390,6 +393,7 @@ protected GrpcSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings modifyAckDeadlineTransportSettings = GrpcCallSettings.newBuilder() @@ -400,6 +404,7 @@ protected GrpcSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings acknowledgeTransportSettings = GrpcCallSettings.newBuilder() @@ -410,6 +415,7 @@ protected GrpcSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings pullTransportSettings = GrpcCallSettings.newBuilder() @@ -420,10 +426,12 @@ protected GrpcSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings streamingPullTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(streamingPullMethodDescriptor) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings modifyPushConfigTransportSettings = GrpcCallSettings.newBuilder() @@ -434,6 +442,7 @@ protected GrpcSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings getSnapshotTransportSettings = GrpcCallSettings.newBuilder() @@ -444,6 +453,7 @@ protected GrpcSubscriberStub( builder.add("snapshot", String.valueOf(request.getSnapshot())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSnapshot()) .build(); GrpcCallSettings listSnapshotsTransportSettings = GrpcCallSettings.newBuilder() @@ -454,6 +464,7 @@ protected GrpcSubscriberStub( builder.add("project", String.valueOf(request.getProject())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getProject()) .build(); GrpcCallSettings createSnapshotTransportSettings = GrpcCallSettings.newBuilder() @@ -464,6 +475,7 @@ protected GrpcSubscriberStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); GrpcCallSettings updateSnapshotTransportSettings = GrpcCallSettings.newBuilder() @@ -484,6 +496,7 @@ protected GrpcSubscriberStub( builder.add("snapshot", String.valueOf(request.getSnapshot())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSnapshot()) .build(); GrpcCallSettings seekTransportSettings = GrpcCallSettings.newBuilder() @@ -494,6 +507,7 @@ protected GrpcSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); GrpcCallSettings setIamPolicyTransportSettings = GrpcCallSettings.newBuilder() @@ -504,6 +518,7 @@ protected GrpcSubscriberStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); GrpcCallSettings getIamPolicyTransportSettings = GrpcCallSettings.newBuilder() @@ -514,6 +529,7 @@ protected GrpcSubscriberStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); GrpcCallSettings testIamPermissionsTransportSettings = @@ -525,6 +541,7 @@ protected GrpcSubscriberStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); this.createSubscriptionCallable = diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java index 09c5f83f8..011a019de 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java @@ -582,6 +582,7 @@ protected HttpJsonPublisherStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings updateTopicTransportSettings = HttpJsonCallSettings.newBuilder() @@ -604,6 +605,7 @@ protected HttpJsonPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); HttpJsonCallSettings getTopicTransportSettings = HttpJsonCallSettings.newBuilder() @@ -615,6 +617,7 @@ protected HttpJsonPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); HttpJsonCallSettings listTopicsTransportSettings = HttpJsonCallSettings.newBuilder() @@ -626,6 +629,7 @@ protected HttpJsonPublisherStub( builder.add("project", String.valueOf(request.getProject())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getProject()) .build(); HttpJsonCallSettings listTopicSubscriptionsTransportSettings = @@ -639,6 +643,7 @@ protected HttpJsonPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); HttpJsonCallSettings listTopicSnapshotsTransportSettings = @@ -651,6 +656,7 @@ protected HttpJsonPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); HttpJsonCallSettings deleteTopicTransportSettings = HttpJsonCallSettings.newBuilder() @@ -662,6 +668,7 @@ protected HttpJsonPublisherStub( builder.add("topic", String.valueOf(request.getTopic())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getTopic()) .build(); HttpJsonCallSettings detachSubscriptionTransportSettings = @@ -674,6 +681,7 @@ protected HttpJsonPublisherStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); HttpJsonCallSettings setIamPolicyTransportSettings = HttpJsonCallSettings.newBuilder() @@ -685,6 +693,7 @@ protected HttpJsonPublisherStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); HttpJsonCallSettings getIamPolicyTransportSettings = HttpJsonCallSettings.newBuilder() @@ -696,6 +705,7 @@ protected HttpJsonPublisherStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); HttpJsonCallSettings testIamPermissionsTransportSettings = @@ -708,6 +718,7 @@ protected HttpJsonPublisherStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); this.createTopicCallable = diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java index 0b9a729a4..d8f726b6f 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java @@ -627,6 +627,7 @@ protected HttpJsonSchemaServiceStub( builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getParent()) .build(); HttpJsonCallSettings getSchemaTransportSettings = HttpJsonCallSettings.newBuilder() @@ -638,6 +639,7 @@ protected HttpJsonSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings listSchemasTransportSettings = HttpJsonCallSettings.newBuilder() @@ -649,6 +651,7 @@ protected HttpJsonSchemaServiceStub( builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getParent()) .build(); HttpJsonCallSettings listSchemaRevisionsTransportSettings = @@ -662,6 +665,7 @@ protected HttpJsonSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings commitSchemaTransportSettings = HttpJsonCallSettings.newBuilder() @@ -673,6 +677,7 @@ protected HttpJsonSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings rollbackSchemaTransportSettings = HttpJsonCallSettings.newBuilder() @@ -684,6 +689,7 @@ protected HttpJsonSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings deleteSchemaRevisionTransportSettings = @@ -696,6 +702,7 @@ protected HttpJsonSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings deleteSchemaTransportSettings = HttpJsonCallSettings.newBuilder() @@ -707,6 +714,7 @@ protected HttpJsonSchemaServiceStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings validateSchemaTransportSettings = @@ -719,6 +727,7 @@ protected HttpJsonSchemaServiceStub( builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getParent()) .build(); HttpJsonCallSettings validateMessageTransportSettings = @@ -731,6 +740,7 @@ protected HttpJsonSchemaServiceStub( builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getParent()) .build(); HttpJsonCallSettings setIamPolicyTransportSettings = HttpJsonCallSettings.newBuilder() @@ -742,6 +752,7 @@ protected HttpJsonSchemaServiceStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); HttpJsonCallSettings getIamPolicyTransportSettings = HttpJsonCallSettings.newBuilder() @@ -753,6 +764,7 @@ protected HttpJsonSchemaServiceStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); HttpJsonCallSettings testIamPermissionsTransportSettings = @@ -765,6 +777,7 @@ protected HttpJsonSchemaServiceStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); this.createSchemaCallable = diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java index 4bb0774b8..ce9647bd2 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java @@ -818,6 +818,7 @@ protected HttpJsonSubscriberStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings getSubscriptionTransportSettings = HttpJsonCallSettings.newBuilder() @@ -829,6 +830,7 @@ protected HttpJsonSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); HttpJsonCallSettings updateSubscriptionTransportSettings = @@ -854,6 +856,7 @@ protected HttpJsonSubscriberStub( builder.add("project", String.valueOf(request.getProject())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getProject()) .build(); HttpJsonCallSettings deleteSubscriptionTransportSettings = HttpJsonCallSettings.newBuilder() @@ -865,6 +868,7 @@ protected HttpJsonSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); HttpJsonCallSettings modifyAckDeadlineTransportSettings = HttpJsonCallSettings.newBuilder() @@ -876,6 +880,7 @@ protected HttpJsonSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); HttpJsonCallSettings acknowledgeTransportSettings = HttpJsonCallSettings.newBuilder() @@ -887,6 +892,7 @@ protected HttpJsonSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); HttpJsonCallSettings pullTransportSettings = HttpJsonCallSettings.newBuilder() @@ -898,6 +904,7 @@ protected HttpJsonSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); HttpJsonCallSettings modifyPushConfigTransportSettings = HttpJsonCallSettings.newBuilder() @@ -909,6 +916,7 @@ protected HttpJsonSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); HttpJsonCallSettings getSnapshotTransportSettings = HttpJsonCallSettings.newBuilder() @@ -920,6 +928,7 @@ protected HttpJsonSubscriberStub( builder.add("snapshot", String.valueOf(request.getSnapshot())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSnapshot()) .build(); HttpJsonCallSettings listSnapshotsTransportSettings = @@ -932,6 +941,7 @@ protected HttpJsonSubscriberStub( builder.add("project", String.valueOf(request.getProject())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getProject()) .build(); HttpJsonCallSettings createSnapshotTransportSettings = HttpJsonCallSettings.newBuilder() @@ -943,6 +953,7 @@ protected HttpJsonSubscriberStub( builder.add("name", String.valueOf(request.getName())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getName()) .build(); HttpJsonCallSettings updateSnapshotTransportSettings = HttpJsonCallSettings.newBuilder() @@ -965,6 +976,7 @@ protected HttpJsonSubscriberStub( builder.add("snapshot", String.valueOf(request.getSnapshot())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSnapshot()) .build(); HttpJsonCallSettings seekTransportSettings = HttpJsonCallSettings.newBuilder() @@ -976,6 +988,7 @@ protected HttpJsonSubscriberStub( builder.add("subscription", String.valueOf(request.getSubscription())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getSubscription()) .build(); HttpJsonCallSettings setIamPolicyTransportSettings = HttpJsonCallSettings.newBuilder() @@ -987,6 +1000,7 @@ protected HttpJsonSubscriberStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); HttpJsonCallSettings getIamPolicyTransportSettings = HttpJsonCallSettings.newBuilder() @@ -998,6 +1012,7 @@ protected HttpJsonSubscriberStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); HttpJsonCallSettings testIamPermissionsTransportSettings = @@ -1010,6 +1025,7 @@ protected HttpJsonSubscriberStub( builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) + .setResourceNameExtractor(request -> request.getResource()) .build(); this.createSubscriptionCallable = diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java index ed148fe35..a0c47d70d 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java @@ -602,6 +602,7 @@ protected LibraryMetadata getLibraryMetadata() { return LibraryMetadata.newBuilder() .setArtifactName("com.google.cloud:google-cloud-pubsub") .setRepository("googleapis/java-pubsub") + .setVersion(Version.VERSION) .build(); } diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java index 1509bd98e..2e879a074 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java @@ -467,6 +467,7 @@ protected LibraryMetadata getLibraryMetadata() { return LibraryMetadata.newBuilder() .setArtifactName("com.google.cloud:google-cloud-pubsub") .setRepository("googleapis/java-pubsub") + .setVersion(Version.VERSION) .build(); } diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java index 82446684a..5f03d7b03 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java @@ -517,6 +517,7 @@ protected LibraryMetadata getLibraryMetadata() { return LibraryMetadata.newBuilder() .setArtifactName("com.google.cloud:google-cloud-pubsub") .setRepository("googleapis/java-pubsub") + .setVersion(Version.VERSION) .build(); } @@ -630,10 +631,10 @@ public static class Builder extends StubSettings.Builder * @@ -1041,7 +1041,7 @@ public java.lang.String getServiceAccountEmail() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1841,7 +1841,7 @@ public Builder clearUnstructuredInference() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1869,7 +1869,7 @@ public java.lang.String getServiceAccountEmail() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1897,7 +1897,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1924,7 +1924,7 @@ public Builder setServiceAccountEmail(java.lang.String value) { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1947,7 +1947,7 @@ public Builder clearServiceAccountEmail() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java index c7039d308..07aa76e61 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java @@ -110,7 +110,7 @@ public interface AIInferenceOrBuilder * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -128,7 +128,7 @@ public interface AIInferenceOrBuilder * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * 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 3f07ec45c..382343c6a 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 @@ -834,7 +834,7 @@ message AIInference { // endpoints. The resource creator or updater that specifies this field must // have `iam.serviceAccounts.actAs` permission on the service account. If not // specified, the Pub/Sub [service - // agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + // agent](https://cloud.google.com/iam/docs/service-agents), // service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. string service_account_email = 3 [(google.api.field_behavior) = OPTIONAL]; } From 880f28a11d7dc2864ae958e59940bb24bb6fa555 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2026 16:01:22 -0400 Subject: [PATCH 52/62] chore(main): release 1.150.1 (#2717) * chore(main): release 1.150.1 * chore: generate libraries at Tue Apr 14 17:28:43 UTC 2026 * fix: restore Version.java --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot Co-authored-by: Diego Marquez --- .github/.OwlBot-hermetic.yaml | 1 + CHANGELOG.md | 18 ++++++++++++++++++ README.md | 6 +++--- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- .../google/cloud/pubsub/v1/stub/Version.java | 2 +- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 11 files changed, 41 insertions(+), 22 deletions(-) diff --git a/.github/.OwlBot-hermetic.yaml b/.github/.OwlBot-hermetic.yaml index 85ecbdeb5..1c4539892 100644 --- a/.github/.OwlBot-hermetic.yaml +++ b/.github/.OwlBot-hermetic.yaml @@ -18,6 +18,7 @@ deep-remove-regex: #Args=--initialize-at-build-time=org.junit.runners.model.FrameworkField deep-preserve-regex: +- "/.*google-.*/src/main/java/.*/stub/Version.java" - "/google-cloud-pubsub/src/test/resources/META-INF/native-image/.*" - "/google-cloud-pubsub/src/main/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" diff --git a/CHANGELOG.md b/CHANGELOG.md index 81dfd9414..c8247d9be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [1.150.1](https://github.com/googleapis/java-pubsub/compare/v1.150.0...v1.150.1) (2026-04-14) + + +### Bug Fixes + +* **deps:** Update the Java code generator (gapic-generator-java) to 2.71.0 ([49cb97f](https://github.com/googleapis/java-pubsub/commit/49cb97ff6d8f1a12abc6689cadc04c888baab723)) +* Increase streaming pull timeout ([49cb97f](https://github.com/googleapis/java-pubsub/commit/49cb97ff6d8f1a12abc6689cadc04c888baab723)) + + +### Dependencies + +* Update dependency com.google.cloud:sdk-platform-java-config to v3.61.0 ([#2714](https://github.com/googleapis/java-pubsub/issues/2714)) ([7f6dbcc](https://github.com/googleapis/java-pubsub/commit/7f6dbcc11c41c682bee16818436d036a1df68512)) + + +### Documentation + +* Fix documentation URL AIInference MessageTransform service_account_email field ([49cb97f](https://github.com/googleapis/java-pubsub/commit/49cb97ff6d8f1a12abc6689cadc04c888baab723)) + ## [1.150.0](https://github.com/googleapis/java-pubsub/compare/v1.149.0...v1.150.0) (2026-03-23) diff --git a/README.md b/README.md index ce74acefa..242587b4b 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.150.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.150.1' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.150.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.150.1" ``` ## Authentication @@ -401,7 +401,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.150.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.150.1 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 71853c54f..4422b6623 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.150.1-SNAPSHOT + 1.150.1 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.150.1-SNAPSHOT + 1.150.1 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.1-SNAPSHOT + 1.132.1 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.1-SNAPSHOT + 1.132.1 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index e58032023..b3de23c8e 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.150.1-SNAPSHOT + 1.150.1 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.150.1-SNAPSHOT + 1.150.1 google-cloud-pubsub diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/Version.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/Version.java index 833a2342d..362fa0f69 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/Version.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-pubsub:current} - static final String VERSION = "0.0.0-SNAPSHOT"; + static final String VERSION = "1.150.1"; // {x-version-update-end} } diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 547db37c0..64bed5f2e 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.1-SNAPSHOT + 1.132.1 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.1-SNAPSHOT + 1.150.1 diff --git a/pom.xml b/pom.xml index 904782d63..819b85d3d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.150.1-SNAPSHOT + 1.150.1 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.1-SNAPSHOT + 1.132.1 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.1-SNAPSHOT + 1.132.1 com.google.cloud google-cloud-pubsub - 1.150.1-SNAPSHOT + 1.150.1 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index d4728dbe6..21be59d19 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.1-SNAPSHOT + 1.132.1 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.1-SNAPSHOT + 1.150.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 8fab1a99f..516ebe76e 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.150.1-SNAPSHOT + 1.150.1 diff --git a/versions.txt b/versions.txt index af016b47a..e6514d1a7 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.150.0:1.150.1-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.132.0:1.132.1-SNAPSHOT -proto-google-cloud-pubsub-v1:1.132.0:1.132.1-SNAPSHOT +google-cloud-pubsub:1.150.1:1.150.1 +grpc-google-cloud-pubsub-v1:1.132.1:1.132.1 +proto-google-cloud-pubsub-v1:1.132.1:1.132.1 From b6a4d2f3dc93fd4deaae6754756496d7d696e478 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 21 Apr 2026 15:33:26 -0400 Subject: [PATCH 53/62] chore: stop referencing googleapis/sdk-platform-java (#2724) * chore: generate libraries at Tue Apr 21 17:39:00 UTC 2026 * chore: Use gapic-libraries-bom version for tags --------- Co-authored-by: cloud-java-bot --- .github/scripts/update_generation_config.sh | 19 ++++++++++++------- .github/workflows/renovate_config_check.yaml | 7 +++---- renovate.json | 4 ++-- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/scripts/update_generation_config.sh b/.github/scripts/update_generation_config.sh index 74d0e6cc4..f448fafd7 100644 --- a/.github/scripts/update_generation_config.sh +++ b/.github/scripts/update_generation_config.sh @@ -48,13 +48,14 @@ function update_config() { } # Update an action to a new version in GitHub action. +# the second argument must have the git tag (including "v"). function update_action() { local key_word=$1 local new_value=$2 local file=$3 echo "Update ${key_word} to ${new_value} in ${file}" # use a different delimiter because the key_word contains "/". - sed -i -e "s|${key_word}@v.*$|${key_word}@v${new_value}|" "${file}" + sed -i -e "s|${key_word}@[^ ]*$|${key_word}@${new_value}|" "${file}" } # The parameters of this script is: @@ -143,12 +144,16 @@ rm -rf tmp-googleapis update_config "googleapis_commitish" "${latest_commit}" "${generation_config}" # Update gapic-generator-java version to the latest -latest_version=$(get_latest_released_version "com.google.api" "gapic-generator-java") -update_config "gapic_generator_version" "${latest_version}" "${generation_config}" - -# Update composite action version to latest gapic-generator-java version -update_action "googleapis/sdk-platform-java/.github/scripts" \ - "${latest_version}" \ +latest_gapic_generator_version=$(get_latest_released_version "com.google.api" "gapic-generator-java") +update_config "gapic_generator_version" "${latest_gapic_generator_version}" "${generation_config}" + +# Update the GitHub Actions reference to the latest. +# After the google-cloud-java monorepo migration of sdk-platform-java, +# we cannot rely on the gapic-generator-java version tag. Let's use +# the gapic-libraries-bom version +latest_gapic_libraries_bom_version=$(get_latest_released_version "com.google.cloud" "gapic-libraries-bom") +update_action "googleapis/google-cloud-java/sdk-platform-java/.github/scripts" \ + "v${latest_gapic_libraries_bom_version}" \ "${workflow}" # Update libraries-bom version to the latest diff --git a/.github/workflows/renovate_config_check.yaml b/.github/workflows/renovate_config_check.yaml index 47b9e87c9..8c922936b 100644 --- a/.github/workflows/renovate_config_check.yaml +++ b/.github/workflows/renovate_config_check.yaml @@ -4,6 +4,7 @@ on: pull_request: paths: - 'renovate.json' + - '.github/workflows/renovate_config_check.yaml' jobs: renovate_bot_config_validation: @@ -18,8 +19,6 @@ jobs: with: node-version: '22' - - name: Install Renovate and Config Validator + - name: Run Renovate Config Validator run: | - npm install -g npm@latest - npm install --global renovate - renovate-config-validator + npx --package renovate@43.136.0 renovate-config-validator diff --git a/renovate.json b/renovate.json index 7d5a289e6..91b1a27f7 100644 --- a/renovate.json +++ b/renovate.json @@ -26,9 +26,9 @@ "^.github/workflows/unmanaged_dependency_check.yaml$" ], "matchStrings": [ - "uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v(?.+?)\\n" + "uses: googleapis/google-cloud-java/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@v(?.+?)\\n" ], - "depNameTemplate": "com.google.cloud:sdk-platform-java-config", + "depNameTemplate": "com.google.cloud:gapic-libraries-bom", "datasourceTemplate": "maven" } ], From 052b02c98b2f16c38fb4833948e916a92c3bf02b Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 5 May 2026 21:18:36 -0400 Subject: [PATCH 54/62] ci: use CLOUD_JAVA_BOT_GITHUB_TOKEN (#2728) --- .github/workflows/hermetic_library_generation.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 9564231af..fe2fc8cff 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -36,10 +36,10 @@ jobs: if: env.SHOULD_RUN == 'true' with: fetch-depth: 0 - token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} - uses: googleapis/google-cloud-java/sdk-platform-java/.github/scripts@v1.85.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} head_ref: ${{ github.head_ref }} - token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} From 77e0c652c73a2fb790f01b76f2f32d95092188cb Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 7 May 2026 01:08:14 +0100 Subject: [PATCH 55/62] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.62.0 (#2729) --- google-cloud-pubsub-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 4422b6623..29e800263 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud sdk-platform-java-config - 3.61.0 + 3.62.0 Google Cloud pubsub BOM diff --git a/pom.xml b/pom.xml index 819b85d3d..808d7a809 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud sdk-platform-java-config - 3.61.0 + 3.62.0 From 3da5b3baa1c4d97e58208b3c1de5533f2b10bf40 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 7 May 2026 01:09:00 +0100 Subject: [PATCH 56/62] deps: update googleapis/google-cloud-java action to v1.86.0 (#2727) --- .github/workflows/hermetic_library_generation.yaml | 2 +- .github/workflows/unmanaged_dependency_check.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index fe2fc8cff..132917410 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} - - uses: googleapis/google-cloud-java/sdk-platform-java/.github/scripts@v1.85.0 + - uses: googleapis/google-cloud-java/sdk-platform-java/.github/scripts@v1.86.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index c2f165680..1b9b972b4 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -17,6 +17,6 @@ jobs: # repository .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/google-cloud-java/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@v1.85.0 + uses: googleapis/google-cloud-java/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@v1.86.0 with: bom-path: google-cloud-pubsub-bom/pom.xml From 50a213c661cf3cbe25caf672eafc1edacd888d02 Mon Sep 17 00:00:00 2001 From: Jin Seop Kim Date: Thu, 7 May 2026 12:48:47 -0400 Subject: [PATCH 57/62] Revert "deps: update googleapis/google-cloud-java action to v1.86.0 (#2727)" (#2731) This reverts commit 3da5b3baa1c4d97e58208b3c1de5533f2b10bf40. --- .github/workflows/hermetic_library_generation.yaml | 2 +- .github/workflows/unmanaged_dependency_check.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 132917410..fe2fc8cff 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} - - uses: googleapis/google-cloud-java/sdk-platform-java/.github/scripts@v1.86.0 + - uses: googleapis/google-cloud-java/sdk-platform-java/.github/scripts@v1.85.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index 1b9b972b4..c2f165680 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -17,6 +17,6 @@ jobs: # repository .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/google-cloud-java/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@v1.86.0 + uses: googleapis/google-cloud-java/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@v1.85.0 with: bom-path: google-cloud-pubsub-bom/pom.xml From b2f79dca23689bd3ac460719dff61569136887c3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 13:13:11 -0400 Subject: [PATCH 58/62] chore(main): release 1.150.2-SNAPSHOT (#2718) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 29e800263..a0c7174c9 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.150.1 + 1.150.2-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.150.1 + 1.150.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.1 + 1.132.2-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.1 + 1.132.2-SNAPSHOT diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index b3de23c8e..58d1ee969 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.150.1 + 1.150.2-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.150.1 + 1.150.2-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 64bed5f2e..6a2ac7d05 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.1 + 1.132.2-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.1 + 1.150.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index 808d7a809..36b20be83 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.150.1 + 1.150.2-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.1 + 1.132.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.1 + 1.132.2-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.150.1 + 1.150.2-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 21be59d19..9d08e37e4 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.1 + 1.132.2-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.1 + 1.150.2-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 516ebe76e..928a28a33 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.150.1 + 1.150.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index e6514d1a7..8efc8a823 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.150.1:1.150.1 -grpc-google-cloud-pubsub-v1:1.132.1:1.132.1 -proto-google-cloud-pubsub-v1:1.132.1:1.132.1 +google-cloud-pubsub:1.150.1:1.150.2-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.132.1:1.132.2-SNAPSHOT +proto-google-cloud-pubsub-v1:1.132.1:1.132.2-SNAPSHOT From a9b68a20208246b435739a1169d240a55c89695c Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Thu, 7 May 2026 14:29:46 -0400 Subject: [PATCH 59/62] chore: Update generation configuration at Thu May 7 00:15:53 UTC 2026 (#2730) * chore: Update generation configuration at Thu May 7 00:15:53 UTC 2026 * chore: generate libraries at Thu May 7 17:45:58 UTC 2026 --------- Co-authored-by: Jin Seop Kim --- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- README.md | 2 +- generation_config.yaml | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index af9f68ad4..7b8ea75fc 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.61.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.62.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 576031a71..53ecdc6d6 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.61.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.62.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index 1d86c06d2..f9e58f879 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.61.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.62.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index 242587b4b..23cc2bcc8 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.79.0') +implementation platform('com.google.cloud:libraries-bom:26.80.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` diff --git a/generation_config.yaml b/generation_config.yaml index e13e43f99..e6044361b 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.71.0 -googleapis_commitish: 62e4ecb2f4390728990514fea14aad0431881a52 -libraries_bom_version: 26.79.0 +gapic_generator_version: 2.72.0 +googleapis_commitish: c2648728afb6deff882cfc4167a21abd382870fa +libraries_bom_version: 26.80.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub From d21882fae39fd9ae70f5231199e02081289d9ae4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 14:52:56 -0400 Subject: [PATCH 60/62] chore(main): release 1.150.2 (#2734) * chore(main): release 1.150.2 * chore: generate libraries at Thu May 7 18:32:56 UTC 2026 --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot --- CHANGELOG.md | 13 +++++++++++++ README.md | 6 +++--- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 34 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8247d9be..dcd6ad089 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [1.150.2](https://github.com/googleapis/java-pubsub/compare/v1.150.1...v1.150.2) (2026-05-07) + + +### Bug Fixes + +* **deps:** Update the Java code generator (gapic-generator-java) to 2.72.0 ([a9b68a2](https://github.com/googleapis/java-pubsub/commit/a9b68a20208246b435739a1169d240a55c89695c)) + + +### Dependencies + +* Update dependency com.google.cloud:sdk-platform-java-config to v3.62.0 ([#2729](https://github.com/googleapis/java-pubsub/issues/2729)) ([77e0c65](https://github.com/googleapis/java-pubsub/commit/77e0c652c73a2fb790f01b76f2f32d95092188cb)) +* Update googleapis/google-cloud-java action to v1.86.0 ([#2727](https://github.com/googleapis/java-pubsub/issues/2727)) ([3da5b3b](https://github.com/googleapis/java-pubsub/commit/3da5b3baa1c4d97e58208b3c1de5533f2b10bf40)) + ## [1.150.1](https://github.com/googleapis/java-pubsub/compare/v1.150.0...v1.150.1) (2026-04-14) diff --git a/README.md b/README.md index 23cc2bcc8..c0da639a9 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.150.1' +implementation 'com.google.cloud:google-cloud-pubsub:1.150.2' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.150.1" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.150.2" ``` ## Authentication @@ -401,7 +401,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.150.1 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.150.2 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index a0c7174c9..1a5163e14 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.150.2-SNAPSHOT + 1.150.2 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.150.2-SNAPSHOT + 1.150.2 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.2-SNAPSHOT + 1.132.2 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.2-SNAPSHOT + 1.132.2 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 58d1ee969..00252e835 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.150.2-SNAPSHOT + 1.150.2 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.150.2-SNAPSHOT + 1.150.2 google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 6a2ac7d05..a1f92025e 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.2-SNAPSHOT + 1.132.2 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.2-SNAPSHOT + 1.150.2 diff --git a/pom.xml b/pom.xml index 36b20be83..b38165167 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.150.2-SNAPSHOT + 1.150.2 Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.2-SNAPSHOT + 1.132.2 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.2-SNAPSHOT + 1.132.2 com.google.cloud google-cloud-pubsub - 1.150.2-SNAPSHOT + 1.150.2 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 9d08e37e4..805918806 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.2-SNAPSHOT + 1.132.2 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.2-SNAPSHOT + 1.150.2 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 928a28a33..5d67ea6fe 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.150.2-SNAPSHOT + 1.150.2 diff --git a/versions.txt b/versions.txt index 8efc8a823..d0e2d916f 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.150.1:1.150.2-SNAPSHOT -grpc-google-cloud-pubsub-v1:1.132.1:1.132.2-SNAPSHOT -proto-google-cloud-pubsub-v1:1.132.1:1.132.2-SNAPSHOT +google-cloud-pubsub:1.150.2:1.150.2 +grpc-google-cloud-pubsub-v1:1.132.2:1.132.2 +proto-google-cloud-pubsub-v1:1.132.2:1.132.2 From 1c78534e1ccad40f8abb10174c4f2e4c7eace35b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 15:50:31 -0400 Subject: [PATCH 61/62] chore(main): release 1.150.3-SNAPSHOT (#2735) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-pubsub-bom/pom.xml | 8 ++++---- google-cloud-pubsub/pom.xml | 4 ++-- grpc-google-cloud-pubsub-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-pubsub-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 1a5163e14..6da6aad59 100644 --- a/google-cloud-pubsub-bom/pom.xml +++ b/google-cloud-pubsub-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub-bom - 1.150.2 + 1.150.3-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.150.2 + 1.150.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.2 + 1.132.3-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.2 + 1.132.3-SNAPSHOT diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 00252e835..a0d5f9483 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsub - 1.150.2 + 1.150.3-SNAPSHOT jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.150.2 + 1.150.3-SNAPSHOT google-cloud-pubsub diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index a1f92025e..d84a02a07 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.2 + 1.132.3-SNAPSHOT grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.2 + 1.150.3-SNAPSHOT diff --git a/pom.xml b/pom.xml index b38165167..8d7ea2816 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.150.2 + 1.150.3-SNAPSHOT Google Cloud Pub/Sub Parent https://github.com/googleapis/java-pubsub @@ -69,17 +69,17 @@ com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.2 + 1.132.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.132.2 + 1.132.3-SNAPSHOT com.google.cloud google-cloud-pubsub - 1.150.2 + 1.150.3-SNAPSHOT diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 805918806..3588ea34e 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.132.2 + 1.132.3-SNAPSHOT proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.150.2 + 1.150.3-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 5d67ea6fe..432ce85de 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.150.2 + 1.150.3-SNAPSHOT diff --git a/versions.txt b/versions.txt index d0e2d916f..55484585a 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.150.2:1.150.2 -grpc-google-cloud-pubsub-v1:1.132.2:1.132.2 -proto-google-cloud-pubsub-v1:1.132.2:1.132.2 +google-cloud-pubsub:1.150.2:1.150.3-SNAPSHOT +grpc-google-cloud-pubsub-v1:1.132.2:1.132.3-SNAPSHOT +proto-google-cloud-pubsub-v1:1.132.2:1.132.3-SNAPSHOT From ba2b8a32c584e9a263d432beb691ab984e830ffa Mon Sep 17 00:00:00 2001 From: Mike Eltsufin Date: Fri, 8 May 2026 10:34:57 -0400 Subject: [PATCH 62/62] chore: add deprecation notice to README post migration to the monorepo (#2737) Added deprecation notice for the repository. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c0da639a9..1a8adf4e3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-JAVA](https://github.com/googleapis/google-cloud-java/tree/main/java-pubsub)_** + + # Google Cloud Pub/Sub Client for Java Java idiomatic client for [Cloud Pub/Sub][product-docs].