diff --git a/.github/generated-files-bot.yml b/.github/generated-files-bot.yml index c644a24e1..e58cdcbad 100644 --- a/.github/generated-files-bot.yml +++ b/.github/generated-files-bot.yml @@ -6,6 +6,7 @@ externalManifests: file: '.github/readme/synth.metadata/synth.metadata' jsonpath: '$.generatedFiles[*]' ignoreAuthors: +- 'cloud-java-bot' - 'renovate-bot' - 'yoshi-automation' - 'release-please[bot]' diff --git a/.github/scripts/update_generation_config.sh b/.github/scripts/update_generation_config.sh index 91434688c..fff56bf5d 100644 --- a/.github/scripts/update_generation_config.sh +++ b/.github/scripts/update_generation_config.sh @@ -15,8 +15,15 @@ set -e function get_latest_released_version() { local group_id=$1 local artifact_id=$2 - latest=$(curl -s "https://search.maven.org/solrsearch/select?q=g:${group_id}+AND+a:${artifact_id}&core=gav&rows=500&wt=json" | jq -r '.response.docs[] | select(.v | test("^[0-9]+(\\.[0-9]+)*$")) | .v' | sort -V | tail -n 1) - echo "${latest}" + json_content=$(curl -s "https://search.maven.org/solrsearch/select?q=g:${group_id}+AND+a:${artifact_id}&core=gav&rows=500&wt=json") + latest=$(jq -r '.response.docs[] | select(.v | test("^[0-9]+(\\.[0-9]+)*$")) | .v' <<< "${json_content}" | 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}" + exit 1 + else + echo "${latest}" + fi } # Update a key to a new value in the generation config. diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 846e0ed3b..310f09976 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -15,8 +15,9 @@ branchProtectionRules: - units (11) - 'Kokoro - Test: Integration' - cla/google - - 'Kokoro - Test: Java GraalVM Native Image' - - 'Kokoro - Test: Java 17 GraalVM Native Image' + - '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 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b91fa381f..4dd9974f2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -104,7 +104,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 - run: java -version - run: .kokoro/build.sh env: diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index ca1baea12..6b856abde 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.55.1 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.56.2 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/.github/workflows/renovate_config_check.yaml b/.github/workflows/renovate_config_check.yaml index 7c5ec7865..47b9e87c9 100644 --- a/.github/workflows/renovate_config_check.yaml +++ b/.github/workflows/renovate_config_check.yaml @@ -7,7 +7,7 @@ on: jobs: renovate_bot_config_validation: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout code @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' - name: Install Renovate and Config Validator run: | diff --git a/.github/workflows/update_generation_config.yaml b/.github/workflows/update_generation_config.yaml index f15c80785..cd2d5fd5a 100644 --- a/.github/workflows/update_generation_config.yaml +++ b/.github/workflows/update_generation_config.yaml @@ -28,6 +28,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - name: Update params in generation config to latest shell: bash @@ -36,7 +37,8 @@ jobs: [ -z "$(git config user.email)" ] && git config --global user.email "cloud-java-bot@google.com" [ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot" bash .github/scripts/update_generation_config.sh \ - --base_branch "${base_branch}"\ + --base_branch "${base_branch}" \ --repo ${{ github.repository }} env: GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 351d0d40c..41903cda1 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -52,7 +52,7 @@ test) RETURN_CODE=$? ;; lint) - mvn com.coveo:fmt-maven-plugin:check + mvn com.spotify.fmt:fmt-maven-plugin:check RETURN_CODE=$? ;; javadoc) diff --git a/.kokoro/presubmit/graalvm-native.cfg b/.kokoro/presubmit/graalvm-native-a.cfg similarity index 77% rename from .kokoro/presubmit/graalvm-native.cfg rename to .kokoro/presubmit/graalvm-native-a.cfg index fb1979a33..d0c295213 100644 --- a/.kokoro/presubmit/graalvm-native.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.45.1" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.46.2" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { @@ -31,3 +31,8 @@ env_vars: { key: "SECRET_MANAGER_KEYS" value: "java-it-service-account" } + +env_vars: { + key: "IT_SERVICE_ACCOUNT_EMAIL" + value: "it-service-account@gcloud-devel.iam.gserviceaccount.com" +} \ No newline at end of file diff --git a/.kokoro/presubmit/graalvm-native-17.cfg b/.kokoro/presubmit/graalvm-native-b.cfg similarity index 74% rename from .kokoro/presubmit/graalvm-native-17.cfg rename to .kokoro/presubmit/graalvm-native-b.cfg index 07ae08a98..962c305ff 100644 --- a/.kokoro/presubmit/graalvm-native-17.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,12 +3,12 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.45.1" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.46.2" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { key: "JOB_TYPE" - value: "graalvm17" + value: "graalvm" } # TODO: remove this after we've migrated all tests and scripts @@ -30,4 +30,9 @@ env_vars: { env_vars: { key: "SECRET_MANAGER_KEYS" value: "java-it-service-account" +} + +env_vars: { + key: "IT_SERVICE_ACCOUNT_EMAIL" + value: "it-service-account@gcloud-devel.iam.gserviceaccount.com" } \ No newline at end of file diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg new file mode 100644 index 000000000..87b5dff65 --- /dev/null +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -0,0 +1,38 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.46.2" # {x-version-update:google-cloud-shared-dependencies:current} +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} + +env_vars: { + key: "IT_SERVICE_ACCOUNT_EMAIL" + value: "it-service-account@gcloud-devel.iam.gserviceaccount.com" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f77a4f9eb..1f7b6979f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## [1.139.0](https://github.com/googleapis/java-pubsub/compare/v1.138.0...v1.139.0) (2025-04-25) + + +### Features + +* Generate renamed go pubsub admin clients ([4472d7b](https://github.com/googleapis/java-pubsub/commit/4472d7baff4894a7c5cf0efc7eadd83ec8801d7a)) + + +### Bug Fixes + +* Add retries for ack and modack operations that don't return with a metadata map ([#2385](https://github.com/googleapis/java-pubsub/issues/2385)) ([00070b7](https://github.com/googleapis/java-pubsub/commit/00070b74e54fcb62b91a4d72a88d3b20b2425a94)) +* **deps:** Update the Java code generator (gapic-generator-java) to 2.56.2 ([4472d7b](https://github.com/googleapis/java-pubsub/commit/4472d7baff4894a7c5cf0efc7eadd83ec8801d7a)) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-bigquery to v2.49.0 ([#2380](https://github.com/googleapis/java-pubsub/issues/2380)) ([405e485](https://github.com/googleapis/java-pubsub/commit/405e485bbe503357a0616ec72de8fea00cb91c9c)) +* Update dependency com.google.cloud:google-cloud-core to v2.53.1 ([#2365](https://github.com/googleapis/java-pubsub/issues/2365)) ([748058f](https://github.com/googleapis/java-pubsub/commit/748058fc018e3a36dedd576404037bf8c016c794)) +* Update dependency com.google.cloud:google-cloud-storage to v2.50.0 ([#2372](https://github.com/googleapis/java-pubsub/issues/2372)) ([b81164a](https://github.com/googleapis/java-pubsub/commit/b81164aa5682c8046ebfa44e1e47579e4c3fcd28)) +* Update dependency com.google.protobuf:protobuf-java-util to v4.30.1 ([#2364](https://github.com/googleapis/java-pubsub/issues/2364)) ([05eb9c0](https://github.com/googleapis/java-pubsub/commit/05eb9c0ce5179ff9e8656544258adc02a59336e5)) +* Update dependency com.google.protobuf:protobuf-java-util to v4.30.2 ([#2383](https://github.com/googleapis/java-pubsub/issues/2383)) ([4119cc0](https://github.com/googleapis/java-pubsub/commit/4119cc03895873f94ddef10850753fb59384a8fc)) + + +### Documentation + +* Update documentation for JavaScriptUDF to indicate that the `message_id` metadata field is optional instead of required ([f904786](https://github.com/googleapis/java-pubsub/commit/f904786f87e80cdc09bba947cd53e42dffb7132e)) + ## [1.138.0](https://github.com/googleapis/java-pubsub/compare/v1.137.1...v1.138.0) (2025-03-14) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b65dd279c..ff092b68e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -84,7 +84,7 @@ Code in this repo is formatted with [google-java-format](https://github.com/google/google-java-format). To run formatting on your project, you can run: ``` -mvn com.coveo:fmt-maven-plugin:format +mvn com.spotify.fmt:fmt-maven-plugin:format ``` [1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account diff --git a/README.md b/README.md index b4815f2d4..ba60d62ce 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.56.0 + 26.57.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.137.1 + 1.138.0 ``` @@ -51,20 +51,20 @@ 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.56.0') +implementation platform('com.google.cloud:libraries-bom:26.59.0') 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.138.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.139.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.138.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.139.0" ``` ## Authentication @@ -418,7 +418,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.138.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.139.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/generation_config.yaml b/generation_config.yaml index 936aed548..26559e519 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.55.1 -googleapis_commitish: d0ba3ce0fafe1225ebda6b259a2e29dfe2934bb5 -libraries_bom_version: 26.56.0 +gapic_generator_version: 2.56.2 +googleapis_commitish: 261895f1d8ced9564f4cf872f7f4f9a1f4c615d3 +libraries_bom_version: 26.59.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub diff --git a/google-cloud-pubsub-bom/pom.xml b/google-cloud-pubsub-bom/pom.xml index 23974ed45..700bd0798 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.138.0 + 1.139.0 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsub - 1.138.0 + 1.139.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.120.0 + 1.121.0 com.google.api.grpc proto-google-cloud-pubsub-v1 - 1.120.0 + 1.121.0 diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 228dae29c..c1a84679f 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.138.0 + 1.139.0 jar Google Cloud Pub/Sub https://github.com/googleapis/java-pubsub @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pubsub-parent - 1.138.0 + 1.139.0 google-cloud-pubsub diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/AckReplyConsumerWithResponse.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/AckReplyConsumerWithResponse.java index 59ea25ae7..445ba7287 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/AckReplyConsumerWithResponse.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/AckReplyConsumerWithResponse.java @@ -34,7 +34,8 @@ * processing code is idempotent, as you may receive any given message more than once. */ @BetaApi( - "This is a preview feature. For more details, see https://cloud.google.com/pubsub/docs/exactly-once-delivery.") + "This is a preview feature. For more details, see" + + " https://cloud.google.com/pubsub/docs/exactly-once-delivery.") public interface AckReplyConsumerWithResponse { /** * Acknowledges that the message has been successfully processed. The service will not send the 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 34ef312f3..983844a62 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 @@ -476,6 +476,21 @@ void notifyAckFailed(AckRequestData ackRequestData) { synchronized (outstandingReceipts) { outstandingReceipts.remove(ackRequestData.getAckId()); } + + // When notifying that an ack/modack has failed, due to a non-retryable error, + // we attempt to remove the message from the pending messages and release it from the flow + // controller so that we no longer attempt to extend the message's ack deadline. + if (pendingMessages.remove(ackRequestData.getAckId()) == null) { + /* + * We're forgetting the message for the second time. This may occur on modacks because the message passed + * its total expiration and was forgotten and then the user finishes working on the message + * which forgets the message again. Additionally, when a failed ack occurs, we will have already forgotten + * the message, so we don't need to here. Turns the second forget into a no-op so we don't free twice. + */ + return; + } + flowController.release(1, ackRequestData.getMessageWrapper().getSerializedSize()); + messagesWaiter.incrementPendingCount(-1); } private void processBatch(List batch) { diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/PubsubMessageWrapper.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/PubsubMessageWrapper.java index 839eecf91..7067b0c1a 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/PubsubMessageWrapper.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/PubsubMessageWrapper.java @@ -133,6 +133,10 @@ int getDataSize() { return message.getData().size(); } + int getSerializedSize() { + return message.getSerializedSize(); + } + String getOrderingKey() { return message.getOrderingKey(); } diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StatusUtil.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StatusUtil.java index a7b8e1faa..56c19306d 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StatusUtil.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StatusUtil.java @@ -25,6 +25,26 @@ private StatusUtil() { // Static class, not instantiable. } + static AckResponse getFailedAckResponse(Throwable t) { + if (!(t instanceof ApiException)) { + return AckResponse.OTHER; + } + + ApiException apiException = (ApiException) t; + AckResponse failedAckResponse; + switch (apiException.getStatusCode().getCode()) { + case FAILED_PRECONDITION: + failedAckResponse = AckResponse.FAILED_PRECONDITION; + break; + case PERMISSION_DENIED: + failedAckResponse = AckResponse.PERMISSION_DENIED; + break; + default: + failedAckResponse = AckResponse.OTHER; + } + return failedAckResponse; + } + static boolean isRetryable(Throwable error) { if (!(error instanceof ApiException)) { return true; 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 80ff2b4e1..26411942f 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 @@ -408,21 +408,7 @@ private void setFailureFutureOutstandingMessages(Throwable t) { AckResponse ackResponse; if (getExactlyOnceDeliveryEnabled()) { - if (!(t instanceof ApiException)) { - ackResponse = AckResponse.OTHER; - } - - ApiException apiException = (ApiException) t; - switch (apiException.getStatusCode().getCode()) { - case FAILED_PRECONDITION: - ackResponse = AckResponse.FAILED_PRECONDITION; - break; - case PERMISSION_DENIED: - ackResponse = AckResponse.PERMISSION_DENIED; - break; - default: - ackResponse = AckResponse.OTHER; - } + ackResponse = StatusUtil.getFailedAckResponse(t); } else { // We should set success regardless if ExactlyOnceDelivery is not enabled ackResponse = AckResponse.SUCCESSFUL; @@ -504,7 +490,7 @@ private void sendModackOperations( modackRequestData.getIsReceiptModack()); ApiFutureCallback callback = getCallback( - modackRequestData.getAckRequestData(), + ackRequestDataInRequestList, deadlineExtensionSeconds, true, currentBackoffMillis, @@ -611,23 +597,14 @@ public void onFailure(Throwable t) { List ackRequestDataArrayRetryList = new ArrayList<>(); try { Map metadataMap = getMetadataMapFromThrowable(t); - ackRequestDataList.forEach( - ackRequestData -> { - String ackId = ackRequestData.getAckId(); - if (metadataMap.containsKey(ackId)) { - // An error occured - String errorMessage = metadataMap.get(ackId); - if (errorMessage.startsWith(TRANSIENT_FAILURE_METADATA_PREFIX)) { - // Retry all "TRANSIENT_*" error messages - do not set message future - logger.log(Level.INFO, "Transient error message, will resend", errorMessage); - ackRequestDataArrayRetryList.add(ackRequestData); - } else if (errorMessage.equals(PERMANENT_FAILURE_INVALID_ACK_ID_METADATA)) { - // Permanent failure, send - logger.log( - Level.INFO, - "Permanent error invalid ack id message, will not resend", - errorMessage); - ackRequestData.setResponse(AckResponse.INVALID, setResponseOnSuccess); + if (metadataMap.isEmpty()) { + String operation = isModack ? "ModifyAckDeadline" : "Acknowledge"; + if (!StatusUtil.isRetryable(t)) { + logger.log(Level.WARNING, "Un-retryable error on " + operation, t); + ackRequestDataList.forEach( + ackRequestData -> { + AckResponse failedAckResponse = StatusUtil.getFailedAckResponse(t); + ackRequestData.setResponse(failedAckResponse, setResponseOnSuccess); messageDispatcher.notifyAckFailed(ackRequestData); tracer.addEndRpcEvent( ackRequestData.getMessageWrapper(), @@ -635,35 +612,76 @@ public void onFailure(Throwable t) { isModack, deadlineExtensionSeconds); tracer.setSubscriberSpanException( - ackRequestData.getMessageWrapper(), t, "Invalid ack ID"); + ackRequestData.getMessageWrapper(), t, "Error with no metadata map"); + ackRequestData + .getMessageWrapper() + .setSubscriberSpanException(t, "Error with no metadata map"); + pendingRequests.remove(ackRequestData); + }); + } else { + logger.log(Level.INFO, "Retryable error on " + operation + ", will resend", t); + ackRequestDataArrayRetryList.addAll(ackRequestDataList); + ackRequestDataList.forEach( + ackRequestData -> { + pendingRequests.remove(ackRequestData); + }); + } + } else { + ackRequestDataList.forEach( + ackRequestData -> { + String ackId = ackRequestData.getAckId(); + if (metadataMap.containsKey(ackId)) { + // An error occured + String errorMessage = metadataMap.get(ackId); + if (errorMessage.startsWith(TRANSIENT_FAILURE_METADATA_PREFIX)) { + // Retry all "TRANSIENT_*" error messages - do not set message future + logger.log(Level.INFO, "Transient error message, will resend", errorMessage); + ackRequestDataArrayRetryList.add(ackRequestData); + } else if (errorMessage.equals(PERMANENT_FAILURE_INVALID_ACK_ID_METADATA)) { + // Permanent failure + logger.log( + Level.INFO, + "Permanent error invalid ack id message, will not resend", + errorMessage); + ackRequestData.setResponse(AckResponse.INVALID, setResponseOnSuccess); + messageDispatcher.notifyAckFailed(ackRequestData); + tracer.addEndRpcEvent( + ackRequestData.getMessageWrapper(), + rpcSpanSampled, + isModack, + deadlineExtensionSeconds); + tracer.setSubscriberSpanException( + ackRequestData.getMessageWrapper(), t, "Invalid ack ID"); + } else { + logger.log( + Level.INFO, "Unknown error message, will not resend", errorMessage); + ackRequestData.setResponse(AckResponse.OTHER, setResponseOnSuccess); + messageDispatcher.notifyAckFailed(ackRequestData); + tracer.addEndRpcEvent( + ackRequestData.getMessageWrapper(), + rpcSpanSampled, + isModack, + deadlineExtensionSeconds); + tracer.setSubscriberSpanException( + ackRequestData.getMessageWrapper(), t, "Unknown error message"); + ackRequestData + .getMessageWrapper() + .setSubscriberSpanException(t, "Unknown error message"); + } } else { - logger.log(Level.INFO, "Unknown error message, will not resend", errorMessage); - ackRequestData.setResponse(AckResponse.OTHER, setResponseOnSuccess); - messageDispatcher.notifyAckFailed(ackRequestData); + ackRequestData.setResponse(AckResponse.SUCCESSFUL, setResponseOnSuccess); + messageDispatcher.notifyAckSuccess(ackRequestData); + tracer.endSubscriberSpan(ackRequestData.getMessageWrapper()); tracer.addEndRpcEvent( ackRequestData.getMessageWrapper(), rpcSpanSampled, isModack, deadlineExtensionSeconds); - tracer.setSubscriberSpanException( - ackRequestData.getMessageWrapper(), t, "Unknown error message"); - ackRequestData - .getMessageWrapper() - .setSubscriberSpanException(t, "Unknown error message"); } - } else { - ackRequestData.setResponse(AckResponse.SUCCESSFUL, setResponseOnSuccess); - messageDispatcher.notifyAckSuccess(ackRequestData); - tracer.endSubscriberSpan(ackRequestData.getMessageWrapper()); - tracer.addEndRpcEvent( - ackRequestData.getMessageWrapper(), - rpcSpanSampled, - isModack, - deadlineExtensionSeconds); - } - // Remove from our pending - pendingRequests.remove(ackRequestData); - }); + // Remove from our pending + pendingRequests.remove(ackRequestData); + }); + } } catch (InvalidProtocolBufferException e) { // If we fail to parse out the errorInfo, we should retry all logger.log( 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 4b9ea3825..36ec5dc36 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 @@ -185,9 +185,7 @@ private Subscriber(Builder builder) { flowController = new FlowController( - builder - .flowControlSettings - .toBuilder() + builder.flowControlSettings.toBuilder() .setLimitExceededBehavior(LimitExceededBehavior.Block) .build()); 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 9cda4b223..3b6a28ee6 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 @@ -1223,7 +1223,8 @@ public UnaryCallable getIamPolicyCallable() { public BidiStreamingCallable streamingPullCallable() { throw new UnsupportedOperationException( - "Not implemented: streamingPullCallable(). REST transport is not implemented for this method yet."); + "Not implemented: streamingPullCallable(). REST transport is not implemented for this" + + " method yet."); } @Override 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 5b2148c36..e01c205a6 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 @@ -189,7 +189,8 @@ public void listTopicSubscriptions( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method ListTopicSubscriptions, expected %s or %s", + "Unrecognized response type %s for method ListTopicSubscriptions, expected %s or" + + " %s", response == null ? "null" : response.getClass().getName(), ListTopicSubscriptionsResponse.class.getName(), Exception.class.getName()))); 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 c2324f0b7..71c5edb34 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 @@ -212,7 +212,8 @@ public void deleteSchemaRevision( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method DeleteSchemaRevision, expected %s or %s", + "Unrecognized response type %s for method DeleteSchemaRevision, expected %s or" + + " %s", response == null ? "null" : response.getClass().getName(), Schema.class.getName(), Exception.class.getName()))); 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 e466178eb..cd711d2a2 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 @@ -265,7 +265,8 @@ public void onNext(StreamingPullRequest value) { responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method StreamingPull, expected %s or %s", + "Unrecognized response type %s for method StreamingPull, expected %s or" + + " %s", response == null ? "null" : response.getClass().getName(), StreamingPullResponse.class.getName(), Exception.class.getName()))); diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java index cdefa84f7..39155c848 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java @@ -118,8 +118,7 @@ public void testPublishByDuration() throws Exception { getTestPublisherBuilder() // To demonstrate that reaching duration will trigger publish .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setDelayThresholdDuration(Duration.ofSeconds(5)) .setElementCountThreshold(10L) .build()) @@ -148,8 +147,7 @@ public void testPublishByNumBatchedMessages() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(2L) .setDelayThresholdDuration(Duration.ofSeconds(100)) .build()) @@ -187,8 +185,7 @@ public void testSinglePublishByNumBytes() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(2L) .setDelayThresholdDuration(Duration.ofSeconds(100)) .build()) @@ -223,8 +220,7 @@ public void testPublishByShutdown() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setDelayThresholdDuration(Duration.ofSeconds(100)) .setElementCountThreshold(10L) .build()) @@ -256,8 +252,7 @@ public void testPublishMixedSizeAndDuration() throws Exception { getTestPublisherBuilder() // To demonstrate that reaching duration will trigger publish .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(2L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .build()) @@ -297,8 +292,7 @@ public void testPublishWithCompression() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(2L) .setDelayThresholdDuration(Duration.ofSeconds(100)) .build()) @@ -328,8 +322,7 @@ public void testBatchedMessagesWithOrderingKeyByNum() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(3L) .setDelayThresholdDuration(Duration.ofSeconds(100)) .build()) @@ -381,8 +374,7 @@ public void testBatchedMessagesWithOrderingKeyByDuration() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(10L) .setDelayThresholdDuration(Duration.ofSeconds(100)) .build()) @@ -444,8 +436,7 @@ public void testLargeMessagesDoNotReorderBatches() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(10L) .setRequestByteThreshold(64L) .setDelayThresholdDuration(Duration.ofSeconds(100)) @@ -488,8 +479,7 @@ public void testEnableMessageOrdering_overwritesMaxAttempts() throws Exception { getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setTotalTimeoutDuration(Duration.ofSeconds(10)) .setMaxAttempts(1) .build()) @@ -671,8 +661,7 @@ public void testErrorPropagation() throws Exception { getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .build()) @@ -692,8 +681,7 @@ public void testPublishFailureRetries() throws Exception { getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .build()) @@ -716,8 +704,7 @@ public void testPublishFailureRetries_retriesDisabled() throws Exception { getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setTotalTimeoutDuration(Duration.ofSeconds(10)) .setMaxAttempts(1) .build()) @@ -741,8 +728,7 @@ public void testPublishFailureRetries_maxRetriesSetup() throws Exception { getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setTotalTimeoutDuration(Duration.ofSeconds(10)) .setMaxAttempts(3) .build()) @@ -766,8 +752,7 @@ public void testPublishFailureRetries_maxRetriesSetUnlimited() throws Exception getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setTotalTimeoutDuration(Duration.ofSeconds(10)) .setMaxAttempts(0) .build()) @@ -792,13 +777,11 @@ public void testPublishFailureRetries_nonRetryableFailsImmediately() throws Exce getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setTotalTimeoutDuration(Duration.ofSeconds(10)) .build()) .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .build()) @@ -876,8 +859,7 @@ public void testBuilderInvalidArguments() { } try { builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setRequestByteThreshold(null) .build()); fail("Should have thrown an NullPointerException"); @@ -886,8 +868,7 @@ public void testBuilderInvalidArguments() { } try { builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setRequestByteThreshold(0L) .build()); fail("Should have thrown an IllegalArgumentException"); @@ -896,8 +877,7 @@ public void testBuilderInvalidArguments() { } try { builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setRequestByteThreshold(-1L) .build()); fail("Should have thrown an IllegalArgumentException"); @@ -906,8 +886,7 @@ public void testBuilderInvalidArguments() { } builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setDelayThresholdDuration(Duration.ofMillis(1)) .build()); try { @@ -919,8 +898,7 @@ public void testBuilderInvalidArguments() { } try { builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setDelayThresholdDuration(Duration.ofMillis(-1)) .build()); fail("Should have thrown an IllegalArgumentException"); @@ -929,14 +907,12 @@ public void testBuilderInvalidArguments() { } builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .build()); try { builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(null) .build()); fail("Should have thrown an NullPointerException"); @@ -945,8 +921,7 @@ public void testBuilderInvalidArguments() { } try { builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(0L) .build()); fail("Should have thrown an IllegalArgumentException"); @@ -955,8 +930,7 @@ public void testBuilderInvalidArguments() { } try { builder.setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(-1L) .build()); fail("Should have thrown an IllegalArgumentException"); @@ -965,14 +939,12 @@ public void testBuilderInvalidArguments() { } builder.setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setInitialRpcTimeoutDuration(Publisher.Builder.MIN_RPC_TIMEOUT) .build()); try { builder.setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setInitialRpcTimeoutDuration(Publisher.Builder.MIN_RPC_TIMEOUT.minusMillis(1)) .build()); fail("Should have thrown an IllegalArgumentException"); @@ -980,14 +952,12 @@ public void testBuilderInvalidArguments() { // Expected } builder.setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setTotalTimeoutDuration(Publisher.Builder.MIN_TOTAL_TIMEOUT) .build()); try { builder.setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setTotalTimeoutDuration(Publisher.Builder.MIN_TOTAL_TIMEOUT.minusMillis(1)) .build()); fail("Should have thrown an IllegalArgumentException"); @@ -1001,8 +971,7 @@ public void testPartialBatchingSettings() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.getDefaultBatchingSettings() - .toBuilder() + Publisher.Builder.getDefaultBatchingSettings().toBuilder() .setRequestByteThreshold(5000L) .build()) .build(); @@ -1014,8 +983,7 @@ public void testPartialBatchingSettings() throws Exception { publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.getDefaultBatchingSettings() - .toBuilder() + Publisher.Builder.getDefaultBatchingSettings().toBuilder() .setElementCountThreshold(500L) .build()) .build(); @@ -1031,8 +999,7 @@ public void testAwaitTermination() throws Exception { getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setRetrySettings( - Publisher.Builder.DEFAULT_RETRY_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_RETRY_SETTINGS.toBuilder() .setTotalTimeoutDuration(Duration.ofSeconds(10)) .setMaxAttempts(0) .build()) @@ -1065,8 +1032,7 @@ public void invalidFlowControlBytes_throwException() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .setFlowControlSettings( @@ -1090,8 +1056,7 @@ public void invalidFlowControlElementCount_throwException() throws Exception { Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .setFlowControlSettings( @@ -1115,8 +1080,7 @@ public void testMessageExceedsFlowControlLimits_throwException() throws Exceptio getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .setFlowControlSettings( @@ -1143,8 +1107,7 @@ public void testPublishFlowControl_throwException() throws Exception { getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .setFlowControlSettings( @@ -1185,8 +1148,7 @@ public void testPublishFlowControl_throwExceptionWithOrderingKey() throws Except getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .setFlowControlSettings( @@ -1232,8 +1194,7 @@ public void testPublishFlowControl_block() throws Exception { getTestPublisherBuilder() .setExecutorProvider(SINGLE_THREAD_EXECUTOR) .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .setFlowControlSettings( @@ -1324,8 +1285,7 @@ public void testPublishOpenTelemetryTracing() throws Exception { final Publisher publisher = getTestPublisherBuilder() .setBatchingSettings( - Publisher.Builder.DEFAULT_BATCHING_SETTINGS - .toBuilder() + Publisher.Builder.DEFAULT_BATCHING_SETTINGS.toBuilder() .setElementCountThreshold(1L) .setDelayThresholdDuration(Duration.ofSeconds(5)) .setFlowControlSettings( diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnectionTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnectionTest.java index 8bf0113b5..335ccbdc3 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnectionTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnectionTest.java @@ -17,6 +17,7 @@ package com.google.cloud.pubsub.v1; import static org.junit.Assert.*; +import static org.mockito.ArgumentMatchers.argThat; import static org.mockito.Mockito.*; import com.google.api.core.ApiFutures; @@ -24,6 +25,8 @@ import com.google.api.gax.batching.FlowControlSettings; import com.google.api.gax.batching.FlowController; import com.google.api.gax.core.Distribution; +import com.google.api.gax.grpc.GrpcStatusCode; +import com.google.api.gax.rpc.ApiException; import com.google.api.gax.rpc.StatusCode; import com.google.cloud.pubsub.v1.stub.SubscriberStub; import com.google.common.collect.Lists; @@ -32,6 +35,7 @@ import com.google.pubsub.v1.ModifyAckDeadlineRequest; import com.google.rpc.ErrorInfo; import com.google.rpc.Status; +import io.grpc.Status.Code; import io.grpc.StatusException; import io.grpc.protobuf.StatusProto; import java.time.Duration; @@ -65,6 +69,8 @@ public class StreamingSubscriberConnectionTest { "MOCK-ACK-ID-TRANSIENT-FAILURE-SERVICE-UNAVAILABLE-THEN-SUCCESS"; private static final String MOCK_ACK_ID_INVALID = "MOCK-ACK-ID-INVALID"; private static final String MOCK_ACK_ID_OTHER = "MOCK-ACK-ID-OTHER"; + private static final String MOCK_ACK_ID_NO_METADATA_MAP_INTERNAL_ERROR_THEN_PERMISSION_DENIED = + "MOCK-ACK-ID-NO-METADATA-MAP-INTERNAL-ERROR"; private static final String PERMANENT_FAILURE_INVALID_ACK_ID = "PERMANENT_FAILURE_INVALID_ACK_ID"; private static final String TRANSIENT_FAILURE_UNORDERED_ACK_ID = @@ -398,6 +404,62 @@ public void testSendAckOperationsExactlyOnceEnabledMessageFuturesAcks() { } } + @Test + public void testSendAckOperationsExactlyOnceEnabledErrorWithEmptyMetadataMap() { + // Setup + + // The list(s) of ackIds allows us to mock the grpc response(s) + List ackIdsRequest = new ArrayList<>(); + List ackRequestDataList = new ArrayList(); + + // Initial) INTERNAL error, retryable + // Retry) PERMISSION_DENIED, not retryable + SettableApiFuture messageInternalErrorThenPermissionDenied = + SettableApiFuture.create(); + ackRequestDataList.add( + AckRequestData.newBuilder(MOCK_ACK_ID_NO_METADATA_MAP_INTERNAL_ERROR_THEN_PERMISSION_DENIED) + .setMessageFuture(messageInternalErrorThenPermissionDenied) + .build()); + ackIdsRequest.add(MOCK_ACK_ID_NO_METADATA_MAP_INTERNAL_ERROR_THEN_PERMISSION_DENIED); + + // Build our request so we can set our mock responses + AcknowledgeRequest acknowledgeRequest = + AcknowledgeRequest.newBuilder() + .setSubscription(MOCK_SUBSCRIPTION_NAME) + .addAllAckIds(ackIdsRequest) + .build(); + + ApiException internalError = + new ApiException("internal", null, GrpcStatusCode.of(Code.INTERNAL), true); + ApiException permissionDeniedError = + new ApiException( + "permission_denied", null, GrpcStatusCode.of(Code.PERMISSION_DENIED), false); + // Set mock grpc responses + when(mockSubscriberStub.acknowledgeCallable().futureCall(acknowledgeRequest)) + .thenReturn(ApiFutures.immediateFailedFuture(internalError)) + .thenReturn(ApiFutures.immediateFailedFuture(permissionDeniedError)); + + // Instantiate class and run operation(s) + StreamingSubscriberConnection streamingSubscriberConnection = + getStreamingSubscriberConnection(true); + + streamingSubscriberConnection.sendAckOperations(ackRequestDataList); + + // Backoff + systemExecutor.advanceTime(Duration.ofMillis(200)); + + // Assert expected behavior; + verify(mockSubscriberStub.acknowledgeCallable(), times(2)).futureCall(acknowledgeRequest); + verify(mockSubscriberStub, never()).modifyAckDeadlineCallable(); + + try { + assertEquals(AckResponse.PERMISSION_DENIED, messageInternalErrorThenPermissionDenied.get()); + } catch (InterruptedException | ExecutionException e) { + // In case something goes wrong retrieving the futures + throw new AssertionError(); + } + } + @Test public void testSetFailureResponseOutstandingMessages() { // Setup diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriberTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriberTest.java index 679d37e40..253a91f73 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriberTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriberTest.java @@ -297,8 +297,7 @@ public void testPartialFlowControlSettings() throws Exception { Subscriber subscriber = getTestSubscriberBuilder(testReceiver) .setFlowControlSettings( - Subscriber.Builder.DEFAULT_FLOW_CONTROL_SETTINGS - .toBuilder() + Subscriber.Builder.DEFAULT_FLOW_CONTROL_SETTINGS.toBuilder() .setMaxOutstandingElementCount(500L) .build()) .build(); @@ -310,8 +309,7 @@ public void testPartialFlowControlSettings() throws Exception { subscriber = getTestSubscriberBuilder(testReceiver) .setFlowControlSettings( - Subscriber.Builder.DEFAULT_FLOW_CONTROL_SETTINGS - .toBuilder() + Subscriber.Builder.DEFAULT_FLOW_CONTROL_SETTINGS.toBuilder() .setMaxOutstandingRequestBytes(5_000_000_000L) .build()) .build(); diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index 380f1f500..20aa99fd2 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.120.0 + 1.121.0 grpc-google-cloud-pubsub-v1 GRPC library for grpc-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.138.0 + 1.139.0 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 851a57745..a1b0a2b1c 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 @@ -422,6 +422,19 @@ public PublisherStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOp return PublisherStub.newStub(factory, channel); } + /** Creates a new blocking-style stub that supports all types of calls on the service */ + public static PublisherBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PublisherBlockingV2Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PublisherBlockingV2Stub(channel, callOptions); + } + }; + return PublisherBlockingV2Stub.newStub(factory, channel); + } + /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ @@ -799,6 +812,154 @@ public void detachSubscription( * messages to a topic. * */ + public static final class PublisherBlockingV2Stub + extends io.grpc.stub.AbstractBlockingStub { + private PublisherBlockingV2Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PublisherBlockingV2Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PublisherBlockingV2Stub(channel, callOptions); + } + + /** + * + * + *
+     * Creates the given topic with the given name. See the [resource name rules]
+     * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
+     * 
+ */ + public com.google.pubsub.v1.Topic createTopic(com.google.pubsub.v1.Topic request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTopicMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an existing topic by updating the fields specified in the update
+     * mask. Note that certain properties of a topic are not modifiable.
+     * 
+ */ + public com.google.pubsub.v1.Topic updateTopic(com.google.pubsub.v1.UpdateTopicRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTopicMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
+     * does not exist.
+     * 
+ */ + public com.google.pubsub.v1.PublishResponse publish( + com.google.pubsub.v1.PublishRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPublishMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the configuration of a topic.
+     * 
+ */ + public com.google.pubsub.v1.Topic getTopic(com.google.pubsub.v1.GetTopicRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTopicMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists matching topics.
+     * 
+ */ + public com.google.pubsub.v1.ListTopicsResponse listTopics( + com.google.pubsub.v1.ListTopicsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTopicsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the names of the attached subscriptions on this topic.
+     * 
+ */ + public com.google.pubsub.v1.ListTopicSubscriptionsResponse listTopicSubscriptions( + com.google.pubsub.v1.ListTopicSubscriptionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTopicSubscriptionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the names of the snapshots on this topic. Snapshots are used in
+     * [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
+     * which allow you to manage message acknowledgments in bulk. That is, you can
+     * set the acknowledgment state of messages in an existing subscription to the
+     * state captured by a snapshot.
+     * 
+ */ + public com.google.pubsub.v1.ListTopicSnapshotsResponse listTopicSnapshots( + com.google.pubsub.v1.ListTopicSnapshotsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTopicSnapshotsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the topic with the given name. Returns `NOT_FOUND` if the topic
+     * does not exist. After a topic is deleted, a new topic may be created with
+     * the same name; this is an entirely new topic with none of the old
+     * configuration or subscriptions. Existing subscriptions to this topic are
+     * not deleted, but their `topic` field is set to `_deleted-topic_`.
+     * 
+ */ + public com.google.protobuf.Empty deleteTopic(com.google.pubsub.v1.DeleteTopicRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTopicMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Detaches a subscription from this topic. All messages retained in the
+     * subscription are dropped. Subsequent `Pull` and `StreamingPull` requests
+     * will return FAILED_PRECONDITION. If the subscription is a push
+     * subscription, pushes to the endpoint will stop.
+     * 
+ */ + public com.google.pubsub.v1.DetachSubscriptionResponse detachSubscription( + com.google.pubsub.v1.DetachSubscriptionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDetachSubscriptionMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do limited synchronous rpc calls to service Publisher. + * + *
+   * The service that an application uses to manipulate topics, and to send
+   * messages to a topic.
+   * 
+ */ public static final class PublisherBlockingStub extends io.grpc.stub.AbstractBlockingStub { private PublisherBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 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 076e1f798..35c281c88 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 @@ -467,6 +467,19 @@ public SchemaServiceStub newStub( return SchemaServiceStub.newStub(factory, channel); } + /** Creates a new blocking-style stub that supports all types of calls on the service */ + public static SchemaServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SchemaServiceBlockingV2Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SchemaServiceBlockingV2Stub(channel, callOptions); + } + }; + return SchemaServiceBlockingV2Stub.newStub(factory, channel); + } + /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ @@ -848,6 +861,155 @@ public void validateMessage( * Service for doing schema-related operations. * */ + public static final class SchemaServiceBlockingV2Stub + extends io.grpc.stub.AbstractBlockingStub { + private SchemaServiceBlockingV2Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SchemaServiceBlockingV2Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SchemaServiceBlockingV2Stub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a schema.
+     * 
+ */ + public com.google.pubsub.v1.Schema createSchema( + com.google.pubsub.v1.CreateSchemaRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSchemaMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a schema.
+     * 
+ */ + public com.google.pubsub.v1.Schema getSchema(com.google.pubsub.v1.GetSchemaRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSchemaMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists schemas in a project.
+     * 
+ */ + public com.google.pubsub.v1.ListSchemasResponse listSchemas( + com.google.pubsub.v1.ListSchemasRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSchemasMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all schema revisions for the named schema.
+     * 
+ */ + public com.google.pubsub.v1.ListSchemaRevisionsResponse listSchemaRevisions( + com.google.pubsub.v1.ListSchemaRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSchemaRevisionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Commits a new schema revision to an existing schema.
+     * 
+ */ + public com.google.pubsub.v1.Schema commitSchema( + com.google.pubsub.v1.CommitSchemaRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCommitSchemaMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new schema revision that is a copy of the provided revision_id.
+     * 
+ */ + public com.google.pubsub.v1.Schema rollbackSchema( + com.google.pubsub.v1.RollbackSchemaRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackSchemaMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a specific schema revision.
+     * 
+ */ + public com.google.pubsub.v1.Schema deleteSchemaRevision( + com.google.pubsub.v1.DeleteSchemaRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSchemaRevisionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a schema.
+     * 
+ */ + public com.google.protobuf.Empty deleteSchema( + com.google.pubsub.v1.DeleteSchemaRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSchemaMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Validates a schema.
+     * 
+ */ + public com.google.pubsub.v1.ValidateSchemaResponse validateSchema( + com.google.pubsub.v1.ValidateSchemaRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getValidateSchemaMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Validates a message against a schema.
+     * 
+ */ + public com.google.pubsub.v1.ValidateMessageResponse validateMessage( + com.google.pubsub.v1.ValidateMessageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getValidateMessageMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do limited synchronous rpc calls to service SchemaService. + * + *
+   * Service for doing schema-related operations.
+   * 
+ */ public static final class SchemaServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private SchemaServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { 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 b4b3b9471..531c82e20 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 @@ -698,6 +698,19 @@ public SubscriberStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callO return SubscriberStub.newStub(factory, channel); } + /** Creates a new blocking-style stub that supports all types of calls on the service */ + public static SubscriberBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SubscriberBlockingV2Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SubscriberBlockingV2Stub(channel, callOptions); + } + }; + return SubscriberBlockingV2Stub.newStub(factory, channel); + } + /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ @@ -1408,6 +1421,311 @@ public void seek( * establishing a bi-directional stream using the `StreamingPull` method. * */ + public static final class SubscriberBlockingV2Stub + extends io.grpc.stub.AbstractBlockingStub { + private SubscriberBlockingV2Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SubscriberBlockingV2Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SubscriberBlockingV2Stub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a subscription to a given topic. See the [resource name rules]
+     * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
+     * If the subscription already exists, returns `ALREADY_EXISTS`.
+     * If the corresponding topic doesn't exist, returns `NOT_FOUND`.
+     * If the name is not provided in the request, the server will assign a random
+     * name for this subscription on the same project as the topic, conforming
+     * to the [resource name format]
+     * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The
+     * generated name is populated in the returned Subscription object. Note that
+     * for REST API requests, you must specify a name in the request.
+     * 
+ */ + public com.google.pubsub.v1.Subscription createSubscription( + com.google.pubsub.v1.Subscription request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSubscriptionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the configuration details of a subscription.
+     * 
+ */ + public com.google.pubsub.v1.Subscription getSubscription( + com.google.pubsub.v1.GetSubscriptionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSubscriptionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an existing subscription by updating the fields specified in the
+     * update mask. Note that certain properties of a subscription, such as its
+     * topic, are not modifiable.
+     * 
+ */ + public com.google.pubsub.v1.Subscription updateSubscription( + com.google.pubsub.v1.UpdateSubscriptionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSubscriptionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists matching subscriptions.
+     * 
+ */ + public com.google.pubsub.v1.ListSubscriptionsResponse listSubscriptions( + com.google.pubsub.v1.ListSubscriptionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSubscriptionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an existing subscription. All messages retained in the subscription
+     * are immediately dropped. Calls to `Pull` after deletion will return
+     * `NOT_FOUND`. After a subscription is deleted, a new one may be created with
+     * the same name, but the new one has no association with the old
+     * subscription or its topic unless the same topic is specified.
+     * 
+ */ + public com.google.protobuf.Empty deleteSubscription( + com.google.pubsub.v1.DeleteSubscriptionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSubscriptionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Modifies the ack deadline for a specific message. This method is useful
+     * to indicate that more time is needed to process a message by the
+     * subscriber, or to make the message available for redelivery if the
+     * processing was interrupted. Note that this does not modify the
+     * subscription-level `ackDeadlineSeconds` used for subsequent messages.
+     * 
+ */ + public com.google.protobuf.Empty modifyAckDeadline( + com.google.pubsub.v1.ModifyAckDeadlineRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getModifyAckDeadlineMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Acknowledges the messages associated with the `ack_ids` in the
+     * `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
+     * from the subscription.
+     * Acknowledging a message whose ack deadline has expired may succeed,
+     * but such a message may be redelivered later. Acknowledging a message more
+     * than once will not result in an error.
+     * 
+ */ + public com.google.protobuf.Empty acknowledge(com.google.pubsub.v1.AcknowledgeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAcknowledgeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Pulls messages from the server.
+     * 
+ */ + public com.google.pubsub.v1.PullResponse pull(com.google.pubsub.v1.PullRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPullMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Establishes a stream with the server, which sends messages down to the
+     * client. The client streams acknowledgements and ack deadline modifications
+     * back to the server. The server will close the stream and return the status
+     * on any error. The server may close the stream with status `UNAVAILABLE` to
+     * reassign server-side resources, in which case, the client should
+     * re-establish the stream. Flow control can be achieved by configuring the
+     * underlying RPC channel.
+     * 
+ */ + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") + public io.grpc.stub.BlockingClientCall< + com.google.pubsub.v1.StreamingPullRequest, com.google.pubsub.v1.StreamingPullResponse> + streamingPull() { + return io.grpc.stub.ClientCalls.blockingBidiStreamingCall( + getChannel(), getStreamingPullMethod(), getCallOptions()); + } + + /** + * + * + *
+     * Modifies the `PushConfig` for a specified subscription.
+     * This may be used to change a push subscription to a pull one (signified by
+     * an empty `PushConfig`) or vice versa, or change the endpoint URL and other
+     * attributes of a push subscription. Messages will accumulate for delivery
+     * continuously through the call regardless of changes to the `PushConfig`.
+     * 
+ */ + public com.google.protobuf.Empty modifyPushConfig( + com.google.pubsub.v1.ModifyPushConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getModifyPushConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the configuration details of a snapshot. Snapshots are used in
+     * [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
+     * which allow you to manage message acknowledgments in bulk. That is, you can
+     * set the acknowledgment state of messages in an existing subscription to the
+     * state captured by a snapshot.
+     * 
+ */ + public com.google.pubsub.v1.Snapshot getSnapshot( + com.google.pubsub.v1.GetSnapshotRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSnapshotMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the existing snapshots. Snapshots are used in [Seek](
+     * https://cloud.google.com/pubsub/docs/replay-overview) operations, which
+     * allow you to manage message acknowledgments in bulk. That is, you can set
+     * the acknowledgment state of messages in an existing subscription to the
+     * state captured by a snapshot.
+     * 
+ */ + public com.google.pubsub.v1.ListSnapshotsResponse listSnapshots( + com.google.pubsub.v1.ListSnapshotsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSnapshotsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a snapshot from the requested subscription. Snapshots are used in
+     * [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
+     * which allow you to manage message acknowledgments in bulk. That is, you can
+     * set the acknowledgment state of messages in an existing subscription to the
+     * state captured by a snapshot.
+     * If the snapshot already exists, returns `ALREADY_EXISTS`.
+     * If the requested subscription doesn't exist, returns `NOT_FOUND`.
+     * If the backlog in the subscription is too old -- and the resulting snapshot
+     * would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned.
+     * See also the `Snapshot.expire_time` field. 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, conforming
+     * to the [resource name format]
+     * (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The
+     * generated name is populated in the returned Snapshot object. Note that for
+     * REST API requests, you must specify a name in the request.
+     * 
+ */ + public com.google.pubsub.v1.Snapshot createSnapshot( + com.google.pubsub.v1.CreateSnapshotRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSnapshotMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an existing snapshot by updating the fields specified in the update
+     * mask. Snapshots are used in
+     * [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
+     * which allow you to manage message acknowledgments in bulk. That is, you can
+     * set the acknowledgment state of messages in an existing subscription to the
+     * state captured by a snapshot.
+     * 
+ */ + public com.google.pubsub.v1.Snapshot updateSnapshot( + com.google.pubsub.v1.UpdateSnapshotRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSnapshotMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Removes an existing snapshot. Snapshots are used in [Seek]
+     * (https://cloud.google.com/pubsub/docs/replay-overview) operations, which
+     * allow you to manage message acknowledgments in bulk. That is, you can set
+     * the acknowledgment state of messages in an existing subscription to the
+     * state captured by a snapshot.
+     * When the snapshot is deleted, all messages retained in the snapshot
+     * are immediately dropped. After a snapshot is deleted, a new one may be
+     * created with the same name, but the new one has no association with the old
+     * snapshot or its subscription, unless the same subscription is specified.
+     * 
+ */ + public com.google.protobuf.Empty deleteSnapshot( + com.google.pubsub.v1.DeleteSnapshotRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSnapshotMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Seeks an existing subscription to a point in time or to a given snapshot,
+     * whichever is provided in the request. Snapshots are used in [Seek]
+     * (https://cloud.google.com/pubsub/docs/replay-overview) operations, which
+     * allow you to manage message acknowledgments in bulk. That is, you can set
+     * the acknowledgment state of messages in an existing subscription to the
+     * state captured by a snapshot. Note that both the subscription and the
+     * snapshot must be on the same topic.
+     * 
+ */ + public com.google.pubsub.v1.SeekResponse seek(com.google.pubsub.v1.SeekRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSeekMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do limited synchronous rpc calls to service Subscriber. + * + *
+   * The service that an application uses to manipulate subscriptions and to
+   * consume messages from a subscription via the `Pull` method or by
+   * establishing a bi-directional stream using the `StreamingPull` method.
+   * 
+ */ public static final class SubscriberBlockingStub extends io.grpc.stub.AbstractBlockingStub { private SubscriberBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { diff --git a/pom.xml b/pom.xml index d4edd2342..e9c2daf78 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-pubsub-parent pom - 1.138.0 + 1.139.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.120.0 + 1.121.0 com.google.api.grpc grpc-google-cloud-pubsub-v1 - 1.120.0 + 1.121.0 com.google.cloud google-cloud-pubsub - 1.138.0 + 1.139.0 diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 33873694a..3e5b3874a 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.120.0 + 1.121.0 proto-google-cloud-pubsub-v1 PROTO library for proto-google-cloud-pubsub-v1 com.google.cloud google-cloud-pubsub-parent - 1.138.0 + 1.139.0 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 7a24cea04..29832d367 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 @@ -33,6 +33,7 @@ public final class AcknowledgeRequest extends com.google.protobuf.GeneratedMessa // @@protoc_insertion_point(message_implements:google.pubsub.v1.AcknowledgeRequest) AcknowledgeRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use AcknowledgeRequest.newBuilder() to construct. private AcknowledgeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -126,6 +129,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ackIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -142,6 +146,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { public com.google.protobuf.ProtocolStringList getAckIdsList() { return ackIds_; } + /** * * @@ -158,6 +163,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -175,6 +181,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -367,6 +374,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -572,6 +580,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -597,6 +606,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -622,6 +632,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -646,6 +657,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -666,6 +678,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -701,6 +714,7 @@ private void ensureAckIdsIsMutable() { } bitField0_ |= 0x00000002; } + /** * * @@ -718,6 +732,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { ackIds_.makeImmutable(); return ackIds_; } + /** * * @@ -734,6 +749,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -751,6 +767,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -768,6 +785,7 @@ public java.lang.String getAckIds(int index) { public com.google.protobuf.ByteString getAckIdsBytes(int index) { return ackIds_.getByteString(index); } + /** * * @@ -793,6 +811,7 @@ public Builder setAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -817,6 +836,7 @@ public Builder addAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -838,6 +858,7 @@ public Builder addAllAckIds(java.lang.Iterable values) { onChanged(); return this; } + /** * * @@ -858,6 +879,7 @@ public Builder clearAckIds() { onChanged(); return this; } + /** * * 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 9f3f8bd60..ce9853a20 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 @@ -39,6 +39,7 @@ public interface AcknowledgeRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * @@ -69,6 +70,7 @@ public interface AcknowledgeRequestOrBuilder * @return A list containing the ackIds. */ java.util.List getAckIdsList(); + /** * * @@ -83,6 +85,7 @@ public interface AcknowledgeRequestOrBuilder * @return The count of ackIds. */ int getAckIdsCount(); + /** * * @@ -98,6 +101,7 @@ public interface AcknowledgeRequestOrBuilder * @return The ackIds at the given index. */ java.lang.String getAckIds(int index); + /** * * 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 7508d4817..abe0d01d6 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 @@ -33,6 +33,7 @@ public final class BigQueryConfig extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.BigQueryConfig) BigQueryConfigOrBuilder { private static final long serialVersionUID = 0L; + // Use BigQueryConfig.newBuilder() to construct. private BigQueryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -154,6 +155,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -164,6 +166,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -179,6 +182,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * PERMISSION_DENIED = 2; */ public static final int PERMISSION_DENIED_VALUE = 2; + /** * * @@ -189,6 +193,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * NOT_FOUND = 3; */ public static final int NOT_FOUND_VALUE = 3; + /** * * @@ -199,6 +204,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * SCHEMA_MISMATCH = 4; */ public static final int SCHEMA_MISMATCH_VALUE = 4; + /** * * @@ -304,6 +310,7 @@ private State(int value) { @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; + /** * * @@ -328,6 +335,7 @@ public java.lang.String getTable() { return s; } } + /** * * @@ -355,6 +363,7 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int USE_TOPIC_SCHEMA_FIELD_NUMBER = 2; private boolean useTopicSchema_ = false; + /** * * @@ -375,6 +384,7 @@ public boolean getUseTopicSchema() { public static final int WRITE_METADATA_FIELD_NUMBER = 3; private boolean writeMetadata_ = false; + /** * * @@ -397,6 +407,7 @@ public boolean getWriteMetadata() { public static final int DROP_UNKNOWN_FIELDS_FIELD_NUMBER = 4; private boolean dropUnknownFields_ = false; + /** * * @@ -419,6 +430,7 @@ public boolean getDropUnknownFields() { public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; + /** * * @@ -437,6 +449,7 @@ public boolean getDropUnknownFields() { public int getStateValue() { return state_; } + /** * * @@ -460,6 +473,7 @@ public com.google.pubsub.v1.BigQueryConfig.State getState() { public static final int USE_TABLE_SCHEMA_FIELD_NUMBER = 6; private boolean useTableSchema_ = false; + /** * * @@ -482,6 +496,7 @@ public boolean getUseTableSchema() { @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountEmail_ = ""; + /** * * @@ -510,6 +525,7 @@ public java.lang.String getServiceAccountEmail() { return s; } } + /** * * @@ -750,6 +766,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -1012,6 +1029,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object table_ = ""; + /** * * @@ -1035,6 +1053,7 @@ public java.lang.String getTable() { return (java.lang.String) ref; } } + /** * * @@ -1058,6 +1077,7 @@ public com.google.protobuf.ByteString getTableBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1080,6 +1100,7 @@ public Builder setTable(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1098,6 +1119,7 @@ public Builder clearTable() { onChanged(); return this; } + /** * * @@ -1123,6 +1145,7 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { } private boolean useTopicSchema_; + /** * * @@ -1140,6 +1163,7 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { public boolean getUseTopicSchema() { return useTopicSchema_; } + /** * * @@ -1161,6 +1185,7 @@ public Builder setUseTopicSchema(boolean value) { onChanged(); return this; } + /** * * @@ -1182,6 +1207,7 @@ public Builder clearUseTopicSchema() { } private boolean writeMetadata_; + /** * * @@ -1201,6 +1227,7 @@ public Builder clearUseTopicSchema() { public boolean getWriteMetadata() { return writeMetadata_; } + /** * * @@ -1224,6 +1251,7 @@ public Builder setWriteMetadata(boolean value) { onChanged(); return this; } + /** * * @@ -1247,6 +1275,7 @@ public Builder clearWriteMetadata() { } private boolean dropUnknownFields_; + /** * * @@ -1266,6 +1295,7 @@ public Builder clearWriteMetadata() { public boolean getDropUnknownFields() { return dropUnknownFields_; } + /** * * @@ -1289,6 +1319,7 @@ public Builder setDropUnknownFields(boolean value) { onChanged(); return this; } + /** * * @@ -1312,6 +1343,7 @@ public Builder clearDropUnknownFields() { } private int state_ = 0; + /** * * @@ -1330,6 +1362,7 @@ public Builder clearDropUnknownFields() { public int getStateValue() { return state_; } + /** * * @@ -1351,6 +1384,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -1371,6 +1405,7 @@ public com.google.pubsub.v1.BigQueryConfig.State getState() { com.google.pubsub.v1.BigQueryConfig.State.forNumber(state_); return result == null ? com.google.pubsub.v1.BigQueryConfig.State.UNRECOGNIZED : result; } + /** * * @@ -1395,6 +1430,7 @@ public Builder setState(com.google.pubsub.v1.BigQueryConfig.State value) { onChanged(); return this; } + /** * * @@ -1417,6 +1453,7 @@ public Builder clearState() { } private boolean useTableSchema_; + /** * * @@ -1434,6 +1471,7 @@ public Builder clearState() { public boolean getUseTableSchema() { return useTableSchema_; } + /** * * @@ -1455,6 +1493,7 @@ public Builder setUseTableSchema(boolean value) { onChanged(); return this; } + /** * * @@ -1476,6 +1515,7 @@ public Builder clearUseTableSchema() { } private java.lang.Object serviceAccountEmail_ = ""; + /** * * @@ -1503,6 +1543,7 @@ public java.lang.String getServiceAccountEmail() { return (java.lang.String) ref; } } + /** * * @@ -1530,6 +1571,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1556,6 +1598,7 @@ public Builder setServiceAccountEmail(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1578,6 +1621,7 @@ public Builder clearServiceAccountEmail() { onChanged(); return this; } + /** * * 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 1856e1631..6631b9625 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 @@ -37,6 +37,7 @@ public interface BigQueryConfigOrBuilder * @return The table. */ java.lang.String getTable(); + /** * * @@ -115,6 +116,7 @@ public interface BigQueryConfigOrBuilder * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -163,6 +165,7 @@ public interface BigQueryConfigOrBuilder * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); + /** * * 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 c2743bc50..6d4d9bbfb 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 @@ -33,6 +33,7 @@ public final class CloudStorageConfig extends com.google.protobuf.GeneratedMessa // @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig) CloudStorageConfigOrBuilder { private static final long serialVersionUID = 0L; + // Use CloudStorageConfig.newBuilder() to construct. private CloudStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -154,6 +155,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -164,6 +166,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -175,6 +178,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * PERMISSION_DENIED = 2; */ public static final int PERMISSION_DENIED_VALUE = 2; + /** * * @@ -185,6 +189,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * NOT_FOUND = 3; */ public static final int NOT_FOUND_VALUE = 3; + /** * * @@ -196,6 +201,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * IN_TRANSIT_LOCATION_RESTRICTION = 4; */ public static final int IN_TRANSIT_LOCATION_RESTRICTION_VALUE = 4; + /** * * @@ -301,6 +307,7 @@ public interface TextConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.CloudStorageConfig.TextConfig) com.google.protobuf.MessageOrBuilder {} + /** * * @@ -317,6 +324,7 @@ public static final class TextConfig extends com.google.protobuf.GeneratedMessag // @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig.TextConfig) TextConfigOrBuilder { private static final long serialVersionUID = 0L; + // Use TextConfig.newBuilder() to construct. private TextConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -496,6 +504,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -760,6 +769,7 @@ public interface AvroConfigOrBuilder */ boolean getUseTopicSchema(); } + /** * * @@ -775,6 +785,7 @@ public static final class AvroConfig extends com.google.protobuf.GeneratedMessag // @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig.AvroConfig) AvroConfigOrBuilder { private static final long serialVersionUID = 0L; + // Use AvroConfig.newBuilder() to construct. private AvroConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -805,6 +816,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int WRITE_METADATA_FIELD_NUMBER = 1; private boolean writeMetadata_ = false; + /** * * @@ -828,6 +840,7 @@ public boolean getWriteMetadata() { public static final int USE_TOPIC_SCHEMA_FIELD_NUMBER = 2; private boolean useTopicSchema_ = false; + /** * * @@ -1014,6 +1027,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -1213,6 +1227,7 @@ public Builder mergeFrom( private int bitField0_; private boolean writeMetadata_; + /** * * @@ -1233,6 +1248,7 @@ public Builder mergeFrom( public boolean getWriteMetadata() { return writeMetadata_; } + /** * * @@ -1257,6 +1273,7 @@ public Builder setWriteMetadata(boolean value) { onChanged(); return this; } + /** * * @@ -1281,6 +1298,7 @@ public Builder clearWriteMetadata() { } private boolean useTopicSchema_; + /** * * @@ -1297,6 +1315,7 @@ public Builder clearWriteMetadata() { public boolean getUseTopicSchema() { return useTopicSchema_; } + /** * * @@ -1317,6 +1336,7 @@ public Builder setUseTopicSchema(boolean value) { onChanged(); return this; } + /** * * @@ -1418,6 +1438,7 @@ public enum OutputFormatCase private OutputFormatCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -1454,6 +1475,7 @@ public OutputFormatCase getOutputFormatCase() { @SuppressWarnings("serial") private volatile java.lang.Object bucket_ = ""; + /** * * @@ -1480,6 +1502,7 @@ public java.lang.String getBucket() { return s; } } + /** * * @@ -1511,6 +1534,7 @@ public com.google.protobuf.ByteString getBucketBytes() { @SuppressWarnings("serial") private volatile java.lang.Object filenamePrefix_ = ""; + /** * * @@ -1535,6 +1559,7 @@ public java.lang.String getFilenamePrefix() { return s; } } + /** * * @@ -1564,6 +1589,7 @@ public com.google.protobuf.ByteString getFilenamePrefixBytes() { @SuppressWarnings("serial") private volatile java.lang.Object filenameSuffix_ = ""; + /** * * @@ -1589,6 +1615,7 @@ public java.lang.String getFilenameSuffix() { return s; } } + /** * * @@ -1619,6 +1646,7 @@ public com.google.protobuf.ByteString getFilenameSuffixBytes() { @SuppressWarnings("serial") private volatile java.lang.Object filenameDatetimeFormat_ = ""; + /** * * @@ -1644,6 +1672,7 @@ public java.lang.String getFilenameDatetimeFormat() { return s; } } + /** * * @@ -1671,6 +1700,7 @@ public com.google.protobuf.ByteString getFilenameDatetimeFormatBytes() { } public static final int TEXT_CONFIG_FIELD_NUMBER = 4; + /** * * @@ -1689,6 +1719,7 @@ public com.google.protobuf.ByteString getFilenameDatetimeFormatBytes() { public boolean hasTextConfig() { return outputFormatCase_ == 4; } + /** * * @@ -1710,6 +1741,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfig getTextConfig() { } return com.google.pubsub.v1.CloudStorageConfig.TextConfig.getDefaultInstance(); } + /** * * @@ -1731,6 +1763,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig } public static final int AVRO_CONFIG_FIELD_NUMBER = 5; + /** * * @@ -1749,6 +1782,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig public boolean hasAvroConfig() { return outputFormatCase_ == 5; } + /** * * @@ -1770,6 +1804,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfig getAvroConfig() { } return com.google.pubsub.v1.CloudStorageConfig.AvroConfig.getDefaultInstance(); } + /** * * @@ -1792,6 +1827,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig public static final int MAX_DURATION_FIELD_NUMBER = 6; private com.google.protobuf.Duration maxDuration_; + /** * * @@ -1810,6 +1846,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig public boolean hasMaxDuration() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -1828,6 +1865,7 @@ public boolean hasMaxDuration() { public com.google.protobuf.Duration getMaxDuration() { return maxDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxDuration_; } + /** * * @@ -1847,6 +1885,7 @@ public com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder() { public static final int MAX_BYTES_FIELD_NUMBER = 7; private long maxBytes_ = 0L; + /** * * @@ -1867,6 +1906,7 @@ public long getMaxBytes() { public static final int MAX_MESSAGES_FIELD_NUMBER = 8; private long maxMessages_ = 0L; + /** * * @@ -1886,6 +1926,7 @@ public long getMaxMessages() { public static final int STATE_FIELD_NUMBER = 9; private int state_ = 0; + /** * * @@ -1904,6 +1945,7 @@ public long getMaxMessages() { public int getStateValue() { return state_; } + /** * * @@ -1929,6 +1971,7 @@ public com.google.pubsub.v1.CloudStorageConfig.State getState() { @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountEmail_ = ""; + /** * * @@ -1957,6 +2000,7 @@ public java.lang.String getServiceAccountEmail() { return s; } } + /** * * @@ -2260,6 +2304,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -2634,6 +2679,7 @@ public Builder clearOutputFormat() { private int bitField0_; private java.lang.Object bucket_ = ""; + /** * * @@ -2659,6 +2705,7 @@ public java.lang.String getBucket() { return (java.lang.String) ref; } } + /** * * @@ -2684,6 +2731,7 @@ public com.google.protobuf.ByteString getBucketBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -2708,6 +2756,7 @@ public Builder setBucket(java.lang.String value) { onChanged(); return this; } + /** * * @@ -2728,6 +2777,7 @@ public Builder clearBucket() { onChanged(); return this; } + /** * * @@ -2755,6 +2805,7 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { } private java.lang.Object filenamePrefix_ = ""; + /** * * @@ -2778,6 +2829,7 @@ public java.lang.String getFilenamePrefix() { return (java.lang.String) ref; } } + /** * * @@ -2801,6 +2853,7 @@ public com.google.protobuf.ByteString getFilenamePrefixBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -2823,6 +2876,7 @@ public Builder setFilenamePrefix(java.lang.String value) { onChanged(); return this; } + /** * * @@ -2841,6 +2895,7 @@ public Builder clearFilenamePrefix() { onChanged(); return this; } + /** * * @@ -2866,6 +2921,7 @@ public Builder setFilenamePrefixBytes(com.google.protobuf.ByteString value) { } private java.lang.Object filenameSuffix_ = ""; + /** * * @@ -2890,6 +2946,7 @@ public java.lang.String getFilenameSuffix() { return (java.lang.String) ref; } } + /** * * @@ -2914,6 +2971,7 @@ public com.google.protobuf.ByteString getFilenameSuffixBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -2937,6 +2995,7 @@ public Builder setFilenameSuffix(java.lang.String value) { onChanged(); return this; } + /** * * @@ -2956,6 +3015,7 @@ public Builder clearFilenameSuffix() { onChanged(); return this; } + /** * * @@ -2982,6 +3042,7 @@ public Builder setFilenameSuffixBytes(com.google.protobuf.ByteString value) { } private java.lang.Object filenameDatetimeFormat_ = ""; + /** * * @@ -3006,6 +3067,7 @@ public java.lang.String getFilenameDatetimeFormat() { return (java.lang.String) ref; } } + /** * * @@ -3030,6 +3092,7 @@ public com.google.protobuf.ByteString getFilenameDatetimeFormatBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -3053,6 +3116,7 @@ public Builder setFilenameDatetimeFormat(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3072,6 +3136,7 @@ public Builder clearFilenameDatetimeFormat() { onChanged(); return this; } + /** * * @@ -3102,6 +3167,7 @@ public Builder setFilenameDatetimeFormatBytes(com.google.protobuf.ByteString val com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder, com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder> textConfigBuilder_; + /** * * @@ -3120,6 +3186,7 @@ public Builder setFilenameDatetimeFormatBytes(com.google.protobuf.ByteString val public boolean hasTextConfig() { return outputFormatCase_ == 4; } + /** * * @@ -3148,6 +3215,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfig getTextConfig() { return com.google.pubsub.v1.CloudStorageConfig.TextConfig.getDefaultInstance(); } } + /** * * @@ -3173,6 +3241,7 @@ public Builder setTextConfig(com.google.pubsub.v1.CloudStorageConfig.TextConfig outputFormatCase_ = 4; return this; } + /** * * @@ -3196,6 +3265,7 @@ public Builder setTextConfig( outputFormatCase_ = 4; return this; } + /** * * @@ -3232,6 +3302,7 @@ public Builder mergeTextConfig(com.google.pubsub.v1.CloudStorageConfig.TextConfi outputFormatCase_ = 4; return this; } + /** * * @@ -3260,6 +3331,7 @@ public Builder clearTextConfig() { } return this; } + /** * * @@ -3275,6 +3347,7 @@ public Builder clearTextConfig() { public com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder getTextConfigBuilder() { return getTextConfigFieldBuilder().getBuilder(); } + /** * * @@ -3298,6 +3371,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig return com.google.pubsub.v1.CloudStorageConfig.TextConfig.getDefaultInstance(); } } + /** * * @@ -3339,6 +3413,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder, com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder> avroConfigBuilder_; + /** * * @@ -3357,6 +3432,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig public boolean hasAvroConfig() { return outputFormatCase_ == 5; } + /** * * @@ -3385,6 +3461,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfig getAvroConfig() { return com.google.pubsub.v1.CloudStorageConfig.AvroConfig.getDefaultInstance(); } } + /** * * @@ -3410,6 +3487,7 @@ public Builder setAvroConfig(com.google.pubsub.v1.CloudStorageConfig.AvroConfig outputFormatCase_ = 5; return this; } + /** * * @@ -3433,6 +3511,7 @@ public Builder setAvroConfig( outputFormatCase_ = 5; return this; } + /** * * @@ -3469,6 +3548,7 @@ public Builder mergeAvroConfig(com.google.pubsub.v1.CloudStorageConfig.AvroConfi outputFormatCase_ = 5; return this; } + /** * * @@ -3497,6 +3577,7 @@ public Builder clearAvroConfig() { } return this; } + /** * * @@ -3512,6 +3593,7 @@ public Builder clearAvroConfig() { public com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder getAvroConfigBuilder() { return getAvroConfigFieldBuilder().getBuilder(); } + /** * * @@ -3535,6 +3617,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig return com.google.pubsub.v1.CloudStorageConfig.AvroConfig.getDefaultInstance(); } } + /** * * @@ -3577,6 +3660,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxDurationBuilder_; + /** * * @@ -3594,6 +3678,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig public boolean hasMaxDuration() { return ((bitField0_ & 0x00000040) != 0); } + /** * * @@ -3617,6 +3702,7 @@ public com.google.protobuf.Duration getMaxDuration() { return maxDurationBuilder_.getMessage(); } } + /** * * @@ -3642,6 +3728,7 @@ public Builder setMaxDuration(com.google.protobuf.Duration value) { onChanged(); return this; } + /** * * @@ -3664,6 +3751,7 @@ public Builder setMaxDuration(com.google.protobuf.Duration.Builder builderForVal onChanged(); return this; } + /** * * @@ -3694,6 +3782,7 @@ public Builder mergeMaxDuration(com.google.protobuf.Duration value) { } return this; } + /** * * @@ -3716,6 +3805,7 @@ public Builder clearMaxDuration() { onChanged(); return this; } + /** * * @@ -3733,6 +3823,7 @@ public com.google.protobuf.Duration.Builder getMaxDurationBuilder() { onChanged(); return getMaxDurationFieldBuilder().getBuilder(); } + /** * * @@ -3754,6 +3845,7 @@ public com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder() { : maxDuration_; } } + /** * * @@ -3784,6 +3876,7 @@ public com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder() { } private long maxBytes_; + /** * * @@ -3801,6 +3894,7 @@ public com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder() { public long getMaxBytes() { return maxBytes_; } + /** * * @@ -3822,6 +3916,7 @@ public Builder setMaxBytes(long value) { onChanged(); return this; } + /** * * @@ -3843,6 +3938,7 @@ public Builder clearMaxBytes() { } private long maxMessages_; + /** * * @@ -3859,6 +3955,7 @@ public Builder clearMaxBytes() { public long getMaxMessages() { return maxMessages_; } + /** * * @@ -3879,6 +3976,7 @@ public Builder setMaxMessages(long value) { onChanged(); return this; } + /** * * @@ -3899,6 +3997,7 @@ public Builder clearMaxMessages() { } private int state_ = 0; + /** * * @@ -3917,6 +4016,7 @@ public Builder clearMaxMessages() { public int getStateValue() { return state_; } + /** * * @@ -3938,6 +4038,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -3958,6 +4059,7 @@ public com.google.pubsub.v1.CloudStorageConfig.State getState() { com.google.pubsub.v1.CloudStorageConfig.State.forNumber(state_); return result == null ? com.google.pubsub.v1.CloudStorageConfig.State.UNRECOGNIZED : result; } + /** * * @@ -3982,6 +4084,7 @@ public Builder setState(com.google.pubsub.v1.CloudStorageConfig.State value) { onChanged(); return this; } + /** * * @@ -4004,6 +4107,7 @@ public Builder clearState() { } private java.lang.Object serviceAccountEmail_ = ""; + /** * * @@ -4031,6 +4135,7 @@ public java.lang.String getServiceAccountEmail() { return (java.lang.String) ref; } } + /** * * @@ -4058,6 +4163,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -4084,6 +4190,7 @@ public Builder setServiceAccountEmail(java.lang.String value) { onChanged(); return this; } + /** * * @@ -4106,6 +4213,7 @@ public Builder clearServiceAccountEmail() { onChanged(); return this; } + /** * * 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 d01518bda..b4977dc74 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 @@ -39,6 +39,7 @@ public interface CloudStorageConfigOrBuilder * @return The bucket. */ java.lang.String getBucket(); + /** * * @@ -68,6 +69,7 @@ public interface CloudStorageConfigOrBuilder * @return The filenamePrefix. */ java.lang.String getFilenamePrefix(); + /** * * @@ -96,6 +98,7 @@ public interface CloudStorageConfigOrBuilder * @return The filenameSuffix. */ java.lang.String getFilenameSuffix(); + /** * * @@ -125,6 +128,7 @@ public interface CloudStorageConfigOrBuilder * @return The filenameDatetimeFormat. */ java.lang.String getFilenameDatetimeFormat(); + /** * * @@ -155,6 +159,7 @@ public interface CloudStorageConfigOrBuilder * @return Whether the textConfig field is set. */ boolean hasTextConfig(); + /** * * @@ -170,6 +175,7 @@ public interface CloudStorageConfigOrBuilder * @return The textConfig. */ com.google.pubsub.v1.CloudStorageConfig.TextConfig getTextConfig(); + /** * * @@ -199,6 +205,7 @@ public interface CloudStorageConfigOrBuilder * @return Whether the avroConfig field is set. */ boolean hasAvroConfig(); + /** * * @@ -214,6 +221,7 @@ public interface CloudStorageConfigOrBuilder * @return The avroConfig. */ com.google.pubsub.v1.CloudStorageConfig.AvroConfig getAvroConfig(); + /** * * @@ -243,6 +251,7 @@ public interface CloudStorageConfigOrBuilder * @return Whether the maxDuration field is set. */ boolean hasMaxDuration(); + /** * * @@ -258,6 +267,7 @@ public interface CloudStorageConfigOrBuilder * @return The maxDuration. */ com.google.protobuf.Duration getMaxDuration(); + /** * * @@ -316,6 +326,7 @@ public interface CloudStorageConfigOrBuilder * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -349,6 +360,7 @@ public interface CloudStorageConfigOrBuilder * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); + /** * * 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 c2c5e3623..413633f6e 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 @@ -33,6 +33,7 @@ public final class CommitSchemaRequest extends com.google.protobuf.GeneratedMess // @@protoc_insertion_point(message_implements:google.pubsub.v1.CommitSchemaRequest) CommitSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use CommitSchemaRequest.newBuilder() to construct. private CommitSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEMA_FIELD_NUMBER = 2; private com.google.pubsub.v1.Schema schema_; + /** * * @@ -138,6 +142,7 @@ public com.google.protobuf.ByteString getNameBytes() { public boolean hasSchema() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -153,6 +158,7 @@ public boolean hasSchema() { public com.google.pubsub.v1.Schema getSchema() { return schema_ == null ? com.google.pubsub.v1.Schema.getDefaultInstance() : schema_; } + /** * * @@ -339,6 +345,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -551,6 +558,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -576,6 +584,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -601,6 +610,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -625,6 +635,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -645,6 +656,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -677,6 +689,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> schemaBuilder_; + /** * * @@ -691,6 +704,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { public boolean hasSchema() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -709,6 +723,7 @@ public com.google.pubsub.v1.Schema getSchema() { return schemaBuilder_.getMessage(); } } + /** * * @@ -731,6 +746,7 @@ public Builder setSchema(com.google.pubsub.v1.Schema value) { onChanged(); return this; } + /** * * @@ -750,6 +766,7 @@ public Builder setSchema(com.google.pubsub.v1.Schema.Builder builderForValue) { onChanged(); return this; } + /** * * @@ -777,6 +794,7 @@ public Builder mergeSchema(com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -796,6 +814,7 @@ public Builder clearSchema() { onChanged(); return this; } + /** * * @@ -810,6 +829,7 @@ public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() { onChanged(); return getSchemaFieldBuilder().getBuilder(); } + /** * * @@ -826,6 +846,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { return schema_ == null ? com.google.pubsub.v1.Schema.getDefaultInstance() : schema_; } } + /** * * 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 1edbdf9f7..de5fa4e7f 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 @@ -39,6 +39,7 @@ public interface CommitSchemaRequestOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -67,6 +68,7 @@ public interface CommitSchemaRequestOrBuilder * @return Whether the schema field is set. */ boolean hasSchema(); + /** * * @@ -79,6 +81,7 @@ public interface CommitSchemaRequestOrBuilder * @return The schema. */ com.google.pubsub.v1.Schema getSchema(); + /** * * 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 dc1cfd98d..ddc3093a2 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 @@ -33,6 +33,7 @@ public final class CreateSchemaRequest extends com.google.protobuf.GeneratedMess // @@protoc_insertion_point(message_implements:google.pubsub.v1.CreateSchemaRequest) CreateSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use CreateSchemaRequest.newBuilder() to construct. private CreateSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -69,6 +70,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; + /** * * @@ -95,6 +97,7 @@ public java.lang.String getParent() { return s; } } + /** * * @@ -124,6 +127,7 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SCHEMA_FIELD_NUMBER = 2; private com.google.pubsub.v1.Schema schema_; + /** * * @@ -143,6 +147,7 @@ public com.google.protobuf.ByteString getParentBytes() { public boolean hasSchema() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -162,6 +167,7 @@ public boolean hasSchema() { public com.google.pubsub.v1.Schema getSchema() { return schema_ == null ? com.google.pubsub.v1.Schema.getDefaultInstance() : schema_; } + /** * * @@ -184,6 +190,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { @SuppressWarnings("serial") private volatile java.lang.Object schemaId_ = ""; + /** * * @@ -211,6 +218,7 @@ public java.lang.String getSchemaId() { return s; } } + /** * * @@ -420,6 +428,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -647,6 +656,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object parent_ = ""; + /** * * @@ -672,6 +682,7 @@ public java.lang.String getParent() { return (java.lang.String) ref; } } + /** * * @@ -697,6 +708,7 @@ public com.google.protobuf.ByteString getParentBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -721,6 +733,7 @@ public Builder setParent(java.lang.String value) { onChanged(); return this; } + /** * * @@ -741,6 +754,7 @@ public Builder clearParent() { onChanged(); return this; } + /** * * @@ -773,6 +787,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> schemaBuilder_; + /** * * @@ -791,6 +806,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { public boolean hasSchema() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -813,6 +829,7 @@ public com.google.pubsub.v1.Schema getSchema() { return schemaBuilder_.getMessage(); } } + /** * * @@ -839,6 +856,7 @@ public Builder setSchema(com.google.pubsub.v1.Schema value) { onChanged(); return this; } + /** * * @@ -862,6 +880,7 @@ public Builder setSchema(com.google.pubsub.v1.Schema.Builder builderForValue) { onChanged(); return this; } + /** * * @@ -893,6 +912,7 @@ public Builder mergeSchema(com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -916,6 +936,7 @@ public Builder clearSchema() { onChanged(); return this; } + /** * * @@ -934,6 +955,7 @@ public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() { onChanged(); return getSchemaFieldBuilder().getBuilder(); } + /** * * @@ -954,6 +976,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { return schema_ == null ? com.google.pubsub.v1.Schema.getDefaultInstance() : schema_; } } + /** * * @@ -985,6 +1008,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { } private java.lang.Object schemaId_ = ""; + /** * * @@ -1011,6 +1035,7 @@ public java.lang.String getSchemaId() { return (java.lang.String) ref; } } + /** * * @@ -1037,6 +1062,7 @@ public com.google.protobuf.ByteString getSchemaIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1062,6 +1088,7 @@ public Builder setSchemaId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1083,6 +1110,7 @@ public Builder clearSchemaId() { onChanged(); return this; } + /** * * 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 bd5833c53..09db02945 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 @@ -39,6 +39,7 @@ public interface CreateSchemaRequestOrBuilder * @return The parent. */ java.lang.String getParent(); + /** * * @@ -71,6 +72,7 @@ public interface CreateSchemaRequestOrBuilder * @return Whether the schema field is set. */ boolean hasSchema(); + /** * * @@ -87,6 +89,7 @@ public interface CreateSchemaRequestOrBuilder * @return The schema. */ com.google.pubsub.v1.Schema getSchema(); + /** * * @@ -118,6 +121,7 @@ public interface CreateSchemaRequestOrBuilder * @return The schemaId. */ java.lang.String getSchemaId(); + /** * * 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 33156b713..f6c92ab39 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 @@ -33,6 +33,7 @@ public final class CreateSnapshotRequest extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.CreateSnapshotRequest) CreateSnapshotRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use CreateSnapshotRequest.newBuilder() to construct. private CreateSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -80,6 +81,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -110,6 +112,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -145,6 +148,7 @@ public com.google.protobuf.ByteString getNameBytes() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -178,6 +182,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -238,6 +243,7 @@ private com.google.protobuf.MapField interna public int getLabelsCount() { return internalGetLabels().getMap().size(); } + /** * * @@ -255,12 +261,14 @@ public boolean containsLabels(java.lang.String key) { } return internalGetLabels().getMap().containsKey(key); } + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } + /** * * @@ -275,6 +283,7 @@ public java.util.Map getLabels() { public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } + /** * * @@ -296,6 +305,7 @@ public java.util.Map getLabelsMap() { java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -503,6 +513,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -742,6 +753,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -771,6 +783,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -800,6 +813,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -828,6 +842,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -852,6 +867,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -883,6 +899,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.lang.Object subscription_ = ""; + /** * * @@ -915,6 +932,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -947,6 +965,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -978,6 +997,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1005,6 +1025,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -1063,6 +1084,7 @@ private com.google.protobuf.MapField interna public int getLabelsCount() { return internalGetLabels().getMap().size(); } + /** * * @@ -1080,12 +1102,14 @@ public boolean containsLabels(java.lang.String key) { } return internalGetLabels().getMap().containsKey(key); } + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } + /** * * @@ -1100,6 +1124,7 @@ public java.util.Map getLabels() { public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } + /** * * @@ -1121,6 +1146,7 @@ public java.util.Map getLabelsMap() { java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -1148,6 +1174,7 @@ public Builder clearLabels() { internalGetMutableLabels().getMutableMap().clear(); return this; } + /** * * @@ -1165,12 +1192,14 @@ public Builder removeLabels(java.lang.String key) { internalGetMutableLabels().getMutableMap().remove(key); return this; } + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000004; return internalGetMutableLabels().getMutableMap(); } + /** * * @@ -1192,6 +1221,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { bitField0_ |= 0x00000004; return this; } + /** * * 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 4e3005b50..1993fcb45 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 @@ -43,6 +43,7 @@ public interface CreateSnapshotRequestOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -85,6 +86,7 @@ public interface CreateSnapshotRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * @@ -119,6 +121,7 @@ public interface CreateSnapshotRequestOrBuilder * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getLabelsCount(); + /** * * @@ -130,9 +133,11 @@ public interface CreateSnapshotRequestOrBuilder * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); + /** * * @@ -144,6 +149,7 @@ public interface CreateSnapshotRequestOrBuilder * map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map getLabelsMap(); + /** * * @@ -159,6 +165,7 @@ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); + /** * * 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 f69e9df57..51009677c 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 @@ -37,6 +37,7 @@ public final class DeadLetterPolicy extends com.google.protobuf.GeneratedMessage // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeadLetterPolicy) DeadLetterPolicyOrBuilder { private static final long serialVersionUID = 0L; + // Use DeadLetterPolicy.newBuilder() to construct. private DeadLetterPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -71,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object deadLetterTopic_ = ""; + /** * * @@ -102,6 +104,7 @@ public java.lang.String getDeadLetterTopic() { return s; } } + /** * * @@ -136,6 +139,7 @@ public com.google.protobuf.ByteString getDeadLetterTopicBytes() { public static final int MAX_DELIVERY_ATTEMPTS_FIELD_NUMBER = 2; private int maxDeliveryAttempts_ = 0; + /** * * @@ -330,6 +334,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -530,6 +535,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object deadLetterTopic_ = ""; + /** * * @@ -560,6 +566,7 @@ public java.lang.String getDeadLetterTopic() { return (java.lang.String) ref; } } + /** * * @@ -590,6 +597,7 @@ public com.google.protobuf.ByteString getDeadLetterTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -619,6 +627,7 @@ public Builder setDeadLetterTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -644,6 +653,7 @@ public Builder clearDeadLetterTopic() { onChanged(); return this; } + /** * * @@ -676,6 +686,7 @@ public Builder setDeadLetterTopicBytes(com.google.protobuf.ByteString value) { } private int maxDeliveryAttempts_; + /** * * @@ -703,6 +714,7 @@ public Builder setDeadLetterTopicBytes(com.google.protobuf.ByteString value) { public int getMaxDeliveryAttempts() { return maxDeliveryAttempts_; } + /** * * @@ -734,6 +746,7 @@ public Builder setMaxDeliveryAttempts(int value) { onChanged(); return this; } + /** * * 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 dd07b59c0..e5f13f3db 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 @@ -44,6 +44,7 @@ public interface DeadLetterPolicyOrBuilder * @return The deadLetterTopic. */ java.lang.String getDeadLetterTopic(); + /** * * 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 acef5dad6..c941b2ddc 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 @@ -33,6 +33,7 @@ public final class DeleteSchemaRequest extends com.google.protobuf.GeneratedMess // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSchemaRequest) DeleteSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use DeleteSchemaRequest.newBuilder() to construct. private DeleteSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -278,6 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -461,6 +465,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -486,6 +491,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -511,6 +517,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -535,6 +542,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -555,6 +563,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * 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 2a41af559..833bb21c6 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 @@ -39,6 +39,7 @@ public interface DeleteSchemaRequestOrBuilder * @return The name. */ java.lang.String getName(); + /** * * 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 3d4db9d4c..a890e0ba2 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 @@ -33,6 +33,7 @@ public final class DeleteSchemaRevisionRequest extends com.google.protobuf.Gener // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSchemaRevisionRequest) DeleteSchemaRevisionRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use DeleteSchemaRevisionRequest.newBuilder() to construct. private DeleteSchemaRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -96,6 +98,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -129,6 +132,7 @@ public com.google.protobuf.ByteString getNameBytes() { @SuppressWarnings("serial") private volatile java.lang.Object revisionId_ = ""; + /** * * @@ -158,6 +162,7 @@ public java.lang.String getRevisionId() { return s; } } + /** * * @@ -356,6 +361,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -555,6 +561,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -582,6 +589,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -609,6 +617,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -635,6 +644,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -657,6 +667,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -686,6 +697,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.lang.Object revisionId_ = ""; + /** * * @@ -714,6 +726,7 @@ public java.lang.String getRevisionId() { return (java.lang.String) ref; } } + /** * * @@ -742,6 +755,7 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -769,6 +783,7 @@ public Builder setRevisionId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -792,6 +807,7 @@ public Builder clearRevisionId() { onChanged(); return this; } + /** * * 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 b8d8f0620..9c74f7198 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 @@ -41,6 +41,7 @@ public interface DeleteSchemaRevisionRequestOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -77,6 +78,7 @@ public interface DeleteSchemaRevisionRequestOrBuilder */ @java.lang.Deprecated java.lang.String getRevisionId(); + /** * * 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 42ed4e16e..2a26c265d 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 @@ -33,6 +33,7 @@ public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSnapshotRequest) DeleteSnapshotRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use DeleteSnapshotRequest.newBuilder() to construct. private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object snapshot_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getSnapshot() { return s; } } + /** * * @@ -279,6 +282,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -462,6 +466,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object snapshot_ = ""; + /** * * @@ -487,6 +492,7 @@ public java.lang.String getSnapshot() { return (java.lang.String) ref; } } + /** * * @@ -512,6 +518,7 @@ public com.google.protobuf.ByteString getSnapshotBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -536,6 +543,7 @@ public Builder setSnapshot(java.lang.String value) { onChanged(); return this; } + /** * * @@ -556,6 +564,7 @@ public Builder clearSnapshot() { onChanged(); return this; } + /** * * 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 27df98b2d..c9c8a0192 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 @@ -39,6 +39,7 @@ public interface DeleteSnapshotRequestOrBuilder * @return The snapshot. */ java.lang.String getSnapshot(); + /** * * 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 fc6c3429b..6e9a70a2e 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 @@ -33,6 +33,7 @@ public final class DeleteSubscriptionRequest extends com.google.protobuf.Generat // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSubscriptionRequest) DeleteSubscriptionRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use DeleteSubscriptionRequest.newBuilder() to construct. private DeleteSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -279,6 +282,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -462,6 +466,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -487,6 +492,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -512,6 +518,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -536,6 +543,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -556,6 +564,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * 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 1d6385c58..b4c9d0fe8 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 @@ -39,6 +39,7 @@ public interface DeleteSubscriptionRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * 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 9279189c5..1ff347e6d 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 @@ -33,6 +33,7 @@ public final class DeleteTopicRequest extends com.google.protobuf.GeneratedMessa // @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteTopicRequest) DeleteTopicRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use DeleteTopicRequest.newBuilder() to construct. private DeleteTopicRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -278,6 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -461,6 +465,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object topic_ = ""; + /** * * @@ -486,6 +491,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -511,6 +517,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -535,6 +542,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -555,6 +563,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * 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 74e0aac50..1eba5641a 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 @@ -39,6 +39,7 @@ public interface DeleteTopicRequestOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * 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 b4d6d6a73..3efea7ec1 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 @@ -33,6 +33,7 @@ public final class DetachSubscriptionRequest extends com.google.protobuf.Generat // @@protoc_insertion_point(message_implements:google.pubsub.v1.DetachSubscriptionRequest) DetachSubscriptionRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use DetachSubscriptionRequest.newBuilder() to construct. private DetachSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -279,6 +282,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -462,6 +466,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -487,6 +492,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -512,6 +518,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -536,6 +543,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -556,6 +564,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * 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 16b220074..43b6725a5 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 @@ -39,6 +39,7 @@ public interface DetachSubscriptionRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * 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 808576ae5..9301cd215 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 @@ -34,6 +34,7 @@ public final class DetachSubscriptionResponse extends com.google.protobuf.Genera // @@protoc_insertion_point(message_implements:google.pubsub.v1.DetachSubscriptionResponse) DetachSubscriptionResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use DetachSubscriptionResponse.newBuilder() to construct. private DetachSubscriptionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -212,6 +213,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * 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 1ae5ecf81..9ccc59dfe 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 @@ -73,6 +73,7 @@ public enum Encoding implements com.google.protobuf.ProtocolMessageEnum { * ENCODING_UNSPECIFIED = 0; */ public static final int ENCODING_UNSPECIFIED_VALUE = 0; + /** * * @@ -83,6 +84,7 @@ public enum Encoding implements com.google.protobuf.ProtocolMessageEnum { * JSON = 1; */ public static final int JSON_VALUE = 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 c26db78ba..cbcdfa760 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 @@ -34,6 +34,7 @@ public final class ExpirationPolicy extends com.google.protobuf.GeneratedMessage // @@protoc_insertion_point(message_implements:google.pubsub.v1.ExpirationPolicy) ExpirationPolicyOrBuilder { private static final long serialVersionUID = 0L; + // Use ExpirationPolicy.newBuilder() to construct. private ExpirationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -65,6 +66,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int bitField0_; public static final int TTL_FIELD_NUMBER = 1; private com.google.protobuf.Duration ttl_; + /** * * @@ -85,6 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public boolean hasTtl() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -105,6 +108,7 @@ public boolean hasTtl() { public com.google.protobuf.Duration getTtl() { return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_; } + /** * * @@ -286,6 +290,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -489,6 +494,7 @@ public Builder mergeFrom( com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ttlBuilder_; + /** * * @@ -508,6 +514,7 @@ public Builder mergeFrom( public boolean hasTtl() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -531,6 +538,7 @@ public com.google.protobuf.Duration getTtl() { return ttlBuilder_.getMessage(); } } + /** * * @@ -558,6 +566,7 @@ public Builder setTtl(com.google.protobuf.Duration value) { onChanged(); return this; } + /** * * @@ -582,6 +591,7 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) { onChanged(); return this; } + /** * * @@ -614,6 +624,7 @@ public Builder mergeTtl(com.google.protobuf.Duration value) { } return this; } + /** * * @@ -638,6 +649,7 @@ public Builder clearTtl() { onChanged(); return this; } + /** * * @@ -657,6 +669,7 @@ public com.google.protobuf.Duration.Builder getTtlBuilder() { onChanged(); return getTtlFieldBuilder().getBuilder(); } + /** * * @@ -678,6 +691,7 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() { return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_; } } + /** * * 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 d61c44494..13d40370b 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 @@ -41,6 +41,7 @@ public interface ExpirationPolicyOrBuilder * @return Whether the ttl field is set. */ boolean hasTtl(); + /** * * @@ -58,6 +59,7 @@ public interface ExpirationPolicyOrBuilder * @return The ttl. */ com.google.protobuf.Duration getTtl(); + /** * * 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 10ca7ae56..441892893 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 @@ -33,6 +33,7 @@ public final class GetSchemaRequest extends com.google.protobuf.GeneratedMessage // @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSchemaRequest) GetSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use GetSchemaRequest.newBuilder() to construct. private GetSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; + /** * * @@ -139,6 +143,7 @@ public com.google.protobuf.ByteString getNameBytes() { public int getViewValue() { return view_; } + /** * * @@ -323,6 +328,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -519,6 +525,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -544,6 +551,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -569,6 +577,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -593,6 +602,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -613,6 +623,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -640,6 +651,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private int view_ = 0; + /** * * @@ -656,6 +668,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { public int getViewValue() { return view_; } + /** * * @@ -675,6 +688,7 @@ public Builder setViewValue(int value) { onChanged(); return this; } + /** * * @@ -692,6 +706,7 @@ public com.google.pubsub.v1.SchemaView getView() { com.google.pubsub.v1.SchemaView result = com.google.pubsub.v1.SchemaView.forNumber(view_); return result == null ? com.google.pubsub.v1.SchemaView.UNRECOGNIZED : result; } + /** * * @@ -714,6 +729,7 @@ public Builder setView(com.google.pubsub.v1.SchemaView value) { onChanged(); return this; } + /** * * 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 ff5c589a5..f90f40032 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 @@ -39,6 +39,7 @@ public interface GetSchemaRequestOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -68,6 +69,7 @@ public interface GetSchemaRequestOrBuilder * @return The enum numeric value on the wire for view. */ int getViewValue(); + /** * * 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 87620b557..f21acaa42 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 @@ -33,6 +33,7 @@ public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessa // @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSnapshotRequest) GetSnapshotRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use GetSnapshotRequest.newBuilder() to construct. private GetSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object snapshot_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getSnapshot() { return s; } } + /** * * @@ -278,6 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -461,6 +465,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object snapshot_ = ""; + /** * * @@ -486,6 +491,7 @@ public java.lang.String getSnapshot() { return (java.lang.String) ref; } } + /** * * @@ -511,6 +517,7 @@ public com.google.protobuf.ByteString getSnapshotBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -535,6 +542,7 @@ public Builder setSnapshot(java.lang.String value) { onChanged(); return this; } + /** * * @@ -555,6 +563,7 @@ public Builder clearSnapshot() { onChanged(); return this; } + /** * * 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 7e9d9a514..17f4fd93f 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 @@ -39,6 +39,7 @@ public interface GetSnapshotRequestOrBuilder * @return The snapshot. */ java.lang.String getSnapshot(); + /** * * 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 70a2388eb..1662b80d5 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 @@ -33,6 +33,7 @@ public final class GetSubscriptionRequest extends com.google.protobuf.GeneratedM // @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSubscriptionRequest) GetSubscriptionRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use GetSubscriptionRequest.newBuilder() to construct. private GetSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -279,6 +282,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -462,6 +466,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -487,6 +492,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -512,6 +518,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -536,6 +543,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -556,6 +564,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * 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 f77a5594e..7dde24ac7 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 @@ -39,6 +39,7 @@ public interface GetSubscriptionRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * 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 3400ff350..245c8e678 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 @@ -33,6 +33,7 @@ public final class GetTopicRequest extends com.google.protobuf.GeneratedMessageV // @@protoc_insertion_point(message_implements:google.pubsub.v1.GetTopicRequest) GetTopicRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use GetTopicRequest.newBuilder() to construct. private GetTopicRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -277,6 +280,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -459,6 +463,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object topic_ = ""; + /** * * @@ -484,6 +489,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -509,6 +515,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -533,6 +540,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -553,6 +561,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * 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 dc6bdd088..8a0092a6e 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 @@ -39,6 +39,7 @@ public interface GetTopicRequestOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * 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 ba7ce4fc2..a5d102910 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 @@ -33,6 +33,7 @@ public final class IngestionDataSourceSettings extends com.google.protobuf.Gener // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings) IngestionDataSourceSettingsOrBuilder { private static final long serialVersionUID = 0L; + // Use IngestionDataSourceSettings.newBuilder() to construct. private IngestionDataSourceSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -81,6 +82,7 @@ public interface AwsKinesisOrBuilder * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -109,6 +111,7 @@ public interface AwsKinesisOrBuilder * @return The streamArn. */ java.lang.String getStreamArn(); + /** * * @@ -135,6 +138,7 @@ public interface AwsKinesisOrBuilder * @return The consumerArn. */ java.lang.String getConsumerArn(); + /** * * @@ -163,6 +167,7 @@ public interface AwsKinesisOrBuilder * @return The awsRoleArn. */ java.lang.String getAwsRoleArn(); + /** * * @@ -193,6 +198,7 @@ public interface AwsKinesisOrBuilder * @return The gcpServiceAccount. */ java.lang.String getGcpServiceAccount(); + /** * * @@ -209,6 +215,7 @@ public interface AwsKinesisOrBuilder */ com.google.protobuf.ByteString getGcpServiceAccountBytes(); } + /** * * @@ -223,6 +230,7 @@ public static final class AwsKinesis extends com.google.protobuf.GeneratedMessag // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) AwsKinesisOrBuilder { private static final long serialVersionUID = 0L; + // Use AwsKinesis.newBuilder() to construct. private AwsKinesis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -350,6 +358,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -360,6 +369,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -378,6 +388,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * KINESIS_PERMISSION_DENIED = 2; */ public static final int KINESIS_PERMISSION_DENIED_VALUE = 2; + /** * * @@ -390,6 +401,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * PUBLISH_PERMISSION_DENIED = 3; */ public static final int PUBLISH_PERMISSION_DENIED_VALUE = 3; + /** * * @@ -400,6 +412,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STREAM_NOT_FOUND = 4; */ public static final int STREAM_NOT_FOUND_VALUE = 4; + /** * * @@ -504,6 +517,7 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; + /** * * @@ -522,6 +536,7 @@ private State(int value) { public int getStateValue() { return state_; } + /** * * @@ -549,6 +564,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State getStat @SuppressWarnings("serial") private volatile java.lang.Object streamArn_ = ""; + /** * * @@ -572,6 +588,7 @@ public java.lang.String getStreamArn() { return s; } } + /** * * @@ -600,6 +617,7 @@ public com.google.protobuf.ByteString getStreamArnBytes() { @SuppressWarnings("serial") private volatile java.lang.Object consumerArn_ = ""; + /** * * @@ -624,6 +642,7 @@ public java.lang.String getConsumerArn() { return s; } } + /** * * @@ -653,6 +672,7 @@ public com.google.protobuf.ByteString getConsumerArnBytes() { @SuppressWarnings("serial") private volatile java.lang.Object awsRoleArn_ = ""; + /** * * @@ -678,6 +698,7 @@ public java.lang.String getAwsRoleArn() { return s; } } + /** * * @@ -708,6 +729,7 @@ public com.google.protobuf.ByteString getAwsRoleArnBytes() { @SuppressWarnings("serial") private volatile java.lang.Object gcpServiceAccount_ = ""; + /** * * @@ -734,6 +756,7 @@ public java.lang.String getGcpServiceAccount() { return s; } } + /** * * @@ -962,6 +985,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -1210,6 +1234,7 @@ public Builder mergeFrom( private int bitField0_; private int state_ = 0; + /** * * @@ -1228,6 +1253,7 @@ public Builder mergeFrom( public int getStateValue() { return state_; } + /** * * @@ -1249,6 +1275,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -1271,6 +1298,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State getStat ? com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State.UNRECOGNIZED : result; } + /** * * @@ -1296,6 +1324,7 @@ public Builder setState( onChanged(); return this; } + /** * * @@ -1318,6 +1347,7 @@ public Builder clearState() { } private java.lang.Object streamArn_ = ""; + /** * * @@ -1340,6 +1370,7 @@ public java.lang.String getStreamArn() { return (java.lang.String) ref; } } + /** * * @@ -1362,6 +1393,7 @@ public com.google.protobuf.ByteString getStreamArnBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1383,6 +1415,7 @@ public Builder setStreamArn(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1400,6 +1433,7 @@ public Builder clearStreamArn() { onChanged(); return this; } + /** * * @@ -1424,6 +1458,7 @@ public Builder setStreamArnBytes(com.google.protobuf.ByteString value) { } private java.lang.Object consumerArn_ = ""; + /** * * @@ -1447,6 +1482,7 @@ public java.lang.String getConsumerArn() { return (java.lang.String) ref; } } + /** * * @@ -1470,6 +1506,7 @@ public com.google.protobuf.ByteString getConsumerArnBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1492,6 +1529,7 @@ public Builder setConsumerArn(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1510,6 +1548,7 @@ public Builder clearConsumerArn() { onChanged(); return this; } + /** * * @@ -1535,6 +1574,7 @@ public Builder setConsumerArnBytes(com.google.protobuf.ByteString value) { } private java.lang.Object awsRoleArn_ = ""; + /** * * @@ -1559,6 +1599,7 @@ public java.lang.String getAwsRoleArn() { return (java.lang.String) ref; } } + /** * * @@ -1583,6 +1624,7 @@ public com.google.protobuf.ByteString getAwsRoleArnBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1606,6 +1648,7 @@ public Builder setAwsRoleArn(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1625,6 +1668,7 @@ public Builder clearAwsRoleArn() { onChanged(); return this; } + /** * * @@ -1651,6 +1695,7 @@ public Builder setAwsRoleArnBytes(com.google.protobuf.ByteString value) { } private java.lang.Object gcpServiceAccount_ = ""; + /** * * @@ -1676,6 +1721,7 @@ public java.lang.String getGcpServiceAccount() { return (java.lang.String) ref; } } + /** * * @@ -1701,6 +1747,7 @@ public com.google.protobuf.ByteString getGcpServiceAccountBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1725,6 +1772,7 @@ public Builder setGcpServiceAccount(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1745,6 +1793,7 @@ public Builder clearGcpServiceAccount() { onChanged(); return this; } + /** * * @@ -1856,6 +1905,7 @@ public interface CloudStorageOrBuilder * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -1886,6 +1936,7 @@ public interface CloudStorageOrBuilder * @return The bucket. */ java.lang.String getBucket(); + /** * * @@ -1915,6 +1966,7 @@ public interface CloudStorageOrBuilder * @return Whether the textFormat field is set. */ boolean hasTextFormat(); + /** * * @@ -1929,6 +1981,7 @@ public interface CloudStorageOrBuilder * @return The textFormat. */ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat getTextFormat(); + /** * * @@ -1957,6 +2010,7 @@ public interface CloudStorageOrBuilder * @return Whether the avroFormat field is set. */ boolean hasAvroFormat(); + /** * * @@ -1971,6 +2025,7 @@ public interface CloudStorageOrBuilder * @return The avroFormat. */ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat getAvroFormat(); + /** * * @@ -2001,6 +2056,7 @@ public interface CloudStorageOrBuilder * @return Whether the pubsubAvroFormat field is set. */ boolean hasPubsubAvroFormat(); + /** * * @@ -2018,6 +2074,7 @@ public interface CloudStorageOrBuilder */ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat getPubsubAvroFormat(); + /** * * @@ -2049,6 +2106,7 @@ public interface CloudStorageOrBuilder * @return Whether the minimumObjectCreateTime field is set. */ boolean hasMinimumObjectCreateTime(); + /** * * @@ -2064,6 +2122,7 @@ public interface CloudStorageOrBuilder * @return The minimumObjectCreateTime. */ com.google.protobuf.Timestamp getMinimumObjectCreateTime(); + /** * * @@ -2092,6 +2151,7 @@ public interface CloudStorageOrBuilder * @return The matchGlob. */ java.lang.String getMatchGlob(); + /** * * @@ -2110,6 +2170,7 @@ public interface CloudStorageOrBuilder com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.InputFormatCase getInputFormatCase(); } + /** * * @@ -2124,6 +2185,7 @@ public static final class CloudStorage extends com.google.protobuf.GeneratedMess // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) CloudStorageOrBuilder { private static final long serialVersionUID = 0L; + // Use CloudStorage.newBuilder() to construct. private CloudStorage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -2248,6 +2310,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -2258,6 +2321,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -2274,6 +2338,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * CLOUD_STORAGE_PERMISSION_DENIED = 2; */ public static final int CLOUD_STORAGE_PERMISSION_DENIED_VALUE = 2; + /** * * @@ -2286,6 +2351,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * PUBLISH_PERMISSION_DENIED = 3; */ public static final int PUBLISH_PERMISSION_DENIED_VALUE = 3; + /** * * @@ -2296,6 +2362,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * BUCKET_NOT_FOUND = 4; */ public static final int BUCKET_NOT_FOUND_VALUE = 4; + /** * * @@ -2416,6 +2483,7 @@ public interface TextFormatOrBuilder * @return Whether the delimiter field is set. */ boolean hasDelimiter(); + /** * * @@ -2428,6 +2496,7 @@ public interface TextFormatOrBuilder * @return The delimiter. */ java.lang.String getDelimiter(); + /** * * @@ -2441,6 +2510,7 @@ public interface TextFormatOrBuilder */ com.google.protobuf.ByteString getDelimiterBytes(); } + /** * * @@ -2457,6 +2527,7 @@ public static final class TextFormat extends com.google.protobuf.GeneratedMessag // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat) TextFormatOrBuilder { private static final long serialVersionUID = 0L; + // Use TextFormat.newBuilder() to construct. private TextFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -2493,6 +2564,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object delimiter_ = ""; + /** * * @@ -2508,6 +2580,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public boolean hasDelimiter() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -2531,6 +2604,7 @@ public java.lang.String getDelimiter() { return s; } } + /** * * @@ -2730,6 +2804,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -2933,6 +3008,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object delimiter_ = ""; + /** * * @@ -2947,6 +3023,7 @@ public Builder mergeFrom( public boolean hasDelimiter() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -2969,6 +3046,7 @@ public java.lang.String getDelimiter() { return (java.lang.String) ref; } } + /** * * @@ -2991,6 +3069,7 @@ public com.google.protobuf.ByteString getDelimiterBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -3012,6 +3091,7 @@ public Builder setDelimiter(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3029,6 +3109,7 @@ public Builder clearDelimiter() { onChanged(); return this; } + /** * * @@ -3124,6 +3205,7 @@ public interface AvroFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat) com.google.protobuf.MessageOrBuilder {} + /** * * @@ -3140,6 +3222,7 @@ public static final class AvroFormat extends com.google.protobuf.GeneratedMessag // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat) AvroFormatOrBuilder { private static final long serialVersionUID = 0L; + // Use AvroFormat.newBuilder() to construct. private AvroFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -3330,6 +3413,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -3575,6 +3659,7 @@ public interface PubSubAvroFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat) com.google.protobuf.MessageOrBuilder {} + /** * * @@ -3593,6 +3678,7 @@ public static final class PubSubAvroFormat extends com.google.protobuf.Generated // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat) PubSubAvroFormatOrBuilder { private static final long serialVersionUID = 0L; + // Use PubSubAvroFormat.newBuilder() to construct. private PubSubAvroFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -3786,6 +3872,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -4054,6 +4141,7 @@ public enum InputFormatCase private InputFormatCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -4090,6 +4178,7 @@ public InputFormatCase getInputFormatCase() { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; + /** * * @@ -4108,6 +4197,7 @@ public InputFormatCase getInputFormatCase() { public int getStateValue() { return state_; } + /** * * @@ -4135,6 +4225,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State getSt @SuppressWarnings("serial") private volatile java.lang.Object bucket_ = ""; + /** * * @@ -4160,6 +4251,7 @@ public java.lang.String getBucket() { return s; } } + /** * * @@ -4187,6 +4279,7 @@ public com.google.protobuf.ByteString getBucketBytes() { } public static final int TEXT_FORMAT_FIELD_NUMBER = 3; + /** * * @@ -4204,6 +4297,7 @@ public com.google.protobuf.ByteString getBucketBytes() { public boolean hasTextFormat() { return inputFormatCase_ == 3; } + /** * * @@ -4227,6 +4321,7 @@ public boolean hasTextFormat() { return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat .getDefaultInstance(); } + /** * * @@ -4250,6 +4345,7 @@ public boolean hasTextFormat() { } public static final int AVRO_FORMAT_FIELD_NUMBER = 4; + /** * * @@ -4267,6 +4363,7 @@ public boolean hasTextFormat() { public boolean hasAvroFormat() { return inputFormatCase_ == 4; } + /** * * @@ -4290,6 +4387,7 @@ public boolean hasAvroFormat() { return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat .getDefaultInstance(); } + /** * * @@ -4313,6 +4411,7 @@ public boolean hasAvroFormat() { } public static final int PUBSUB_AVRO_FORMAT_FIELD_NUMBER = 5; + /** * * @@ -4332,6 +4431,7 @@ public boolean hasAvroFormat() { public boolean hasPubsubAvroFormat() { return inputFormatCase_ == 5; } + /** * * @@ -4357,6 +4457,7 @@ public boolean hasPubsubAvroFormat() { return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat .getDefaultInstance(); } + /** * * @@ -4383,6 +4484,7 @@ public boolean hasPubsubAvroFormat() { public static final int MINIMUM_OBJECT_CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp minimumObjectCreateTime_; + /** * * @@ -4401,6 +4503,7 @@ public boolean hasPubsubAvroFormat() { public boolean hasMinimumObjectCreateTime() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -4421,6 +4524,7 @@ public com.google.protobuf.Timestamp getMinimumObjectCreateTime() { ? com.google.protobuf.Timestamp.getDefaultInstance() : minimumObjectCreateTime_; } + /** * * @@ -4444,6 +4548,7 @@ public com.google.protobuf.TimestampOrBuilder getMinimumObjectCreateTimeOrBuilde @SuppressWarnings("serial") private volatile java.lang.Object matchGlob_ = ""; + /** * * @@ -4469,6 +4574,7 @@ public java.lang.String getMatchGlob() { return s; } } + /** * * @@ -4763,6 +4869,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -5096,6 +5203,7 @@ public Builder clearInputFormat() { private int bitField0_; private int state_ = 0; + /** * * @@ -5114,6 +5222,7 @@ public Builder clearInputFormat() { public int getStateValue() { return state_; } + /** * * @@ -5135,6 +5244,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -5157,6 +5267,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State getSt ? com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State.UNRECOGNIZED : result; } + /** * * @@ -5182,6 +5293,7 @@ public Builder setState( onChanged(); return this; } + /** * * @@ -5204,6 +5316,7 @@ public Builder clearState() { } private java.lang.Object bucket_ = ""; + /** * * @@ -5228,6 +5341,7 @@ public java.lang.String getBucket() { return (java.lang.String) ref; } } + /** * * @@ -5252,6 +5366,7 @@ public com.google.protobuf.ByteString getBucketBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -5275,6 +5390,7 @@ public Builder setBucket(java.lang.String value) { onChanged(); return this; } + /** * * @@ -5294,6 +5410,7 @@ public Builder clearBucket() { onChanged(); return this; } + /** * * @@ -5324,6 +5441,7 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder> textFormatBuilder_; + /** * * @@ -5341,6 +5459,7 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { public boolean hasTextFormat() { return inputFormatCase_ == 3; } + /** * * @@ -5372,6 +5491,7 @@ public boolean hasTextFormat() { .getDefaultInstance(); } } + /** * * @@ -5397,6 +5517,7 @@ public Builder setTextFormat( inputFormatCase_ = 3; return this; } + /** * * @@ -5420,6 +5541,7 @@ public Builder setTextFormat( inputFormatCase_ = 3; return this; } + /** * * @@ -5458,6 +5580,7 @@ public Builder mergeTextFormat( inputFormatCase_ = 3; return this; } + /** * * @@ -5485,6 +5608,7 @@ public Builder clearTextFormat() { } return this; } + /** * * @@ -5500,6 +5624,7 @@ public Builder clearTextFormat() { getTextFormatBuilder() { return getTextFormatFieldBuilder().getBuilder(); } + /** * * @@ -5525,6 +5650,7 @@ public Builder clearTextFormat() { .getDefaultInstance(); } } + /** * * @@ -5569,6 +5695,7 @@ public Builder clearTextFormat() { com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder> avroFormatBuilder_; + /** * * @@ -5586,6 +5713,7 @@ public Builder clearTextFormat() { public boolean hasAvroFormat() { return inputFormatCase_ == 4; } + /** * * @@ -5617,6 +5745,7 @@ public boolean hasAvroFormat() { .getDefaultInstance(); } } + /** * * @@ -5642,6 +5771,7 @@ public Builder setAvroFormat( inputFormatCase_ = 4; return this; } + /** * * @@ -5665,6 +5795,7 @@ public Builder setAvroFormat( inputFormatCase_ = 4; return this; } + /** * * @@ -5703,6 +5834,7 @@ public Builder mergeAvroFormat( inputFormatCase_ = 4; return this; } + /** * * @@ -5730,6 +5862,7 @@ public Builder clearAvroFormat() { } return this; } + /** * * @@ -5745,6 +5878,7 @@ public Builder clearAvroFormat() { getAvroFormatBuilder() { return getAvroFormatFieldBuilder().getBuilder(); } + /** * * @@ -5770,6 +5904,7 @@ public Builder clearAvroFormat() { .getDefaultInstance(); } } + /** * * @@ -5816,6 +5951,7 @@ public Builder clearAvroFormat() { com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage .PubSubAvroFormatOrBuilder> pubsubAvroFormatBuilder_; + /** * * @@ -5835,6 +5971,7 @@ public Builder clearAvroFormat() { public boolean hasPubsubAvroFormat() { return inputFormatCase_ == 5; } + /** * * @@ -5868,6 +6005,7 @@ public boolean hasPubsubAvroFormat() { .getDefaultInstance(); } } + /** * * @@ -5895,6 +6033,7 @@ public Builder setPubsubAvroFormat( inputFormatCase_ = 5; return this; } + /** * * @@ -5920,6 +6059,7 @@ public Builder setPubsubAvroFormat( inputFormatCase_ = 5; return this; } + /** * * @@ -5962,6 +6102,7 @@ public Builder mergePubsubAvroFormat( inputFormatCase_ = 5; return this; } + /** * * @@ -5991,6 +6132,7 @@ public Builder clearPubsubAvroFormat() { } return this; } + /** * * @@ -6008,6 +6150,7 @@ public Builder clearPubsubAvroFormat() { getPubsubAvroFormatBuilder() { return getPubsubAvroFormatFieldBuilder().getBuilder(); } + /** * * @@ -6035,6 +6178,7 @@ public Builder clearPubsubAvroFormat() { .getDefaultInstance(); } } + /** * * @@ -6085,6 +6229,7 @@ public Builder clearPubsubAvroFormat() { com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> minimumObjectCreateTimeBuilder_; + /** * * @@ -6102,6 +6247,7 @@ public Builder clearPubsubAvroFormat() { public boolean hasMinimumObjectCreateTime() { return ((bitField0_ & 0x00000020) != 0); } + /** * * @@ -6125,6 +6271,7 @@ public com.google.protobuf.Timestamp getMinimumObjectCreateTime() { return minimumObjectCreateTimeBuilder_.getMessage(); } } + /** * * @@ -6150,6 +6297,7 @@ public Builder setMinimumObjectCreateTime(com.google.protobuf.Timestamp value) { onChanged(); return this; } + /** * * @@ -6173,6 +6321,7 @@ public Builder setMinimumObjectCreateTime( onChanged(); return this; } + /** * * @@ -6203,6 +6352,7 @@ public Builder mergeMinimumObjectCreateTime(com.google.protobuf.Timestamp value) } return this; } + /** * * @@ -6225,6 +6375,7 @@ public Builder clearMinimumObjectCreateTime() { onChanged(); return this; } + /** * * @@ -6242,6 +6393,7 @@ public com.google.protobuf.Timestamp.Builder getMinimumObjectCreateTimeBuilder() onChanged(); return getMinimumObjectCreateTimeFieldBuilder().getBuilder(); } + /** * * @@ -6263,6 +6415,7 @@ public com.google.protobuf.TimestampOrBuilder getMinimumObjectCreateTimeOrBuilde : minimumObjectCreateTime_; } } + /** * * @@ -6293,6 +6446,7 @@ public com.google.protobuf.TimestampOrBuilder getMinimumObjectCreateTimeOrBuilde } private java.lang.Object matchGlob_ = ""; + /** * * @@ -6317,6 +6471,7 @@ public java.lang.String getMatchGlob() { return (java.lang.String) ref; } } + /** * * @@ -6341,6 +6496,7 @@ public com.google.protobuf.ByteString getMatchGlobBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -6364,6 +6520,7 @@ public Builder setMatchGlob(java.lang.String value) { onChanged(); return this; } + /** * * @@ -6383,6 +6540,7 @@ public Builder clearMatchGlob() { onChanged(); return this; } + /** * * @@ -6495,6 +6653,7 @@ public interface AzureEventHubsOrBuilder * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -6523,6 +6682,7 @@ public interface AzureEventHubsOrBuilder * @return The resourceGroup. */ java.lang.String getResourceGroup(); + /** * * @@ -6548,6 +6708,7 @@ public interface AzureEventHubsOrBuilder * @return The namespace. */ java.lang.String getNamespace(); + /** * * @@ -6573,6 +6734,7 @@ public interface AzureEventHubsOrBuilder * @return The eventHub. */ java.lang.String getEventHub(); + /** * * @@ -6599,6 +6761,7 @@ public interface AzureEventHubsOrBuilder * @return The clientId. */ java.lang.String getClientId(); + /** * * @@ -6626,6 +6789,7 @@ public interface AzureEventHubsOrBuilder * @return The tenantId. */ java.lang.String getTenantId(); + /** * * @@ -6652,6 +6816,7 @@ public interface AzureEventHubsOrBuilder * @return The subscriptionId. */ java.lang.String getSubscriptionId(); + /** * * @@ -6678,6 +6843,7 @@ public interface AzureEventHubsOrBuilder * @return The gcpServiceAccount. */ java.lang.String getGcpServiceAccount(); + /** * * @@ -6692,6 +6858,7 @@ public interface AzureEventHubsOrBuilder */ com.google.protobuf.ByteString getGcpServiceAccountBytes(); } + /** * * @@ -6706,6 +6873,7 @@ public static final class AzureEventHubs extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs) AzureEventHubsOrBuilder { private static final long serialVersionUID = 0L; + // Use AzureEventHubs.newBuilder() to construct. private AzureEventHubs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -6848,6 +7016,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -6858,6 +7027,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -6870,6 +7040,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * EVENT_HUBS_PERMISSION_DENIED = 2; */ public static final int EVENT_HUBS_PERMISSION_DENIED_VALUE = 2; + /** * * @@ -6880,6 +7051,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * PUBLISH_PERMISSION_DENIED = 3; */ public static final int PUBLISH_PERMISSION_DENIED_VALUE = 3; + /** * * @@ -6890,6 +7062,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * NAMESPACE_NOT_FOUND = 4; */ public static final int NAMESPACE_NOT_FOUND_VALUE = 4; + /** * * @@ -6900,6 +7073,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * EVENT_HUB_NOT_FOUND = 5; */ public static final int EVENT_HUB_NOT_FOUND_VALUE = 5; + /** * * @@ -6910,6 +7084,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * SUBSCRIPTION_NOT_FOUND = 6; */ public static final int SUBSCRIPTION_NOT_FOUND_VALUE = 6; + /** * * @@ -7018,6 +7193,7 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; + /** * * @@ -7036,6 +7212,7 @@ private State(int value) { public int getStateValue() { return state_; } + /** * * @@ -7063,6 +7240,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State get @SuppressWarnings("serial") private volatile java.lang.Object resourceGroup_ = ""; + /** * * @@ -7086,6 +7264,7 @@ public java.lang.String getResourceGroup() { return s; } } + /** * * @@ -7114,6 +7293,7 @@ public com.google.protobuf.ByteString getResourceGroupBytes() { @SuppressWarnings("serial") private volatile java.lang.Object namespace_ = ""; + /** * * @@ -7137,6 +7317,7 @@ public java.lang.String getNamespace() { return s; } } + /** * * @@ -7165,6 +7346,7 @@ public com.google.protobuf.ByteString getNamespaceBytes() { @SuppressWarnings("serial") private volatile java.lang.Object eventHub_ = ""; + /** * * @@ -7188,6 +7370,7 @@ public java.lang.String getEventHub() { return s; } } + /** * * @@ -7216,6 +7399,7 @@ public com.google.protobuf.ByteString getEventHubBytes() { @SuppressWarnings("serial") private volatile java.lang.Object clientId_ = ""; + /** * * @@ -7240,6 +7424,7 @@ public java.lang.String getClientId() { return s; } } + /** * * @@ -7269,6 +7454,7 @@ public com.google.protobuf.ByteString getClientIdBytes() { @SuppressWarnings("serial") private volatile java.lang.Object tenantId_ = ""; + /** * * @@ -7293,6 +7479,7 @@ public java.lang.String getTenantId() { return s; } } + /** * * @@ -7322,6 +7509,7 @@ public com.google.protobuf.ByteString getTenantIdBytes() { @SuppressWarnings("serial") private volatile java.lang.Object subscriptionId_ = ""; + /** * * @@ -7345,6 +7533,7 @@ public java.lang.String getSubscriptionId() { return s; } } + /** * * @@ -7373,6 +7562,7 @@ public com.google.protobuf.ByteString getSubscriptionIdBytes() { @SuppressWarnings("serial") private volatile java.lang.Object gcpServiceAccount_ = ""; + /** * * @@ -7397,6 +7587,7 @@ public java.lang.String getGcpServiceAccount() { return s; } } + /** * * @@ -7651,6 +7842,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -7946,6 +8138,7 @@ public Builder mergeFrom( private int bitField0_; private int state_ = 0; + /** * * @@ -7964,6 +8157,7 @@ public Builder mergeFrom( public int getStateValue() { return state_; } + /** * * @@ -7985,6 +8179,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -8007,6 +8202,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State get ? com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State.UNRECOGNIZED : result; } + /** * * @@ -8032,6 +8228,7 @@ public Builder setState( onChanged(); return this; } + /** * * @@ -8054,6 +8251,7 @@ public Builder clearState() { } private java.lang.Object resourceGroup_ = ""; + /** * * @@ -8076,6 +8274,7 @@ public java.lang.String getResourceGroup() { return (java.lang.String) ref; } } + /** * * @@ -8098,6 +8297,7 @@ public com.google.protobuf.ByteString getResourceGroupBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8119,6 +8319,7 @@ public Builder setResourceGroup(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8136,6 +8337,7 @@ public Builder clearResourceGroup() { onChanged(); return this; } + /** * * @@ -8160,6 +8362,7 @@ public Builder setResourceGroupBytes(com.google.protobuf.ByteString value) { } private java.lang.Object namespace_ = ""; + /** * * @@ -8182,6 +8385,7 @@ public java.lang.String getNamespace() { return (java.lang.String) ref; } } + /** * * @@ -8204,6 +8408,7 @@ public com.google.protobuf.ByteString getNamespaceBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8225,6 +8430,7 @@ public Builder setNamespace(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8242,6 +8448,7 @@ public Builder clearNamespace() { onChanged(); return this; } + /** * * @@ -8266,6 +8473,7 @@ public Builder setNamespaceBytes(com.google.protobuf.ByteString value) { } private java.lang.Object eventHub_ = ""; + /** * * @@ -8288,6 +8496,7 @@ public java.lang.String getEventHub() { return (java.lang.String) ref; } } + /** * * @@ -8310,6 +8519,7 @@ public com.google.protobuf.ByteString getEventHubBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8331,6 +8541,7 @@ public Builder setEventHub(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8348,6 +8559,7 @@ public Builder clearEventHub() { onChanged(); return this; } + /** * * @@ -8372,6 +8584,7 @@ public Builder setEventHubBytes(com.google.protobuf.ByteString value) { } private java.lang.Object clientId_ = ""; + /** * * @@ -8395,6 +8608,7 @@ public java.lang.String getClientId() { return (java.lang.String) ref; } } + /** * * @@ -8418,6 +8632,7 @@ public com.google.protobuf.ByteString getClientIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8440,6 +8655,7 @@ public Builder setClientId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8458,6 +8674,7 @@ public Builder clearClientId() { onChanged(); return this; } + /** * * @@ -8483,6 +8700,7 @@ public Builder setClientIdBytes(com.google.protobuf.ByteString value) { } private java.lang.Object tenantId_ = ""; + /** * * @@ -8506,6 +8724,7 @@ public java.lang.String getTenantId() { return (java.lang.String) ref; } } + /** * * @@ -8529,6 +8748,7 @@ public com.google.protobuf.ByteString getTenantIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8551,6 +8771,7 @@ public Builder setTenantId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8569,6 +8790,7 @@ public Builder clearTenantId() { onChanged(); return this; } + /** * * @@ -8594,6 +8816,7 @@ public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { } private java.lang.Object subscriptionId_ = ""; + /** * * @@ -8616,6 +8839,7 @@ public java.lang.String getSubscriptionId() { return (java.lang.String) ref; } } + /** * * @@ -8638,6 +8862,7 @@ public com.google.protobuf.ByteString getSubscriptionIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8659,6 +8884,7 @@ public Builder setSubscriptionId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8676,6 +8902,7 @@ public Builder clearSubscriptionId() { onChanged(); return this; } + /** * * @@ -8700,6 +8927,7 @@ public Builder setSubscriptionIdBytes(com.google.protobuf.ByteString value) { } private java.lang.Object gcpServiceAccount_ = ""; + /** * * @@ -8723,6 +8951,7 @@ public java.lang.String getGcpServiceAccount() { return (java.lang.String) ref; } } + /** * * @@ -8746,6 +8975,7 @@ public com.google.protobuf.ByteString getGcpServiceAccountBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8768,6 +8998,7 @@ public Builder setGcpServiceAccount(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8786,6 +9017,7 @@ public Builder clearGcpServiceAccount() { onChanged(); return this; } + /** * * @@ -8897,6 +9129,7 @@ public interface AwsMskOrBuilder * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -8926,6 +9159,7 @@ public interface AwsMskOrBuilder * @return The clusterArn. */ java.lang.String getClusterArn(); + /** * * @@ -8953,6 +9187,7 @@ public interface AwsMskOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * @@ -8981,6 +9216,7 @@ public interface AwsMskOrBuilder * @return The awsRoleArn. */ java.lang.String getAwsRoleArn(); + /** * * @@ -9011,6 +9247,7 @@ public interface AwsMskOrBuilder * @return The gcpServiceAccount. */ java.lang.String getGcpServiceAccount(); + /** * * @@ -9027,6 +9264,7 @@ public interface AwsMskOrBuilder */ com.google.protobuf.ByteString getGcpServiceAccountBytes(); } + /** * * @@ -9041,6 +9279,7 @@ public static final class AwsMsk extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.AwsMsk) AwsMskOrBuilder { private static final long serialVersionUID = 0L; + // Use AwsMsk.newBuilder() to construct. private AwsMsk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -9158,6 +9397,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -9168,6 +9408,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -9178,6 +9419,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * MSK_PERMISSION_DENIED = 2; */ public static final int MSK_PERMISSION_DENIED_VALUE = 2; + /** * * @@ -9188,6 +9430,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * PUBLISH_PERMISSION_DENIED = 3; */ public static final int PUBLISH_PERMISSION_DENIED_VALUE = 3; + /** * * @@ -9198,6 +9441,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * CLUSTER_NOT_FOUND = 4; */ public static final int CLUSTER_NOT_FOUND_VALUE = 4; + /** * * @@ -9302,6 +9546,7 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; + /** * * @@ -9320,6 +9565,7 @@ private State(int value) { public int getStateValue() { return state_; } + /** * * @@ -9347,6 +9593,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State getState() @SuppressWarnings("serial") private volatile java.lang.Object clusterArn_ = ""; + /** * * @@ -9371,6 +9618,7 @@ public java.lang.String getClusterArn() { return s; } } + /** * * @@ -9400,6 +9648,7 @@ public com.google.protobuf.ByteString getClusterArnBytes() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -9424,6 +9673,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -9453,6 +9703,7 @@ public com.google.protobuf.ByteString getTopicBytes() { @SuppressWarnings("serial") private volatile java.lang.Object awsRoleArn_ = ""; + /** * * @@ -9478,6 +9729,7 @@ public java.lang.String getAwsRoleArn() { return s; } } + /** * * @@ -9508,6 +9760,7 @@ public com.google.protobuf.ByteString getAwsRoleArnBytes() { @SuppressWarnings("serial") private volatile java.lang.Object gcpServiceAccount_ = ""; + /** * * @@ -9534,6 +9787,7 @@ public java.lang.String getGcpServiceAccount() { return s; } } + /** * * @@ -9762,6 +10016,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -10007,6 +10262,7 @@ public Builder mergeFrom( private int bitField0_; private int state_ = 0; + /** * * @@ -10025,6 +10281,7 @@ public Builder mergeFrom( public int getStateValue() { return state_; } + /** * * @@ -10046,6 +10303,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -10068,6 +10326,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State getState() ? com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State.UNRECOGNIZED : result; } + /** * * @@ -10092,6 +10351,7 @@ public Builder setState(com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk. onChanged(); return this; } + /** * * @@ -10114,6 +10374,7 @@ public Builder clearState() { } private java.lang.Object clusterArn_ = ""; + /** * * @@ -10137,6 +10398,7 @@ public java.lang.String getClusterArn() { return (java.lang.String) ref; } } + /** * * @@ -10160,6 +10422,7 @@ public com.google.protobuf.ByteString getClusterArnBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -10182,6 +10445,7 @@ public Builder setClusterArn(java.lang.String value) { onChanged(); return this; } + /** * * @@ -10200,6 +10464,7 @@ public Builder clearClusterArn() { onChanged(); return this; } + /** * * @@ -10225,6 +10490,7 @@ public Builder setClusterArnBytes(com.google.protobuf.ByteString value) { } private java.lang.Object topic_ = ""; + /** * * @@ -10248,6 +10514,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -10271,6 +10538,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -10293,6 +10561,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -10311,6 +10580,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -10336,6 +10606,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { } private java.lang.Object awsRoleArn_ = ""; + /** * * @@ -10360,6 +10631,7 @@ public java.lang.String getAwsRoleArn() { return (java.lang.String) ref; } } + /** * * @@ -10384,6 +10656,7 @@ public com.google.protobuf.ByteString getAwsRoleArnBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -10407,6 +10680,7 @@ public Builder setAwsRoleArn(java.lang.String value) { onChanged(); return this; } + /** * * @@ -10426,6 +10700,7 @@ public Builder clearAwsRoleArn() { onChanged(); return this; } + /** * * @@ -10452,6 +10727,7 @@ public Builder setAwsRoleArnBytes(com.google.protobuf.ByteString value) { } private java.lang.Object gcpServiceAccount_ = ""; + /** * * @@ -10477,6 +10753,7 @@ public java.lang.String getGcpServiceAccount() { return (java.lang.String) ref; } } + /** * * @@ -10502,6 +10779,7 @@ public com.google.protobuf.ByteString getGcpServiceAccountBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -10526,6 +10804,7 @@ public Builder setGcpServiceAccount(java.lang.String value) { onChanged(); return this; } + /** * * @@ -10546,6 +10825,7 @@ public Builder clearGcpServiceAccount() { onChanged(); return this; } + /** * * @@ -10656,6 +10936,7 @@ public interface ConfluentCloudOrBuilder * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -10684,6 +10965,7 @@ public interface ConfluentCloudOrBuilder * @return The bootstrapServer. */ java.lang.String getBootstrapServer(); + /** * * @@ -10709,6 +10991,7 @@ public interface ConfluentCloudOrBuilder * @return The clusterId. */ java.lang.String getClusterId(); + /** * * @@ -10735,6 +11018,7 @@ public interface ConfluentCloudOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * @@ -10763,6 +11047,7 @@ public interface ConfluentCloudOrBuilder * @return The identityPoolId. */ java.lang.String getIdentityPoolId(); + /** * * @@ -10791,6 +11076,7 @@ public interface ConfluentCloudOrBuilder * @return The gcpServiceAccount. */ java.lang.String getGcpServiceAccount(); + /** * * @@ -10805,6 +11091,7 @@ public interface ConfluentCloudOrBuilder */ com.google.protobuf.ByteString getGcpServiceAccountBytes(); } + /** * * @@ -10819,6 +11106,7 @@ public static final class ConfluentCloud extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud) ConfluentCloudOrBuilder { private static final long serialVersionUID = 0L; + // Use ConfluentCloud.newBuilder() to construct. private ConfluentCloud(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -10948,6 +11236,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -10958,6 +11247,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -10969,6 +11259,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * CONFLUENT_CLOUD_PERMISSION_DENIED = 2; */ public static final int CONFLUENT_CLOUD_PERMISSION_DENIED_VALUE = 2; + /** * * @@ -10979,6 +11270,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * PUBLISH_PERMISSION_DENIED = 3; */ public static final int PUBLISH_PERMISSION_DENIED_VALUE = 3; + /** * * @@ -10989,6 +11281,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * UNREACHABLE_BOOTSTRAP_SERVER = 4; */ public static final int UNREACHABLE_BOOTSTRAP_SERVER_VALUE = 4; + /** * * @@ -10999,6 +11292,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * CLUSTER_NOT_FOUND = 5; */ public static final int CLUSTER_NOT_FOUND_VALUE = 5; + /** * * @@ -11105,6 +11399,7 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; + /** * * @@ -11123,6 +11418,7 @@ private State(int value) { public int getStateValue() { return state_; } + /** * * @@ -11150,6 +11446,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State get @SuppressWarnings("serial") private volatile java.lang.Object bootstrapServer_ = ""; + /** * * @@ -11173,6 +11470,7 @@ public java.lang.String getBootstrapServer() { return s; } } + /** * * @@ -11201,6 +11499,7 @@ public com.google.protobuf.ByteString getBootstrapServerBytes() { @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; + /** * * @@ -11224,6 +11523,7 @@ public java.lang.String getClusterId() { return s; } } + /** * * @@ -11252,6 +11552,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -11276,6 +11577,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -11305,6 +11607,7 @@ public com.google.protobuf.ByteString getTopicBytes() { @SuppressWarnings("serial") private volatile java.lang.Object identityPoolId_ = ""; + /** * * @@ -11330,6 +11633,7 @@ public java.lang.String getIdentityPoolId() { return s; } } + /** * * @@ -11360,6 +11664,7 @@ public com.google.protobuf.ByteString getIdentityPoolIdBytes() { @SuppressWarnings("serial") private volatile java.lang.Object gcpServiceAccount_ = ""; + /** * * @@ -11384,6 +11689,7 @@ public java.lang.String getGcpServiceAccount() { return s; } } + /** * * @@ -11620,6 +11926,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -11885,6 +12192,7 @@ public Builder mergeFrom( private int bitField0_; private int state_ = 0; + /** * * @@ -11903,6 +12211,7 @@ public Builder mergeFrom( public int getStateValue() { return state_; } + /** * * @@ -11924,6 +12233,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -11946,6 +12256,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State get ? com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State.UNRECOGNIZED : result; } + /** * * @@ -11971,6 +12282,7 @@ public Builder setState( onChanged(); return this; } + /** * * @@ -11993,6 +12305,7 @@ public Builder clearState() { } private java.lang.Object bootstrapServer_ = ""; + /** * * @@ -12015,6 +12328,7 @@ public java.lang.String getBootstrapServer() { return (java.lang.String) ref; } } + /** * * @@ -12037,6 +12351,7 @@ public com.google.protobuf.ByteString getBootstrapServerBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -12058,6 +12373,7 @@ public Builder setBootstrapServer(java.lang.String value) { onChanged(); return this; } + /** * * @@ -12075,6 +12391,7 @@ public Builder clearBootstrapServer() { onChanged(); return this; } + /** * * @@ -12099,6 +12416,7 @@ public Builder setBootstrapServerBytes(com.google.protobuf.ByteString value) { } private java.lang.Object clusterId_ = ""; + /** * * @@ -12121,6 +12439,7 @@ public java.lang.String getClusterId() { return (java.lang.String) ref; } } + /** * * @@ -12143,6 +12462,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -12164,6 +12484,7 @@ public Builder setClusterId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -12181,6 +12502,7 @@ public Builder clearClusterId() { onChanged(); return this; } + /** * * @@ -12205,6 +12527,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { } private java.lang.Object topic_ = ""; + /** * * @@ -12228,6 +12551,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -12251,6 +12575,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -12273,6 +12598,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -12291,6 +12617,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -12316,6 +12643,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { } private java.lang.Object identityPoolId_ = ""; + /** * * @@ -12340,6 +12668,7 @@ public java.lang.String getIdentityPoolId() { return (java.lang.String) ref; } } + /** * * @@ -12364,6 +12693,7 @@ public com.google.protobuf.ByteString getIdentityPoolIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -12387,6 +12717,7 @@ public Builder setIdentityPoolId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -12406,6 +12737,7 @@ public Builder clearIdentityPoolId() { onChanged(); return this; } + /** * * @@ -12432,6 +12764,7 @@ public Builder setIdentityPoolIdBytes(com.google.protobuf.ByteString value) { } private java.lang.Object gcpServiceAccount_ = ""; + /** * * @@ -12455,6 +12788,7 @@ public java.lang.String getGcpServiceAccount() { return (java.lang.String) ref; } } + /** * * @@ -12478,6 +12812,7 @@ public com.google.protobuf.ByteString getGcpServiceAccountBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -12500,6 +12835,7 @@ public Builder setGcpServiceAccount(java.lang.String value) { onChanged(); return this; } + /** * * @@ -12518,6 +12854,7 @@ public Builder clearGcpServiceAccount() { onChanged(); return this; } + /** * * @@ -12630,6 +12967,7 @@ public enum SourceCase private SourceCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -12669,6 +13007,7 @@ public SourceCase getSourceCase() { } public static final int AWS_KINESIS_FIELD_NUMBER = 1; + /** * * @@ -12686,6 +13025,7 @@ public SourceCase getSourceCase() { public boolean hasAwsKinesis() { return sourceCase_ == 1; } + /** * * @@ -12706,6 +13046,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis } return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance(); } + /** * * @@ -12727,6 +13068,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis } public static final int CLOUD_STORAGE_FIELD_NUMBER = 2; + /** * * @@ -12744,6 +13086,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis public boolean hasCloudStorage() { return sourceCase_ == 2; } + /** * * @@ -12764,6 +13107,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage getCloudSto } return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance(); } + /** * * @@ -12785,6 +13129,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage getCloudSto } public static final int AZURE_EVENT_HUBS_FIELD_NUMBER = 3; + /** * * @@ -12802,6 +13147,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage getCloudSto public boolean hasAzureEventHubs() { return sourceCase_ == 3; } + /** * * @@ -12822,6 +13168,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs getAzureE } return com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.getDefaultInstance(); } + /** * * @@ -12843,6 +13190,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs getAzureE } public static final int AWS_MSK_FIELD_NUMBER = 5; + /** * * @@ -12860,6 +13208,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs getAzureE public boolean hasAwsMsk() { return sourceCase_ == 5; } + /** * * @@ -12880,6 +13229,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk getAwsMsk() { } return com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.getDefaultInstance(); } + /** * * @@ -12900,6 +13250,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder getAwsMs } public static final int CONFLUENT_CLOUD_FIELD_NUMBER = 6; + /** * * @@ -12917,6 +13268,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder getAwsMs public boolean hasConfluentCloud() { return sourceCase_ == 6; } + /** * * @@ -12937,6 +13289,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud getConflu } return com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.getDefaultInstance(); } + /** * * @@ -12959,6 +13312,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud getConflu public static final int PLATFORM_LOGS_SETTINGS_FIELD_NUMBER = 4; private com.google.pubsub.v1.PlatformLogsSettings platformLogsSettings_; + /** * * @@ -12977,6 +13331,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud getConflu public boolean hasPlatformLogsSettings() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -12997,6 +13352,7 @@ public com.google.pubsub.v1.PlatformLogsSettings getPlatformLogsSettings() { ? com.google.pubsub.v1.PlatformLogsSettings.getDefaultInstance() : platformLogsSettings_; } + /** * * @@ -13268,6 +13624,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -13587,6 +13944,7 @@ public Builder clearSource() { com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder> awsKinesisBuilder_; + /** * * @@ -13604,6 +13962,7 @@ public Builder clearSource() { public boolean hasAwsKinesis() { return sourceCase_ == 1; } + /** * * @@ -13631,6 +13990,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance(); } } + /** * * @@ -13656,6 +14016,7 @@ public Builder setAwsKinesis( sourceCase_ = 1; return this; } + /** * * @@ -13678,6 +14039,7 @@ public Builder setAwsKinesis( sourceCase_ = 1; return this; } + /** * * @@ -13715,6 +14077,7 @@ public Builder mergeAwsKinesis( sourceCase_ = 1; return this; } + /** * * @@ -13742,6 +14105,7 @@ public Builder clearAwsKinesis() { } return this; } + /** * * @@ -13757,6 +14121,7 @@ public Builder clearAwsKinesis() { getAwsKinesisBuilder() { return getAwsKinesisFieldBuilder().getBuilder(); } + /** * * @@ -13780,6 +14145,7 @@ public Builder clearAwsKinesis() { return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance(); } } + /** * * @@ -13821,6 +14187,7 @@ public Builder clearAwsKinesis() { com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder> cloudStorageBuilder_; + /** * * @@ -13838,6 +14205,7 @@ public Builder clearAwsKinesis() { public boolean hasCloudStorage() { return sourceCase_ == 2; } + /** * * @@ -13865,6 +14233,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage getCloudSto return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance(); } } + /** * * @@ -13890,6 +14259,7 @@ public Builder setCloudStorage( sourceCase_ = 2; return this; } + /** * * @@ -13912,6 +14282,7 @@ public Builder setCloudStorage( sourceCase_ = 2; return this; } + /** * * @@ -13949,6 +14320,7 @@ public Builder mergeCloudStorage( sourceCase_ = 2; return this; } + /** * * @@ -13976,6 +14348,7 @@ public Builder clearCloudStorage() { } return this; } + /** * * @@ -13991,6 +14364,7 @@ public Builder clearCloudStorage() { getCloudStorageBuilder() { return getCloudStorageFieldBuilder().getBuilder(); } + /** * * @@ -14014,6 +14388,7 @@ public Builder clearCloudStorage() { return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance(); } } + /** * * @@ -14055,6 +14430,7 @@ public Builder clearCloudStorage() { com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder> azureEventHubsBuilder_; + /** * * @@ -14072,6 +14448,7 @@ public Builder clearCloudStorage() { public boolean hasAzureEventHubs() { return sourceCase_ == 3; } + /** * * @@ -14099,6 +14476,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs getAzureE return com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.getDefaultInstance(); } } + /** * * @@ -14124,6 +14502,7 @@ public Builder setAzureEventHubs( sourceCase_ = 3; return this; } + /** * * @@ -14146,6 +14525,7 @@ public Builder setAzureEventHubs( sourceCase_ = 3; return this; } + /** * * @@ -14183,6 +14563,7 @@ public Builder mergeAzureEventHubs( sourceCase_ = 3; return this; } + /** * * @@ -14210,6 +14591,7 @@ public Builder clearAzureEventHubs() { } return this; } + /** * * @@ -14225,6 +14607,7 @@ public Builder clearAzureEventHubs() { getAzureEventHubsBuilder() { return getAzureEventHubsFieldBuilder().getBuilder(); } + /** * * @@ -14248,6 +14631,7 @@ public Builder clearAzureEventHubs() { return com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.getDefaultInstance(); } } + /** * * @@ -14289,6 +14673,7 @@ public Builder clearAzureEventHubs() { com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder> awsMskBuilder_; + /** * * @@ -14306,6 +14691,7 @@ public Builder clearAzureEventHubs() { public boolean hasAwsMsk() { return sourceCase_ == 5; } + /** * * @@ -14333,6 +14719,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk getAwsMsk() { return com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.getDefaultInstance(); } } + /** * * @@ -14357,6 +14744,7 @@ public Builder setAwsMsk(com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk sourceCase_ = 5; return this; } + /** * * @@ -14379,6 +14767,7 @@ public Builder setAwsMsk( sourceCase_ = 5; return this; } + /** * * @@ -14414,6 +14803,7 @@ public Builder mergeAwsMsk(com.google.pubsub.v1.IngestionDataSourceSettings.AwsM sourceCase_ = 5; return this; } + /** * * @@ -14441,6 +14831,7 @@ public Builder clearAwsMsk() { } return this; } + /** * * @@ -14455,6 +14846,7 @@ public Builder clearAwsMsk() { public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.Builder getAwsMskBuilder() { return getAwsMskFieldBuilder().getBuilder(); } + /** * * @@ -14477,6 +14869,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder getAwsMs return com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.getDefaultInstance(); } } + /** * * @@ -14517,6 +14910,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder getAwsMs com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.Builder, com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloudOrBuilder> confluentCloudBuilder_; + /** * * @@ -14534,6 +14928,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder getAwsMs public boolean hasConfluentCloud() { return sourceCase_ == 6; } + /** * * @@ -14561,6 +14956,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud getConflu return com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.getDefaultInstance(); } } + /** * * @@ -14586,6 +14982,7 @@ public Builder setConfluentCloud( sourceCase_ = 6; return this; } + /** * * @@ -14608,6 +15005,7 @@ public Builder setConfluentCloud( sourceCase_ = 6; return this; } + /** * * @@ -14645,6 +15043,7 @@ public Builder mergeConfluentCloud( sourceCase_ = 6; return this; } + /** * * @@ -14672,6 +15071,7 @@ public Builder clearConfluentCloud() { } return this; } + /** * * @@ -14687,6 +15087,7 @@ public Builder clearConfluentCloud() { getConfluentCloudBuilder() { return getConfluentCloudFieldBuilder().getBuilder(); } + /** * * @@ -14710,6 +15111,7 @@ public Builder clearConfluentCloud() { return com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.getDefaultInstance(); } } + /** * * @@ -14752,6 +15154,7 @@ public Builder clearConfluentCloud() { com.google.pubsub.v1.PlatformLogsSettings.Builder, com.google.pubsub.v1.PlatformLogsSettingsOrBuilder> platformLogsSettingsBuilder_; + /** * * @@ -14769,6 +15172,7 @@ public Builder clearConfluentCloud() { public boolean hasPlatformLogsSettings() { return ((bitField0_ & 0x00000020) != 0); } + /** * * @@ -14792,6 +15196,7 @@ public com.google.pubsub.v1.PlatformLogsSettings getPlatformLogsSettings() { return platformLogsSettingsBuilder_.getMessage(); } } + /** * * @@ -14817,6 +15222,7 @@ public Builder setPlatformLogsSettings(com.google.pubsub.v1.PlatformLogsSettings onChanged(); return this; } + /** * * @@ -14840,6 +15246,7 @@ public Builder setPlatformLogsSettings( onChanged(); return this; } + /** * * @@ -14871,6 +15278,7 @@ public Builder mergePlatformLogsSettings(com.google.pubsub.v1.PlatformLogsSettin } return this; } + /** * * @@ -14893,6 +15301,7 @@ public Builder clearPlatformLogsSettings() { onChanged(); return this; } + /** * * @@ -14910,6 +15319,7 @@ public com.google.pubsub.v1.PlatformLogsSettings.Builder getPlatformLogsSettings onChanged(); return getPlatformLogsSettingsFieldBuilder().getBuilder(); } + /** * * @@ -14931,6 +15341,7 @@ public com.google.pubsub.v1.PlatformLogsSettingsOrBuilder getPlatformLogsSetting : platformLogsSettings_; } } + /** * * 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 aba0b49cb..84ef926a9 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 @@ -38,6 +38,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return Whether the awsKinesis field is set. */ boolean hasAwsKinesis(); + /** * * @@ -52,6 +53,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return The awsKinesis. */ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis(); + /** * * @@ -79,6 +81,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return Whether the cloudStorage field is set. */ boolean hasCloudStorage(); + /** * * @@ -93,6 +96,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return The cloudStorage. */ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage getCloudStorage(); + /** * * @@ -120,6 +124,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return Whether the azureEventHubs field is set. */ boolean hasAzureEventHubs(); + /** * * @@ -134,6 +139,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return The azureEventHubs. */ com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs getAzureEventHubs(); + /** * * @@ -162,6 +168,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return Whether the awsMsk field is set. */ boolean hasAwsMsk(); + /** * * @@ -176,6 +183,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return The awsMsk. */ com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk getAwsMsk(); + /** * * @@ -203,6 +211,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return Whether the confluentCloud field is set. */ boolean hasConfluentCloud(); + /** * * @@ -217,6 +226,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return The confluentCloud. */ com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud getConfluentCloud(); + /** * * @@ -246,6 +256,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return Whether the platformLogsSettings field is set. */ boolean hasPlatformLogsSettings(); + /** * * @@ -261,6 +272,7 @@ public interface IngestionDataSourceSettingsOrBuilder * @return The platformLogsSettings. */ com.google.pubsub.v1.PlatformLogsSettings getPlatformLogsSettings(); + /** * * 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 624ec551c..206b6d9e9 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 @@ -34,6 +34,7 @@ public final class IngestionFailureEvent extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent) IngestionFailureEventOrBuilder { private static final long serialVersionUID = 0L; + // Use IngestionFailureEvent.newBuilder() to construct. private IngestionFailureEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -69,6 +70,7 @@ public interface ApiViolationReasonOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.IngestionFailureEvent.ApiViolationReason) com.google.protobuf.MessageOrBuilder {} + /** * * @@ -90,6 +92,7 @@ public static final class ApiViolationReason extends com.google.protobuf.Generat // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.ApiViolationReason) ApiViolationReasonOrBuilder { private static final long serialVersionUID = 0L; + // Use ApiViolationReason.newBuilder() to construct. private ApiViolationReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -270,6 +273,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -512,6 +516,7 @@ public interface AvroFailureReasonOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.IngestionFailureEvent.AvroFailureReason) com.google.protobuf.MessageOrBuilder {} + /** * * @@ -527,6 +532,7 @@ public static final class AvroFailureReason extends com.google.protobuf.Generate // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.AvroFailureReason) AvroFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + // Use AvroFailureReason.newBuilder() to construct. private AvroFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -707,6 +713,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -955,6 +962,7 @@ public interface CloudStorageFailureOrBuilder * @return The bucket. */ java.lang.String getBucket(); + /** * * @@ -981,6 +989,7 @@ public interface CloudStorageFailureOrBuilder * @return The objectName. */ java.lang.String getObjectName(); + /** * * @@ -1023,6 +1032,7 @@ public interface CloudStorageFailureOrBuilder * @return Whether the avroFailureReason field is set. */ boolean hasAvroFailureReason(); + /** * * @@ -1037,6 +1047,7 @@ public interface CloudStorageFailureOrBuilder * @return The avroFailureReason. */ com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason getAvroFailureReason(); + /** * * @@ -1066,6 +1077,7 @@ public interface CloudStorageFailureOrBuilder * @return Whether the apiViolationReason field is set. */ boolean hasApiViolationReason(); + /** * * @@ -1081,6 +1093,7 @@ public interface CloudStorageFailureOrBuilder * @return The apiViolationReason. */ com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViolationReason(); + /** * * @@ -1098,6 +1111,7 @@ public interface CloudStorageFailureOrBuilder com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.ReasonCase getReasonCase(); } + /** * * @@ -1112,6 +1126,7 @@ public static final class CloudStorageFailure extends com.google.protobuf.Genera // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure) CloudStorageFailureOrBuilder { private static final long serialVersionUID = 0L; + // Use CloudStorageFailure.newBuilder() to construct. private CloudStorageFailure(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -1160,6 +1175,7 @@ public enum ReasonCase private ReasonCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -1196,6 +1212,7 @@ public ReasonCase getReasonCase() { @SuppressWarnings("serial") private volatile java.lang.Object bucket_ = ""; + /** * * @@ -1219,6 +1236,7 @@ public java.lang.String getBucket() { return s; } } + /** * * @@ -1247,6 +1265,7 @@ public com.google.protobuf.ByteString getBucketBytes() { @SuppressWarnings("serial") private volatile java.lang.Object objectName_ = ""; + /** * * @@ -1271,6 +1290,7 @@ public java.lang.String getObjectName() { return s; } } + /** * * @@ -1298,6 +1318,7 @@ public com.google.protobuf.ByteString getObjectNameBytes() { public static final int OBJECT_GENERATION_FIELD_NUMBER = 3; private long objectGeneration_ = 0L; + /** * * @@ -1316,6 +1337,7 @@ public long getObjectGeneration() { } public static final int AVRO_FAILURE_REASON_FIELD_NUMBER = 5; + /** * * @@ -1333,6 +1355,7 @@ public long getObjectGeneration() { public boolean hasAvroFailureReason() { return reasonCase_ == 5; } + /** * * @@ -1353,6 +1376,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason getAvroFailu } return com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.getDefaultInstance(); } + /** * * @@ -1374,6 +1398,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason getAvroFailu } public static final int API_VIOLATION_REASON_FIELD_NUMBER = 6; + /** * * @@ -1392,6 +1417,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason getAvroFailu public boolean hasApiViolationReason() { return reasonCase_ == 6; } + /** * * @@ -1413,6 +1439,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViola } return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } + /** * * @@ -1654,6 +1681,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -1938,6 +1966,7 @@ public Builder clearReason() { private int bitField0_; private java.lang.Object bucket_ = ""; + /** * * @@ -1960,6 +1989,7 @@ public java.lang.String getBucket() { return (java.lang.String) ref; } } + /** * * @@ -1982,6 +2012,7 @@ public com.google.protobuf.ByteString getBucketBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -2003,6 +2034,7 @@ public Builder setBucket(java.lang.String value) { onChanged(); return this; } + /** * * @@ -2020,6 +2052,7 @@ public Builder clearBucket() { onChanged(); return this; } + /** * * @@ -2044,6 +2077,7 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { } private java.lang.Object objectName_ = ""; + /** * * @@ -2067,6 +2101,7 @@ public java.lang.String getObjectName() { return (java.lang.String) ref; } } + /** * * @@ -2090,6 +2125,7 @@ public com.google.protobuf.ByteString getObjectNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -2112,6 +2148,7 @@ public Builder setObjectName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -2130,6 +2167,7 @@ public Builder clearObjectName() { onChanged(); return this; } + /** * * @@ -2155,6 +2193,7 @@ public Builder setObjectNameBytes(com.google.protobuf.ByteString value) { } private long objectGeneration_; + /** * * @@ -2171,6 +2210,7 @@ public Builder setObjectNameBytes(com.google.protobuf.ByteString value) { public long getObjectGeneration() { return objectGeneration_; } + /** * * @@ -2191,6 +2231,7 @@ public Builder setObjectGeneration(long value) { onChanged(); return this; } + /** * * @@ -2215,6 +2256,7 @@ public Builder clearObjectGeneration() { com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReasonOrBuilder> avroFailureReasonBuilder_; + /** * * @@ -2232,6 +2274,7 @@ public Builder clearObjectGeneration() { public boolean hasAvroFailureReason() { return reasonCase_ == 5; } + /** * * @@ -2259,6 +2302,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason getAvroFailu return com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.getDefaultInstance(); } } + /** * * @@ -2284,6 +2328,7 @@ public Builder setAvroFailureReason( reasonCase_ = 5; return this; } + /** * * @@ -2306,6 +2351,7 @@ public Builder setAvroFailureReason( reasonCase_ = 5; return this; } + /** * * @@ -2343,6 +2389,7 @@ public Builder mergeAvroFailureReason( reasonCase_ = 5; return this; } + /** * * @@ -2370,6 +2417,7 @@ public Builder clearAvroFailureReason() { } return this; } + /** * * @@ -2385,6 +2433,7 @@ public Builder clearAvroFailureReason() { getAvroFailureReasonBuilder() { return getAvroFailureReasonFieldBuilder().getBuilder(); } + /** * * @@ -2408,6 +2457,7 @@ public Builder clearAvroFailureReason() { return com.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.getDefaultInstance(); } } + /** * * @@ -2449,6 +2499,7 @@ public Builder clearAvroFailureReason() { com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> apiViolationReasonBuilder_; + /** * * @@ -2467,6 +2518,7 @@ public Builder clearAvroFailureReason() { public boolean hasApiViolationReason() { return reasonCase_ == 6; } + /** * * @@ -2495,6 +2547,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViola return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } } + /** * * @@ -2521,6 +2574,7 @@ public Builder setApiViolationReason( reasonCase_ = 6; return this; } + /** * * @@ -2544,6 +2598,7 @@ public Builder setApiViolationReason( reasonCase_ = 6; return this; } + /** * * @@ -2582,6 +2637,7 @@ public Builder mergeApiViolationReason( reasonCase_ = 6; return this; } + /** * * @@ -2610,6 +2666,7 @@ public Builder clearApiViolationReason() { } return this; } + /** * * @@ -2626,6 +2683,7 @@ public Builder clearApiViolationReason() { getApiViolationReasonBuilder() { return getApiViolationReasonFieldBuilder().getBuilder(); } + /** * * @@ -2650,6 +2708,7 @@ public Builder clearApiViolationReason() { return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } } + /** * * @@ -2771,6 +2830,7 @@ public interface AwsMskFailureReasonOrBuilder * @return The clusterArn. */ java.lang.String getClusterArn(); + /** * * @@ -2796,6 +2856,7 @@ public interface AwsMskFailureReasonOrBuilder * @return The kafkaTopic. */ java.lang.String getKafkaTopic(); + /** * * @@ -2851,6 +2912,7 @@ public interface AwsMskFailureReasonOrBuilder * @return Whether the apiViolationReason field is set. */ boolean hasApiViolationReason(); + /** * * @@ -2866,6 +2928,7 @@ public interface AwsMskFailureReasonOrBuilder * @return The apiViolationReason. */ com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViolationReason(); + /** * * @@ -2883,6 +2946,7 @@ public interface AwsMskFailureReasonOrBuilder com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.ReasonCase getReasonCase(); } + /** * * @@ -2897,6 +2961,7 @@ public static final class AwsMskFailureReason extends com.google.protobuf.Genera // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason) AwsMskFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + // Use AwsMskFailureReason.newBuilder() to construct. private AwsMskFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -2944,6 +3009,7 @@ public enum ReasonCase private ReasonCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -2978,6 +3044,7 @@ public ReasonCase getReasonCase() { @SuppressWarnings("serial") private volatile java.lang.Object clusterArn_ = ""; + /** * * @@ -3001,6 +3068,7 @@ public java.lang.String getClusterArn() { return s; } } + /** * * @@ -3029,6 +3097,7 @@ public com.google.protobuf.ByteString getClusterArnBytes() { @SuppressWarnings("serial") private volatile java.lang.Object kafkaTopic_ = ""; + /** * * @@ -3052,6 +3121,7 @@ public java.lang.String getKafkaTopic() { return s; } } + /** * * @@ -3078,6 +3148,7 @@ public com.google.protobuf.ByteString getKafkaTopicBytes() { public static final int PARTITION_ID_FIELD_NUMBER = 3; private long partitionId_ = 0L; + /** * * @@ -3096,6 +3167,7 @@ public long getPartitionId() { public static final int OFFSET_FIELD_NUMBER = 4; private long offset_ = 0L; + /** * * @@ -3114,6 +3186,7 @@ public long getOffset() { } public static final int API_VIOLATION_REASON_FIELD_NUMBER = 5; + /** * * @@ -3132,6 +3205,7 @@ public long getOffset() { public boolean hasApiViolationReason() { return reasonCase_ == 5; } + /** * * @@ -3153,6 +3227,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViola } return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } + /** * * @@ -3387,6 +3462,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -3666,6 +3742,7 @@ public Builder clearReason() { private int bitField0_; private java.lang.Object clusterArn_ = ""; + /** * * @@ -3688,6 +3765,7 @@ public java.lang.String getClusterArn() { return (java.lang.String) ref; } } + /** * * @@ -3710,6 +3788,7 @@ public com.google.protobuf.ByteString getClusterArnBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -3731,6 +3810,7 @@ public Builder setClusterArn(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3748,6 +3828,7 @@ public Builder clearClusterArn() { onChanged(); return this; } + /** * * @@ -3772,6 +3853,7 @@ public Builder setClusterArnBytes(com.google.protobuf.ByteString value) { } private java.lang.Object kafkaTopic_ = ""; + /** * * @@ -3794,6 +3876,7 @@ public java.lang.String getKafkaTopic() { return (java.lang.String) ref; } } + /** * * @@ -3816,6 +3899,7 @@ public com.google.protobuf.ByteString getKafkaTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -3837,6 +3921,7 @@ public Builder setKafkaTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3854,6 +3939,7 @@ public Builder clearKafkaTopic() { onChanged(); return this; } + /** * * @@ -3878,6 +3964,7 @@ public Builder setKafkaTopicBytes(com.google.protobuf.ByteString value) { } private long partitionId_; + /** * * @@ -3893,6 +3980,7 @@ public Builder setKafkaTopicBytes(com.google.protobuf.ByteString value) { public long getPartitionId() { return partitionId_; } + /** * * @@ -3912,6 +4000,7 @@ public Builder setPartitionId(long value) { onChanged(); return this; } + /** * * @@ -3931,6 +4020,7 @@ public Builder clearPartitionId() { } private long offset_; + /** * * @@ -3947,6 +4037,7 @@ public Builder clearPartitionId() { public long getOffset() { return offset_; } + /** * * @@ -3967,6 +4058,7 @@ public Builder setOffset(long value) { onChanged(); return this; } + /** * * @@ -3991,6 +4083,7 @@ public Builder clearOffset() { com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> apiViolationReasonBuilder_; + /** * * @@ -4009,6 +4102,7 @@ public Builder clearOffset() { public boolean hasApiViolationReason() { return reasonCase_ == 5; } + /** * * @@ -4037,6 +4131,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViola return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } } + /** * * @@ -4063,6 +4158,7 @@ public Builder setApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -4086,6 +4182,7 @@ public Builder setApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -4124,6 +4221,7 @@ public Builder mergeApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -4152,6 +4250,7 @@ public Builder clearApiViolationReason() { } return this; } + /** * * @@ -4168,6 +4267,7 @@ public Builder clearApiViolationReason() { getApiViolationReasonBuilder() { return getApiViolationReasonFieldBuilder().getBuilder(); } + /** * * @@ -4192,6 +4292,7 @@ public Builder clearApiViolationReason() { return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } } + /** * * @@ -4313,6 +4414,7 @@ public interface AzureEventHubsFailureReasonOrBuilder * @return The namespace. */ java.lang.String getNamespace(); + /** * * @@ -4338,6 +4440,7 @@ public interface AzureEventHubsFailureReasonOrBuilder * @return The eventHub. */ java.lang.String getEventHub(); + /** * * @@ -4393,6 +4496,7 @@ public interface AzureEventHubsFailureReasonOrBuilder * @return Whether the apiViolationReason field is set. */ boolean hasApiViolationReason(); + /** * * @@ -4408,6 +4512,7 @@ public interface AzureEventHubsFailureReasonOrBuilder * @return The apiViolationReason. */ com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViolationReason(); + /** * * @@ -4426,6 +4531,7 @@ public interface AzureEventHubsFailureReasonOrBuilder com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.ReasonCase getReasonCase(); } + /** * * @@ -4441,6 +4547,7 @@ public static final class AzureEventHubsFailureReason // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason) AzureEventHubsFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + // Use AzureEventHubsFailureReason.newBuilder() to construct. private AzureEventHubsFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -4488,6 +4595,7 @@ public enum ReasonCase private ReasonCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -4522,6 +4630,7 @@ public ReasonCase getReasonCase() { @SuppressWarnings("serial") private volatile java.lang.Object namespace_ = ""; + /** * * @@ -4545,6 +4654,7 @@ public java.lang.String getNamespace() { return s; } } + /** * * @@ -4573,6 +4683,7 @@ public com.google.protobuf.ByteString getNamespaceBytes() { @SuppressWarnings("serial") private volatile java.lang.Object eventHub_ = ""; + /** * * @@ -4596,6 +4707,7 @@ public java.lang.String getEventHub() { return s; } } + /** * * @@ -4622,6 +4734,7 @@ public com.google.protobuf.ByteString getEventHubBytes() { public static final int PARTITION_ID_FIELD_NUMBER = 3; private long partitionId_ = 0L; + /** * * @@ -4640,6 +4753,7 @@ public long getPartitionId() { public static final int OFFSET_FIELD_NUMBER = 4; private long offset_ = 0L; + /** * * @@ -4658,6 +4772,7 @@ public long getOffset() { } public static final int API_VIOLATION_REASON_FIELD_NUMBER = 5; + /** * * @@ -4676,6 +4791,7 @@ public long getOffset() { public boolean hasApiViolationReason() { return reasonCase_ == 5; } + /** * * @@ -4697,6 +4813,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViola } return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } + /** * * @@ -4933,6 +5050,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -5218,6 +5336,7 @@ public Builder clearReason() { private int bitField0_; private java.lang.Object namespace_ = ""; + /** * * @@ -5240,6 +5359,7 @@ public java.lang.String getNamespace() { return (java.lang.String) ref; } } + /** * * @@ -5262,6 +5382,7 @@ public com.google.protobuf.ByteString getNamespaceBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -5283,6 +5404,7 @@ public Builder setNamespace(java.lang.String value) { onChanged(); return this; } + /** * * @@ -5300,6 +5422,7 @@ public Builder clearNamespace() { onChanged(); return this; } + /** * * @@ -5324,6 +5447,7 @@ public Builder setNamespaceBytes(com.google.protobuf.ByteString value) { } private java.lang.Object eventHub_ = ""; + /** * * @@ -5346,6 +5470,7 @@ public java.lang.String getEventHub() { return (java.lang.String) ref; } } + /** * * @@ -5368,6 +5493,7 @@ public com.google.protobuf.ByteString getEventHubBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -5389,6 +5515,7 @@ public Builder setEventHub(java.lang.String value) { onChanged(); return this; } + /** * * @@ -5406,6 +5533,7 @@ public Builder clearEventHub() { onChanged(); return this; } + /** * * @@ -5430,6 +5558,7 @@ public Builder setEventHubBytes(com.google.protobuf.ByteString value) { } private long partitionId_; + /** * * @@ -5445,6 +5574,7 @@ public Builder setEventHubBytes(com.google.protobuf.ByteString value) { public long getPartitionId() { return partitionId_; } + /** * * @@ -5464,6 +5594,7 @@ public Builder setPartitionId(long value) { onChanged(); return this; } + /** * * @@ -5483,6 +5614,7 @@ public Builder clearPartitionId() { } private long offset_; + /** * * @@ -5499,6 +5631,7 @@ public Builder clearPartitionId() { public long getOffset() { return offset_; } + /** * * @@ -5519,6 +5652,7 @@ public Builder setOffset(long value) { onChanged(); return this; } + /** * * @@ -5543,6 +5677,7 @@ public Builder clearOffset() { com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> apiViolationReasonBuilder_; + /** * * @@ -5561,6 +5696,7 @@ public Builder clearOffset() { public boolean hasApiViolationReason() { return reasonCase_ == 5; } + /** * * @@ -5589,6 +5725,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViola return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } } + /** * * @@ -5615,6 +5752,7 @@ public Builder setApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -5638,6 +5776,7 @@ public Builder setApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -5676,6 +5815,7 @@ public Builder mergeApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -5704,6 +5844,7 @@ public Builder clearApiViolationReason() { } return this; } + /** * * @@ -5720,6 +5861,7 @@ public Builder clearApiViolationReason() { getApiViolationReasonBuilder() { return getApiViolationReasonFieldBuilder().getBuilder(); } + /** * * @@ -5744,6 +5886,7 @@ public Builder clearApiViolationReason() { return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } } + /** * * @@ -5866,6 +6009,7 @@ public interface ConfluentCloudFailureReasonOrBuilder * @return The clusterId. */ java.lang.String getClusterId(); + /** * * @@ -5891,6 +6035,7 @@ public interface ConfluentCloudFailureReasonOrBuilder * @return The kafkaTopic. */ java.lang.String getKafkaTopic(); + /** * * @@ -5946,6 +6091,7 @@ public interface ConfluentCloudFailureReasonOrBuilder * @return Whether the apiViolationReason field is set. */ boolean hasApiViolationReason(); + /** * * @@ -5961,6 +6107,7 @@ public interface ConfluentCloudFailureReasonOrBuilder * @return The apiViolationReason. */ com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViolationReason(); + /** * * @@ -5979,6 +6126,7 @@ public interface ConfluentCloudFailureReasonOrBuilder com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.ReasonCase getReasonCase(); } + /** * * @@ -5994,6 +6142,7 @@ public static final class ConfluentCloudFailureReason // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason) ConfluentCloudFailureReasonOrBuilder { private static final long serialVersionUID = 0L; + // Use ConfluentCloudFailureReason.newBuilder() to construct. private ConfluentCloudFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -6041,6 +6190,7 @@ public enum ReasonCase private ReasonCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -6075,6 +6225,7 @@ public ReasonCase getReasonCase() { @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; + /** * * @@ -6098,6 +6249,7 @@ public java.lang.String getClusterId() { return s; } } + /** * * @@ -6126,6 +6278,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { @SuppressWarnings("serial") private volatile java.lang.Object kafkaTopic_ = ""; + /** * * @@ -6149,6 +6302,7 @@ public java.lang.String getKafkaTopic() { return s; } } + /** * * @@ -6175,6 +6329,7 @@ public com.google.protobuf.ByteString getKafkaTopicBytes() { public static final int PARTITION_ID_FIELD_NUMBER = 3; private long partitionId_ = 0L; + /** * * @@ -6193,6 +6348,7 @@ public long getPartitionId() { public static final int OFFSET_FIELD_NUMBER = 4; private long offset_ = 0L; + /** * * @@ -6211,6 +6367,7 @@ public long getOffset() { } public static final int API_VIOLATION_REASON_FIELD_NUMBER = 5; + /** * * @@ -6229,6 +6386,7 @@ public long getOffset() { public boolean hasApiViolationReason() { return reasonCase_ == 5; } + /** * * @@ -6250,6 +6408,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViola } return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } + /** * * @@ -6486,6 +6645,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -6771,6 +6931,7 @@ public Builder clearReason() { private int bitField0_; private java.lang.Object clusterId_ = ""; + /** * * @@ -6793,6 +6954,7 @@ public java.lang.String getClusterId() { return (java.lang.String) ref; } } + /** * * @@ -6815,6 +6977,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -6836,6 +6999,7 @@ public Builder setClusterId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -6853,6 +7017,7 @@ public Builder clearClusterId() { onChanged(); return this; } + /** * * @@ -6877,6 +7042,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { } private java.lang.Object kafkaTopic_ = ""; + /** * * @@ -6899,6 +7065,7 @@ public java.lang.String getKafkaTopic() { return (java.lang.String) ref; } } + /** * * @@ -6921,6 +7088,7 @@ public com.google.protobuf.ByteString getKafkaTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -6942,6 +7110,7 @@ public Builder setKafkaTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -6959,6 +7128,7 @@ public Builder clearKafkaTopic() { onChanged(); return this; } + /** * * @@ -6983,6 +7153,7 @@ public Builder setKafkaTopicBytes(com.google.protobuf.ByteString value) { } private long partitionId_; + /** * * @@ -6998,6 +7169,7 @@ public Builder setKafkaTopicBytes(com.google.protobuf.ByteString value) { public long getPartitionId() { return partitionId_; } + /** * * @@ -7017,6 +7189,7 @@ public Builder setPartitionId(long value) { onChanged(); return this; } + /** * * @@ -7036,6 +7209,7 @@ public Builder clearPartitionId() { } private long offset_; + /** * * @@ -7052,6 +7226,7 @@ public Builder clearPartitionId() { public long getOffset() { return offset_; } + /** * * @@ -7072,6 +7247,7 @@ public Builder setOffset(long value) { onChanged(); return this; } + /** * * @@ -7096,6 +7272,7 @@ public Builder clearOffset() { com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonOrBuilder> apiViolationReasonBuilder_; + /** * * @@ -7114,6 +7291,7 @@ public Builder clearOffset() { public boolean hasApiViolationReason() { return reasonCase_ == 5; } + /** * * @@ -7142,6 +7320,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason getApiViola return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } } + /** * * @@ -7168,6 +7347,7 @@ public Builder setApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -7191,6 +7371,7 @@ public Builder setApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -7229,6 +7410,7 @@ public Builder mergeApiViolationReason( reasonCase_ = 5; return this; } + /** * * @@ -7257,6 +7439,7 @@ public Builder clearApiViolationReason() { } return this; } + /** * * @@ -7273,6 +7456,7 @@ public Builder clearApiViolationReason() { getApiViolationReasonBuilder() { return getApiViolationReasonFieldBuilder().getBuilder(); } + /** * * @@ -7297,6 +7481,7 @@ public Builder clearApiViolationReason() { return com.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.getDefaultInstance(); } } + /** * * @@ -7421,6 +7606,7 @@ public enum FailureCase private FailureCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -7461,6 +7647,7 @@ public FailureCase getFailureCase() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -7485,6 +7672,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -7514,6 +7702,7 @@ public com.google.protobuf.ByteString getTopicBytes() { @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; + /** * * @@ -7537,6 +7726,7 @@ public java.lang.String getErrorMessage() { return s; } } + /** * * @@ -7562,6 +7752,7 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } public static final int CLOUD_STORAGE_FAILURE_FIELD_NUMBER = 3; + /** * * @@ -7579,6 +7770,7 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { public boolean hasCloudStorageFailure() { return failureCase_ == 3; } + /** * * @@ -7599,6 +7791,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure getCloudSt } return com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.getDefaultInstance(); } + /** * * @@ -7620,6 +7813,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure getCloudSt } public static final int AWS_MSK_FAILURE_FIELD_NUMBER = 4; + /** * * @@ -7637,6 +7831,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure getCloudSt public boolean hasAwsMskFailure() { return failureCase_ == 4; } + /** * * @@ -7657,6 +7852,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason getAwsMskF } return com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.getDefaultInstance(); } + /** * * @@ -7678,6 +7874,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason getAwsMskF } public static final int AZURE_EVENT_HUBS_FAILURE_FIELD_NUMBER = 5; + /** * * @@ -7695,6 +7892,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason getAwsMskF public boolean hasAzureEventHubsFailure() { return failureCase_ == 5; } + /** * * @@ -7717,6 +7915,7 @@ public boolean hasAzureEventHubsFailure() { return com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason .getDefaultInstance(); } + /** * * @@ -7739,6 +7938,7 @@ public boolean hasAzureEventHubsFailure() { } public static final int CONFLUENT_CLOUD_FAILURE_FIELD_NUMBER = 6; + /** * * @@ -7756,6 +7956,7 @@ public boolean hasAzureEventHubsFailure() { public boolean hasConfluentCloudFailure() { return failureCase_ == 6; } + /** * * @@ -7778,6 +7979,7 @@ public boolean hasConfluentCloudFailure() { return com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason .getDefaultInstance(); } + /** * * @@ -8040,6 +8242,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -8338,6 +8541,7 @@ public Builder clearFailure() { private int bitField0_; private java.lang.Object topic_ = ""; + /** * * @@ -8361,6 +8565,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -8384,6 +8589,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8406,6 +8612,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8424,6 +8631,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -8449,6 +8657,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { } private java.lang.Object errorMessage_ = ""; + /** * * @@ -8471,6 +8680,7 @@ public java.lang.String getErrorMessage() { return (java.lang.String) ref; } } + /** * * @@ -8493,6 +8703,7 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -8514,6 +8725,7 @@ public Builder setErrorMessage(java.lang.String value) { onChanged(); return this; } + /** * * @@ -8531,6 +8743,7 @@ public Builder clearErrorMessage() { onChanged(); return this; } + /** * * @@ -8559,6 +8772,7 @@ public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.Builder, com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailureOrBuilder> cloudStorageFailureBuilder_; + /** * * @@ -8576,6 +8790,7 @@ public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { public boolean hasCloudStorageFailure() { return failureCase_ == 3; } + /** * * @@ -8603,6 +8818,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure getCloudSt return com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.getDefaultInstance(); } } + /** * * @@ -8628,6 +8844,7 @@ public Builder setCloudStorageFailure( failureCase_ = 3; return this; } + /** * * @@ -8650,6 +8867,7 @@ public Builder setCloudStorageFailure( failureCase_ = 3; return this; } + /** * * @@ -8687,6 +8905,7 @@ public Builder mergeCloudStorageFailure( failureCase_ = 3; return this; } + /** * * @@ -8714,6 +8933,7 @@ public Builder clearCloudStorageFailure() { } return this; } + /** * * @@ -8729,6 +8949,7 @@ public Builder clearCloudStorageFailure() { getCloudStorageFailureBuilder() { return getCloudStorageFailureFieldBuilder().getBuilder(); } + /** * * @@ -8752,6 +8973,7 @@ public Builder clearCloudStorageFailure() { return com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.getDefaultInstance(); } } + /** * * @@ -8793,6 +9015,7 @@ public Builder clearCloudStorageFailure() { com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReasonOrBuilder> awsMskFailureBuilder_; + /** * * @@ -8810,6 +9033,7 @@ public Builder clearCloudStorageFailure() { public boolean hasAwsMskFailure() { return failureCase_ == 4; } + /** * * @@ -8837,6 +9061,7 @@ public com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason getAwsMskF return com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.getDefaultInstance(); } } + /** * * @@ -8862,6 +9087,7 @@ public Builder setAwsMskFailure( failureCase_ = 4; return this; } + /** * * @@ -8884,6 +9110,7 @@ public Builder setAwsMskFailure( failureCase_ = 4; return this; } + /** * * @@ -8921,6 +9148,7 @@ public Builder mergeAwsMskFailure( failureCase_ = 4; return this; } + /** * * @@ -8948,6 +9176,7 @@ public Builder clearAwsMskFailure() { } return this; } + /** * * @@ -8963,6 +9192,7 @@ public Builder clearAwsMskFailure() { getAwsMskFailureBuilder() { return getAwsMskFailureFieldBuilder().getBuilder(); } + /** * * @@ -8986,6 +9216,7 @@ public Builder clearAwsMskFailure() { return com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.getDefaultInstance(); } } + /** * * @@ -9027,6 +9258,7 @@ public Builder clearAwsMskFailure() { com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder> azureEventHubsFailureBuilder_; + /** * * @@ -9044,6 +9276,7 @@ public Builder clearAwsMskFailure() { public boolean hasAzureEventHubsFailure() { return failureCase_ == 5; } + /** * * @@ -9074,6 +9307,7 @@ public boolean hasAzureEventHubsFailure() { .getDefaultInstance(); } } + /** * * @@ -9099,6 +9333,7 @@ public Builder setAzureEventHubsFailure( failureCase_ = 5; return this; } + /** * * @@ -9122,6 +9357,7 @@ public Builder setAzureEventHubsFailure( failureCase_ = 5; return this; } + /** * * @@ -9160,6 +9396,7 @@ public Builder mergeAzureEventHubsFailure( failureCase_ = 5; return this; } + /** * * @@ -9187,6 +9424,7 @@ public Builder clearAzureEventHubsFailure() { } return this; } + /** * * @@ -9202,6 +9440,7 @@ public Builder clearAzureEventHubsFailure() { getAzureEventHubsFailureBuilder() { return getAzureEventHubsFailureFieldBuilder().getBuilder(); } + /** * * @@ -9226,6 +9465,7 @@ public Builder clearAzureEventHubsFailure() { .getDefaultInstance(); } } + /** * * @@ -9268,6 +9508,7 @@ public Builder clearAzureEventHubsFailure() { com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.Builder, com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder> confluentCloudFailureBuilder_; + /** * * @@ -9285,6 +9526,7 @@ public Builder clearAzureEventHubsFailure() { public boolean hasConfluentCloudFailure() { return failureCase_ == 6; } + /** * * @@ -9315,6 +9557,7 @@ public boolean hasConfluentCloudFailure() { .getDefaultInstance(); } } + /** * * @@ -9340,6 +9583,7 @@ public Builder setConfluentCloudFailure( failureCase_ = 6; return this; } + /** * * @@ -9363,6 +9607,7 @@ public Builder setConfluentCloudFailure( failureCase_ = 6; return this; } + /** * * @@ -9401,6 +9646,7 @@ public Builder mergeConfluentCloudFailure( failureCase_ = 6; return this; } + /** * * @@ -9428,6 +9674,7 @@ public Builder clearConfluentCloudFailure() { } return this; } + /** * * @@ -9443,6 +9690,7 @@ public Builder clearConfluentCloudFailure() { getConfluentCloudFailureBuilder() { return getConfluentCloudFailureFieldBuilder().getBuilder(); } + /** * * @@ -9467,6 +9715,7 @@ public Builder clearConfluentCloudFailure() { .getDefaultInstance(); } } + /** * * 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 b488636cf..9fc268820 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 @@ -37,6 +37,7 @@ public interface IngestionFailureEventOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * @@ -63,6 +64,7 @@ public interface IngestionFailureEventOrBuilder * @return The errorMessage. */ java.lang.String getErrorMessage(); + /** * * @@ -90,6 +92,7 @@ public interface IngestionFailureEventOrBuilder * @return Whether the cloudStorageFailure field is set. */ boolean hasCloudStorageFailure(); + /** * * @@ -104,6 +107,7 @@ public interface IngestionFailureEventOrBuilder * @return The cloudStorageFailure. */ com.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure getCloudStorageFailure(); + /** * * @@ -132,6 +136,7 @@ public interface IngestionFailureEventOrBuilder * @return Whether the awsMskFailure field is set. */ boolean hasAwsMskFailure(); + /** * * @@ -146,6 +151,7 @@ public interface IngestionFailureEventOrBuilder * @return The awsMskFailure. */ com.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason getAwsMskFailure(); + /** * * @@ -174,6 +180,7 @@ public interface IngestionFailureEventOrBuilder * @return Whether the azureEventHubsFailure field is set. */ boolean hasAzureEventHubsFailure(); + /** * * @@ -188,6 +195,7 @@ public interface IngestionFailureEventOrBuilder * @return The azureEventHubsFailure. */ com.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason getAzureEventHubsFailure(); + /** * * @@ -216,6 +224,7 @@ public interface IngestionFailureEventOrBuilder * @return Whether the confluentCloudFailure field is set. */ boolean hasConfluentCloudFailure(); + /** * * @@ -230,6 +239,7 @@ public interface IngestionFailureEventOrBuilder * @return The confluentCloudFailure. */ com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason getConfluentCloudFailure(); + /** * * 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 f5b467deb..d4ab92c91 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 @@ -34,6 +34,7 @@ public final class JavaScriptUDF extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.JavaScriptUDF) JavaScriptUDFOrBuilder { private static final long serialVersionUID = 0L; + // Use JavaScriptUDF.newBuilder() to construct. private JavaScriptUDF(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -69,6 +70,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object functionName_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getFunctionName() { return s; } } + /** * * @@ -122,6 +125,7 @@ public com.google.protobuf.ByteString getFunctionNameBytes() { @SuppressWarnings("serial") private volatile java.lang.Object code_ = ""; + /** * * @@ -148,7 +152,7 @@ public com.google.protobuf.ByteString getFunctionNameBytes() { * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ @@ -174,6 +178,7 @@ public java.lang.String getCode() { return s; } } + /** * * @@ -200,7 +205,7 @@ public java.lang.String getCode() { * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ @@ -393,6 +398,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -591,6 +597,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object functionName_ = ""; + /** * * @@ -614,6 +621,7 @@ public java.lang.String getFunctionName() { return (java.lang.String) ref; } } + /** * * @@ -637,6 +645,7 @@ public com.google.protobuf.ByteString getFunctionNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -659,6 +668,7 @@ public Builder setFunctionName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -677,6 +687,7 @@ public Builder clearFunctionName() { onChanged(); return this; } + /** * * @@ -702,6 +713,7 @@ public Builder setFunctionNameBytes(com.google.protobuf.ByteString value) { } private java.lang.Object code_ = ""; + /** * * @@ -728,7 +740,7 @@ public Builder setFunctionNameBytes(com.google.protobuf.ByteString value) { * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ @@ -753,6 +765,7 @@ public java.lang.String getCode() { return (java.lang.String) ref; } } + /** * * @@ -779,7 +792,7 @@ public java.lang.String getCode() { * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ @@ -804,6 +817,7 @@ public com.google.protobuf.ByteString getCodeBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -830,7 +844,7 @@ public com.google.protobuf.ByteString getCodeBytes() { * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ @@ -854,6 +868,7 @@ public Builder setCode(java.lang.String value) { onChanged(); return this; } + /** * * @@ -880,7 +895,7 @@ public Builder setCode(java.lang.String value) { * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ @@ -900,6 +915,7 @@ public Builder clearCode() { onChanged(); return this; } + /** * * @@ -926,7 +942,7 @@ public Builder clearCode() { * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ 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 2be71ea24..cb3ba0f4d 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 @@ -37,6 +37,7 @@ public interface JavaScriptUDFOrBuilder * @return The functionName. */ java.lang.String getFunctionName(); + /** * * @@ -77,7 +78,7 @@ public interface JavaScriptUDFOrBuilder * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ @@ -92,6 +93,7 @@ public interface JavaScriptUDFOrBuilder * @return The code. */ java.lang.String getCode(); + /** * * @@ -118,7 +120,7 @@ public interface JavaScriptUDFOrBuilder * * * * @param {Object<string, any>} metadata - Pub/Sub message metadata. * * Keys: - * * - (required) 'message_id' : {string} + * * - (optional) 'message_id' : {string} * * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * * - (optional) 'ordering_key': {string} * */ 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 0ab2ac7a9..4f7e414d8 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 @@ -33,6 +33,7 @@ public final class ListSchemaRevisionsRequest extends com.google.protobuf.Genera // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSchemaRevisionsRequest) ListSchemaRevisionsRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ListSchemaRevisionsRequest.newBuilder() to construct. private ListSchemaRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -69,6 +70,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -122,6 +125,7 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; + /** * * @@ -139,6 +143,7 @@ public com.google.protobuf.ByteString getNameBytes() { public int getViewValue() { return view_; } + /** * * @@ -160,6 +165,7 @@ public com.google.pubsub.v1.SchemaView getView() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; + /** * * @@ -180,6 +186,7 @@ public int getPageSize() { @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; + /** * * @@ -204,6 +211,7 @@ public java.lang.String getPageToken() { return s; } } + /** * * @@ -415,6 +423,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -640,6 +649,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -664,6 +674,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -688,6 +699,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -711,6 +723,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -730,6 +743,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -756,6 +770,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private int view_ = 0; + /** * * @@ -773,6 +788,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { public int getViewValue() { return view_; } + /** * * @@ -793,6 +809,7 @@ public Builder setViewValue(int value) { onChanged(); return this; } + /** * * @@ -811,6 +828,7 @@ public com.google.pubsub.v1.SchemaView getView() { com.google.pubsub.v1.SchemaView result = com.google.pubsub.v1.SchemaView.forNumber(view_); return result == null ? com.google.pubsub.v1.SchemaView.UNRECOGNIZED : result; } + /** * * @@ -834,6 +852,7 @@ public Builder setView(com.google.pubsub.v1.SchemaView value) { onChanged(); return this; } + /** * * @@ -855,6 +874,7 @@ public Builder clearView() { } private int pageSize_; + /** * * @@ -870,6 +890,7 @@ public Builder clearView() { public int getPageSize() { return pageSize_; } + /** * * @@ -889,6 +910,7 @@ public Builder setPageSize(int value) { onChanged(); return this; } + /** * * @@ -908,6 +930,7 @@ public Builder clearPageSize() { } private java.lang.Object pageToken_ = ""; + /** * * @@ -931,6 +954,7 @@ public java.lang.String getPageToken() { return (java.lang.String) ref; } } + /** * * @@ -954,6 +978,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -976,6 +1001,7 @@ public Builder setPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -994,6 +1020,7 @@ public Builder clearPageToken() { onChanged(); return this; } + /** * * 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 681c829bd..812a4bfff 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 @@ -38,6 +38,7 @@ public interface ListSchemaRevisionsRequestOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -67,6 +68,7 @@ public interface ListSchemaRevisionsRequestOrBuilder * @return The enum numeric value on the wire for view. */ int getViewValue(); + /** * * @@ -108,6 +110,7 @@ public interface ListSchemaRevisionsRequestOrBuilder * @return The pageToken. */ java.lang.String getPageToken(); + /** * * 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 826388448..5774b60a7 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 @@ -33,6 +33,7 @@ public final class ListSchemaRevisionsResponse extends com.google.protobuf.Gener // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSchemaRevisionsResponse) ListSchemaRevisionsResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ListSchemaRevisionsResponse.newBuilder() to construct. private ListSchemaRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private java.util.List schemas_; + /** * * @@ -81,6 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public java.util.List getSchemasList() { return schemas_; } + /** * * @@ -94,6 +97,7 @@ public java.util.List getSchemasList() { public java.util.List getSchemasOrBuilderList() { return schemas_; } + /** * * @@ -107,6 +111,7 @@ public java.util.List getSchemas public int getSchemasCount() { return schemas_.size(); } + /** * * @@ -120,6 +125,7 @@ public int getSchemasCount() { public com.google.pubsub.v1.Schema getSchemas(int index) { return schemas_.get(index); } + /** * * @@ -138,6 +144,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemasOrBuilder(int index) { @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; + /** * * @@ -162,6 +169,7 @@ public java.lang.String getNextPageToken() { return s; } } + /** * * @@ -357,6 +365,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -632,6 +641,7 @@ public java.util.List getSchemasList() { return schemasBuilder_.getMessageList(); } } + /** * * @@ -648,6 +658,7 @@ public int getSchemasCount() { return schemasBuilder_.getCount(); } } + /** * * @@ -664,6 +675,7 @@ public com.google.pubsub.v1.Schema getSchemas(int index) { return schemasBuilder_.getMessage(index); } } + /** * * @@ -686,6 +698,7 @@ public Builder setSchemas(int index, com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -705,6 +718,7 @@ public Builder setSchemas(int index, com.google.pubsub.v1.Schema.Builder builder } return this; } + /** * * @@ -727,6 +741,7 @@ public Builder addSchemas(com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -749,6 +764,7 @@ public Builder addSchemas(int index, com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -768,6 +784,7 @@ public Builder addSchemas(com.google.pubsub.v1.Schema.Builder builderForValue) { } return this; } + /** * * @@ -787,6 +804,7 @@ public Builder addSchemas(int index, com.google.pubsub.v1.Schema.Builder builder } return this; } + /** * * @@ -806,6 +824,7 @@ public Builder addAllSchemas(java.lang.Iterable getSchemasBuilderList } private java.lang.Object nextPageToken_ = ""; + /** * * @@ -968,6 +995,7 @@ public java.lang.String getNextPageToken() { return (java.lang.String) ref; } } + /** * * @@ -991,6 +1019,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1013,6 +1042,7 @@ public Builder setNextPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1031,6 +1061,7 @@ public Builder clearNextPageToken() { onChanged(); return this; } + /** * * 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 de9f891d8..01008b7a9 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 @@ -34,6 +34,7 @@ public interface ListSchemaRevisionsResponseOrBuilder * repeated .google.pubsub.v1.Schema schemas = 1; */ java.util.List getSchemasList(); + /** * * @@ -44,6 +45,7 @@ public interface ListSchemaRevisionsResponseOrBuilder * repeated .google.pubsub.v1.Schema schemas = 1; */ com.google.pubsub.v1.Schema getSchemas(int index); + /** * * @@ -54,6 +56,7 @@ public interface ListSchemaRevisionsResponseOrBuilder * repeated .google.pubsub.v1.Schema schemas = 1; */ int getSchemasCount(); + /** * * @@ -64,6 +67,7 @@ public interface ListSchemaRevisionsResponseOrBuilder * repeated .google.pubsub.v1.Schema schemas = 1; */ java.util.List getSchemasOrBuilderList(); + /** * * @@ -88,6 +92,7 @@ public interface ListSchemaRevisionsResponseOrBuilder * @return The nextPageToken. */ java.lang.String getNextPageToken(); + /** * * 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 0c98c0d84..bfc18011b 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 @@ -33,6 +33,7 @@ public final class ListSchemasRequest extends com.google.protobuf.GeneratedMessa // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSchemasRequest) ListSchemasRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ListSchemasRequest.newBuilder() to construct. private ListSchemasRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -69,6 +70,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; + /** * * @@ -95,6 +97,7 @@ public java.lang.String getParent() { return s; } } + /** * * @@ -124,6 +127,7 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; + /** * * @@ -141,6 +145,7 @@ public com.google.protobuf.ByteString getParentBytes() { public int getViewValue() { return view_; } + /** * * @@ -162,6 +167,7 @@ public com.google.pubsub.v1.SchemaView getView() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; + /** * * @@ -182,6 +188,7 @@ public int getPageSize() { @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; + /** * * @@ -207,6 +214,7 @@ public java.lang.String getPageToken() { return s; } } + /** * * @@ -418,6 +426,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -642,6 +651,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object parent_ = ""; + /** * * @@ -667,6 +677,7 @@ public java.lang.String getParent() { return (java.lang.String) ref; } } + /** * * @@ -692,6 +703,7 @@ public com.google.protobuf.ByteString getParentBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -716,6 +728,7 @@ public Builder setParent(java.lang.String value) { onChanged(); return this; } + /** * * @@ -736,6 +749,7 @@ public Builder clearParent() { onChanged(); return this; } + /** * * @@ -763,6 +777,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private int view_ = 0; + /** * * @@ -780,6 +795,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { public int getViewValue() { return view_; } + /** * * @@ -800,6 +816,7 @@ public Builder setViewValue(int value) { onChanged(); return this; } + /** * * @@ -818,6 +835,7 @@ public com.google.pubsub.v1.SchemaView getView() { com.google.pubsub.v1.SchemaView result = com.google.pubsub.v1.SchemaView.forNumber(view_); return result == null ? com.google.pubsub.v1.SchemaView.UNRECOGNIZED : result; } + /** * * @@ -841,6 +859,7 @@ public Builder setView(com.google.pubsub.v1.SchemaView value) { onChanged(); return this; } + /** * * @@ -862,6 +881,7 @@ public Builder clearView() { } private int pageSize_; + /** * * @@ -877,6 +897,7 @@ public Builder clearView() { public int getPageSize() { return pageSize_; } + /** * * @@ -896,6 +917,7 @@ public Builder setPageSize(int value) { onChanged(); return this; } + /** * * @@ -915,6 +937,7 @@ public Builder clearPageSize() { } private java.lang.Object pageToken_ = ""; + /** * * @@ -939,6 +962,7 @@ public java.lang.String getPageToken() { return (java.lang.String) ref; } } + /** * * @@ -963,6 +987,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -986,6 +1011,7 @@ public Builder setPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1005,6 +1031,7 @@ public Builder clearPageToken() { onChanged(); return this; } + /** * * 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 050de5229..b02a46248 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 @@ -39,6 +39,7 @@ public interface ListSchemasRequestOrBuilder * @return The parent. */ java.lang.String getParent(); + /** * * @@ -69,6 +70,7 @@ public interface ListSchemasRequestOrBuilder * @return The enum numeric value on the wire for view. */ int getViewValue(); + /** * * @@ -111,6 +113,7 @@ public interface ListSchemasRequestOrBuilder * @return The pageToken. */ java.lang.String getPageToken(); + /** * * 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 1ac5143e8..0295fbf55 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 @@ -33,6 +33,7 @@ public final class ListSchemasResponse extends com.google.protobuf.GeneratedMess // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSchemasResponse) ListSchemasResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ListSchemasResponse.newBuilder() to construct. private ListSchemasResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private java.util.List schemas_; + /** * * @@ -81,6 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public java.util.List getSchemasList() { return schemas_; } + /** * * @@ -94,6 +97,7 @@ public java.util.List getSchemasList() { public java.util.List getSchemasOrBuilderList() { return schemas_; } + /** * * @@ -107,6 +111,7 @@ public java.util.List getSchemas public int getSchemasCount() { return schemas_.size(); } + /** * * @@ -120,6 +125,7 @@ public int getSchemasCount() { public com.google.pubsub.v1.Schema getSchemas(int index) { return schemas_.get(index); } + /** * * @@ -138,6 +144,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemasOrBuilder(int index) { @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; + /** * * @@ -162,6 +169,7 @@ public java.lang.String getNextPageToken() { return s; } } + /** * * @@ -356,6 +364,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -629,6 +638,7 @@ public java.util.List getSchemasList() { return schemasBuilder_.getMessageList(); } } + /** * * @@ -645,6 +655,7 @@ public int getSchemasCount() { return schemasBuilder_.getCount(); } } + /** * * @@ -661,6 +672,7 @@ public com.google.pubsub.v1.Schema getSchemas(int index) { return schemasBuilder_.getMessage(index); } } + /** * * @@ -683,6 +695,7 @@ public Builder setSchemas(int index, com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -702,6 +715,7 @@ public Builder setSchemas(int index, com.google.pubsub.v1.Schema.Builder builder } return this; } + /** * * @@ -724,6 +738,7 @@ public Builder addSchemas(com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -746,6 +761,7 @@ public Builder addSchemas(int index, com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -765,6 +781,7 @@ public Builder addSchemas(com.google.pubsub.v1.Schema.Builder builderForValue) { } return this; } + /** * * @@ -784,6 +801,7 @@ public Builder addSchemas(int index, com.google.pubsub.v1.Schema.Builder builder } return this; } + /** * * @@ -803,6 +821,7 @@ public Builder addAllSchemas(java.lang.Iterable getSchemasBuilderList } private java.lang.Object nextPageToken_ = ""; + /** * * @@ -965,6 +992,7 @@ public java.lang.String getNextPageToken() { return (java.lang.String) ref; } } + /** * * @@ -988,6 +1016,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1010,6 +1039,7 @@ public Builder setNextPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1028,6 +1058,7 @@ public Builder clearNextPageToken() { onChanged(); return this; } + /** * * 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 dfe71b9a2..4074b7a2c 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 @@ -34,6 +34,7 @@ public interface ListSchemasResponseOrBuilder * repeated .google.pubsub.v1.Schema schemas = 1; */ java.util.List getSchemasList(); + /** * * @@ -44,6 +45,7 @@ public interface ListSchemasResponseOrBuilder * repeated .google.pubsub.v1.Schema schemas = 1; */ com.google.pubsub.v1.Schema getSchemas(int index); + /** * * @@ -54,6 +56,7 @@ public interface ListSchemasResponseOrBuilder * repeated .google.pubsub.v1.Schema schemas = 1; */ int getSchemasCount(); + /** * * @@ -64,6 +67,7 @@ public interface ListSchemasResponseOrBuilder * repeated .google.pubsub.v1.Schema schemas = 1; */ java.util.List getSchemasOrBuilderList(); + /** * * @@ -88,6 +92,7 @@ public interface ListSchemasResponseOrBuilder * @return The nextPageToken. */ java.lang.String getNextPageToken(); + /** * * 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 55485115b..eb72cc74f 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 @@ -33,6 +33,7 @@ public final class ListSnapshotsRequest extends com.google.protobuf.GeneratedMes // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSnapshotsRequest) ListSnapshotsRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ListSnapshotsRequest.newBuilder() to construct. private ListSnapshotsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getProject() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; + /** * * @@ -143,6 +147,7 @@ public int getPageSize() { @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; + /** * * @@ -168,6 +173,7 @@ public java.lang.String getPageToken() { return s; } } + /** * * @@ -371,6 +377,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -582,6 +589,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object project_ = ""; + /** * * @@ -607,6 +615,7 @@ public java.lang.String getProject() { return (java.lang.String) ref; } } + /** * * @@ -632,6 +641,7 @@ public com.google.protobuf.ByteString getProjectBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -656,6 +666,7 @@ public Builder setProject(java.lang.String value) { onChanged(); return this; } + /** * * @@ -676,6 +687,7 @@ public Builder clearProject() { onChanged(); return this; } + /** * * @@ -703,6 +715,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { } private int pageSize_; + /** * * @@ -718,6 +731,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { public int getPageSize() { return pageSize_; } + /** * * @@ -737,6 +751,7 @@ public Builder setPageSize(int value) { onChanged(); return this; } + /** * * @@ -756,6 +771,7 @@ public Builder clearPageSize() { } private java.lang.Object pageToken_ = ""; + /** * * @@ -780,6 +796,7 @@ public java.lang.String getPageToken() { return (java.lang.String) ref; } } + /** * * @@ -804,6 +821,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -827,6 +845,7 @@ public Builder setPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -846,6 +865,7 @@ public Builder clearPageToken() { onChanged(); return this; } + /** * * 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 e8711c1ef..ce1882a87 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 @@ -39,6 +39,7 @@ public interface ListSnapshotsRequestOrBuilder * @return The project. */ java.lang.String getProject(); + /** * * @@ -82,6 +83,7 @@ public interface ListSnapshotsRequestOrBuilder * @return The pageToken. */ java.lang.String getPageToken(); + /** * * 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 bc58cb7c8..1f663f3bd 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 @@ -33,6 +33,7 @@ public final class ListSnapshotsResponse extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSnapshotsResponse) ListSnapshotsResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ListSnapshotsResponse.newBuilder() to construct. private ListSnapshotsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private java.util.List snapshots_; + /** * * @@ -83,6 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public java.util.List getSnapshotsList() { return snapshots_; } + /** * * @@ -99,6 +102,7 @@ public java.util.List getSnapshotsList() { getSnapshotsOrBuilderList() { return snapshots_; } + /** * * @@ -114,6 +118,7 @@ public java.util.List getSnapshotsList() { public int getSnapshotsCount() { return snapshots_.size(); } + /** * * @@ -129,6 +134,7 @@ public int getSnapshotsCount() { public com.google.pubsub.v1.Snapshot getSnapshots(int index) { return snapshots_.get(index); } + /** * * @@ -149,6 +155,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; + /** * * @@ -174,6 +181,7 @@ public java.lang.String getNextPageToken() { return s; } } + /** * * @@ -370,6 +378,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -645,6 +654,7 @@ public java.util.List getSnapshotsList() { return snapshotsBuilder_.getMessageList(); } } + /** * * @@ -663,6 +673,7 @@ public int getSnapshotsCount() { return snapshotsBuilder_.getCount(); } } + /** * * @@ -681,6 +692,7 @@ public com.google.pubsub.v1.Snapshot getSnapshots(int index) { return snapshotsBuilder_.getMessage(index); } } + /** * * @@ -705,6 +717,7 @@ public Builder setSnapshots(int index, com.google.pubsub.v1.Snapshot value) { } return this; } + /** * * @@ -726,6 +739,7 @@ public Builder setSnapshots(int index, com.google.pubsub.v1.Snapshot.Builder bui } return this; } + /** * * @@ -750,6 +764,7 @@ public Builder addSnapshots(com.google.pubsub.v1.Snapshot value) { } return this; } + /** * * @@ -774,6 +789,7 @@ public Builder addSnapshots(int index, com.google.pubsub.v1.Snapshot value) { } return this; } + /** * * @@ -795,6 +811,7 @@ public Builder addSnapshots(com.google.pubsub.v1.Snapshot.Builder builderForValu } return this; } + /** * * @@ -816,6 +833,7 @@ public Builder addSnapshots(int index, com.google.pubsub.v1.Snapshot.Builder bui } return this; } + /** * * @@ -838,6 +856,7 @@ public Builder addAllSnapshots( } return this; } + /** * * @@ -859,6 +878,7 @@ public Builder clearSnapshots() { } return this; } + /** * * @@ -880,6 +900,7 @@ public Builder removeSnapshots(int index) { } return this; } + /** * * @@ -894,6 +915,7 @@ public Builder removeSnapshots(int index) { public com.google.pubsub.v1.Snapshot.Builder getSnapshotsBuilder(int index) { return getSnapshotsFieldBuilder().getBuilder(index); } + /** * * @@ -912,6 +934,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { return snapshotsBuilder_.getMessageOrBuilder(index); } } + /** * * @@ -931,6 +954,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { return java.util.Collections.unmodifiableList(snapshots_); } } + /** * * @@ -946,6 +970,7 @@ public com.google.pubsub.v1.Snapshot.Builder addSnapshotsBuilder() { return getSnapshotsFieldBuilder() .addBuilder(com.google.pubsub.v1.Snapshot.getDefaultInstance()); } + /** * * @@ -961,6 +986,7 @@ public com.google.pubsub.v1.Snapshot.Builder addSnapshotsBuilder(int index) { return getSnapshotsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.Snapshot.getDefaultInstance()); } + /** * * @@ -994,6 +1020,7 @@ public java.util.List getSnapshotsBuilder } private java.lang.Object nextPageToken_ = ""; + /** * * @@ -1018,6 +1045,7 @@ public java.lang.String getNextPageToken() { return (java.lang.String) ref; } } + /** * * @@ -1042,6 +1070,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1065,6 +1094,7 @@ public Builder setNextPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1084,6 +1114,7 @@ public Builder clearNextPageToken() { onChanged(); return this; } + /** * * 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 5a20d8d27..34b81ac66 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 @@ -36,6 +36,7 @@ public interface ListSnapshotsResponseOrBuilder * */ java.util.List getSnapshotsList(); + /** * * @@ -48,6 +49,7 @@ public interface ListSnapshotsResponseOrBuilder * */ com.google.pubsub.v1.Snapshot getSnapshots(int index); + /** * * @@ -60,6 +62,7 @@ public interface ListSnapshotsResponseOrBuilder * */ int getSnapshotsCount(); + /** * * @@ -72,6 +75,7 @@ public interface ListSnapshotsResponseOrBuilder * */ java.util.List getSnapshotsOrBuilderList(); + /** * * @@ -99,6 +103,7 @@ public interface ListSnapshotsResponseOrBuilder * @return The nextPageToken. */ java.lang.String getNextPageToken(); + /** * * 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 846b75ce1..d3848c784 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 @@ -33,6 +33,7 @@ public final class ListSubscriptionsRequest extends com.google.protobuf.Generate // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSubscriptionsRequest) ListSubscriptionsRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ListSubscriptionsRequest.newBuilder() to construct. private ListSubscriptionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getProject() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; + /** * * @@ -143,6 +147,7 @@ public int getPageSize() { @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; + /** * * @@ -168,6 +173,7 @@ public java.lang.String getPageToken() { return s; } } + /** * * @@ -371,6 +377,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -582,6 +589,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object project_ = ""; + /** * * @@ -607,6 +615,7 @@ public java.lang.String getProject() { return (java.lang.String) ref; } } + /** * * @@ -632,6 +641,7 @@ public com.google.protobuf.ByteString getProjectBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -656,6 +666,7 @@ public Builder setProject(java.lang.String value) { onChanged(); return this; } + /** * * @@ -676,6 +687,7 @@ public Builder clearProject() { onChanged(); return this; } + /** * * @@ -703,6 +715,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { } private int pageSize_; + /** * * @@ -718,6 +731,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { public int getPageSize() { return pageSize_; } + /** * * @@ -737,6 +751,7 @@ public Builder setPageSize(int value) { onChanged(); return this; } + /** * * @@ -756,6 +771,7 @@ public Builder clearPageSize() { } private java.lang.Object pageToken_ = ""; + /** * * @@ -780,6 +796,7 @@ public java.lang.String getPageToken() { return (java.lang.String) ref; } } + /** * * @@ -804,6 +821,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -827,6 +845,7 @@ public Builder setPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -846,6 +865,7 @@ public Builder clearPageToken() { onChanged(); return this; } + /** * * 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 ff862e1c3..5532ede62 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 @@ -39,6 +39,7 @@ public interface ListSubscriptionsRequestOrBuilder * @return The project. */ java.lang.String getProject(); + /** * * @@ -82,6 +83,7 @@ public interface ListSubscriptionsRequestOrBuilder * @return The pageToken. */ java.lang.String getPageToken(); + /** * * 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 0a3209dd1..c8a74e5d9 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 @@ -33,6 +33,7 @@ public final class ListSubscriptionsResponse extends com.google.protobuf.Generat // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListSubscriptionsResponse) ListSubscriptionsResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ListSubscriptionsResponse.newBuilder() to construct. private ListSubscriptionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private java.util.List subscriptions_; + /** * * @@ -83,6 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public java.util.List getSubscriptionsList() { return subscriptions_; } + /** * * @@ -99,6 +102,7 @@ public java.util.List getSubscriptionsList() getSubscriptionsOrBuilderList() { return subscriptions_; } + /** * * @@ -114,6 +118,7 @@ public java.util.List getSubscriptionsList() public int getSubscriptionsCount() { return subscriptions_.size(); } + /** * * @@ -129,6 +134,7 @@ public int getSubscriptionsCount() { public com.google.pubsub.v1.Subscription getSubscriptions(int index) { return subscriptions_.get(index); } + /** * * @@ -149,6 +155,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionsOrBuilder(int @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; + /** * * @@ -174,6 +181,7 @@ public java.lang.String getNextPageToken() { return s; } } + /** * * @@ -370,6 +378,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -646,6 +655,7 @@ public java.util.List getSubscriptionsList() return subscriptionsBuilder_.getMessageList(); } } + /** * * @@ -664,6 +674,7 @@ public int getSubscriptionsCount() { return subscriptionsBuilder_.getCount(); } } + /** * * @@ -682,6 +693,7 @@ public com.google.pubsub.v1.Subscription getSubscriptions(int index) { return subscriptionsBuilder_.getMessage(index); } } + /** * * @@ -706,6 +718,7 @@ public Builder setSubscriptions(int index, com.google.pubsub.v1.Subscription val } return this; } + /** * * @@ -728,6 +741,7 @@ public Builder setSubscriptions( } return this; } + /** * * @@ -752,6 +766,7 @@ public Builder addSubscriptions(com.google.pubsub.v1.Subscription value) { } return this; } + /** * * @@ -776,6 +791,7 @@ public Builder addSubscriptions(int index, com.google.pubsub.v1.Subscription val } return this; } + /** * * @@ -797,6 +813,7 @@ public Builder addSubscriptions(com.google.pubsub.v1.Subscription.Builder builde } return this; } + /** * * @@ -819,6 +836,7 @@ public Builder addSubscriptions( } return this; } + /** * * @@ -841,6 +859,7 @@ public Builder addAllSubscriptions( } return this; } + /** * * @@ -862,6 +881,7 @@ public Builder clearSubscriptions() { } return this; } + /** * * @@ -883,6 +903,7 @@ public Builder removeSubscriptions(int index) { } return this; } + /** * * @@ -897,6 +918,7 @@ public Builder removeSubscriptions(int index) { public com.google.pubsub.v1.Subscription.Builder getSubscriptionsBuilder(int index) { return getSubscriptionsFieldBuilder().getBuilder(index); } + /** * * @@ -915,6 +937,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionsOrBuilder(int return subscriptionsBuilder_.getMessageOrBuilder(index); } } + /** * * @@ -934,6 +957,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionsOrBuilder(int return java.util.Collections.unmodifiableList(subscriptions_); } } + /** * * @@ -949,6 +973,7 @@ public com.google.pubsub.v1.Subscription.Builder addSubscriptionsBuilder() { return getSubscriptionsFieldBuilder() .addBuilder(com.google.pubsub.v1.Subscription.getDefaultInstance()); } + /** * * @@ -964,6 +989,7 @@ public com.google.pubsub.v1.Subscription.Builder addSubscriptionsBuilder(int ind return getSubscriptionsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.Subscription.getDefaultInstance()); } + /** * * @@ -1000,6 +1026,7 @@ public java.util.List getSubscription } private java.lang.Object nextPageToken_ = ""; + /** * * @@ -1024,6 +1051,7 @@ public java.lang.String getNextPageToken() { return (java.lang.String) ref; } } + /** * * @@ -1048,6 +1076,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1071,6 +1100,7 @@ public Builder setNextPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1090,6 +1120,7 @@ public Builder clearNextPageToken() { onChanged(); return this; } + /** * * 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 579430360..253b956ad 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 @@ -36,6 +36,7 @@ public interface ListSubscriptionsResponseOrBuilder * */ java.util.List getSubscriptionsList(); + /** * * @@ -48,6 +49,7 @@ public interface ListSubscriptionsResponseOrBuilder * */ com.google.pubsub.v1.Subscription getSubscriptions(int index); + /** * * @@ -60,6 +62,7 @@ public interface ListSubscriptionsResponseOrBuilder * */ int getSubscriptionsCount(); + /** * * @@ -73,6 +76,7 @@ public interface ListSubscriptionsResponseOrBuilder */ java.util.List getSubscriptionsOrBuilderList(); + /** * * @@ -100,6 +104,7 @@ public interface ListSubscriptionsResponseOrBuilder * @return The nextPageToken. */ java.lang.String getNextPageToken(); + /** * * 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 bf2ba6738..164ae38f7 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 @@ -33,6 +33,7 @@ public final class ListTopicSnapshotsRequest extends com.google.protobuf.Generat // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicSnapshotsRequest) ListTopicSnapshotsRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ListTopicSnapshotsRequest.newBuilder() to construct. private ListTopicSnapshotsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getTopicBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; + /** * * @@ -143,6 +147,7 @@ public int getPageSize() { @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; + /** * * @@ -168,6 +173,7 @@ public java.lang.String getPageToken() { return s; } } + /** * * @@ -371,6 +377,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -582,6 +589,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object topic_ = ""; + /** * * @@ -607,6 +615,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -632,6 +641,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -656,6 +666,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -676,6 +687,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -703,6 +715,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { } private int pageSize_; + /** * * @@ -718,6 +731,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { public int getPageSize() { return pageSize_; } + /** * * @@ -737,6 +751,7 @@ public Builder setPageSize(int value) { onChanged(); return this; } + /** * * @@ -756,6 +771,7 @@ public Builder clearPageSize() { } private java.lang.Object pageToken_ = ""; + /** * * @@ -780,6 +796,7 @@ public java.lang.String getPageToken() { return (java.lang.String) ref; } } + /** * * @@ -804,6 +821,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -827,6 +845,7 @@ public Builder setPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -846,6 +865,7 @@ public Builder clearPageToken() { onChanged(); return this; } + /** * * 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 6eddb25e0..ef628af35 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 @@ -39,6 +39,7 @@ public interface ListTopicSnapshotsRequestOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * @@ -82,6 +83,7 @@ public interface ListTopicSnapshotsRequestOrBuilder * @return The pageToken. */ java.lang.String getPageToken(); + /** * * 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 c57f292fc..453f43f88 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 @@ -33,6 +33,7 @@ public final class ListTopicSnapshotsResponse extends com.google.protobuf.Genera // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicSnapshotsResponse) ListTopicSnapshotsResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ListTopicSnapshotsResponse.newBuilder() to construct. private ListTopicSnapshotsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -69,6 +70,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList snapshots_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -83,6 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public com.google.protobuf.ProtocolStringList getSnapshotsList() { return snapshots_; } + /** * * @@ -97,6 +100,7 @@ public com.google.protobuf.ProtocolStringList getSnapshotsList() { public int getSnapshotsCount() { return snapshots_.size(); } + /** * * @@ -112,6 +116,7 @@ public int getSnapshotsCount() { public java.lang.String getSnapshots(int index) { return snapshots_.get(index); } + /** * * @@ -132,6 +137,7 @@ public com.google.protobuf.ByteString getSnapshotsBytes(int index) { @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; + /** * * @@ -157,6 +163,7 @@ public java.lang.String getNextPageToken() { return s; } } + /** * * @@ -358,6 +365,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -572,6 +580,7 @@ private void ensureSnapshotsIsMutable() { } bitField0_ |= 0x00000001; } + /** * * @@ -587,6 +596,7 @@ public com.google.protobuf.ProtocolStringList getSnapshotsList() { snapshots_.makeImmutable(); return snapshots_; } + /** * * @@ -601,6 +611,7 @@ public com.google.protobuf.ProtocolStringList getSnapshotsList() { public int getSnapshotsCount() { return snapshots_.size(); } + /** * * @@ -616,6 +627,7 @@ public int getSnapshotsCount() { public java.lang.String getSnapshots(int index) { return snapshots_.get(index); } + /** * * @@ -631,6 +643,7 @@ public java.lang.String getSnapshots(int index) { public com.google.protobuf.ByteString getSnapshotsBytes(int index) { return snapshots_.getByteString(index); } + /** * * @@ -654,6 +667,7 @@ public Builder setSnapshots(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -676,6 +690,7 @@ public Builder addSnapshots(java.lang.String value) { onChanged(); return this; } + /** * * @@ -695,6 +710,7 @@ public Builder addAllSnapshots(java.lang.Iterable values) { onChanged(); return this; } + /** * * @@ -713,6 +729,7 @@ public Builder clearSnapshots() { onChanged(); return this; } + /** * * @@ -738,6 +755,7 @@ public Builder addSnapshotsBytes(com.google.protobuf.ByteString value) { } private java.lang.Object nextPageToken_ = ""; + /** * * @@ -762,6 +780,7 @@ public java.lang.String getNextPageToken() { return (java.lang.String) ref; } } + /** * * @@ -786,6 +805,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -809,6 +829,7 @@ public Builder setNextPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -828,6 +849,7 @@ public Builder clearNextPageToken() { onChanged(); return this; } + /** * * 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 c9cb3d6b1..9a7e4a3a4 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 @@ -36,6 +36,7 @@ public interface ListTopicSnapshotsResponseOrBuilder * @return A list containing the snapshots. */ java.util.List getSnapshotsList(); + /** * * @@ -48,6 +49,7 @@ public interface ListTopicSnapshotsResponseOrBuilder * @return The count of snapshots. */ int getSnapshotsCount(); + /** * * @@ -61,6 +63,7 @@ public interface ListTopicSnapshotsResponseOrBuilder * @return The snapshots at the given index. */ java.lang.String getSnapshots(int index); + /** * * @@ -89,6 +92,7 @@ public interface ListTopicSnapshotsResponseOrBuilder * @return The nextPageToken. */ java.lang.String getNextPageToken(); + /** * * 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 d9420dffc..84af5e75c 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 @@ -33,6 +33,7 @@ public final class ListTopicSubscriptionsRequest extends com.google.protobuf.Gen // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicSubscriptionsRequest) ListTopicSubscriptionsRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ListTopicSubscriptionsRequest.newBuilder() to construct. private ListTopicSubscriptionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getTopicBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; + /** * * @@ -143,6 +147,7 @@ public int getPageSize() { @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; + /** * * @@ -168,6 +173,7 @@ public java.lang.String getPageToken() { return s; } } + /** * * @@ -371,6 +377,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -583,6 +590,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object topic_ = ""; + /** * * @@ -608,6 +616,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -633,6 +642,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -657,6 +667,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -677,6 +688,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -704,6 +716,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { } private int pageSize_; + /** * * @@ -719,6 +732,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { public int getPageSize() { return pageSize_; } + /** * * @@ -738,6 +752,7 @@ public Builder setPageSize(int value) { onChanged(); return this; } + /** * * @@ -757,6 +772,7 @@ public Builder clearPageSize() { } private java.lang.Object pageToken_ = ""; + /** * * @@ -781,6 +797,7 @@ public java.lang.String getPageToken() { return (java.lang.String) ref; } } + /** * * @@ -805,6 +822,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -828,6 +846,7 @@ public Builder setPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -847,6 +866,7 @@ public Builder clearPageToken() { onChanged(); return this; } + /** * * 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 d389accaf..c8338efee 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 @@ -39,6 +39,7 @@ public interface ListTopicSubscriptionsRequestOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * @@ -82,6 +83,7 @@ public interface ListTopicSubscriptionsRequestOrBuilder * @return The pageToken. */ java.lang.String getPageToken(); + /** * * 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 08dd87b28..d712636ba 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 @@ -33,6 +33,7 @@ public final class ListTopicSubscriptionsResponse extends com.google.protobuf.Ge // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicSubscriptionsResponse) ListTopicSubscriptionsResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ListTopicSubscriptionsResponse.newBuilder() to construct. private ListTopicSubscriptionsResponse( com.google.protobuf.GeneratedMessageV3.Builder builder) { @@ -70,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList subscriptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -87,6 +89,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public com.google.protobuf.ProtocolStringList getSubscriptionsList() { return subscriptions_; } + /** * * @@ -104,6 +107,7 @@ public com.google.protobuf.ProtocolStringList getSubscriptionsList() { public int getSubscriptionsCount() { return subscriptions_.size(); } + /** * * @@ -122,6 +126,7 @@ public int getSubscriptionsCount() { public java.lang.String getSubscriptions(int index) { return subscriptions_.get(index); } + /** * * @@ -145,6 +150,7 @@ public com.google.protobuf.ByteString getSubscriptionsBytes(int index) { @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; + /** * * @@ -170,6 +176,7 @@ public java.lang.String getNextPageToken() { return s; } } + /** * * @@ -371,6 +378,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -585,6 +593,7 @@ private void ensureSubscriptionsIsMutable() { } bitField0_ |= 0x00000001; } + /** * * @@ -603,6 +612,7 @@ public com.google.protobuf.ProtocolStringList getSubscriptionsList() { subscriptions_.makeImmutable(); return subscriptions_; } + /** * * @@ -620,6 +630,7 @@ public com.google.protobuf.ProtocolStringList getSubscriptionsList() { public int getSubscriptionsCount() { return subscriptions_.size(); } + /** * * @@ -638,6 +649,7 @@ public int getSubscriptionsCount() { public java.lang.String getSubscriptions(int index) { return subscriptions_.get(index); } + /** * * @@ -656,6 +668,7 @@ public java.lang.String getSubscriptions(int index) { public com.google.protobuf.ByteString getSubscriptionsBytes(int index) { return subscriptions_.getByteString(index); } + /** * * @@ -682,6 +695,7 @@ public Builder setSubscriptions(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -707,6 +721,7 @@ public Builder addSubscriptions(java.lang.String value) { onChanged(); return this; } + /** * * @@ -729,6 +744,7 @@ public Builder addAllSubscriptions(java.lang.Iterable values) onChanged(); return this; } + /** * * @@ -750,6 +766,7 @@ public Builder clearSubscriptions() { onChanged(); return this; } + /** * * @@ -778,6 +795,7 @@ public Builder addSubscriptionsBytes(com.google.protobuf.ByteString value) { } private java.lang.Object nextPageToken_ = ""; + /** * * @@ -802,6 +820,7 @@ public java.lang.String getNextPageToken() { return (java.lang.String) ref; } } + /** * * @@ -826,6 +845,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -849,6 +869,7 @@ public Builder setNextPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -868,6 +889,7 @@ public Builder clearNextPageToken() { onChanged(); return this; } + /** * * 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 279a179a6..c39777756 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 @@ -39,6 +39,7 @@ public interface ListTopicSubscriptionsResponseOrBuilder * @return A list containing the subscriptions. */ java.util.List getSubscriptionsList(); + /** * * @@ -54,6 +55,7 @@ public interface ListTopicSubscriptionsResponseOrBuilder * @return The count of subscriptions. */ int getSubscriptionsCount(); + /** * * @@ -70,6 +72,7 @@ public interface ListTopicSubscriptionsResponseOrBuilder * @return The subscriptions at the given index. */ java.lang.String getSubscriptions(int index); + /** * * @@ -101,6 +104,7 @@ public interface ListTopicSubscriptionsResponseOrBuilder * @return The nextPageToken. */ java.lang.String getNextPageToken(); + /** * * 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 592003e43..5e617e581 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 @@ -33,6 +33,7 @@ public final class ListTopicsRequest extends com.google.protobuf.GeneratedMessag // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicsRequest) ListTopicsRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ListTopicsRequest.newBuilder() to construct. private ListTopicsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object project_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getProject() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; + /** * * @@ -143,6 +147,7 @@ public int getPageSize() { @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; + /** * * @@ -168,6 +173,7 @@ public java.lang.String getPageToken() { return s; } } + /** * * @@ -370,6 +376,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -581,6 +588,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object project_ = ""; + /** * * @@ -606,6 +614,7 @@ public java.lang.String getProject() { return (java.lang.String) ref; } } + /** * * @@ -631,6 +640,7 @@ public com.google.protobuf.ByteString getProjectBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -655,6 +665,7 @@ public Builder setProject(java.lang.String value) { onChanged(); return this; } + /** * * @@ -675,6 +686,7 @@ public Builder clearProject() { onChanged(); return this; } + /** * * @@ -702,6 +714,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { } private int pageSize_; + /** * * @@ -717,6 +730,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { public int getPageSize() { return pageSize_; } + /** * * @@ -736,6 +750,7 @@ public Builder setPageSize(int value) { onChanged(); return this; } + /** * * @@ -755,6 +770,7 @@ public Builder clearPageSize() { } private java.lang.Object pageToken_ = ""; + /** * * @@ -779,6 +795,7 @@ public java.lang.String getPageToken() { return (java.lang.String) ref; } } + /** * * @@ -803,6 +820,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -826,6 +844,7 @@ public Builder setPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -845,6 +864,7 @@ public Builder clearPageToken() { onChanged(); return this; } + /** * * 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 6334aae4c..6c13f0440 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 @@ -39,6 +39,7 @@ public interface ListTopicsRequestOrBuilder * @return The project. */ java.lang.String getProject(); + /** * * @@ -82,6 +83,7 @@ public interface ListTopicsRequestOrBuilder * @return The pageToken. */ java.lang.String getPageToken(); + /** * * 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 1c54ae35d..2747f0943 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 @@ -33,6 +33,7 @@ public final class ListTopicsResponse extends com.google.protobuf.GeneratedMessa // @@protoc_insertion_point(message_implements:google.pubsub.v1.ListTopicsResponse) ListTopicsResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ListTopicsResponse.newBuilder() to construct. private ListTopicsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private java.util.List topics_; + /** * * @@ -82,6 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public java.util.List getTopicsList() { return topics_; } + /** * * @@ -96,6 +99,7 @@ public java.util.List getTopicsList() { public java.util.List getTopicsOrBuilderList() { return topics_; } + /** * * @@ -110,6 +114,7 @@ public java.util.List getTopicsOr public int getTopicsCount() { return topics_.size(); } + /** * * @@ -124,6 +129,7 @@ public int getTopicsCount() { public com.google.pubsub.v1.Topic getTopics(int index) { return topics_.get(index); } + /** * * @@ -143,6 +149,7 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicsOrBuilder(int index) { @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; + /** * * @@ -167,6 +174,7 @@ public java.lang.String getNextPageToken() { return s; } } + /** * * @@ -361,6 +369,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -634,6 +643,7 @@ public java.util.List getTopicsList() { return topicsBuilder_.getMessageList(); } } + /** * * @@ -651,6 +661,7 @@ public int getTopicsCount() { return topicsBuilder_.getCount(); } } + /** * * @@ -668,6 +679,7 @@ public com.google.pubsub.v1.Topic getTopics(int index) { return topicsBuilder_.getMessage(index); } } + /** * * @@ -691,6 +703,7 @@ public Builder setTopics(int index, com.google.pubsub.v1.Topic value) { } return this; } + /** * * @@ -711,6 +724,7 @@ public Builder setTopics(int index, com.google.pubsub.v1.Topic.Builder builderFo } return this; } + /** * * @@ -734,6 +748,7 @@ public Builder addTopics(com.google.pubsub.v1.Topic value) { } return this; } + /** * * @@ -757,6 +772,7 @@ public Builder addTopics(int index, com.google.pubsub.v1.Topic value) { } return this; } + /** * * @@ -777,6 +793,7 @@ public Builder addTopics(com.google.pubsub.v1.Topic.Builder builderForValue) { } return this; } + /** * * @@ -797,6 +814,7 @@ public Builder addTopics(int index, com.google.pubsub.v1.Topic.Builder builderFo } return this; } + /** * * @@ -817,6 +835,7 @@ public Builder addAllTopics(java.lang.Iterable getTopicsOr return java.util.Collections.unmodifiableList(topics_); } } + /** * * @@ -917,6 +941,7 @@ public java.util.List getTopicsOr public com.google.pubsub.v1.Topic.Builder addTopicsBuilder() { return getTopicsFieldBuilder().addBuilder(com.google.pubsub.v1.Topic.getDefaultInstance()); } + /** * * @@ -931,6 +956,7 @@ public com.google.pubsub.v1.Topic.Builder addTopicsBuilder(int index) { return getTopicsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.Topic.getDefaultInstance()); } + /** * * @@ -963,6 +989,7 @@ public java.util.List getTopicsBuilderList() } private java.lang.Object nextPageToken_ = ""; + /** * * @@ -986,6 +1013,7 @@ public java.lang.String getNextPageToken() { return (java.lang.String) ref; } } + /** * * @@ -1009,6 +1037,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1031,6 +1060,7 @@ public Builder setNextPageToken(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1049,6 +1079,7 @@ public Builder clearNextPageToken() { onChanged(); return this; } + /** * * 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 ef5341c96..b1f27028e 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 @@ -35,6 +35,7 @@ public interface ListTopicsResponseOrBuilder * */ java.util.List getTopicsList(); + /** * * @@ -46,6 +47,7 @@ public interface ListTopicsResponseOrBuilder * */ com.google.pubsub.v1.Topic getTopics(int index); + /** * * @@ -57,6 +59,7 @@ public interface ListTopicsResponseOrBuilder * */ int getTopicsCount(); + /** * * @@ -68,6 +71,7 @@ public interface ListTopicsResponseOrBuilder * */ java.util.List getTopicsOrBuilderList(); + /** * * @@ -93,6 +97,7 @@ public interface ListTopicsResponseOrBuilder * @return The nextPageToken. */ java.lang.String getNextPageToken(); + /** * * 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 5846d2918..af6d1f8b5 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 @@ -33,6 +33,7 @@ public final class MessageStoragePolicy extends com.google.protobuf.GeneratedMes // @@protoc_insertion_point(message_implements:google.pubsub.v1.MessageStoragePolicy) MessageStoragePolicyOrBuilder { private static final long serialVersionUID = 0L; + // Use MessageStoragePolicy.newBuilder() to construct. private MessageStoragePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedPersistenceRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -89,6 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public com.google.protobuf.ProtocolStringList getAllowedPersistenceRegionsList() { return allowedPersistenceRegions_; } + /** * * @@ -110,6 +113,7 @@ public com.google.protobuf.ProtocolStringList getAllowedPersistenceRegionsList() public int getAllowedPersistenceRegionsCount() { return allowedPersistenceRegions_.size(); } + /** * * @@ -132,6 +136,7 @@ public int getAllowedPersistenceRegionsCount() { public java.lang.String getAllowedPersistenceRegions(int index) { return allowedPersistenceRegions_.get(index); } + /** * * @@ -157,6 +162,7 @@ public com.google.protobuf.ByteString getAllowedPersistenceRegionsBytes(int inde public static final int ENFORCE_IN_TRANSIT_FIELD_NUMBER = 2; private boolean enforceInTransit_ = false; + /** * * @@ -354,6 +360,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -566,6 +573,7 @@ private void ensureAllowedPersistenceRegionsIsMutable() { } bitField0_ |= 0x00000001; } + /** * * @@ -588,6 +596,7 @@ public com.google.protobuf.ProtocolStringList getAllowedPersistenceRegionsList() allowedPersistenceRegions_.makeImmutable(); return allowedPersistenceRegions_; } + /** * * @@ -609,6 +618,7 @@ public com.google.protobuf.ProtocolStringList getAllowedPersistenceRegionsList() public int getAllowedPersistenceRegionsCount() { return allowedPersistenceRegions_.size(); } + /** * * @@ -631,6 +641,7 @@ public int getAllowedPersistenceRegionsCount() { public java.lang.String getAllowedPersistenceRegions(int index) { return allowedPersistenceRegions_.get(index); } + /** * * @@ -653,6 +664,7 @@ public java.lang.String getAllowedPersistenceRegions(int index) { public com.google.protobuf.ByteString getAllowedPersistenceRegionsBytes(int index) { return allowedPersistenceRegions_.getByteString(index); } + /** * * @@ -683,6 +695,7 @@ public Builder setAllowedPersistenceRegions(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -712,6 +725,7 @@ public Builder addAllowedPersistenceRegions(java.lang.String value) { onChanged(); return this; } + /** * * @@ -738,6 +752,7 @@ public Builder addAllAllowedPersistenceRegions(java.lang.Iterable getAllowedPersistenceRegionsList(); + /** * * @@ -62,6 +63,7 @@ public interface MessageStoragePolicyOrBuilder * @return The count of allowedPersistenceRegions. */ int getAllowedPersistenceRegionsCount(); + /** * * @@ -82,6 +84,7 @@ public interface MessageStoragePolicyOrBuilder * @return The allowedPersistenceRegions at the given index. */ java.lang.String getAllowedPersistenceRegions(int index); + /** * * 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 692b93359..ff57a28b7 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 @@ -33,6 +33,7 @@ public final class MessageTransform extends com.google.protobuf.GeneratedMessage // @@protoc_insertion_point(message_implements:google.pubsub.v1.MessageTransform) MessageTransformOrBuilder { private static final long serialVersionUID = 0L; + // Use MessageTransform.newBuilder() to construct. private MessageTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -77,6 +78,7 @@ public enum TransformCase private TransformCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -108,6 +110,7 @@ public TransformCase getTransformCase() { } public static final int JAVASCRIPT_UDF_FIELD_NUMBER = 2; + /** * * @@ -126,6 +129,7 @@ public TransformCase getTransformCase() { public boolean hasJavascriptUdf() { return transformCase_ == 2; } + /** * * @@ -147,6 +151,7 @@ public com.google.pubsub.v1.JavaScriptUDF getJavascriptUdf() { } return com.google.pubsub.v1.JavaScriptUDF.getDefaultInstance(); } + /** * * @@ -169,6 +174,7 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { public static final int ENABLED_FIELD_NUMBER = 3; private boolean enabled_ = false; + /** * * @@ -191,6 +197,7 @@ public boolean getEnabled() { public static final int DISABLED_FIELD_NUMBER = 4; private boolean disabled_ = false; + /** * * @@ -398,6 +405,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -641,6 +649,7 @@ public Builder clearTransform() { com.google.pubsub.v1.JavaScriptUDF.Builder, com.google.pubsub.v1.JavaScriptUDFOrBuilder> javascriptUdfBuilder_; + /** * * @@ -659,6 +668,7 @@ public Builder clearTransform() { public boolean hasJavascriptUdf() { return transformCase_ == 2; } + /** * * @@ -687,6 +697,7 @@ public com.google.pubsub.v1.JavaScriptUDF getJavascriptUdf() { return com.google.pubsub.v1.JavaScriptUDF.getDefaultInstance(); } } + /** * * @@ -712,6 +723,7 @@ public Builder setJavascriptUdf(com.google.pubsub.v1.JavaScriptUDF value) { transformCase_ = 2; return this; } + /** * * @@ -734,6 +746,7 @@ public Builder setJavascriptUdf(com.google.pubsub.v1.JavaScriptUDF.Builder build transformCase_ = 2; return this; } + /** * * @@ -769,6 +782,7 @@ public Builder mergeJavascriptUdf(com.google.pubsub.v1.JavaScriptUDF value) { transformCase_ = 2; return this; } + /** * * @@ -797,6 +811,7 @@ public Builder clearJavascriptUdf() { } return this; } + /** * * @@ -812,6 +827,7 @@ public Builder clearJavascriptUdf() { public com.google.pubsub.v1.JavaScriptUDF.Builder getJavascriptUdfBuilder() { return getJavascriptUdfFieldBuilder().getBuilder(); } + /** * * @@ -835,6 +851,7 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { return com.google.pubsub.v1.JavaScriptUDF.getDefaultInstance(); } } + /** * * @@ -870,6 +887,7 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { } private boolean enabled_; + /** * * @@ -889,6 +907,7 @@ public com.google.pubsub.v1.JavaScriptUDFOrBuilder getJavascriptUdfOrBuilder() { public boolean getEnabled() { return enabled_; } + /** * * @@ -912,6 +931,7 @@ public Builder setEnabled(boolean value) { onChanged(); return this; } + /** * * @@ -935,6 +955,7 @@ public Builder clearEnabled() { } private boolean disabled_; + /** * * @@ -951,6 +972,7 @@ public Builder clearEnabled() { public boolean getDisabled() { return disabled_; } + /** * * @@ -971,6 +993,7 @@ public Builder setDisabled(boolean value) { 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 39dbe4062..8970aabb5 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 @@ -39,6 +39,7 @@ public interface MessageTransformOrBuilder * @return Whether the javascriptUdf field is set. */ boolean hasJavascriptUdf(); + /** * * @@ -54,6 +55,7 @@ public interface MessageTransformOrBuilder * @return The javascriptUdf. */ com.google.pubsub.v1.JavaScriptUDF getJavascriptUdf(); + /** * * 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 e03117116..2da1f0f7c 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 @@ -33,6 +33,7 @@ public final class ModifyAckDeadlineRequest extends com.google.protobuf.Generate // @@protoc_insertion_point(message_implements:google.pubsub.v1.ModifyAckDeadlineRequest) ModifyAckDeadlineRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ModifyAckDeadlineRequest.newBuilder() to construct. private ModifyAckDeadlineRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -126,6 +129,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ackIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -140,6 +144,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { public com.google.protobuf.ProtocolStringList getAckIdsList() { return ackIds_; } + /** * * @@ -154,6 +159,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -169,6 +175,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -187,6 +194,7 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) { public static final int ACK_DEADLINE_SECONDS_FIELD_NUMBER = 3; private int ackDeadlineSeconds_ = 0; + /** * * @@ -395,6 +403,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -613,6 +622,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -638,6 +648,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -663,6 +674,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -687,6 +699,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -707,6 +720,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -742,6 +756,7 @@ private void ensureAckIdsIsMutable() { } bitField0_ |= 0x00000002; } + /** * * @@ -757,6 +772,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { ackIds_.makeImmutable(); return ackIds_; } + /** * * @@ -771,6 +787,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -786,6 +803,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -801,6 +819,7 @@ public java.lang.String getAckIds(int index) { public com.google.protobuf.ByteString getAckIdsBytes(int index) { return ackIds_.getByteString(index); } + /** * * @@ -824,6 +843,7 @@ public Builder setAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -846,6 +866,7 @@ public Builder addAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -865,6 +886,7 @@ public Builder addAllAckIds(java.lang.Iterable values) { onChanged(); return this; } + /** * * @@ -883,6 +905,7 @@ public Builder clearAckIds() { onChanged(); return this; } + /** * * @@ -908,6 +931,7 @@ public Builder addAckIdsBytes(com.google.protobuf.ByteString value) { } private int ackDeadlineSeconds_; + /** * * @@ -931,6 +955,7 @@ public Builder addAckIdsBytes(com.google.protobuf.ByteString value) { public int getAckDeadlineSeconds() { return ackDeadlineSeconds_; } + /** * * @@ -958,6 +983,7 @@ public Builder setAckDeadlineSeconds(int value) { onChanged(); return this; } + /** * * 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 ede114b6e..40d4bd277 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 @@ -39,6 +39,7 @@ public interface ModifyAckDeadlineRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * @@ -67,6 +68,7 @@ public interface ModifyAckDeadlineRequestOrBuilder * @return A list containing the ackIds. */ java.util.List getAckIdsList(); + /** * * @@ -79,6 +81,7 @@ public interface ModifyAckDeadlineRequestOrBuilder * @return The count of ackIds. */ int getAckIdsCount(); + /** * * @@ -92,6 +95,7 @@ public interface ModifyAckDeadlineRequestOrBuilder * @return The ackIds at the given index. */ java.lang.String getAckIds(int index); + /** * * 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 74224f5d1..e45a2e6b6 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 @@ -33,6 +33,7 @@ public final class ModifyPushConfigRequest extends com.google.protobuf.Generated // @@protoc_insertion_point(message_implements:google.pubsub.v1.ModifyPushConfigRequest) ModifyPushConfigRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ModifyPushConfigRequest.newBuilder() to construct. private ModifyPushConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { public static final int PUSH_CONFIG_FIELD_NUMBER = 2; private com.google.pubsub.v1.PushConfig pushConfig_; + /** * * @@ -144,6 +148,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { public boolean hasPushConfig() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -165,6 +170,7 @@ public boolean hasPushConfig() { public com.google.pubsub.v1.PushConfig getPushConfig() { return pushConfig_ == null ? com.google.pubsub.v1.PushConfig.getDefaultInstance() : pushConfig_; } + /** * * @@ -358,6 +364,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -570,6 +577,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -595,6 +603,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -620,6 +629,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -644,6 +654,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -664,6 +675,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -696,6 +708,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.PushConfig.Builder, com.google.pubsub.v1.PushConfigOrBuilder> pushConfigBuilder_; + /** * * @@ -716,6 +729,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { public boolean hasPushConfig() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -742,6 +756,7 @@ public com.google.pubsub.v1.PushConfig getPushConfig() { return pushConfigBuilder_.getMessage(); } } + /** * * @@ -770,6 +785,7 @@ public Builder setPushConfig(com.google.pubsub.v1.PushConfig value) { onChanged(); return this; } + /** * * @@ -795,6 +811,7 @@ public Builder setPushConfig(com.google.pubsub.v1.PushConfig.Builder builderForV onChanged(); return this; } + /** * * @@ -828,6 +845,7 @@ public Builder mergePushConfig(com.google.pubsub.v1.PushConfig value) { } return this; } + /** * * @@ -853,6 +871,7 @@ public Builder clearPushConfig() { onChanged(); return this; } + /** * * @@ -873,6 +892,7 @@ public com.google.pubsub.v1.PushConfig.Builder getPushConfigBuilder() { onChanged(); return getPushConfigFieldBuilder().getBuilder(); } + /** * * @@ -897,6 +917,7 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { : pushConfig_; } } + /** * * 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 8ac64d9d5..ac58d9a79 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 @@ -39,6 +39,7 @@ public interface ModifyPushConfigRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * @@ -73,6 +74,7 @@ public interface ModifyPushConfigRequestOrBuilder * @return Whether the pushConfig field is set. */ boolean hasPushConfig(); + /** * * @@ -91,6 +93,7 @@ public interface ModifyPushConfigRequestOrBuilder * @return The pushConfig. */ com.google.pubsub.v1.PushConfig getPushConfig(); + /** * * 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 6703c9690..8d05cda1a 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 @@ -33,6 +33,7 @@ public final class PlatformLogsSettings extends com.google.protobuf.GeneratedMes // @@protoc_insertion_point(message_implements:google.pubsub.v1.PlatformLogsSettings) PlatformLogsSettingsOrBuilder { private static final long serialVersionUID = 0L; + // Use PlatformLogsSettings.newBuilder() to construct. private PlatformLogsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -146,6 +147,7 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { * SEVERITY_UNSPECIFIED = 0; */ public static final int SEVERITY_UNSPECIFIED_VALUE = 0; + /** * * @@ -156,6 +158,7 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { * DISABLED = 1; */ public static final int DISABLED_VALUE = 1; + /** * * @@ -166,6 +169,7 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { * DEBUG = 2; */ public static final int DEBUG_VALUE = 2; + /** * * @@ -176,6 +180,7 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { * INFO = 3; */ public static final int INFO_VALUE = 3; + /** * * @@ -186,6 +191,7 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { * WARNING = 4; */ public static final int WARNING_VALUE = 4; + /** * * @@ -288,6 +294,7 @@ private Severity(int value) { public static final int SEVERITY_FIELD_NUMBER = 1; private int severity_ = 0; + /** * * @@ -305,6 +312,7 @@ private Severity(int value) { public int getSeverityValue() { return severity_; } + /** * * @@ -488,6 +496,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -669,6 +678,7 @@ public Builder mergeFrom( private int bitField0_; private int severity_ = 0; + /** * * @@ -686,6 +696,7 @@ public Builder mergeFrom( public int getSeverityValue() { return severity_; } + /** * * @@ -706,6 +717,7 @@ public Builder setSeverityValue(int value) { onChanged(); return this; } + /** * * @@ -727,6 +739,7 @@ public com.google.pubsub.v1.PlatformLogsSettings.Severity getSeverity() { ? com.google.pubsub.v1.PlatformLogsSettings.Severity.UNRECOGNIZED : result; } + /** * * @@ -750,6 +763,7 @@ public Builder setSeverity(com.google.pubsub.v1.PlatformLogsSettings.Severity va onChanged(); return this; } + /** * * 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 e03a44ad4..0e28b70ff 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 @@ -38,6 +38,7 @@ public interface PlatformLogsSettingsOrBuilder * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); + /** * * 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 b840d49fc..7c829056d 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 @@ -33,6 +33,7 @@ public final class PublishRequest extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.PublishRequest) PublishRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use PublishRequest.newBuilder() to construct. private PublishRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -125,6 +128,7 @@ public com.google.protobuf.ByteString getTopicBytes() { @SuppressWarnings("serial") private java.util.List messages_; + /** * * @@ -140,6 +144,7 @@ public com.google.protobuf.ByteString getTopicBytes() { public java.util.List getMessagesList() { return messages_; } + /** * * @@ -156,6 +161,7 @@ public java.util.List getMessagesList() { getMessagesOrBuilderList() { return messages_; } + /** * * @@ -171,6 +177,7 @@ public java.util.List getMessagesList() { public int getMessagesCount() { return messages_.size(); } + /** * * @@ -186,6 +193,7 @@ public int getMessagesCount() { public com.google.pubsub.v1.PubsubMessage getMessages(int index) { return messages_.get(index); } + /** * * @@ -370,6 +378,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -612,6 +621,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object topic_ = ""; + /** * * @@ -637,6 +647,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -662,6 +673,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -686,6 +698,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -706,6 +719,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -766,6 +780,7 @@ public java.util.List getMessagesList() { return messagesBuilder_.getMessageList(); } } + /** * * @@ -784,6 +799,7 @@ public int getMessagesCount() { return messagesBuilder_.getCount(); } } + /** * * @@ -802,6 +818,7 @@ public com.google.pubsub.v1.PubsubMessage getMessages(int index) { return messagesBuilder_.getMessage(index); } } + /** * * @@ -826,6 +843,7 @@ public Builder setMessages(int index, com.google.pubsub.v1.PubsubMessage value) } return this; } + /** * * @@ -848,6 +866,7 @@ public Builder setMessages( } return this; } + /** * * @@ -872,6 +891,7 @@ public Builder addMessages(com.google.pubsub.v1.PubsubMessage value) { } return this; } + /** * * @@ -896,6 +916,7 @@ public Builder addMessages(int index, com.google.pubsub.v1.PubsubMessage value) } return this; } + /** * * @@ -917,6 +938,7 @@ public Builder addMessages(com.google.pubsub.v1.PubsubMessage.Builder builderFor } return this; } + /** * * @@ -939,6 +961,7 @@ public Builder addMessages( } return this; } + /** * * @@ -961,6 +984,7 @@ public Builder addAllMessages( } return this; } + /** * * @@ -982,6 +1006,7 @@ public Builder clearMessages() { } return this; } + /** * * @@ -1003,6 +1028,7 @@ public Builder removeMessages(int index) { } return this; } + /** * * @@ -1017,6 +1043,7 @@ public Builder removeMessages(int index) { public com.google.pubsub.v1.PubsubMessage.Builder getMessagesBuilder(int index) { return getMessagesFieldBuilder().getBuilder(index); } + /** * * @@ -1035,6 +1062,7 @@ public com.google.pubsub.v1.PubsubMessageOrBuilder getMessagesOrBuilder(int inde return messagesBuilder_.getMessageOrBuilder(index); } } + /** * * @@ -1054,6 +1082,7 @@ public com.google.pubsub.v1.PubsubMessageOrBuilder getMessagesOrBuilder(int inde return java.util.Collections.unmodifiableList(messages_); } } + /** * * @@ -1069,6 +1098,7 @@ public com.google.pubsub.v1.PubsubMessage.Builder addMessagesBuilder() { return getMessagesFieldBuilder() .addBuilder(com.google.pubsub.v1.PubsubMessage.getDefaultInstance()); } + /** * * @@ -1084,6 +1114,7 @@ public com.google.pubsub.v1.PubsubMessage.Builder addMessagesBuilder(int index) return getMessagesFieldBuilder() .addBuilder(index, com.google.pubsub.v1.PubsubMessage.getDefaultInstance()); } + /** * * 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 9a2d623ae..86816c3a1 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 @@ -39,6 +39,7 @@ public interface PublishRequestOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * @@ -67,6 +68,7 @@ public interface PublishRequestOrBuilder * */ java.util.List getMessagesList(); + /** * * @@ -79,6 +81,7 @@ public interface PublishRequestOrBuilder * */ com.google.pubsub.v1.PubsubMessage getMessages(int index); + /** * * @@ -91,6 +94,7 @@ public interface PublishRequestOrBuilder * */ int getMessagesCount(); + /** * * @@ -103,6 +107,7 @@ public interface PublishRequestOrBuilder * */ java.util.List getMessagesOrBuilderList(); + /** * * 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 c39c3e567..82fdddcdc 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 @@ -33,6 +33,7 @@ public final class PublishResponse extends com.google.protobuf.GeneratedMessageV // @@protoc_insertion_point(message_implements:google.pubsub.v1.PublishResponse) PublishResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use PublishResponse.newBuilder() to construct. private PublishResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList messageIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -84,6 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public com.google.protobuf.ProtocolStringList getMessageIdsList() { return messageIds_; } + /** * * @@ -100,6 +103,7 @@ public com.google.protobuf.ProtocolStringList getMessageIdsList() { public int getMessageIdsCount() { return messageIds_.size(); } + /** * * @@ -117,6 +121,7 @@ public int getMessageIdsCount() { public java.lang.String getMessageIds(int index) { return messageIds_.get(index); } + /** * * @@ -299,6 +304,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -496,6 +502,7 @@ private void ensureMessageIdsIsMutable() { } bitField0_ |= 0x00000001; } + /** * * @@ -513,6 +520,7 @@ public com.google.protobuf.ProtocolStringList getMessageIdsList() { messageIds_.makeImmutable(); return messageIds_; } + /** * * @@ -529,6 +537,7 @@ public com.google.protobuf.ProtocolStringList getMessageIdsList() { public int getMessageIdsCount() { return messageIds_.size(); } + /** * * @@ -546,6 +555,7 @@ public int getMessageIdsCount() { public java.lang.String getMessageIds(int index) { return messageIds_.get(index); } + /** * * @@ -563,6 +573,7 @@ public java.lang.String getMessageIds(int index) { public com.google.protobuf.ByteString getMessageIdsBytes(int index) { return messageIds_.getByteString(index); } + /** * * @@ -588,6 +599,7 @@ public Builder setMessageIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -612,6 +624,7 @@ public Builder addMessageIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -633,6 +646,7 @@ public Builder addAllMessageIds(java.lang.Iterable values) { onChanged(); return this; } + /** * * @@ -653,6 +667,7 @@ public Builder clearMessageIds() { onChanged(); return this; } + /** * * 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 d5a3f1c93..a25181e58 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 @@ -38,6 +38,7 @@ public interface PublishResponseOrBuilder * @return A list containing the messageIds. */ java.util.List getMessageIdsList(); + /** * * @@ -52,6 +53,7 @@ public interface PublishResponseOrBuilder * @return The count of messageIds. */ int getMessageIdsCount(); + /** * * @@ -67,6 +69,7 @@ public interface PublishResponseOrBuilder * @return The messageIds at the given index. */ java.lang.String getMessageIds(int index); + /** * * 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 c2480df87..0a8c645d9 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 @@ -40,6 +40,7 @@ public final class PubsubMessage extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.PubsubMessage) PubsubMessageOrBuilder { private static final long serialVersionUID = 0L; + // Use PubsubMessage.newBuilder() to construct. private PubsubMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -87,6 +88,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl private int bitField0_; public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; + /** * * @@ -130,6 +132,7 @@ private com.google.protobuf.MapField interna public int getAttributesCount() { return internalGetAttributes().getMap().size(); } + /** * * @@ -149,12 +152,14 @@ public boolean containsAttributes(java.lang.String key) { } return internalGetAttributes().getMap().containsKey(key); } + /** Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } + /** * * @@ -171,6 +176,7 @@ public java.util.Map getAttributes() { public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } + /** * * @@ -194,6 +200,7 @@ public java.util.Map getAttributesMap() { java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -222,6 +229,7 @@ public java.lang.String getAttributesOrThrow(java.lang.String key) { @SuppressWarnings("serial") private volatile java.lang.Object messageId_ = ""; + /** * * @@ -248,6 +256,7 @@ public java.lang.String getMessageId() { return s; } } + /** * * @@ -277,6 +286,7 @@ public com.google.protobuf.ByteString getMessageIdBytes() { public static final int PUBLISH_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp publishTime_; + /** * * @@ -294,6 +304,7 @@ public com.google.protobuf.ByteString getMessageIdBytes() { public boolean hasPublishTime() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -311,6 +322,7 @@ public boolean hasPublishTime() { public com.google.protobuf.Timestamp getPublishTime() { return publishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : publishTime_; } + /** * * @@ -331,6 +343,7 @@ public com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder() { @SuppressWarnings("serial") private volatile java.lang.Object orderingKey_ = ""; + /** * * @@ -361,6 +374,7 @@ public java.lang.String getOrderingKey() { return s; } } + /** * * @@ -598,6 +612,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -886,6 +901,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; + /** * * @@ -902,6 +918,7 @@ public Builder mergeFrom( public com.google.protobuf.ByteString getData() { return data_; } + /** * * @@ -924,6 +941,7 @@ public Builder setData(com.google.protobuf.ByteString value) { onChanged(); return this; } + /** * * @@ -971,6 +989,7 @@ public Builder clearData() { public int getAttributesCount() { return internalGetAttributes().getMap().size(); } + /** * * @@ -990,12 +1009,14 @@ public boolean containsAttributes(java.lang.String key) { } return internalGetAttributes().getMap().containsKey(key); } + /** Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } + /** * * @@ -1012,6 +1033,7 @@ public java.util.Map getAttributes() { public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } + /** * * @@ -1035,6 +1057,7 @@ public java.util.Map getAttributesMap() { java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -1064,6 +1087,7 @@ public Builder clearAttributes() { internalGetMutableAttributes().getMutableMap().clear(); return this; } + /** * * @@ -1083,12 +1107,14 @@ public Builder removeAttributes(java.lang.String key) { internalGetMutableAttributes().getMutableMap().remove(key); return this; } + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { bitField0_ |= 0x00000002; return internalGetMutableAttributes().getMutableMap(); } + /** * * @@ -1112,6 +1138,7 @@ public Builder putAttributes(java.lang.String key, java.lang.String value) { bitField0_ |= 0x00000002; return this; } + /** * * @@ -1131,6 +1158,7 @@ public Builder putAllAttributes(java.util.Map publishTimeBuilder_; + /** * * @@ -1273,6 +1306,7 @@ public Builder setMessageIdBytes(com.google.protobuf.ByteString value) { public boolean hasPublishTime() { return ((bitField0_ & 0x00000008) != 0); } + /** * * @@ -1295,6 +1329,7 @@ public com.google.protobuf.Timestamp getPublishTime() { return publishTimeBuilder_.getMessage(); } } + /** * * @@ -1319,6 +1354,7 @@ public Builder setPublishTime(com.google.protobuf.Timestamp value) { onChanged(); return this; } + /** * * @@ -1340,6 +1376,7 @@ public Builder setPublishTime(com.google.protobuf.Timestamp.Builder builderForVa onChanged(); return this; } + /** * * @@ -1369,6 +1406,7 @@ public Builder mergePublishTime(com.google.protobuf.Timestamp value) { } return this; } + /** * * @@ -1390,6 +1428,7 @@ public Builder clearPublishTime() { onChanged(); return this; } + /** * * @@ -1406,6 +1445,7 @@ public com.google.protobuf.Timestamp.Builder getPublishTimeBuilder() { onChanged(); return getPublishTimeFieldBuilder().getBuilder(); } + /** * * @@ -1426,6 +1466,7 @@ public com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder() { : publishTime_; } } + /** * * @@ -1455,6 +1496,7 @@ public com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder() { } private java.lang.Object orderingKey_ = ""; + /** * * @@ -1484,6 +1526,7 @@ public java.lang.String getOrderingKey() { return (java.lang.String) ref; } } + /** * * @@ -1513,6 +1556,7 @@ public com.google.protobuf.ByteString getOrderingKeyBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1541,6 +1585,7 @@ public Builder setOrderingKey(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1565,6 +1610,7 @@ public Builder clearOrderingKey() { onChanged(); return this; } + /** * * 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 0e159683a..aaa6bb857 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 @@ -51,6 +51,7 @@ public interface PubsubMessageOrBuilder * */ int getAttributesCount(); + /** * * @@ -64,9 +65,11 @@ public interface PubsubMessageOrBuilder * */ boolean containsAttributes(java.lang.String key); + /** Use {@link #getAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAttributes(); + /** * * @@ -80,6 +83,7 @@ public interface PubsubMessageOrBuilder * */ java.util.Map getAttributesMap(); + /** * * @@ -97,6 +101,7 @@ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); + /** * * @@ -126,6 +131,7 @@ java.lang.String getAttributesOrDefault( * @return The messageId. */ java.lang.String getMessageId(); + /** * * @@ -156,6 +162,7 @@ java.lang.String getAttributesOrDefault( * @return Whether the publishTime field is set. */ boolean hasPublishTime(); + /** * * @@ -170,6 +177,7 @@ java.lang.String getAttributesOrDefault( * @return The publishTime. */ com.google.protobuf.Timestamp getPublishTime(); + /** * * @@ -202,6 +210,7 @@ java.lang.String getAttributesOrDefault( * @return The orderingKey. */ java.lang.String getOrderingKey(); + /** * * 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 6a8d54f74..22c1a66bb 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 @@ -357,404 +357,533 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { - "\n\035google/pubsub/v1/pubsub.proto\022\020google." + "\n" + + "\035google/pubsub/v1/pubsub.proto\022\020google." + "pubsub.v1\032\034google/api/annotations.proto\032" + "\027google/api/client.proto\032\037google/api/fie" + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\032\036google/protobuf/duration.proto\032\033go" - + "ogle/protobuf/empty.proto\032 google/protob" - + "uf/field_mask.proto\032\037google/protobuf/tim" - + "estamp.proto\032\035google/pubsub/v1/schema.pr" - + "oto\"a\n\024MessageStoragePolicy\022(\n\033allowed_p" - + "ersistence_regions\030\001 \003(\tB\003\340A\001\022\037\n\022enforce" - + "_in_transit\030\002 \001(\010B\003\340A\001\"\270\001\n\016SchemaSetting" - + "s\0224\n\006schema\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub.google" - + "apis.com/Schema\0221\n\010encoding\030\002 \001(\0162\032.goog" - + "le.pubsub.v1.EncodingB\003\340A\001\022\036\n\021first_revi" - + "sion_id\030\003 \001(\tB\003\340A\001\022\035\n\020last_revision_id\030\004" - + " \001(\tB\003\340A\001\"\310\027\n\033IngestionDataSourceSetting" - + "s\022T\n\013aws_kinesis\030\001 \001(\01328.google.pubsub.v" - + "1.IngestionDataSourceSettings.AwsKinesis" - + "B\003\340A\001H\000\022X\n\rcloud_storage\030\002 \001(\0132:.google." - + "pubsub.v1.IngestionDataSourceSettings.Cl" - + "oudStorageB\003\340A\001H\000\022]\n\020azure_event_hubs\030\003 " - + "\001(\0132<.google.pubsub.v1.IngestionDataSour" - + "ceSettings.AzureEventHubsB\003\340A\001H\000\022L\n\007aws_" - + "msk\030\005 \001(\01324.google.pubsub.v1.IngestionDa" - + "taSourceSettings.AwsMskB\003\340A\001H\000\022\\\n\017conflu" - + "ent_cloud\030\006 \001(\0132<.google.pubsub.v1.Inges" - + "tionDataSourceSettings.ConfluentCloudB\003\340" - + "A\001H\000\022K\n\026platform_logs_settings\030\004 \001(\0132&.g" - + "oogle.pubsub.v1.PlatformLogsSettingsB\003\340A" - + "\001\032\352\002\n\nAwsKinesis\022R\n\005state\030\001 \001(\0162>.google" - + ".pubsub.v1.IngestionDataSourceSettings.A" - + "wsKinesis.StateB\003\340A\003\022\027\n\nstream_arn\030\002 \001(\t" - + "B\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\023gcp_service_accou" - + "nt\030\005 \001(\tB\003\340A\002\"\226\001\n\005State\022\025\n\021STATE_UNSPECI" - + "FIED\020\000\022\n\n\006ACTIVE\020\001\022\035\n\031KINESIS_PERMISSION" - + "_DENIED\020\002\022\035\n\031PUBLISH_PERMISSION_DENIED\020\003" - + "\022\024\n\020STREAM_NOT_FOUND\020\004\022\026\n\022CONSUMER_NOT_F" - + "OUND\020\005\032\225\006\n\014CloudStorage\022T\n\005state\030\001 \001(\0162@" - + ".google.pubsub.v1.IngestionDataSourceSet" - + "tings.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.C" - + "loudStorage.TextFormatB\003\340A\001H\000\022a\n\013avro_fo" - + "rmat\030\004 \001(\0132E.google.pubsub.v1.IngestionD" - + "ataSourceSettings.CloudStorage.AvroForma" - + "tB\003\340A\001H\000\022n\n\022pubsub_avro_format\030\005 \001(\0132K.g" - + "oogle.pubsub.v1.IngestionDataSourceSetti" - + "ngs.CloudStorage.PubSubAvroFormatB\003\340A\001H\000" - + "\022C\n\032minimum_object_create_time\030\006 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\001\022\027\n\nmatch_g" - + "lob\030\t \001(\tB\003\340A\001\0327\n\nTextFormat\022\033\n\tdelimite" - + "r\030\001 \001(\tB\003\340A\001H\000\210\001\001B\014\n\n_delimiter\032\014\n\nAvroF" - + "ormat\032\022\n\020PubSubAvroFormat\"\232\001\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022#\n\037CLOUD_" - + "STORAGE_PERMISSION_DENIED\020\002\022\035\n\031PUBLISH_P" - + "ERMISSION_DENIED\020\003\022\024\n\020BUCKET_NOT_FOUND\020\004" - + "\022\024\n\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\016resource_gr" - + "oup\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\tclient_id\030\005 \001(" - + "\tB\003\340A\001\022\026\n\ttenant_id\030\006 \001(\tB\003\340A\001\022\034\n\017subscr" - + "iption_id\030\007 \001(\tB\003\340A\001\022 \n\023gcp_service_acco" - + "unt\030\010 \001(\tB\003\340A\001\"\327\001\n\005State\022\025\n\021STATE_UNSPEC" - + "IFIED\020\000\022\n\n\006ACTIVE\020\001\022 \n\034EVENT_HUBS_PERMIS" - + "SION_DENIED\020\002\022\035\n\031PUBLISH_PERMISSION_DENI" - + "ED\020\003\022\027\n\023NAMESPACE_NOT_FOUND\020\004\022\027\n\023EVENT_H" - + "UB_NOT_FOUND\020\005\022\032\n\026SUBSCRIPTION_NOT_FOUND" - + "\020\006\022\034\n\030RESOURCE_GROUP_NOT_FOUND\020\007\032\326\002\n\006Aws" - + "Msk\022N\n\005state\030\001 \001(\0162:.google.pubsub.v1.In" - + "gestionDataSourceSettings.AwsMsk.StateB\003" - + "\340A\003\022\030\n\013cluster_arn\030\002 \001(\tB\003\340A\002\022\022\n\005topic\030\003" - + " \001(\tB\003\340A\002\022\031\n\014aws_role_arn\030\004 \001(\tB\003\340A\002\022 \n\023" - + "gcp_service_account\030\005 \001(\tB\003\340A\002\"\220\001\n\005State" - + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\031\n\025M" - + "SK_PERMISSION_DENIED\020\002\022\035\n\031PUBLISH_PERMIS" - + "SION_DENIED\020\003\022\025\n\021CLUSTER_NOT_FOUND\020\004\022\023\n\017" - + "TOPIC_NOT_FOUND\020\005\032\266\003\n\016ConfluentCloud\022V\n\005" - + "state\030\001 \001(\0162B.google.pubsub.v1.Ingestion" - + "DataSourceSettings.ConfluentCloud.StateB" - + "\003\340A\003\022\035\n\020bootstrap_server\030\002 \001(\tB\003\340A\002\022\027\n\nc" - + "luster_id\030\003 \001(\tB\003\340A\002\022\022\n\005topic\030\004 \001(\tB\003\340A\002" - + "\022\035\n\020identity_pool_id\030\005 \001(\tB\003\340A\002\022 \n\023gcp_s" - + "ervice_account\030\006 \001(\tB\003\340A\002\"\276\001\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022%\n!CONFLU" - + "ENT_CLOUD_PERMISSION_DENIED\020\002\022\035\n\031PUBLISH" - + "_PERMISSION_DENIED\020\003\022 \n\034UNREACHABLE_BOOT" - + "STRAP_SERVER\020\004\022\025\n\021CLUSTER_NOT_FOUND\020\005\022\023\n" - + "\017TOPIC_NOT_FOUND\020\006B\010\n\006source\"\277\001\n\024Platfor" - + "mLogsSettings\022F\n\010severity\030\001 \001(\0162/.google" - + ".pubsub.v1.PlatformLogsSettings.Severity" - + "B\003\340A\001\"_\n\010Severity\022\030\n\024SEVERITY_UNSPECIFIE" - + "D\020\000\022\014\n\010DISABLED\020\001\022\t\n\005DEBUG\020\002\022\010\n\004INFO\020\003\022\013" - + "\n\007WARNING\020\004\022\t\n\005ERROR\020\005\"\211\014\n\025IngestionFail" - + "ureEvent\022\022\n\005topic\030\001 \001(\tB\003\340A\002\022\032\n\rerror_me" - + "ssage\030\002 \001(\tB\003\340A\002\022a\n\025cloud_storage_failur" - + "e\030\003 \001(\0132;.google.pubsub.v1.IngestionFail" - + "ureEvent.CloudStorageFailureB\003\340A\001H\000\022[\n\017a" - + "ws_msk_failure\030\004 \001(\0132;.google.pubsub.v1." - + "IngestionFailureEvent.AwsMskFailureReaso" - + "nB\003\340A\001H\000\022l\n\030azure_event_hubs_failure\030\005 \001" - + "(\0132C.google.pubsub.v1.IngestionFailureEv" - + "ent.AzureEventHubsFailureReasonB\003\340A\001H\000\022k" - + "\n\027confluent_cloud_failure\030\006 \001(\0132C.google" - + ".pubsub.v1.IngestionFailureEvent.Conflue" - + "ntCloudFailureReasonB\003\340A\001H\000\032\024\n\022ApiViolat" - + "ionReason\032\023\n\021AvroFailureReason\032\256\002\n\023Cloud" - + "StorageFailure\022\023\n\006bucket\030\001 \001(\tB\003\340A\001\022\030\n\013o" - + "bject_name\030\002 \001(\tB\003\340A\001\022\036\n\021object_generati" - + "on\030\003 \001(\003B\003\340A\001\022]\n\023avro_failure_reason\030\005 \001" - + "(\01329.google.pubsub.v1.IngestionFailureEv" - + "ent.AvroFailureReasonB\003\340A\001H\000\022_\n\024api_viol" - + "ation_reason\030\006 \001(\0132:.google.pubsub.v1.In" - + "gestionFailureEvent.ApiViolationReasonB\003" - + "\340A\001H\000B\010\n\006reason\032\344\001\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_rea" - + "son\030\005 \001(\0132:.google.pubsub.v1.IngestionFa" - + "ilureEvent.ApiViolationReasonB\003\340A\001H\000B\010\n\006" - + "reason\032\350\001\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\006off" - + "set\030\004 \001(\003B\003\340A\001\022_\n\024api_violation_reason\030\005" - + " \001(\0132:.google.pubsub.v1.IngestionFailure" - + "Event.ApiViolationReasonB\003\340A\001H\000B\010\n\006reaso" - + "n\032\353\001\n\033ConfluentCloudFailureReason\022\027\n\nclu" - + "ster_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\006offse" - + "t\030\004 \001(\003B\003\340A\001\022_\n\024api_violation_reason\030\005 \001" - + "(\0132:.google.pubsub.v1.IngestionFailureEv" - + "ent.ApiViolationReasonB\003\340A\001H\000B\010\n\006reasonB" - + "\t\n\007failure\">\n\rJavaScriptUDF\022\032\n\rfunction_" - + "name\030\001 \001(\tB\003\340A\002\022\021\n\004code\030\002 \001(\tB\003\340A\002\"\216\001\n\020M" - + "essageTransform\022>\n\016javascript_udf\030\002 \001(\0132" - + "\037.google.pubsub.v1.JavaScriptUDFB\003\340A\001H\000\022" - + "\026\n\007enabled\030\003 \001(\010B\005\030\001\340A\001\022\025\n\010disabled\030\004 \001(" - + "\010B\003\340A\001B\013\n\ttransform\"\216\006\n\005Topic\022\021\n\004name\030\001 " - + "\001(\tB\003\340A\002\0228\n\006labels\030\002 \003(\0132#.google.pubsub" - + ".v1.Topic.LabelsEntryB\003\340A\001\022K\n\026message_st" - + "orage_policy\030\003 \001(\0132&.google.pubsub.v1.Me" - + "ssageStoragePolicyB\003\340A\001\022\031\n\014kms_key_name\030" - + "\005 \001(\tB\003\340A\001\022>\n\017schema_settings\030\006 \001(\0132 .go" - + "ogle.pubsub.v1.SchemaSettingsB\003\340A\001\022\032\n\rsa" - + "tisfies_pzs\030\007 \001(\010B\003\340A\001\022B\n\032message_retent" - + "ion_duration\030\010 \001(\0132\031.google.protobuf.Dur" - + "ationB\003\340A\001\0221\n\005state\030\t \001(\0162\035.google.pubsu" - + "b.v1.Topic.StateB\003\340A\003\022Z\n\036ingestion_data_" - + "source_settings\030\n \001(\0132-.google.pubsub.v1" - + ".IngestionDataSourceSettingsB\003\340A\001\022C\n\022mes" - + "sage_transforms\030\r \003(\0132\".google.pubsub.v1" - + ".MessageTransformB\003\340A\001\032-\n\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"H\n\005State\022\025" - + "\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\034\n\030ING" - + "ESTION_RESOURCE_ERROR\020\002:c\352A`\n\033pubsub.goo" - + "gleapis.com/Topic\022!projects/{project}/to" - + "pics/{topic}\022\017_deleted-topic_*\006topics2\005t" - + "opic\"\200\002\n\rPubsubMessage\022\021\n\004data\030\001 \001(\014B\003\340A" - + "\001\022H\n\nattributes\030\002 \003(\0132/.google.pubsub.v1" - + ".PubsubMessage.AttributesEntryB\003\340A\001\022\022\n\nm" - + "essage_id\030\003 \001(\t\0220\n\014publish_time\030\004 \001(\0132\032." - + "google.protobuf.Timestamp\022\031\n\014ordering_ke" - + "y\030\005 \001(\tB\003\340A\001\0321\n\017AttributesEntry\022\013\n\003key\030\001" - + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"E\n\017GetTopicReque" - + "st\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.google" - + "apis.com/Topic\"w\n\022UpdateTopicRequest\022+\n\005" - + "topic\030\001 \001(\0132\027.google.pubsub.v1.TopicB\003\340A" - + "\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMaskB\003\340A\002\"|\n\016PublishRequest\0222\n\005top" - + "ic\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\"\212\001\n\021ListTopic" - + "sRequest\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+cloud" - + "resourcemanager.googleapis.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\"`\n\022ListTopicsResponse\022,\n\006topics\030" - + "\001 \003(\0132\027.google.pubsub.v1.TopicB\003\340A\001\022\034\n\017n" - + "ext_page_token\030\002 \001(\tB\003\340A\001\"\204\001\n\035ListTopicS" - + "ubscriptionsRequest\0222\n\005topic\030\001 \001(\tB#\340A\002\372" - + "A\035\n\033pubsub.googleapis.com/Topic\022\026\n\tpage_" - + "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" - + "\"\201\001\n\036ListTopicSubscriptionsResponse\022A\n\rs" - + "ubscriptions\030\001 \003(\tB*\340A\001\372A$\n\"pubsub.googl" - + "eapis.com/Subscription\022\034\n\017next_page_toke" - + "n\030\002 \001(\tB\003\340A\001\"\200\001\n\031ListTopicSnapshotsReque" - + "st\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.google" - + "apis.com/Topic\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027" - + "\n\npage_token\030\003 \001(\tB\003\340A\001\"R\n\032ListTopicSnap" - + "shotsResponse\022\026\n\tsnapshots\030\001 \003(\tB\003\340A\001\022\034\n" - + "\017next_page_token\030\002 \001(\tB\003\340A\001\"H\n\022DeleteTop" - + "icRequest\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub" - + ".googleapis.com/Topic\"]\n\031DetachSubscript" - + "ionRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$" - + "\n\"pubsub.googleapis.com/Subscription\"\034\n\032" - + "DetachSubscriptionResponse\"\215\013\n\014Subscript" - + "ion\022\021\n\004name\030\001 \001(\tB\003\340A\002\0222\n\005topic\030\002 \001(\tB#\340" - + "A\002\372A\035\n\033pubsub.googleapis.com/Topic\0226\n\013pu" - + "sh_config\030\004 \001(\0132\034.google.pubsub.v1.PushC" - + "onfigB\003\340A\001\022>\n\017bigquery_config\030\022 \001(\0132 .go" - + "ogle.pubsub.v1.BigQueryConfigB\003\340A\001\022G\n\024cl" - + "oud_storage_config\030\026 \001(\0132$.google.pubsub" - + ".v1.CloudStorageConfigB\003\340A\001\022!\n\024ack_deadl" - + "ine_seconds\030\005 \001(\005B\003\340A\001\022\"\n\025retain_acked_m" - + "essages\030\007 \001(\010B\003\340A\001\022B\n\032message_retention_" - + "duration\030\010 \001(\0132\031.google.protobuf.Duratio" - + "nB\003\340A\001\022?\n\006labels\030\t \003(\0132*.google.pubsub.v" - + "1.Subscription.LabelsEntryB\003\340A\001\022$\n\027enabl" - + "e_message_ordering\030\n \001(\010B\003\340A\001\022B\n\021expirat" - + "ion_policy\030\013 \001(\0132\".google.pubsub.v1.Expi" - + "rationPolicyB\003\340A\001\022\023\n\006filter\030\014 \001(\tB\003\340A\001\022C" - + "\n\022dead_letter_policy\030\r \001(\0132\".google.pubs" - + "ub.v1.DeadLetterPolicyB\003\340A\001\0228\n\014retry_pol" - + "icy\030\016 \001(\0132\035.google.pubsub.v1.RetryPolicy" - + "B\003\340A\001\022\025\n\010detached\030\017 \001(\010B\003\340A\001\022)\n\034enable_e" - + "xactly_once_delivery\030\020 \001(\010B\003\340A\001\022H\n topic" - + "_message_retention_duration\030\021 \001(\0132\031.goog" - + "le.protobuf.DurationB\003\340A\003\0228\n\005state\030\023 \001(\016" - + "2$.google.pubsub.v1.Subscription.StateB\003" - + "\340A\003\022i\n\037analytics_hub_subscription_info\030\027" - + " \001(\0132;.google.pubsub.v1.Subscription.Ana" - + "lyticsHubSubscriptionInfoB\003\340A\003\022C\n\022messag" - + "e_transforms\030\031 \003(\0132\".google.pubsub.v1.Me" - + "ssageTransformB\003\340A\001\032O\n\034AnalyticsHubSubsc" - + "riptionInfo\022\024\n\007listing\030\001 \001(\tB\003\340A\001\022\031\n\014sub" - + "scription\030\002 \001(\tB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\">\n\005State\022\025\n\021" - + "STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\022\n\016RESOU" - + "RCE_ERROR\020\002:u\352Ar\n\"pubsub.googleapis.com/" - + "Subscription\022/projects/{project}/subscri" - + "ptions/{subscription}*\rsubscriptions2\014su" - + "bscription\"\177\n\013RetryPolicy\0227\n\017minimum_bac" - + "koff\030\001 \001(\0132\031.google.protobuf.DurationB\003\340" - + "A\001\0227\n\017maximum_backoff\030\002 \001(\0132\031.google.pro" - + "tobuf.DurationB\003\340A\001\"V\n\020DeadLetterPolicy\022" - + "\036\n\021dead_letter_topic\030\001 \001(\tB\003\340A\001\022\"\n\025max_d" - + "elivery_attempts\030\002 \001(\005B\003\340A\001\"?\n\020Expiratio" - + "nPolicy\022+\n\003ttl\030\001 \001(\0132\031.google.protobuf.D" - + "urationB\003\340A\001\"\232\004\n\nPushConfig\022\032\n\rpush_endp" - + "oint\030\001 \001(\tB\003\340A\001\022E\n\nattributes\030\002 \003(\0132,.go" - + "ogle.pubsub.v1.PushConfig.AttributesEntr" - + "yB\003\340A\001\022A\n\noidc_token\030\003 \001(\0132&.google.pubs" - + "ub.v1.PushConfig.OidcTokenB\003\340A\001H\000\022I\n\016pub" - + "sub_wrapper\030\004 \001(\0132*.google.pubsub.v1.Pus" - + "hConfig.PubsubWrapperB\003\340A\001H\001\022A\n\nno_wrapp" - + "er\030\005 \001(\0132&.google.pubsub.v1.PushConfig.N" - + "oWrapperB\003\340A\001H\001\032F\n\tOidcToken\022\"\n\025service_" - + "account_email\030\001 \001(\tB\003\340A\001\022\025\n\010audience\030\002 \001" - + "(\tB\003\340A\001\032\017\n\rPubsubWrapper\032(\n\tNoWrapper\022\033\n" - + "\016write_metadata\030\001 \001(\010B\003\340A\001\0321\n\017Attributes" - + "Entry\022\013\n\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\016Bi" - + "gQueryConfig\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_metadat" - + "a\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\020use_table_" - + "schema\030\006 \001(\010B\003\340A\001\022\"\n\025service_account_ema" - + "il\030\007 \001(\tB\003\340A\001\"\212\001\n\005State\022\025\n\021STATE_UNSPECI" - + "FIED\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\022C" - + "loudStorageConfig\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.Tex" - + "tConfigB\003\340A\001H\000\022K\n\013avro_config\030\005 \001(\0132/.go" - + "ogle.pubsub.v1.CloudStorageConfig.AvroCo" - + "nfigB\003\340A\001H\000\0224\n\014max_duration\030\006 \001(\0132\031.goog" - + "le.protobuf.DurationB\003\340A\001\022\026\n\tmax_bytes\030\007" - + " \001(\003B\003\340A\001\022\031\n\014max_messages\030\010 \001(\003B\003\340A\001\022>\n\005" - + "state\030\t \001(\0162*.google.pubsub.v1.CloudStor" - + "ageConfig.StateB\003\340A\003\022\"\n\025service_account_" - + "email\030\013 \001(\tB\003\340A\001\032\014\n\nTextConfig\032H\n\nAvroCo" - + "nfig\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\005State\022\025\n\021ST" - + "ATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\025\n\021PERMISS" - + "ION_DENIED\020\002\022\r\n\tNOT_FOUND\020\003\022#\n\037IN_TRANSI" - + "T_LOCATION_RESTRICTION\020\004\022\023\n\017SCHEMA_MISMA" - + "TCH\020\005B\017\n\routput_format\"|\n\017ReceivedMessag" - + "e\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\"Z\n\026GetSubsc" - + "riptionRequest\022@\n\014subscription\030\001 \001(\tB*\340A" - + "\002\372A$\n\"pubsub.googleapis.com/Subscription" - + "\"\214\001\n\031UpdateSubscriptionRequest\0229\n\014subscr" - + "iption\030\001 \001(\0132\036.google.pubsub.v1.Subscrip" - + "tionB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMaskB\003\340A\002\"\221\001\n\030ListSubscrip" - + "tionsRequest\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+c" - + "loudresourcemanager.googleapis.com/Proje" - + "ct\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token" - + "\030\003 \001(\tB\003\340A\001\"u\n\031ListSubscriptionsResponse" - + "\022:\n\rsubscriptions\030\001 \003(\0132\036.google.pubsub." - + "v1.SubscriptionB\003\340A\001\022\034\n\017next_page_token\030" - + "\002 \001(\tB\003\340A\001\"]\n\031DeleteSubscriptionRequest\022" - + "@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.go" - + "ogleapis.com/Subscription\"\223\001\n\027ModifyPush" - + "ConfigRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002" - + "\372A$\n\"pubsub.googleapis.com/Subscription\022" - + "6\n\013push_config\030\002 \001(\0132\034.google.pubsub.v1." - + "PushConfigB\003\340A\002\"\215\001\n\013PullRequest\022@\n\014subsc" - + "ription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis" - + ".com/Subscription\022!\n\022return_immediately\030" - + "\002 \001(\010B\005\030\001\340A\001\022\031\n\014max_messages\030\003 \001(\005B\003\340A\002\"" - + "Q\n\014PullResponse\022A\n\021received_messages\030\001 \003" - + "(\0132!.google.pubsub.v1.ReceivedMessageB\003\340" - + "A\001\"\225\001\n\030ModifyAckDeadlineRequest\022@\n\014subsc" - + "ription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis" - + ".com/Subscription\022\024\n\007ack_ids\030\004 \003(\tB\003\340A\002\022" - + "!\n\024ack_deadline_seconds\030\003 \001(\005B\003\340A\002\"l\n\022Ac" - + "knowledgeRequest\022@\n\014subscription\030\001 \001(\tB*" - + "\340A\002\372A$\n\"pubsub.googleapis.com/Subscripti" - + "on\022\024\n\007ack_ids\030\002 \003(\tB\003\340A\002\"\307\002\n\024StreamingPu" - + "llRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n" - + "\"pubsub.googleapis.com/Subscription\022\024\n\007a" - + "ck_ids\030\002 \003(\tB\003\340A\001\022$\n\027modify_deadline_sec" - + "onds\030\003 \003(\005B\003\340A\001\022$\n\027modify_deadline_ack_i" - + "ds\030\004 \003(\tB\003\340A\001\022(\n\033stream_ack_deadline_sec" - + "onds\030\005 \001(\005B\003\340A\002\022\026\n\tclient_id\030\006 \001(\tB\003\340A\001\022" - + "%\n\030max_outstanding_messages\030\007 \001(\003B\003\340A\001\022\"" - + "\n\025max_outstanding_bytes\030\010 \001(\003B\003\340A\001\"\236\006\n\025S" - + "treamingPullResponse\022A\n\021received_message" - + "s\030\001 \003(\0132!.google.pubsub.v1.ReceivedMessa" - + "geB\003\340A\001\022f\n\030acknowledge_confirmation\030\005 \001(" - + "\0132?.google.pubsub.v1.StreamingPullRespon" - + "se.AcknowledgeConfirmationB\003\340A\001\022t\n modif" - + "y_ack_deadline_confirmation\030\003 \001(\0132E.goog" - + "le.pubsub.v1.StreamingPullResponse.Modif" - + "yAckDeadlineConfirmationB\003\340A\001\022d\n\027subscri" - + "ption_properties\030\004 \001(\0132>.google.pubsub.v" - + "1.StreamingPullResponse.SubscriptionProp" - + "ertiesB\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\340" - + "A\001\032z\n\035ModifyAckDeadlineConfirmation\022\024\n\007a" - + "ck_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\035exac" - + "tly_once_delivery_enabled\030\001 \001(\010B\003\340A\001\022%\n\030" - + "message_ordering_enabled\030\002 \001(\010B\003\340A\001\"\210\002\n\025" - + "CreateSnapshotRequest\0224\n\004name\030\001 \001(\tB&\340A\002" - + "\372A \n\036pubsub.googleapis.com/Snapshot\022@\n\014s" - + "ubscription\030\002 \001(\tB*\340A\002\372A$\n\"pubsub.google" - + "apis.com/Subscription\022H\n\006labels\030\003 \003(\01323." - + "google.pubsub.v1.CreateSnapshotRequest.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\"\200\001\n\025UpdateSnapsho" - + "tRequest\0221\n\010snapshot\030\001 \001(\0132\032.google.pubs" - + "ub.v1.SnapshotB\003\340A\002\0224\n\013update_mask\030\002 \001(\013" - + "2\032.google.protobuf.FieldMaskB\003\340A\002\"\326\002\n\010Sn" - + "apshot\022\021\n\004name\030\001 \001(\tB\003\340A\001\0222\n\005topic\030\002 \001(\t" - + "B#\340A\001\372A\035\n\033pubsub.googleapis.com/Topic\0224\n" - + "\013expire_time\030\003 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\001\022;\n\006labels\030\004 \003(\0132&.google.pub" - + "sub.v1.Snapshot.LabelsEntryB\003\340A\001\032-\n\013Labe" - + "lsEntry\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\'pr" - + "ojects/{project}/snapshots/{snapshot}*\ts" - + "napshots2\010snapshot\"N\n\022GetSnapshotRequest" - + "\0228\n\010snapshot\030\001 \001(\tB&\340A\002\372A \n\036pubsub.googl" - + "eapis.com/Snapshot\"\215\001\n\024ListSnapshotsRequ" - + "est\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+cloudresou" - + "rcemanager.googleapis.com/Project\022\026\n\tpag" - + "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" - + "A\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\025DeleteS" - + "napshotRequest\0228\n\010snapshot\030\001 \001(\tB&\340A\002\372A " - + "\n\036pubsub.googleapis.com/Snapshot\"\306\001\n\013See" - + "kRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"" - + "pubsub.googleapis.com/Subscription\022/\n\004ti" - + "me\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\001H\000\022:\n\010snapshot\030\003 \001(\tB&\340A\001\372A \n\036pubsub.go" - + "ogleapis.com/SnapshotH\000B\010\n\006target\"\016\n\014See" - + "kResponse2\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=proje" - + "cts/*/topics/*}:\001*\022\221\001\n\013UpdateTopic\022$.goo" - + "gle.pubsub.v1.UpdateTopicRequest\032\027.googl" + + "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" + + "\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" + + "\016SchemaSettings\0224\n" + + "\006schema\030\001 \001(\tB$\340A\002\372A\036\n" + + "\034pubsub.googleapis.com/Schema\0221\n" + + "\010encoding\030\002 \001(\0162\032.google.pubsub.v1.EncodingB\003\340A\001\022\036\n" + + "\021first_revision_id\030\003 \001(\tB\003\340A\001\022\035\n" + + "\020last_revision_id\030\004 \001(\tB\003\340A\001\"\310\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" + + "AwsKinesis\022R\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" + + "\023gcp_service_account\030\005 \001(\tB\003\340A\002\"\226\001\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006ACTIVE\020\001\022\035\n" + + "\031KINESIS_PERMISSION_DENIED\020\002\022\035\n" + + "\031PUBLISH_PERMISSION_DENIED\020\003\022\024\n" + + "\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" + + "\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" + + "\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" + + "TextFormat\022\033\n" + + "\tdelimiter\030\001 \001(\tB\003\340A\001H\000\210\001\001B\014\n\n" + + "_delimiter\032\014\n\n" + + "AvroFormat\032\022\n" + + "\020PubSubAvroFormat\"\232\001\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006ACTIVE\020\001\022#\n" + + "\037CLOUD_STORAGE_PERMISSION_DENIED\020\002\022\035\n" + + "\031PUBLISH_PERMISSION_DENIED\020\003\022\024\n" + + "\020BUCKET_NOT_FOUND\020\004\022\024\n" + + "\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" + + "\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" + + "\tclient_id\030\005 \001(\tB\003\340A\001\022\026\n" + + "\ttenant_id\030\006 \001(\tB\003\340A\001\022\034\n" + + "\017subscription_id\030\007 \001(\tB\003\340A\001\022 \n" + + "\023gcp_service_account\030\010 \001(\tB\003\340A\001\"\327\001\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006ACTIVE\020\001\022 \n" + + "\034EVENT_HUBS_PERMISSION_DENIED\020\002\022\035\n" + + "\031PUBLISH_PERMISSION_DENIED\020\003\022\027\n" + + "\023NAMESPACE_NOT_FOUND\020\004\022\027\n" + + "\023EVENT_HUB_NOT_FOUND\020\005\022\032\n" + + "\026SUBSCRIPTION_NOT_FOUND\020\006\022\034\n" + + "\030RESOURCE_GROUP_NOT_FOUND\020\007\032\326\002\n" + + "\006AwsMsk\022N\n" + + "\005state\030\001 \001(\0162:.google.pubsub.v1.In" + + "gestionDataSourceSettings.AwsMsk.StateB\003\340A\003\022\030\n" + + "\013cluster_arn\030\002 \001(\tB\003\340A\002\022\022\n" + + "\005topic\030\003 \001(\tB\003\340A\002\022\031\n" + + "\014aws_role_arn\030\004 \001(\tB\003\340A\002\022 \n" + + "\023gcp_service_account\030\005 \001(\tB\003\340A\002\"\220\001\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006ACTIVE\020\001\022\031\n" + + "\025MSK_PERMISSION_DENIED\020\002\022\035\n" + + "\031PUBLISH_PERMISSION_DENIED\020\003\022\025\n" + + "\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.Ingestion" + + "DataSourceSettings.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" + + "\020identity_pool_id\030\005 \001(\tB\003\340A\002\022 \n" + + "\023gcp_service_account\030\006 \001(\tB\003\340A\002\"\276\001\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006ACTIVE\020\001\022%\n" + + "!CONFLUENT_CLOUD_PERMISSION_DENIED\020\002\022\035\n" + + "\031PUBLISH_PERMISSION_DENIED\020\003\022 \n" + + "\034UNREACHABLE_BOOTSTRAP_SERVER\020\004\022\025\n" + + "\021CLUSTER_NOT_FOUND\020\005\022\023\n" + + "\017TOPIC_NOT_FOUND\020\006B\010\n" + + "\006source\"\277\001\n" + + "\024PlatformLogsSettings\022F\n" + + "\010severity\030\001 \001(\0162/.google" + + ".pubsub.v1.PlatformLogsSettings.SeverityB\003\340A\001\"_\n" + + "\010Severity\022\030\n" + + "\024SEVERITY_UNSPECIFIED\020\000\022\014\n" + + "\010DISABLED\020\001\022\t\n" + + "\005DEBUG\020\002\022\010\n" + + "\004INFO\020\003\022\013\n" + + "\007WARNING\020\004\022\t\n" + + "\005ERROR\020\005\"\211\014\n" + + "\025IngestionFailureEvent\022\022\n" + + "\005topic\030\001 \001(\tB\003\340A\002\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.pubsub.v1.IngestionFailureEv" + + "ent.AzureEventHubsFailureReasonB\003\340A\001H\000\022k\n" + + "\027confluent_cloud_failure\030\006 \001(\0132C.google" + + ".pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReasonB\003\340A\001H\000\032\024\n" + + "\022ApiViolationReason\032\023\n" + + "\021AvroFailureReason\032\256\002\n" + + "\023CloudStorageFailure\022\023\n" + + "\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.In" + + "gestionFailureEvent.ApiViolationReasonB\003\340A\001H\000B\010\n" + + "\006reason\032\344\001\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\000B\010\n" + + "\006reason\032\350\001\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\000B\010\n" + + "\006reason\032\353\001\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.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" + + "\020MessageTransform\022>\n" + + "\016javascript_udf\030\002 \001(\0132" + + "\037.google.pubsub.v1.JavaScriptUDFB\003\340A\001H\000\022\026\n" + + "\007enabled\030\003 \001(\010B\005\030\001\340A\001\022\025\n" + + "\010disabled\030\004 \001(\010B\003\340A\001B\013\n" + + "\ttransform\"\216\006\n" + + "\005Topic\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\002\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\031\n" + + "\014kms_key_name\030\005 \001(\tB\003\340A\001\022>\n" + + "\017schema_settings\030\006 \001(\0132" + + " .google.pubsub.v1.SchemaSettingsB\003\340A\001\022\032\n\r" + + "satisfies_pzs\030\007 \001(\010B\003\340A\001\022B\n" + + "\032message_retention_duration\030\010" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\0221\n" + + "\005state\030\t \001(\0162\035.google.pubsub.v1.Topic.StateB\003\340A\003\022Z\n" + + "\036ingestion_data_source_settings\030\n" + + " \001(\0132-.google.pubsub.v1.IngestionDataSourceSettingsB\003\340A\001\022C\n" + + "\022message_transforms\030\r" + + " \003(\0132\".google.pubsub.v1.MessageTransformB\003\340A\001\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"H\n" + + "\005State\022\025\n" + + "\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}/to" + + "pics/{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" + + "message_id\030\003 \001(\t\0220\n" + + "\014publish_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022\031\n" + + "\014ordering_key\030\005 \001(\tB\003\340A\001\0321\n" + + "\017AttributesEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"E\n" + + "\017GetTopicRequest\0222\n" + + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + + "\033pubsub.googleapis.com/Topic\"w\n" + + "\022UpdateTopicRequest\022+\n" + + "\005topic\030\001 \001(\0132\027.google.pubsub.v1.TopicB\003\340A\002\0224\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"|\n" + + "\016PublishRequest\0222\n" + + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + + "\033pubsub.googleapis.com/Topic\0226\n" + + "\010messages\030\002 \003(\0132\037.google.pubsub.v1.PubsubMessageB\003\340A\002\"+\n" + + "\017PublishResponse\022\030\n" + + "\013message_ids\030\001 \003(\tB\003\340A\001\"\212\001\n" + + "\021ListTopicsRequest\022D\n" + + "\007project\030\001 \001(\tB3\340A\002\372A-\n" + + "+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" + + "\022ListTopicsResponse\022,\n" + + "\006topics\030\001 \003(\0132\027.google.pubsub.v1.TopicB\003\340A\001\022\034\n" + + "\017next_page_token\030\002 \001(\tB\003\340A\001\"\204\001\n" + + "\035ListTopicSubscriptionsRequest\0222\n" + + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + + "\033pubsub.googleapis.com/Topic\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\201\001\n" + + "\036ListTopicSubscriptionsResponse\022A\n\r" + + "subscriptions\030\001 \003(\tB*\340A\001\372A$\n" + + "\"pubsub.googleapis.com/Subscription\022\034\n" + + "\017next_page_token\030\002 \001(\tB\003\340A\001\"\200\001\n" + + "\031ListTopicSnapshotsRequest\0222\n" + + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + + "\033pubsub.googleapis.com/Topic\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"R\n" + + "\032ListTopicSnapshotsResponse\022\026\n" + + "\tsnapshots\030\001 \003(\tB\003\340A\001\022\034\n" + + "\017next_page_token\030\002 \001(\tB\003\340A\001\"H\n" + + "\022DeleteTopicRequest\0222\n" + + "\005topic\030\001 \001(\tB#\340A\002\372A\035\n" + + "\033pubsub.googleapis.com/Topic\"]\n" + + "\031DetachSubscriptionRequest\022@\n" + + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + + "\"pubsub.googleapis.com/Subscription\"\034\n" + + "\032DetachSubscriptionResponse\"\215\013\n" + + "\014Subscription\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\002\0222\n" + + "\005topic\030\002 \001(\tB#\340A\002\372A\035\n" + + "\033pubsub.googleapis.com/Topic\0226\n" + + "\013push_config\030\004" + + " \001(\0132\034.google.pubsub.v1.PushConfigB\003\340A\001\022>\n" + + "\017bigquery_config\030\022 \001(\0132" + + " .google.pubsub.v1.BigQueryConfigB\003\340A\001\022G\n" + + "\024cloud_storage_config\030\026" + + " \001(\0132$.google.pubsub.v1.CloudStorageConfigB\003\340A\001\022!\n" + + "\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" + + "\027enable_message_ordering\030\n" + + " \001(\010B\003\340A\001\022B\n" + + "\021expiration_policy\030\013" + + " \001(\0132\".google.pubsub.v1.ExpirationPolicyB\003\340A\001\022\023\n" + + "\006filter\030\014 \001(\tB\003\340A\001\022C\n" + + "\022dead_letter_policy\030\r" + + " \001(\0132\".google.pubsub.v1.DeadLetterPolicyB\003\340A\001\0228\n" + + "\014retry_policy\030\016" + + " \001(\0132\035.google.pubsub.v1.RetryPolicyB\003\340A\001\022\025\n" + + "\010detached\030\017 \001(\010B\003\340A\001\022)\n" + + "\034enable_exactly_once_delivery\030\020 \001(\010B\003\340A\001\022H\n" + + " topic_message_retention_duration\030\021" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\003\0228\n" + + "\005state\030\023 \001(\0162$.google.pubsub.v1.Subscription.StateB\003\340A\003\022i\n" + + "\037analytics_hub_subscription_info\030\027" + + " \001(\0132;.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoB\003\340A\003\022C\n" + + "\022message_transforms\030\031" + + " \003(\0132\".google.pubsub.v1.MessageTransformB\003\340A\001\032O\n" + + "\034AnalyticsHubSubscriptionInfo\022\024\n" + + "\007listing\030\001 \001(\tB\003\340A\001\022\031\n" + + "\014subscription\030\002 \001(\tB\003\340A\001\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\">\n" + + "\005State\022\025\n" + + "\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" + + "subscriptions2\014subscription\"\177\n" + + "\013RetryPolicy\0227\n" + + "\017minimum_backoff\030\001" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\0227\n" + + "\017maximum_backoff\030\002 \001(\0132\031.google.protobuf.DurationB\003\340A\001\"V\n" + + "\020DeadLetterPolicy\022\036\n" + + "\021dead_letter_topic\030\001 \001(\tB\003\340A\001\022\"\n" + + "\025max_delivery_attempts\030\002 \001(\005B\003\340A\001\"?\n" + + "\020ExpirationPolicy\022+\n" + + "\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,.go" + + "ogle.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" + + "\025service_account_email\030\001 \001(\tB\003\340A\001\022\025\n" + + "\010audience\030\002 \001(\tB\003\340A\001\032\017\n\r" + + "PubsubWrapper\032(\n" + + "\tNoWrapper\022\033\n" + + "\016write_metadata\030\001 \001(\010B\003\340A\001\0321\n" + + "\017AttributesEntry\022\013\n" + + "\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" + + "\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" + + "\020use_table_schema\030\006 \001(\010B\003\340A\001\022\"\n" + + "\025service_account_email\030\007 \001(\tB\003\340A\001\"\212\001\n" + + "\005State\022\025\n" + + "\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" + + "\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/.go" + + "ogle.pubsub.v1.CloudStorageConfig.AvroConfigB\003\340A\001H\000\0224\n" + + "\014max_duration\030\006" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\022\026\n" + + "\tmax_bytes\030\007 \001(\003B\003\340A\001\022\031\n" + + "\014max_messages\030\010 \001(\003B\003\340A\001\022>\n" + + "\005state\030\t" + + " \001(\0162*.google.pubsub.v1.CloudStorageConfig.StateB\003\340A\003\022\"\n" + + "\025service_account_email\030\013 \001(\tB\003\340A\001\032\014\n\n" + + "TextConfig\032H\n\n" + + "AvroConfig\022\033\n" + + "\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" + + "\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" + + "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\"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\"\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\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" + + "\"pubsub.googleapis.com/Subscription\0226\n" + + "\013push_config\030\002" + + " \001(\0132\034.google.pubsub.v1.PushConfigB\003\340A\002\"\215\001\n" + + "\013PullRequest\022@\n" + + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + + "\"pubsub.googleapis.com/Subscription\022!\n" + + "\022return_immediately\030\002 \001(\010B\005\030\001\340A\001\022\031\n" + + "\014max_messages\030\003 \001(\005B\003\340A\002\"Q\n" + + "\014PullResponse\022A\n" + + "\021received_messages\030\001 \003" + + "(\0132!.google.pubsub.v1.ReceivedMessageB\003\340A\001\"\225\001\n" + + "\030ModifyAckDeadlineRequest\022@\n" + + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + + "\"pubsub.googleapis.com/Subscription\022\024\n" + + "\007ack_ids\030\004 \003(\tB\003\340A\002\022!\n" + + "\024ack_deadline_seconds\030\003 \001(\005B\003\340A\002\"l\n" + + "\022AcknowledgeRequest\022@\n" + + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + + "\"pubsub.googleapis.com/Subscription\022\024\n" + + "\007ack_ids\030\002 \003(\tB\003\340A\002\"\307\002\n" + + "\024StreamingPullRequest\022@\n" + + "\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + + "\"pubsub.googleapis.com/Subscription\022\024\n" + + "\007ack_ids\030\002 \003(\tB\003\340A\001\022$\n" + + "\027modify_deadline_seconds\030\003 \003(\005B\003\340A\001\022$\n" + + "\027modify_deadline_ack_ids\030\004 \003(\tB\003\340A\001\022(\n" + + "\033stream_ack_deadline_seconds\030\005 \001(\005B\003\340A\002\022\026\n" + + "\tclient_id\030\006 \001(\tB\003\340A\001\022%\n" + + "\030max_outstanding_messages\030\007 \001(\003B\003\340A\001\022\"\n" + + "\025max_outstanding_bytes\030\010 \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.goog" + + "le.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationB\003\340A\001\022d\n" + + "\027subscription_properties\030\004 \001(\0132>.google.pubsub.v" + + "1.StreamingPullResponse.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" + + "\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\"\210\002\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." + + "google.pubsub.v1.CreateSnapshotRequest.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\"\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.googl" + "e.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.Pu" - + "blishRequest\032!.google.pubsub.v1.PublishR" - + "esponse\"C\332A\016topic,messages\202\323\344\223\002,\"\'/v1/{t" - + "opic=projects/*/topics/*}:publish:\001*\022w\n\010" - + "GetTopic\022!.google.pubsub.v1.GetTopicRequ" + + "\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.PublishR" + + "esponse\"C\332A\016topic,messages\202\323\344\223\002,\"\'/v1/{topic=projects/*/topics/*}:publish:\001*\022w\n" + + "\010GetTopic\022!.google.pubsub.v1.GetTopicRequ" + "est\032\027.google.pubsub.v1.Topic\"/\332A\005topic\202\323" - + "\344\223\002!\022\037/v1/{topic=projects/*/topics/*}\022\212\001" - + "\n\nListTopics\022#.google.pubsub.v1.ListTopi" - + "csRequest\032$.google.pubsub.v1.ListTopicsR" - + "esponse\"1\332A\007project\202\323\344\223\002!\022\037/v1/{project=" - + "projects/*}/topics\022\272\001\n\026ListTopicSubscrip" - + "tions\022/.google.pubsub.v1.ListTopicSubscr" + + "\344\223\002!\022\037/v1/{topic=projects/*/topics/*}\022\212\001\n\n" + + "ListTopics\022#.google.pubsub.v1.ListTopicsRequest\032$.google.pubsub.v1.ListTopicsR" + + "esponse\"1\332A\007project\202\323\344\223\002!\022\037/v1/{project=projects/*}/topics\022\272\001\n" + + "\026ListTopicSubscriptions\022/.google.pubsub.v1.ListTopicSubscr" + "iptionsRequest\0320.google.pubsub.v1.ListTo" + "picSubscriptionsResponse\"=\332A\005topic\202\323\344\223\002/", "\022-/v1/{topic=projects/*/topics/*}/subscr" @@ -842,11 +971,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ions/*}:seek:\001*\032p\312A\025pubsub.googleapis.co" + "m\322AUhttps://www.googleapis.com/auth/clou" + "d-platform,https://www.googleapis.com/au" - + "th/pubsubB\247\001\n\024com.google.pubsub.v1B\013Pubs" - + "ubProtoP\001Z2cloud.google.com/go/pubsub/ap" - + "iv1/pubsubpb;pubsubpb\252\002\026Google.Cloud.Pub" - + "Sub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031Google" - + "::Cloud::PubSub::V1b\006proto3" + + "th/pubsubB\252\001\n\024com.google.pubsub.v1B\013Pubs" + + "ubProtoP\001Z5cloud.google.com/go/pubsub/v2" + + "/apiv1/pubsubpb;pubsubpb\252\002\026Google.Cloud." + + "PubSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031Goo" + + "gle::Cloud::PubSub::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java index 1ad7fd33c..7db45411e 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 @@ -33,6 +33,7 @@ public final class PullRequest extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.PullRequest) PullRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use PullRequest.newBuilder() to construct. private PullRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -65,6 +66,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -91,6 +93,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -120,6 +123,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { public static final int RETURN_IMMEDIATELY_FIELD_NUMBER = 2; private boolean returnImmediately_ = false; + /** * * @@ -148,6 +152,7 @@ public boolean getReturnImmediately() { public static final int MAX_MESSAGES_FIELD_NUMBER = 3; private int maxMessages_ = 0; + /** * * @@ -341,6 +346,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -549,6 +555,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -574,6 +581,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -599,6 +607,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -623,6 +632,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -643,6 +653,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -670,6 +681,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { } private boolean returnImmediately_; + /** * * @@ -696,6 +708,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { public boolean getReturnImmediately() { return returnImmediately_; } + /** * * @@ -726,6 +739,7 @@ public Builder setReturnImmediately(boolean value) { onChanged(); return this; } + /** * * @@ -756,6 +770,7 @@ public Builder clearReturnImmediately() { } private int maxMessages_; + /** * * @@ -773,6 +788,7 @@ public Builder clearReturnImmediately() { public int getMaxMessages() { return maxMessages_; } + /** * * @@ -794,6 +810,7 @@ public Builder setMaxMessages(int value) { onChanged(); return this; } + /** * * 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 0b296c5d5..bee10d2e9 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 @@ -39,6 +39,7 @@ public interface PullRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * 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 9114f636f..e65fd1ebf 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 @@ -33,6 +33,7 @@ public final class PullResponse extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.PullResponse) PullResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use PullResponse.newBuilder() to construct. private PullResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -67,6 +68,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private java.util.List receivedMessages_; + /** * * @@ -86,6 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public java.util.List getReceivedMessagesList() { return receivedMessages_; } + /** * * @@ -106,6 +109,7 @@ public java.util.List getReceivedMessagesL getReceivedMessagesOrBuilderList() { return receivedMessages_; } + /** * * @@ -125,6 +129,7 @@ public java.util.List getReceivedMessagesL public int getReceivedMessagesCount() { return receivedMessages_.size(); } + /** * * @@ -144,6 +149,7 @@ public int getReceivedMessagesCount() { public com.google.pubsub.v1.ReceivedMessage getReceivedMessages(int index) { return receivedMessages_.get(index); } + /** * * @@ -323,6 +329,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -588,6 +595,7 @@ public java.util.List getReceivedMessagesL return receivedMessagesBuilder_.getMessageList(); } } + /** * * @@ -610,6 +618,7 @@ public int getReceivedMessagesCount() { return receivedMessagesBuilder_.getCount(); } } + /** * * @@ -632,6 +641,7 @@ public com.google.pubsub.v1.ReceivedMessage getReceivedMessages(int index) { return receivedMessagesBuilder_.getMessage(index); } } + /** * * @@ -660,6 +670,7 @@ public Builder setReceivedMessages(int index, com.google.pubsub.v1.ReceivedMessa } return this; } + /** * * @@ -686,6 +697,7 @@ public Builder setReceivedMessages( } return this; } + /** * * @@ -714,6 +726,7 @@ public Builder addReceivedMessages(com.google.pubsub.v1.ReceivedMessage value) { } return this; } + /** * * @@ -742,6 +755,7 @@ public Builder addReceivedMessages(int index, com.google.pubsub.v1.ReceivedMessa } return this; } + /** * * @@ -768,6 +782,7 @@ public Builder addReceivedMessages( } return this; } + /** * * @@ -794,6 +809,7 @@ public Builder addReceivedMessages( } return this; } + /** * * @@ -820,6 +836,7 @@ public Builder addAllReceivedMessages( } return this; } + /** * * @@ -845,6 +862,7 @@ public Builder clearReceivedMessages() { } return this; } + /** * * @@ -870,6 +888,7 @@ public Builder removeReceivedMessages(int index) { } return this; } + /** * * @@ -888,6 +907,7 @@ public Builder removeReceivedMessages(int index) { public com.google.pubsub.v1.ReceivedMessage.Builder getReceivedMessagesBuilder(int index) { return getReceivedMessagesFieldBuilder().getBuilder(index); } + /** * * @@ -910,6 +930,7 @@ public com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilde return receivedMessagesBuilder_.getMessageOrBuilder(index); } } + /** * * @@ -933,6 +954,7 @@ public com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilde return java.util.Collections.unmodifiableList(receivedMessages_); } } + /** * * @@ -952,6 +974,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder() return getReceivedMessagesFieldBuilder() .addBuilder(com.google.pubsub.v1.ReceivedMessage.getDefaultInstance()); } + /** * * @@ -971,6 +994,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(i return getReceivedMessagesFieldBuilder() .addBuilder(index, com.google.pubsub.v1.ReceivedMessage.getDefaultInstance()); } + /** * * 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 664f3de29..d22ff6c8f 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 @@ -40,6 +40,7 @@ public interface PullResponseOrBuilder * */ java.util.List getReceivedMessagesList(); + /** * * @@ -56,6 +57,7 @@ public interface PullResponseOrBuilder * */ com.google.pubsub.v1.ReceivedMessage getReceivedMessages(int index); + /** * * @@ -72,6 +74,7 @@ public interface PullResponseOrBuilder * */ int getReceivedMessagesCount(); + /** * * @@ -89,6 +92,7 @@ public interface PullResponseOrBuilder */ java.util.List getReceivedMessagesOrBuilderList(); + /** * * 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 4eda45f36..fc509ebb9 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 @@ -33,6 +33,7 @@ public final class PushConfig extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.PushConfig) PushConfigOrBuilder { private static final long serialVersionUID = 0L; + // Use PushConfig.newBuilder() to construct. private PushConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -94,6 +95,7 @@ public interface OidcTokenOrBuilder * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); + /** * * @@ -129,6 +131,7 @@ public interface OidcTokenOrBuilder * @return The audience. */ java.lang.String getAudience(); + /** * * @@ -148,6 +151,7 @@ public interface OidcTokenOrBuilder */ com.google.protobuf.ByteString getAudienceBytes(); } + /** * * @@ -164,6 +168,7 @@ public static final class OidcToken extends com.google.protobuf.GeneratedMessage // @@protoc_insertion_point(message_implements:google.pubsub.v1.PushConfig.OidcToken) OidcTokenOrBuilder { private static final long serialVersionUID = 0L; + // Use OidcToken.newBuilder() to construct. private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -199,6 +204,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object serviceAccountEmail_ = ""; + /** * * @@ -226,6 +232,7 @@ public java.lang.String getServiceAccountEmail() { return s; } } + /** * * @@ -258,6 +265,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { @SuppressWarnings("serial") private volatile java.lang.Object audience_ = ""; + /** * * @@ -287,6 +295,7 @@ public java.lang.String getAudience() { return s; } } + /** * * @@ -486,6 +495,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -689,6 +699,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object serviceAccountEmail_ = ""; + /** * * @@ -715,6 +726,7 @@ public java.lang.String getServiceAccountEmail() { return (java.lang.String) ref; } } + /** * * @@ -741,6 +753,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -766,6 +779,7 @@ public Builder setServiceAccountEmail(java.lang.String value) { onChanged(); return this; } + /** * * @@ -787,6 +801,7 @@ public Builder clearServiceAccountEmail() { onChanged(); return this; } + /** * * @@ -815,6 +830,7 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) } private java.lang.Object audience_ = ""; + /** * * @@ -843,6 +859,7 @@ public java.lang.String getAudience() { return (java.lang.String) ref; } } + /** * * @@ -871,6 +888,7 @@ public com.google.protobuf.ByteString getAudienceBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -898,6 +916,7 @@ public Builder setAudience(java.lang.String value) { onChanged(); return this; } + /** * * @@ -921,6 +940,7 @@ public Builder clearAudience() { onChanged(); return this; } + /** * * @@ -1018,6 +1038,7 @@ public interface PubsubWrapperOrBuilder extends // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PushConfig.PubsubWrapper) com.google.protobuf.MessageOrBuilder {} + /** * * @@ -1034,6 +1055,7 @@ public static final class PubsubWrapper extends com.google.protobuf.GeneratedMes // @@protoc_insertion_point(message_implements:google.pubsub.v1.PushConfig.PubsubWrapper) PubsubWrapperOrBuilder { private static final long serialVersionUID = 0L; + // Use PubsubWrapper.newBuilder() to construct. private PubsubWrapper(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -1213,6 +1235,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -1460,6 +1483,7 @@ public interface NoWrapperOrBuilder */ boolean getWriteMetadata(); } + /** * * @@ -1474,6 +1498,7 @@ public static final class NoWrapper extends com.google.protobuf.GeneratedMessage // @@protoc_insertion_point(message_implements:google.pubsub.v1.PushConfig.NoWrapper) NoWrapperOrBuilder { private static final long serialVersionUID = 0L; + // Use NoWrapper.newBuilder() to construct. private NoWrapper(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -1504,6 +1529,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int WRITE_METADATA_FIELD_NUMBER = 1; private boolean writeMetadata_ = false; + /** * * @@ -1682,6 +1708,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -1866,6 +1893,7 @@ public Builder mergeFrom( private int bitField0_; private boolean writeMetadata_; + /** * * @@ -1883,6 +1911,7 @@ public Builder mergeFrom( public boolean getWriteMetadata() { return writeMetadata_; } + /** * * @@ -1904,6 +1933,7 @@ public Builder setWriteMetadata(boolean value) { onChanged(); return this; } + /** * * @@ -2004,6 +2034,7 @@ public enum AuthenticationMethodCase private AuthenticationMethodCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -2051,6 +2082,7 @@ public enum WrapperCase private WrapperCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -2087,6 +2119,7 @@ public WrapperCase getWrapperCase() { @SuppressWarnings("serial") private volatile java.lang.Object pushEndpoint_ = ""; + /** * * @@ -2111,6 +2144,7 @@ public java.lang.String getPushEndpoint() { return s; } } + /** * * @@ -2162,6 +2196,7 @@ private com.google.protobuf.MapField interna public int getAttributesCount() { return internalGetAttributes().getMap().size(); } + /** * * @@ -2199,12 +2234,14 @@ public boolean containsAttributes(java.lang.String key) { } return internalGetAttributes().getMap().containsKey(key); } + /** Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } + /** * * @@ -2239,6 +2276,7 @@ public java.util.Map getAttributes() { public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } + /** * * @@ -2280,6 +2318,7 @@ public java.util.Map getAttributesMap() { java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -2323,6 +2362,7 @@ public java.lang.String getAttributesOrThrow(java.lang.String key) { } public static final int OIDC_TOKEN_FIELD_NUMBER = 3; + /** * * @@ -2342,6 +2382,7 @@ public java.lang.String getAttributesOrThrow(java.lang.String key) { public boolean hasOidcToken() { return authenticationMethodCase_ == 3; } + /** * * @@ -2364,6 +2405,7 @@ public com.google.pubsub.v1.PushConfig.OidcToken getOidcToken() { } return com.google.pubsub.v1.PushConfig.OidcToken.getDefaultInstance(); } + /** * * @@ -2386,6 +2428,7 @@ public com.google.pubsub.v1.PushConfig.OidcTokenOrBuilder getOidcTokenOrBuilder( } public static final int PUBSUB_WRAPPER_FIELD_NUMBER = 4; + /** * * @@ -2405,6 +2448,7 @@ public com.google.pubsub.v1.PushConfig.OidcTokenOrBuilder getOidcTokenOrBuilder( public boolean hasPubsubWrapper() { return wrapperCase_ == 4; } + /** * * @@ -2427,6 +2471,7 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapper getPubsubWrapper() { } return com.google.pubsub.v1.PushConfig.PubsubWrapper.getDefaultInstance(); } + /** * * @@ -2449,6 +2494,7 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder getPubsubWrapperOr } public static final int NO_WRAPPER_FIELD_NUMBER = 5; + /** * * @@ -2466,6 +2512,7 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder getPubsubWrapperOr public boolean hasNoWrapper() { return wrapperCase_ == 5; } + /** * * @@ -2486,6 +2533,7 @@ public com.google.pubsub.v1.PushConfig.NoWrapper getNoWrapper() { } return com.google.pubsub.v1.PushConfig.NoWrapper.getDefaultInstance(); } + /** * * @@ -2742,6 +2790,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -3067,6 +3116,7 @@ public Builder clearWrapper() { private int bitField0_; private java.lang.Object pushEndpoint_ = ""; + /** * * @@ -3090,6 +3140,7 @@ public java.lang.String getPushEndpoint() { return (java.lang.String) ref; } } + /** * * @@ -3113,6 +3164,7 @@ public com.google.protobuf.ByteString getPushEndpointBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -3135,6 +3187,7 @@ public Builder setPushEndpoint(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3153,6 +3206,7 @@ public Builder clearPushEndpoint() { onChanged(); return this; } + /** * * @@ -3205,6 +3259,7 @@ public Builder setPushEndpointBytes(com.google.protobuf.ByteString value) { public int getAttributesCount() { return internalGetAttributes().getMap().size(); } + /** * * @@ -3242,12 +3297,14 @@ public boolean containsAttributes(java.lang.String key) { } return internalGetAttributes().getMap().containsKey(key); } + /** Use {@link #getAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAttributes() { return getAttributesMap(); } + /** * * @@ -3282,6 +3339,7 @@ public java.util.Map getAttributes() { public java.util.Map getAttributesMap() { return internalGetAttributes().getMap(); } + /** * * @@ -3323,6 +3381,7 @@ public java.util.Map getAttributesMap() { java.util.Map map = internalGetAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -3370,6 +3429,7 @@ public Builder clearAttributes() { internalGetMutableAttributes().getMutableMap().clear(); return this; } + /** * * @@ -3407,12 +3467,14 @@ public Builder removeAttributes(java.lang.String key) { internalGetMutableAttributes().getMutableMap().remove(key); return this; } + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAttributes() { bitField0_ |= 0x00000002; return internalGetMutableAttributes().getMutableMap(); } + /** * * @@ -3454,6 +3516,7 @@ public Builder putAttributes(java.lang.String key, java.lang.String value) { bitField0_ |= 0x00000002; return this; } + /** * * @@ -3495,6 +3558,7 @@ public Builder putAllAttributes(java.util.Map oidcTokenBuilder_; + /** * * @@ -3514,6 +3578,7 @@ public Builder putAllAttributes(java.util.Map pubsubWrapperBuilder_; + /** * * @@ -3759,6 +3832,7 @@ public com.google.pubsub.v1.PushConfig.OidcTokenOrBuilder getOidcTokenOrBuilder( public boolean hasPubsubWrapper() { return wrapperCase_ == 4; } + /** * * @@ -3788,6 +3862,7 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapper getPubsubWrapper() { return com.google.pubsub.v1.PushConfig.PubsubWrapper.getDefaultInstance(); } } + /** * * @@ -3814,6 +3889,7 @@ public Builder setPubsubWrapper(com.google.pubsub.v1.PushConfig.PubsubWrapper va wrapperCase_ = 4; return this; } + /** * * @@ -3838,6 +3914,7 @@ public Builder setPubsubWrapper( wrapperCase_ = 4; return this; } + /** * * @@ -3874,6 +3951,7 @@ public Builder mergePubsubWrapper(com.google.pubsub.v1.PushConfig.PubsubWrapper wrapperCase_ = 4; return this; } + /** * * @@ -3903,6 +3981,7 @@ public Builder clearPubsubWrapper() { } return this; } + /** * * @@ -3919,6 +3998,7 @@ public Builder clearPubsubWrapper() { public com.google.pubsub.v1.PushConfig.PubsubWrapper.Builder getPubsubWrapperBuilder() { return getPubsubWrapperFieldBuilder().getBuilder(); } + /** * * @@ -3943,6 +4023,7 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder getPubsubWrapperOr return com.google.pubsub.v1.PushConfig.PubsubWrapper.getDefaultInstance(); } } + /** * * @@ -3985,6 +4066,7 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder getPubsubWrapperOr com.google.pubsub.v1.PushConfig.NoWrapper.Builder, com.google.pubsub.v1.PushConfig.NoWrapperOrBuilder> noWrapperBuilder_; + /** * * @@ -4002,6 +4084,7 @@ public com.google.pubsub.v1.PushConfig.PubsubWrapperOrBuilder getPubsubWrapperOr public boolean hasNoWrapper() { return wrapperCase_ == 5; } + /** * * @@ -4029,6 +4112,7 @@ public com.google.pubsub.v1.PushConfig.NoWrapper getNoWrapper() { return com.google.pubsub.v1.PushConfig.NoWrapper.getDefaultInstance(); } } + /** * * @@ -4053,6 +4137,7 @@ public Builder setNoWrapper(com.google.pubsub.v1.PushConfig.NoWrapper value) { wrapperCase_ = 5; return this; } + /** * * @@ -4074,6 +4159,7 @@ public Builder setNoWrapper(com.google.pubsub.v1.PushConfig.NoWrapper.Builder bu wrapperCase_ = 5; return this; } + /** * * @@ -4108,6 +4194,7 @@ public Builder mergeNoWrapper(com.google.pubsub.v1.PushConfig.NoWrapper value) { wrapperCase_ = 5; return this; } + /** * * @@ -4135,6 +4222,7 @@ public Builder clearNoWrapper() { } return this; } + /** * * @@ -4149,6 +4237,7 @@ public Builder clearNoWrapper() { public com.google.pubsub.v1.PushConfig.NoWrapper.Builder getNoWrapperBuilder() { return getNoWrapperFieldBuilder().getBuilder(); } + /** * * @@ -4171,6 +4260,7 @@ public com.google.pubsub.v1.PushConfig.NoWrapperOrBuilder getNoWrapperOrBuilder( return com.google.pubsub.v1.PushConfig.NoWrapper.getDefaultInstance(); } } + /** * * 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 38b1bc963..784239904 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 @@ -37,6 +37,7 @@ public interface PushConfigOrBuilder * @return The pushEndpoint. */ java.lang.String getPushEndpoint(); + /** * * @@ -82,6 +83,7 @@ public interface PushConfigOrBuilder * */ int getAttributesCount(); + /** * * @@ -113,9 +115,11 @@ public interface PushConfigOrBuilder * */ boolean containsAttributes(java.lang.String key); + /** Use {@link #getAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAttributes(); + /** * * @@ -147,6 +151,7 @@ public interface PushConfigOrBuilder * */ java.util.Map getAttributesMap(); + /** * * @@ -182,6 +187,7 @@ java.lang.String getAttributesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); + /** * * @@ -230,6 +236,7 @@ java.lang.String getAttributesOrDefault( * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); + /** * * @@ -246,6 +253,7 @@ java.lang.String getAttributesOrDefault( * @return The oidcToken. */ com.google.pubsub.v1.PushConfig.OidcToken getOidcToken(); + /** * * @@ -277,6 +285,7 @@ java.lang.String getAttributesOrDefault( * @return Whether the pubsubWrapper field is set. */ boolean hasPubsubWrapper(); + /** * * @@ -293,6 +302,7 @@ java.lang.String getAttributesOrDefault( * @return The pubsubWrapper. */ com.google.pubsub.v1.PushConfig.PubsubWrapper getPubsubWrapper(); + /** * * @@ -322,6 +332,7 @@ java.lang.String getAttributesOrDefault( * @return Whether the noWrapper field is set. */ boolean hasNoWrapper(); + /** * * @@ -336,6 +347,7 @@ java.lang.String getAttributesOrDefault( * @return The noWrapper. */ com.google.pubsub.v1.PushConfig.NoWrapper getNoWrapper(); + /** * * 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 99bf4f40b..bf67f45de 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 @@ -33,6 +33,7 @@ public final class ReceivedMessage extends com.google.protobuf.GeneratedMessageV // @@protoc_insertion_point(message_implements:google.pubsub.v1.ReceivedMessage) ReceivedMessageOrBuilder { private static final long serialVersionUID = 0L; + // Use ReceivedMessage.newBuilder() to construct. private ReceivedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object ackId_ = ""; + /** * * @@ -91,6 +93,7 @@ public java.lang.String getAckId() { return s; } } + /** * * @@ -117,6 +120,7 @@ public com.google.protobuf.ByteString getAckIdBytes() { public static final int MESSAGE_FIELD_NUMBER = 2; private com.google.pubsub.v1.PubsubMessage message_; + /** * * @@ -133,6 +137,7 @@ public com.google.protobuf.ByteString getAckIdBytes() { public boolean hasMessage() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -149,6 +154,7 @@ public boolean hasMessage() { public com.google.pubsub.v1.PubsubMessage getMessage() { return message_ == null ? com.google.pubsub.v1.PubsubMessage.getDefaultInstance() : message_; } + /** * * @@ -166,6 +172,7 @@ public com.google.pubsub.v1.PubsubMessageOrBuilder getMessageOrBuilder() { public static final int DELIVERY_ATTEMPT_FIELD_NUMBER = 3; private int deliveryAttempt_ = 0; + /** * * @@ -377,6 +384,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -601,6 +609,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object ackId_ = ""; + /** * * @@ -623,6 +632,7 @@ public java.lang.String getAckId() { return (java.lang.String) ref; } } + /** * * @@ -645,6 +655,7 @@ public com.google.protobuf.ByteString getAckIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -666,6 +677,7 @@ public Builder setAckId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -683,6 +695,7 @@ public Builder clearAckId() { onChanged(); return this; } + /** * * @@ -712,6 +725,7 @@ public Builder setAckIdBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.PubsubMessage.Builder, com.google.pubsub.v1.PubsubMessageOrBuilder> messageBuilder_; + /** * * @@ -727,6 +741,7 @@ public Builder setAckIdBytes(com.google.protobuf.ByteString value) { public boolean hasMessage() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -748,6 +763,7 @@ public com.google.pubsub.v1.PubsubMessage getMessage() { return messageBuilder_.getMessage(); } } + /** * * @@ -771,6 +787,7 @@ public Builder setMessage(com.google.pubsub.v1.PubsubMessage value) { onChanged(); return this; } + /** * * @@ -791,6 +808,7 @@ public Builder setMessage(com.google.pubsub.v1.PubsubMessage.Builder builderForV onChanged(); return this; } + /** * * @@ -819,6 +837,7 @@ public Builder mergeMessage(com.google.pubsub.v1.PubsubMessage value) { } return this; } + /** * * @@ -839,6 +858,7 @@ public Builder clearMessage() { onChanged(); return this; } + /** * * @@ -854,6 +874,7 @@ public com.google.pubsub.v1.PubsubMessage.Builder getMessageBuilder() { onChanged(); return getMessageFieldBuilder().getBuilder(); } + /** * * @@ -873,6 +894,7 @@ public com.google.pubsub.v1.PubsubMessageOrBuilder getMessageOrBuilder() { : message_; } } + /** * * @@ -901,6 +923,7 @@ public com.google.pubsub.v1.PubsubMessageOrBuilder getMessageOrBuilder() { } private int deliveryAttempt_; + /** * * @@ -931,6 +954,7 @@ public com.google.pubsub.v1.PubsubMessageOrBuilder getMessageOrBuilder() { public int getDeliveryAttempt() { return deliveryAttempt_; } + /** * * @@ -965,6 +989,7 @@ public Builder setDeliveryAttempt(int value) { onChanged(); return this; } + /** * * 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 29e4bb6cb..186a843ca 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 @@ -36,6 +36,7 @@ public interface ReceivedMessageOrBuilder * @return The ackId. */ java.lang.String getAckId(); + /** * * @@ -62,6 +63,7 @@ public interface ReceivedMessageOrBuilder * @return Whether the message field is set. */ boolean hasMessage(); + /** * * @@ -75,6 +77,7 @@ public interface ReceivedMessageOrBuilder * @return The message. */ com.google.pubsub.v1.PubsubMessage getMessage(); + /** * * 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 87c8b94e9..ada2ba66b 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 @@ -43,6 +43,7 @@ public final class RetryPolicy extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.RetryPolicy) RetryPolicyOrBuilder { private static final long serialVersionUID = 0L; + // Use RetryPolicy.newBuilder() to construct. private RetryPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -72,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int bitField0_; public static final int MINIMUM_BACKOFF_FIELD_NUMBER = 1; private com.google.protobuf.Duration minimumBackoff_; + /** * * @@ -89,6 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public boolean hasMinimumBackoff() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -108,6 +111,7 @@ public com.google.protobuf.Duration getMinimumBackoff() { ? com.google.protobuf.Duration.getDefaultInstance() : minimumBackoff_; } + /** * * @@ -128,6 +132,7 @@ public com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder() { public static final int MAXIMUM_BACKOFF_FIELD_NUMBER = 2; private com.google.protobuf.Duration maximumBackoff_; + /** * * @@ -146,6 +151,7 @@ public com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder() { public boolean hasMaximumBackoff() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -166,6 +172,7 @@ public com.google.protobuf.Duration getMaximumBackoff() { ? com.google.protobuf.Duration.getDefaultInstance() : maximumBackoff_; } + /** * * @@ -361,6 +368,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -593,6 +601,7 @@ public Builder mergeFrom( com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minimumBackoffBuilder_; + /** * * @@ -610,6 +619,7 @@ public Builder mergeFrom( public boolean hasMinimumBackoff() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -633,6 +643,7 @@ public com.google.protobuf.Duration getMinimumBackoff() { return minimumBackoffBuilder_.getMessage(); } } + /** * * @@ -658,6 +669,7 @@ public Builder setMinimumBackoff(com.google.protobuf.Duration value) { onChanged(); return this; } + /** * * @@ -680,6 +692,7 @@ public Builder setMinimumBackoff(com.google.protobuf.Duration.Builder builderFor onChanged(); return this; } + /** * * @@ -710,6 +723,7 @@ public Builder mergeMinimumBackoff(com.google.protobuf.Duration value) { } return this; } + /** * * @@ -732,6 +746,7 @@ public Builder clearMinimumBackoff() { onChanged(); return this; } + /** * * @@ -749,6 +764,7 @@ public com.google.protobuf.Duration.Builder getMinimumBackoffBuilder() { onChanged(); return getMinimumBackoffFieldBuilder().getBuilder(); } + /** * * @@ -770,6 +786,7 @@ public com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder() { : minimumBackoff_; } } + /** * * @@ -805,6 +822,7 @@ public com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder() { com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maximumBackoffBuilder_; + /** * * @@ -823,6 +841,7 @@ public com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder() { public boolean hasMaximumBackoff() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -847,6 +866,7 @@ public com.google.protobuf.Duration getMaximumBackoff() { return maximumBackoffBuilder_.getMessage(); } } + /** * * @@ -873,6 +893,7 @@ public Builder setMaximumBackoff(com.google.protobuf.Duration value) { onChanged(); return this; } + /** * * @@ -896,6 +917,7 @@ public Builder setMaximumBackoff(com.google.protobuf.Duration.Builder builderFor onChanged(); return this; } + /** * * @@ -927,6 +949,7 @@ public Builder mergeMaximumBackoff(com.google.protobuf.Duration value) { } return this; } + /** * * @@ -950,6 +973,7 @@ public Builder clearMaximumBackoff() { onChanged(); return this; } + /** * * @@ -968,6 +992,7 @@ public com.google.protobuf.Duration.Builder getMaximumBackoffBuilder() { onChanged(); return getMaximumBackoffFieldBuilder().getBuilder(); } + /** * * @@ -990,6 +1015,7 @@ public com.google.protobuf.DurationOrBuilder getMaximumBackoffOrBuilder() { : maximumBackoff_; } } + /** * * 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 f49555336..5df0c7f6b 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 @@ -38,6 +38,7 @@ public interface RetryPolicyOrBuilder * @return Whether the minimumBackoff field is set. */ boolean hasMinimumBackoff(); + /** * * @@ -52,6 +53,7 @@ public interface RetryPolicyOrBuilder * @return The minimumBackoff. */ com.google.protobuf.Duration getMinimumBackoff(); + /** * * @@ -80,6 +82,7 @@ public interface RetryPolicyOrBuilder * @return Whether the maximumBackoff field is set. */ boolean hasMaximumBackoff(); + /** * * @@ -95,6 +98,7 @@ public interface RetryPolicyOrBuilder * @return The maximumBackoff. */ com.google.protobuf.Duration getMaximumBackoff(); + /** * * 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 26df96db4..cefb591a5 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 @@ -33,6 +33,7 @@ public final class RollbackSchemaRequest extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.RollbackSchemaRequest) RollbackSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use RollbackSchemaRequest.newBuilder() to construct. private RollbackSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -93,6 +95,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getNameBytes() { @SuppressWarnings("serial") private volatile java.lang.Object revisionId_ = ""; + /** * * @@ -149,6 +153,7 @@ public java.lang.String getRevisionId() { return s; } } + /** * * @@ -344,6 +349,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -542,6 +548,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -566,6 +573,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -590,6 +598,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -613,6 +622,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -632,6 +642,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -658,6 +669,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.lang.Object revisionId_ = ""; + /** * * @@ -683,6 +695,7 @@ public java.lang.String getRevisionId() { return (java.lang.String) ref; } } + /** * * @@ -708,6 +721,7 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -732,6 +746,7 @@ public Builder setRevisionId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -752,6 +767,7 @@ public Builder clearRevisionId() { onChanged(); return this; } + /** * * 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 de66b349e..ba89f7dbf 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 @@ -38,6 +38,7 @@ public interface RollbackSchemaRequestOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -68,6 +69,7 @@ public interface RollbackSchemaRequestOrBuilder * @return The revisionId. */ java.lang.String getRevisionId(); + /** * * 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 0b7f06f7a..806544f74 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 @@ -33,6 +33,7 @@ public final class Schema extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.Schema) SchemaOrBuilder { private static final long serialVersionUID = 0L; + // Use Schema.newBuilder() to construct. private Schema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -117,6 +118,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * TYPE_UNSPECIFIED = 0; */ public static final int TYPE_UNSPECIFIED_VALUE = 0; + /** * * @@ -127,6 +129,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { * PROTOCOL_BUFFER = 1; */ public static final int PROTOCOL_BUFFER_VALUE = 1; + /** * * @@ -226,6 +229,7 @@ private Type(int value) { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -250,6 +254,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -277,6 +282,7 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; + /** * * @@ -292,6 +298,7 @@ public com.google.protobuf.ByteString getNameBytes() { public int getTypeValue() { return type_; } + /** * * @@ -313,6 +320,7 @@ public com.google.pubsub.v1.Schema.Type getType() { @SuppressWarnings("serial") private volatile java.lang.Object definition_ = ""; + /** * * @@ -338,6 +346,7 @@ public java.lang.String getDefinition() { return s; } } + /** * * @@ -368,6 +377,7 @@ public com.google.protobuf.ByteString getDefinitionBytes() { @SuppressWarnings("serial") private volatile java.lang.Object revisionId_ = ""; + /** * * @@ -393,6 +403,7 @@ public java.lang.String getRevisionId() { return s; } } + /** * * @@ -421,6 +432,7 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp revisionCreateTime_; + /** * * @@ -438,6 +450,7 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { public boolean hasRevisionCreateTime() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -457,6 +470,7 @@ public com.google.protobuf.Timestamp getRevisionCreateTime() { ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } + /** * * @@ -673,6 +687,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -928,6 +943,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -951,6 +967,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -974,6 +991,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -996,6 +1014,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1014,6 +1033,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -1039,6 +1059,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private int type_ = 0; + /** * * @@ -1054,6 +1075,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { public int getTypeValue() { return type_; } + /** * * @@ -1072,6 +1094,7 @@ public Builder setTypeValue(int value) { onChanged(); return this; } + /** * * @@ -1088,6 +1111,7 @@ public com.google.pubsub.v1.Schema.Type getType() { com.google.pubsub.v1.Schema.Type result = com.google.pubsub.v1.Schema.Type.forNumber(type_); return result == null ? com.google.pubsub.v1.Schema.Type.UNRECOGNIZED : result; } + /** * * @@ -1109,6 +1133,7 @@ public Builder setType(com.google.pubsub.v1.Schema.Type value) { onChanged(); return this; } + /** * * @@ -1128,6 +1153,7 @@ public Builder clearType() { } private java.lang.Object definition_ = ""; + /** * * @@ -1152,6 +1178,7 @@ public java.lang.String getDefinition() { return (java.lang.String) ref; } } + /** * * @@ -1176,6 +1203,7 @@ public com.google.protobuf.ByteString getDefinitionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1199,6 +1227,7 @@ public Builder setDefinition(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1218,6 +1247,7 @@ public Builder clearDefinition() { onChanged(); return this; } + /** * * @@ -1244,6 +1274,7 @@ public Builder setDefinitionBytes(com.google.protobuf.ByteString value) { } private java.lang.Object revisionId_ = ""; + /** * * @@ -1268,6 +1299,7 @@ public java.lang.String getRevisionId() { return (java.lang.String) ref; } } + /** * * @@ -1292,6 +1324,7 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1315,6 +1348,7 @@ public Builder setRevisionId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1334,6 +1368,7 @@ public Builder clearRevisionId() { onChanged(); return this; } + /** * * @@ -1365,6 +1400,7 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; + /** * * @@ -1381,6 +1417,7 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { public boolean hasRevisionCreateTime() { return ((bitField0_ & 0x00000010) != 0); } + /** * * @@ -1403,6 +1440,7 @@ public com.google.protobuf.Timestamp getRevisionCreateTime() { return revisionCreateTimeBuilder_.getMessage(); } } + /** * * @@ -1427,6 +1465,7 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { onChanged(); return this; } + /** * * @@ -1448,6 +1487,7 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder build onChanged(); return this; } + /** * * @@ -1477,6 +1517,7 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { } return this; } + /** * * @@ -1498,6 +1539,7 @@ public Builder clearRevisionCreateTime() { onChanged(); return this; } + /** * * @@ -1514,6 +1556,7 @@ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } + /** * * @@ -1534,6 +1577,7 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { : revisionCreateTime_; } } + /** * * 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 81907d0bc..87d31f491 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 @@ -37,6 +37,7 @@ public interface SchemaOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -63,6 +64,7 @@ public interface SchemaOrBuilder * @return The enum numeric value on the wire for type. */ int getTypeValue(); + /** * * @@ -90,6 +92,7 @@ public interface SchemaOrBuilder * @return The definition. */ java.lang.String getDefinition(); + /** * * @@ -119,6 +122,7 @@ public interface SchemaOrBuilder * @return The revisionId. */ java.lang.String getRevisionId(); + /** * * @@ -148,6 +152,7 @@ public interface SchemaOrBuilder * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); + /** * * @@ -162,6 +167,7 @@ public interface SchemaOrBuilder * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); + /** * * 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 27f4675b1..b1879310c 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 @@ -197,11 +197,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "alidateMessage:\001*\032p\312A\025pubsub.googleapis." + "com\322AUhttps://www.googleapis.com/auth/cl" + "oud-platform,https://www.googleapis.com/" - + "auth/pubsubB\247\001\n\024com.google.pubsub.v1B\013Sc" - + "hemaProtoP\001Z2cloud.google.com/go/pubsub/" - + "apiv1/pubsubpb;pubsubpb\252\002\026Google.Cloud.P" - + "ubSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031Goog" - + "le::Cloud::PubSub::V1b\006proto3" + + "auth/pubsubB\252\001\n\024com.google.pubsub.v1B\013Sc" + + "hemaProtoP\001Z5cloud.google.com/go/pubsub/" + + "v2/apiv1/pubsubpb;pubsubpb\252\002\026Google.Clou" + + "d.PubSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031G" + + "oogle::Cloud::PubSub::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 215c89158..17410973f 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 @@ -33,6 +33,7 @@ public final class SchemaSettings extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.SchemaSettings) SchemaSettingsOrBuilder { private static final long serialVersionUID = 0L; + // Use SchemaSettings.newBuilder() to construct. private SchemaSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -70,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object schema_ = ""; + /** * * @@ -98,6 +100,7 @@ public java.lang.String getSchema() { return s; } } + /** * * @@ -129,6 +132,7 @@ public com.google.protobuf.ByteString getSchemaBytes() { public static final int ENCODING_FIELD_NUMBER = 2; private int encoding_ = 0; + /** * * @@ -144,6 +148,7 @@ public com.google.protobuf.ByteString getSchemaBytes() { public int getEncodingValue() { return encoding_; } + /** * * @@ -165,6 +170,7 @@ public com.google.pubsub.v1.Encoding getEncoding() { @SuppressWarnings("serial") private volatile java.lang.Object firstRevisionId_ = ""; + /** * * @@ -190,6 +196,7 @@ public java.lang.String getFirstRevisionId() { return s; } } + /** * * @@ -220,6 +227,7 @@ public com.google.protobuf.ByteString getFirstRevisionIdBytes() { @SuppressWarnings("serial") private volatile java.lang.Object lastRevisionId_ = ""; + /** * * @@ -245,6 +253,7 @@ public java.lang.String getLastRevisionId() { return s; } } + /** * * @@ -455,6 +464,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -680,6 +690,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object schema_ = ""; + /** * * @@ -707,6 +718,7 @@ public java.lang.String getSchema() { return (java.lang.String) ref; } } + /** * * @@ -734,6 +746,7 @@ public com.google.protobuf.ByteString getSchemaBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -760,6 +773,7 @@ public Builder setSchema(java.lang.String value) { onChanged(); return this; } + /** * * @@ -782,6 +796,7 @@ public Builder clearSchema() { onChanged(); return this; } + /** * * @@ -811,6 +826,7 @@ public Builder setSchemaBytes(com.google.protobuf.ByteString value) { } private int encoding_ = 0; + /** * * @@ -827,6 +843,7 @@ public Builder setSchemaBytes(com.google.protobuf.ByteString value) { public int getEncodingValue() { return encoding_; } + /** * * @@ -846,6 +863,7 @@ public Builder setEncodingValue(int value) { onChanged(); return this; } + /** * * @@ -863,6 +881,7 @@ public com.google.pubsub.v1.Encoding getEncoding() { com.google.pubsub.v1.Encoding result = com.google.pubsub.v1.Encoding.forNumber(encoding_); return result == null ? com.google.pubsub.v1.Encoding.UNRECOGNIZED : result; } + /** * * @@ -885,6 +904,7 @@ public Builder setEncoding(com.google.pubsub.v1.Encoding value) { onChanged(); return this; } + /** * * @@ -905,6 +925,7 @@ public Builder clearEncoding() { } private java.lang.Object firstRevisionId_ = ""; + /** * * @@ -929,6 +950,7 @@ public java.lang.String getFirstRevisionId() { return (java.lang.String) ref; } } + /** * * @@ -953,6 +975,7 @@ public com.google.protobuf.ByteString getFirstRevisionIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -976,6 +999,7 @@ public Builder setFirstRevisionId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -995,6 +1019,7 @@ public Builder clearFirstRevisionId() { onChanged(); return this; } + /** * * @@ -1021,6 +1046,7 @@ public Builder setFirstRevisionIdBytes(com.google.protobuf.ByteString value) { } private java.lang.Object lastRevisionId_ = ""; + /** * * @@ -1045,6 +1071,7 @@ public java.lang.String getLastRevisionId() { return (java.lang.String) ref; } } + /** * * @@ -1069,6 +1096,7 @@ public com.google.protobuf.ByteString getLastRevisionIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1092,6 +1120,7 @@ public Builder setLastRevisionId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1111,6 +1140,7 @@ public Builder clearLastRevisionId() { onChanged(); return this; } + /** * * 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 b37d4d936..8c63c701b 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 @@ -41,6 +41,7 @@ public interface SchemaSettingsOrBuilder * @return The schema. */ java.lang.String getSchema(); + /** * * @@ -71,6 +72,7 @@ public interface SchemaSettingsOrBuilder * @return The enum numeric value on the wire for encoding. */ int getEncodingValue(); + /** * * @@ -98,6 +100,7 @@ public interface SchemaSettingsOrBuilder * @return The firstRevisionId. */ java.lang.String getFirstRevisionId(); + /** * * @@ -127,6 +130,7 @@ public interface SchemaSettingsOrBuilder * @return The lastRevisionId. */ java.lang.String getLastRevisionId(); + /** * * 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 5234521c0..5161ad85d 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 @@ -74,6 +74,7 @@ public enum SchemaView implements com.google.protobuf.ProtocolMessageEnum { * SCHEMA_VIEW_UNSPECIFIED = 0; */ public static final int SCHEMA_VIEW_UNSPECIFIED_VALUE = 0; + /** * * @@ -84,6 +85,7 @@ public enum SchemaView implements com.google.protobuf.ProtocolMessageEnum { * BASIC = 1; */ public static final int BASIC_VALUE = 1; + /** * * 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 fabd51b78..d15e4efb2 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 @@ -33,6 +33,7 @@ public final class SeekRequest extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.SeekRequest) SeekRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use SeekRequest.newBuilder() to construct. private SeekRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -78,6 +79,7 @@ public enum TargetCase private TargetCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -114,6 +116,7 @@ public TargetCase getTargetCase() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -139,6 +142,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -166,6 +170,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { } public static final int TIME_FIELD_NUMBER = 2; + /** * * @@ -191,6 +196,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { public boolean hasTime() { return targetCase_ == 2; } + /** * * @@ -219,6 +225,7 @@ public com.google.protobuf.Timestamp getTime() { } return com.google.protobuf.Timestamp.getDefaultInstance(); } + /** * * @@ -247,6 +254,7 @@ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { } public static final int SNAPSHOT_FIELD_NUMBER = 3; + /** * * @@ -265,6 +273,7 @@ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { public boolean hasSnapshot() { return targetCase_ == 3; } + /** * * @@ -296,6 +305,7 @@ public java.lang.String getSnapshot() { return s; } } + /** * * @@ -522,6 +532,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -763,6 +774,7 @@ public Builder clearTarget() { private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -787,6 +799,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -811,6 +824,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -834,6 +848,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -853,6 +868,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -883,6 +899,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timeBuilder_; + /** * * @@ -908,6 +925,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { public boolean hasTime() { return targetCase_ == 2; } + /** * * @@ -943,6 +961,7 @@ public com.google.protobuf.Timestamp getTime() { return com.google.protobuf.Timestamp.getDefaultInstance(); } } + /** * * @@ -975,6 +994,7 @@ public Builder setTime(com.google.protobuf.Timestamp value) { targetCase_ = 2; return this; } + /** * * @@ -1004,6 +1024,7 @@ public Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue) { targetCase_ = 2; return this; } + /** * * @@ -1044,6 +1065,7 @@ public Builder mergeTime(com.google.protobuf.Timestamp value) { targetCase_ = 2; return this; } + /** * * @@ -1079,6 +1101,7 @@ public Builder clearTime() { } return this; } + /** * * @@ -1101,6 +1124,7 @@ public Builder clearTime() { public com.google.protobuf.Timestamp.Builder getTimeBuilder() { return getTimeFieldBuilder().getBuilder(); } + /** * * @@ -1131,6 +1155,7 @@ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { return com.google.protobuf.Timestamp.getDefaultInstance(); } } + /** * * @@ -1191,6 +1216,7 @@ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { public boolean hasSnapshot() { return targetCase_ == 3; } + /** * * @@ -1223,6 +1249,7 @@ public java.lang.String getSnapshot() { return (java.lang.String) ref; } } + /** * * @@ -1255,6 +1282,7 @@ public com.google.protobuf.ByteString getSnapshotBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1280,6 +1308,7 @@ public Builder setSnapshot(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1303,6 +1332,7 @@ public Builder clearSnapshot() { } return this; } + /** * * 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 359b6ae0e..b42511c05 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 @@ -38,6 +38,7 @@ public interface SeekRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * @@ -75,6 +76,7 @@ public interface SeekRequestOrBuilder * @return Whether the time field is set. */ boolean hasTime(); + /** * * @@ -97,6 +99,7 @@ public interface SeekRequestOrBuilder * @return The time. */ com.google.protobuf.Timestamp getTime(); + /** * * @@ -134,6 +137,7 @@ public interface SeekRequestOrBuilder * @return Whether the snapshot field is set. */ boolean hasSnapshot(); + /** * * @@ -150,6 +154,7 @@ public interface SeekRequestOrBuilder * @return The snapshot. */ java.lang.String getSnapshot(); + /** * * 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 247167769..3170e5b2c 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 @@ -33,6 +33,7 @@ public final class SeekResponse extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.SeekResponse) SeekResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use SeekResponse.newBuilder() to construct. private SeekResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -209,6 +210,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * 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 781585a23..d06ea822f 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 @@ -37,6 +37,7 @@ public final class Snapshot extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.Snapshot) SnapshotOrBuilder { private static final long serialVersionUID = 0L; + // Use Snapshot.newBuilder() to construct. private Snapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -83,6 +84,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -106,6 +108,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -134,6 +137,7 @@ public com.google.protobuf.ByteString getNameBytes() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -160,6 +164,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -189,6 +194,7 @@ public com.google.protobuf.ByteString getTopicBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp expireTime_; + /** * * @@ -214,6 +220,7 @@ public com.google.protobuf.ByteString getTopicBytes() { public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -239,6 +246,7 @@ public boolean hasExpireTime() { public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } + /** * * @@ -289,6 +297,7 @@ private com.google.protobuf.MapField interna public int getLabelsCount() { return internalGetLabels().getMap().size(); } + /** * * @@ -306,12 +315,14 @@ public boolean containsLabels(java.lang.String key) { } return internalGetLabels().getMap().containsKey(key); } + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } + /** * * @@ -326,6 +337,7 @@ public java.util.Map getLabels() { public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } + /** * * @@ -347,6 +359,7 @@ public java.util.Map getLabelsMap() { java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -566,6 +579,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -834,6 +848,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -856,6 +871,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -878,6 +894,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -899,6 +916,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -916,6 +934,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -940,6 +959,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.lang.Object topic_ = ""; + /** * * @@ -965,6 +985,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -990,6 +1011,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1014,6 +1036,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1034,6 +1057,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -1066,6 +1090,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + /** * * @@ -1090,6 +1115,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { public boolean hasExpireTime() { return ((bitField0_ & 0x00000004) != 0); } + /** * * @@ -1120,6 +1146,7 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTimeBuilder_.getMessage(); } } + /** * * @@ -1152,6 +1179,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { onChanged(); return this; } + /** * * @@ -1181,6 +1209,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal onChanged(); return this; } + /** * * @@ -1218,6 +1247,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { } return this; } + /** * * @@ -1247,6 +1277,7 @@ public Builder clearExpireTime() { onChanged(); return this; } + /** * * @@ -1271,6 +1302,7 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } + /** * * @@ -1299,6 +1331,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { : expireTime_; } } + /** * * @@ -1360,6 +1393,7 @@ private com.google.protobuf.MapField interna public int getLabelsCount() { return internalGetLabels().getMap().size(); } + /** * * @@ -1377,12 +1411,14 @@ public boolean containsLabels(java.lang.String key) { } return internalGetLabels().getMap().containsKey(key); } + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } + /** * * @@ -1397,6 +1433,7 @@ public java.util.Map getLabels() { public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } + /** * * @@ -1418,6 +1455,7 @@ public java.util.Map getLabelsMap() { java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -1445,6 +1483,7 @@ public Builder clearLabels() { internalGetMutableLabels().getMutableMap().clear(); return this; } + /** * * @@ -1462,12 +1501,14 @@ public Builder removeLabels(java.lang.String key) { internalGetMutableLabels().getMutableMap().remove(key); return this; } + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } + /** * * @@ -1489,6 +1530,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { bitField0_ |= 0x00000008; return this; } + /** * * 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 a5606bb50..b24d94416 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 @@ -36,6 +36,7 @@ public interface SnapshotOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -64,6 +65,7 @@ public interface SnapshotOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * @@ -102,6 +104,7 @@ public interface SnapshotOrBuilder * @return Whether the expireTime field is set. */ boolean hasExpireTime(); + /** * * @@ -124,6 +127,7 @@ public interface SnapshotOrBuilder * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); + /** * * @@ -156,6 +160,7 @@ public interface SnapshotOrBuilder * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getLabelsCount(); + /** * * @@ -167,9 +172,11 @@ public interface SnapshotOrBuilder * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; */ boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); + /** * * @@ -181,6 +188,7 @@ public interface SnapshotOrBuilder * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map getLabelsMap(); + /** * * @@ -196,6 +204,7 @@ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); + /** * * 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 478c32125..017b0d912 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 @@ -35,6 +35,7 @@ public final class StreamingPullRequest extends com.google.protobuf.GeneratedMes // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullRequest) StreamingPullRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use StreamingPullRequest.newBuilder() to construct. private StreamingPullRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -73,6 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -101,6 +103,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -135,6 +138,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ackIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -154,6 +158,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { public com.google.protobuf.ProtocolStringList getAckIdsList() { return ackIds_; } + /** * * @@ -173,6 +178,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -193,6 +199,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -218,6 +225,7 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) { @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList modifyDeadlineSeconds_ = emptyIntList(); + /** * * @@ -244,6 +252,7 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) { public java.util.List getModifyDeadlineSecondsList() { return modifyDeadlineSeconds_; } + /** * * @@ -269,6 +278,7 @@ public java.util.List getModifyDeadlineSecondsList() { public int getModifyDeadlineSecondsCount() { return modifyDeadlineSeconds_.size(); } + /** * * @@ -303,6 +313,7 @@ public int getModifyDeadlineSeconds(int index) { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList modifyDeadlineAckIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -322,6 +333,7 @@ public int getModifyDeadlineSeconds(int index) { public com.google.protobuf.ProtocolStringList getModifyDeadlineAckIdsList() { return modifyDeadlineAckIds_; } + /** * * @@ -341,6 +353,7 @@ public com.google.protobuf.ProtocolStringList getModifyDeadlineAckIdsList() { public int getModifyDeadlineAckIdsCount() { return modifyDeadlineAckIds_.size(); } + /** * * @@ -361,6 +374,7 @@ public int getModifyDeadlineAckIdsCount() { public java.lang.String getModifyDeadlineAckIds(int index) { return modifyDeadlineAckIds_.get(index); } + /** * * @@ -384,6 +398,7 @@ public com.google.protobuf.ByteString getModifyDeadlineAckIdsBytes(int index) { public static final int STREAM_ACK_DEADLINE_SECONDS_FIELD_NUMBER = 5; private int streamAckDeadlineSeconds_ = 0; + /** * * @@ -407,6 +422,7 @@ public int getStreamAckDeadlineSeconds() { @SuppressWarnings("serial") private volatile java.lang.Object clientId_ = ""; + /** * * @@ -435,6 +451,7 @@ public java.lang.String getClientId() { return s; } } + /** * * @@ -466,6 +483,7 @@ public com.google.protobuf.ByteString getClientIdBytes() { public static final int MAX_OUTSTANDING_MESSAGES_FIELD_NUMBER = 7; private long maxOutstandingMessages_ = 0L; + /** * * @@ -492,6 +510,7 @@ public long getMaxOutstandingMessages() { public static final int MAX_OUTSTANDING_BYTES_FIELD_NUMBER = 8; private long maxOutstandingBytes_ = 0L; + /** * * @@ -771,6 +790,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -1088,6 +1108,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object subscription_ = ""; + /** * * @@ -1115,6 +1136,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -1142,6 +1164,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1168,6 +1191,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1190,6 +1214,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -1227,6 +1252,7 @@ private void ensureAckIdsIsMutable() { } bitField0_ |= 0x00000002; } + /** * * @@ -1247,6 +1273,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { ackIds_.makeImmutable(); return ackIds_; } + /** * * @@ -1266,6 +1293,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -1286,6 +1314,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -1306,6 +1335,7 @@ public java.lang.String getAckIds(int index) { public com.google.protobuf.ByteString getAckIdsBytes(int index) { return ackIds_.getByteString(index); } + /** * * @@ -1334,6 +1364,7 @@ public Builder setAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -1361,6 +1392,7 @@ public Builder addAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1385,6 +1417,7 @@ public Builder addAllAckIds(java.lang.Iterable values) { onChanged(); return this; } + /** * * @@ -1408,6 +1441,7 @@ public Builder clearAckIds() { onChanged(); return this; } + /** * * @@ -1445,6 +1479,7 @@ private void ensureModifyDeadlineSecondsIsMutable() { } bitField0_ |= 0x00000004; } + /** * * @@ -1471,6 +1506,7 @@ public java.util.List getModifyDeadlineSecondsList() { modifyDeadlineSeconds_.makeImmutable(); return modifyDeadlineSeconds_; } + /** * * @@ -1496,6 +1532,7 @@ public java.util.List getModifyDeadlineSecondsList() { public int getModifyDeadlineSecondsCount() { return modifyDeadlineSeconds_.size(); } + /** * * @@ -1522,6 +1559,7 @@ public int getModifyDeadlineSecondsCount() { public int getModifyDeadlineSeconds(int index) { return modifyDeadlineSeconds_.getInt(index); } + /** * * @@ -1554,6 +1592,7 @@ public Builder setModifyDeadlineSeconds(int index, int value) { onChanged(); return this; } + /** * * @@ -1585,6 +1624,7 @@ public Builder addModifyDeadlineSeconds(int value) { onChanged(); return this; } + /** * * @@ -1616,6 +1656,7 @@ public Builder addAllModifyDeadlineSeconds( onChanged(); return this; } + /** * * @@ -1654,6 +1695,7 @@ private void ensureModifyDeadlineAckIdsIsMutable() { } bitField0_ |= 0x00000008; } + /** * * @@ -1674,6 +1716,7 @@ public com.google.protobuf.ProtocolStringList getModifyDeadlineAckIdsList() { modifyDeadlineAckIds_.makeImmutable(); return modifyDeadlineAckIds_; } + /** * * @@ -1693,6 +1736,7 @@ public com.google.protobuf.ProtocolStringList getModifyDeadlineAckIdsList() { public int getModifyDeadlineAckIdsCount() { return modifyDeadlineAckIds_.size(); } + /** * * @@ -1713,6 +1757,7 @@ public int getModifyDeadlineAckIdsCount() { public java.lang.String getModifyDeadlineAckIds(int index) { return modifyDeadlineAckIds_.get(index); } + /** * * @@ -1733,6 +1778,7 @@ public java.lang.String getModifyDeadlineAckIds(int index) { public com.google.protobuf.ByteString getModifyDeadlineAckIdsBytes(int index) { return modifyDeadlineAckIds_.getByteString(index); } + /** * * @@ -1761,6 +1807,7 @@ public Builder setModifyDeadlineAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -1788,6 +1835,7 @@ public Builder addModifyDeadlineAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1812,6 +1860,7 @@ public Builder addAllModifyDeadlineAckIds(java.lang.Iterable v onChanged(); return this; } + /** * * @@ -1835,6 +1884,7 @@ public Builder clearModifyDeadlineAckIds() { onChanged(); return this; } + /** * * @@ -1865,6 +1915,7 @@ public Builder addModifyDeadlineAckIdsBytes(com.google.protobuf.ByteString value } private int streamAckDeadlineSeconds_; + /** * * @@ -1883,6 +1934,7 @@ public Builder addModifyDeadlineAckIdsBytes(com.google.protobuf.ByteString value public int getStreamAckDeadlineSeconds() { return streamAckDeadlineSeconds_; } + /** * * @@ -1905,6 +1957,7 @@ public Builder setStreamAckDeadlineSeconds(int value) { onChanged(); return this; } + /** * * @@ -1927,6 +1980,7 @@ public Builder clearStreamAckDeadlineSeconds() { } private java.lang.Object clientId_ = ""; + /** * * @@ -1954,6 +2008,7 @@ public java.lang.String getClientId() { return (java.lang.String) ref; } } + /** * * @@ -1981,6 +2036,7 @@ public com.google.protobuf.ByteString getClientIdBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -2007,6 +2063,7 @@ public Builder setClientId(java.lang.String value) { onChanged(); return this; } + /** * * @@ -2029,6 +2086,7 @@ public Builder clearClientId() { onChanged(); return this; } + /** * * @@ -2058,6 +2116,7 @@ public Builder setClientIdBytes(com.google.protobuf.ByteString value) { } private long maxOutstandingMessages_; + /** * * @@ -2081,6 +2140,7 @@ public Builder setClientIdBytes(com.google.protobuf.ByteString value) { public long getMaxOutstandingMessages() { return maxOutstandingMessages_; } + /** * * @@ -2108,6 +2168,7 @@ public Builder setMaxOutstandingMessages(long value) { onChanged(); return this; } + /** * * @@ -2135,6 +2196,7 @@ public Builder clearMaxOutstandingMessages() { } private long maxOutstandingBytes_; + /** * * @@ -2158,6 +2220,7 @@ public Builder clearMaxOutstandingMessages() { public long getMaxOutstandingBytes() { return maxOutstandingBytes_; } + /** * * @@ -2185,6 +2248,7 @@ public Builder setMaxOutstandingBytes(long value) { onChanged(); return this; } + /** * * 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 b1de4d1b7..675fc7532 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 @@ -41,6 +41,7 @@ public interface StreamingPullRequestOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * @@ -76,6 +77,7 @@ public interface StreamingPullRequestOrBuilder * @return A list containing the ackIds. */ java.util.List getAckIdsList(); + /** * * @@ -93,6 +95,7 @@ public interface StreamingPullRequestOrBuilder * @return The count of ackIds. */ int getAckIdsCount(); + /** * * @@ -111,6 +114,7 @@ public interface StreamingPullRequestOrBuilder * @return The ackIds at the given index. */ java.lang.String getAckIds(int index); + /** * * @@ -153,6 +157,7 @@ public interface StreamingPullRequestOrBuilder * @return A list containing the modifyDeadlineSeconds. */ java.util.List getModifyDeadlineSecondsList(); + /** * * @@ -176,6 +181,7 @@ public interface StreamingPullRequestOrBuilder * @return The count of modifyDeadlineSeconds. */ int getModifyDeadlineSecondsCount(); + /** * * @@ -218,6 +224,7 @@ public interface StreamingPullRequestOrBuilder * @return A list containing the modifyDeadlineAckIds. */ java.util.List getModifyDeadlineAckIdsList(); + /** * * @@ -235,6 +242,7 @@ public interface StreamingPullRequestOrBuilder * @return The count of modifyDeadlineAckIds. */ int getModifyDeadlineAckIdsCount(); + /** * * @@ -253,6 +261,7 @@ public interface StreamingPullRequestOrBuilder * @return The modifyDeadlineAckIds at the given index. */ java.lang.String getModifyDeadlineAckIds(int index); + /** * * @@ -305,6 +314,7 @@ public interface StreamingPullRequestOrBuilder * @return The clientId. */ java.lang.String getClientId(); + /** * * 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 4a9fb2591..229d1456f 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 @@ -34,6 +34,7 @@ public final class StreamingPullResponse extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullResponse) StreamingPullResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use StreamingPullResponse.newBuilder() to construct. private StreamingPullResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -81,6 +82,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return A list containing the ackIds. */ java.util.List getAckIdsList(); + /** * * @@ -93,6 +95,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return The count of ackIds. */ int getAckIdsCount(); + /** * * @@ -106,6 +109,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return The ackIds at the given index. */ java.lang.String getAckIds(int index); + /** * * @@ -133,6 +137,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return A list containing the invalidAckIds. */ java.util.List getInvalidAckIdsList(); + /** * * @@ -146,6 +151,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return The count of invalidAckIds. */ int getInvalidAckIdsCount(); + /** * * @@ -160,6 +166,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return The invalidAckIds at the given index. */ java.lang.String getInvalidAckIds(int index); + /** * * @@ -187,6 +194,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return A list containing the unorderedAckIds. */ java.util.List getUnorderedAckIdsList(); + /** * * @@ -199,6 +207,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return The count of unorderedAckIds. */ int getUnorderedAckIdsCount(); + /** * * @@ -212,6 +221,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return The unorderedAckIds at the given index. */ java.lang.String getUnorderedAckIds(int index); + /** * * @@ -240,6 +250,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return A list containing the temporaryFailedAckIds. */ java.util.List getTemporaryFailedAckIdsList(); + /** * * @@ -254,6 +265,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return The count of temporaryFailedAckIds. */ int getTemporaryFailedAckIdsCount(); + /** * * @@ -269,6 +281,7 @@ public interface AcknowledgeConfirmationOrBuilder * @return The temporaryFailedAckIds at the given index. */ java.lang.String getTemporaryFailedAckIds(int index); + /** * * @@ -285,6 +298,7 @@ public interface AcknowledgeConfirmationOrBuilder */ com.google.protobuf.ByteString getTemporaryFailedAckIdsBytes(int index); } + /** * * @@ -300,6 +314,7 @@ public static final class AcknowledgeConfirmation extends com.google.protobuf.Ge // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation) AcknowledgeConfirmationOrBuilder { private static final long serialVersionUID = 0L; + // Use AcknowledgeConfirmation.newBuilder() to construct. private AcknowledgeConfirmation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -338,6 +353,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ackIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -352,6 +368,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public com.google.protobuf.ProtocolStringList getAckIdsList() { return ackIds_; } + /** * * @@ -366,6 +383,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -381,6 +399,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -402,6 +421,7 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList invalidAckIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -417,6 +437,7 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) { public com.google.protobuf.ProtocolStringList getInvalidAckIdsList() { return invalidAckIds_; } + /** * * @@ -432,6 +453,7 @@ public com.google.protobuf.ProtocolStringList getInvalidAckIdsList() { public int getInvalidAckIdsCount() { return invalidAckIds_.size(); } + /** * * @@ -448,6 +470,7 @@ public int getInvalidAckIdsCount() { public java.lang.String getInvalidAckIds(int index) { return invalidAckIds_.get(index); } + /** * * @@ -470,6 +493,7 @@ public com.google.protobuf.ByteString getInvalidAckIdsBytes(int index) { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unorderedAckIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -484,6 +508,7 @@ public com.google.protobuf.ByteString getInvalidAckIdsBytes(int index) { public com.google.protobuf.ProtocolStringList getUnorderedAckIdsList() { return unorderedAckIds_; } + /** * * @@ -498,6 +523,7 @@ public com.google.protobuf.ProtocolStringList getUnorderedAckIdsList() { public int getUnorderedAckIdsCount() { return unorderedAckIds_.size(); } + /** * * @@ -513,6 +539,7 @@ public int getUnorderedAckIdsCount() { public java.lang.String getUnorderedAckIds(int index) { return unorderedAckIds_.get(index); } + /** * * @@ -534,6 +561,7 @@ public com.google.protobuf.ByteString getUnorderedAckIdsBytes(int index) { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList temporaryFailedAckIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -550,6 +578,7 @@ public com.google.protobuf.ByteString getUnorderedAckIdsBytes(int index) { public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList() { return temporaryFailedAckIds_; } + /** * * @@ -566,6 +595,7 @@ public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList() { public int getTemporaryFailedAckIdsCount() { return temporaryFailedAckIds_.size(); } + /** * * @@ -583,6 +613,7 @@ public int getTemporaryFailedAckIdsCount() { public java.lang.String getTemporaryFailedAckIds(int index) { return temporaryFailedAckIds_.get(index); } + /** * * @@ -820,6 +851,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -1096,6 +1128,7 @@ private void ensureAckIdsIsMutable() { } bitField0_ |= 0x00000001; } + /** * * @@ -1111,6 +1144,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { ackIds_.makeImmutable(); return ackIds_; } + /** * * @@ -1125,6 +1159,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -1140,6 +1175,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -1155,6 +1191,7 @@ public java.lang.String getAckIds(int index) { public com.google.protobuf.ByteString getAckIdsBytes(int index) { return ackIds_.getByteString(index); } + /** * * @@ -1178,6 +1215,7 @@ public Builder setAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -1200,6 +1238,7 @@ public Builder addAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1219,6 +1258,7 @@ public Builder addAllAckIds(java.lang.Iterable values) { onChanged(); return this; } + /** * * @@ -1237,6 +1277,7 @@ public Builder clearAckIds() { onChanged(); return this; } + /** * * @@ -1270,6 +1311,7 @@ private void ensureInvalidAckIdsIsMutable() { } bitField0_ |= 0x00000002; } + /** * * @@ -1286,6 +1328,7 @@ public com.google.protobuf.ProtocolStringList getInvalidAckIdsList() { invalidAckIds_.makeImmutable(); return invalidAckIds_; } + /** * * @@ -1301,6 +1344,7 @@ public com.google.protobuf.ProtocolStringList getInvalidAckIdsList() { public int getInvalidAckIdsCount() { return invalidAckIds_.size(); } + /** * * @@ -1317,6 +1361,7 @@ public int getInvalidAckIdsCount() { public java.lang.String getInvalidAckIds(int index) { return invalidAckIds_.get(index); } + /** * * @@ -1333,6 +1378,7 @@ public java.lang.String getInvalidAckIds(int index) { public com.google.protobuf.ByteString getInvalidAckIdsBytes(int index) { return invalidAckIds_.getByteString(index); } + /** * * @@ -1357,6 +1403,7 @@ public Builder setInvalidAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -1380,6 +1427,7 @@ public Builder addInvalidAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1400,6 +1448,7 @@ public Builder addAllInvalidAckIds(java.lang.Iterable values) onChanged(); return this; } + /** * * @@ -1419,6 +1468,7 @@ public Builder clearInvalidAckIds() { onChanged(); return this; } + /** * * @@ -1453,6 +1503,7 @@ private void ensureUnorderedAckIdsIsMutable() { } bitField0_ |= 0x00000004; } + /** * * @@ -1469,6 +1520,7 @@ public com.google.protobuf.ProtocolStringList getUnorderedAckIdsList() { unorderedAckIds_.makeImmutable(); return unorderedAckIds_; } + /** * * @@ -1484,6 +1536,7 @@ public com.google.protobuf.ProtocolStringList getUnorderedAckIdsList() { public int getUnorderedAckIdsCount() { return unorderedAckIds_.size(); } + /** * * @@ -1500,6 +1553,7 @@ public int getUnorderedAckIdsCount() { public java.lang.String getUnorderedAckIds(int index) { return unorderedAckIds_.get(index); } + /** * * @@ -1516,6 +1570,7 @@ public java.lang.String getUnorderedAckIds(int index) { public com.google.protobuf.ByteString getUnorderedAckIdsBytes(int index) { return unorderedAckIds_.getByteString(index); } + /** * * @@ -1540,6 +1595,7 @@ public Builder setUnorderedAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -1563,6 +1619,7 @@ public Builder addUnorderedAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1583,6 +1640,7 @@ public Builder addAllUnorderedAckIds(java.lang.Iterable values onChanged(); return this; } + /** * * @@ -1602,6 +1660,7 @@ public Builder clearUnorderedAckIds() { onChanged(); return this; } + /** * * @@ -1637,6 +1696,7 @@ private void ensureTemporaryFailedAckIdsIsMutable() { } bitField0_ |= 0x00000008; } + /** * * @@ -1655,6 +1715,7 @@ public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList() { temporaryFailedAckIds_.makeImmutable(); return temporaryFailedAckIds_; } + /** * * @@ -1672,6 +1733,7 @@ public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList() { public int getTemporaryFailedAckIdsCount() { return temporaryFailedAckIds_.size(); } + /** * * @@ -1690,6 +1752,7 @@ public int getTemporaryFailedAckIdsCount() { public java.lang.String getTemporaryFailedAckIds(int index) { return temporaryFailedAckIds_.get(index); } + /** * * @@ -1708,6 +1771,7 @@ public java.lang.String getTemporaryFailedAckIds(int index) { public com.google.protobuf.ByteString getTemporaryFailedAckIdsBytes(int index) { return temporaryFailedAckIds_.getByteString(index); } + /** * * @@ -1734,6 +1798,7 @@ public Builder setTemporaryFailedAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -1759,6 +1824,7 @@ public Builder addTemporaryFailedAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1781,6 +1847,7 @@ public Builder addAllTemporaryFailedAckIds(java.lang.Iterable onChanged(); return this; } + /** * * @@ -1802,6 +1869,7 @@ public Builder clearTemporaryFailedAckIds() { onChanged(); return this; } + /** * * @@ -1913,6 +1981,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return A list containing the ackIds. */ java.util.List getAckIdsList(); + /** * * @@ -1925,6 +1994,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return The count of ackIds. */ int getAckIdsCount(); + /** * * @@ -1938,6 +2008,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return The ackIds at the given index. */ java.lang.String getAckIds(int index); + /** * * @@ -1965,6 +2036,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return A list containing the invalidAckIds. */ java.util.List getInvalidAckIdsList(); + /** * * @@ -1978,6 +2050,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return The count of invalidAckIds. */ int getInvalidAckIdsCount(); + /** * * @@ -1992,6 +2065,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return The invalidAckIds at the given index. */ java.lang.String getInvalidAckIds(int index); + /** * * @@ -2021,6 +2095,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return A list containing the temporaryFailedAckIds. */ java.util.List getTemporaryFailedAckIdsList(); + /** * * @@ -2035,6 +2110,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return The count of temporaryFailedAckIds. */ int getTemporaryFailedAckIdsCount(); + /** * * @@ -2050,6 +2126,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder * @return The temporaryFailedAckIds at the given index. */ java.lang.String getTemporaryFailedAckIds(int index); + /** * * @@ -2066,6 +2143,7 @@ public interface ModifyAckDeadlineConfirmationOrBuilder */ com.google.protobuf.ByteString getTemporaryFailedAckIdsBytes(int index); } + /** * * @@ -2082,6 +2160,7 @@ public static final class ModifyAckDeadlineConfirmation // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation) ModifyAckDeadlineConfirmationOrBuilder { private static final long serialVersionUID = 0L; + // Use ModifyAckDeadlineConfirmation.newBuilder() to construct. private ModifyAckDeadlineConfirmation( com.google.protobuf.GeneratedMessageV3.Builder builder) { @@ -2121,6 +2200,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ackIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -2135,6 +2215,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public com.google.protobuf.ProtocolStringList getAckIdsList() { return ackIds_; } + /** * * @@ -2149,6 +2230,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -2164,6 +2246,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -2185,6 +2268,7 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList invalidAckIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -2200,6 +2284,7 @@ public com.google.protobuf.ByteString getAckIdsBytes(int index) { public com.google.protobuf.ProtocolStringList getInvalidAckIdsList() { return invalidAckIds_; } + /** * * @@ -2215,6 +2300,7 @@ public com.google.protobuf.ProtocolStringList getInvalidAckIdsList() { public int getInvalidAckIdsCount() { return invalidAckIds_.size(); } + /** * * @@ -2231,6 +2317,7 @@ public int getInvalidAckIdsCount() { public java.lang.String getInvalidAckIds(int index) { return invalidAckIds_.get(index); } + /** * * @@ -2253,6 +2340,7 @@ public com.google.protobuf.ByteString getInvalidAckIdsBytes(int index) { @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList temporaryFailedAckIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + /** * * @@ -2269,6 +2357,7 @@ public com.google.protobuf.ByteString getInvalidAckIdsBytes(int index) { public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList() { return temporaryFailedAckIds_; } + /** * * @@ -2285,6 +2374,7 @@ public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList() { public int getTemporaryFailedAckIdsCount() { return temporaryFailedAckIds_.size(); } + /** * * @@ -2302,6 +2392,7 @@ public int getTemporaryFailedAckIdsCount() { public java.lang.String getTemporaryFailedAckIds(int index) { return temporaryFailedAckIds_.get(index); } + /** * * @@ -2529,6 +2620,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -2787,6 +2879,7 @@ private void ensureAckIdsIsMutable() { } bitField0_ |= 0x00000001; } + /** * * @@ -2802,6 +2895,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { ackIds_.makeImmutable(); return ackIds_; } + /** * * @@ -2816,6 +2910,7 @@ public com.google.protobuf.ProtocolStringList getAckIdsList() { public int getAckIdsCount() { return ackIds_.size(); } + /** * * @@ -2831,6 +2926,7 @@ public int getAckIdsCount() { public java.lang.String getAckIds(int index) { return ackIds_.get(index); } + /** * * @@ -2846,6 +2942,7 @@ public java.lang.String getAckIds(int index) { public com.google.protobuf.ByteString getAckIdsBytes(int index) { return ackIds_.getByteString(index); } + /** * * @@ -2869,6 +2966,7 @@ public Builder setAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -2891,6 +2989,7 @@ public Builder addAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -2910,6 +3009,7 @@ public Builder addAllAckIds(java.lang.Iterable values) { onChanged(); return this; } + /** * * @@ -2928,6 +3028,7 @@ public Builder clearAckIds() { onChanged(); return this; } + /** * * @@ -2961,6 +3062,7 @@ private void ensureInvalidAckIdsIsMutable() { } bitField0_ |= 0x00000002; } + /** * * @@ -2977,6 +3079,7 @@ public com.google.protobuf.ProtocolStringList getInvalidAckIdsList() { invalidAckIds_.makeImmutable(); return invalidAckIds_; } + /** * * @@ -2992,6 +3095,7 @@ public com.google.protobuf.ProtocolStringList getInvalidAckIdsList() { public int getInvalidAckIdsCount() { return invalidAckIds_.size(); } + /** * * @@ -3008,6 +3112,7 @@ public int getInvalidAckIdsCount() { public java.lang.String getInvalidAckIds(int index) { return invalidAckIds_.get(index); } + /** * * @@ -3024,6 +3129,7 @@ public java.lang.String getInvalidAckIds(int index) { public com.google.protobuf.ByteString getInvalidAckIdsBytes(int index) { return invalidAckIds_.getByteString(index); } + /** * * @@ -3048,6 +3154,7 @@ public Builder setInvalidAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -3071,6 +3178,7 @@ public Builder addInvalidAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3091,6 +3199,7 @@ public Builder addAllInvalidAckIds(java.lang.Iterable values) onChanged(); return this; } + /** * * @@ -3110,6 +3219,7 @@ public Builder clearInvalidAckIds() { onChanged(); return this; } + /** * * @@ -3145,6 +3255,7 @@ private void ensureTemporaryFailedAckIdsIsMutable() { } bitField0_ |= 0x00000004; } + /** * * @@ -3163,6 +3274,7 @@ public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList() { temporaryFailedAckIds_.makeImmutable(); return temporaryFailedAckIds_; } + /** * * @@ -3180,6 +3292,7 @@ public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList() { public int getTemporaryFailedAckIdsCount() { return temporaryFailedAckIds_.size(); } + /** * * @@ -3198,6 +3311,7 @@ public int getTemporaryFailedAckIdsCount() { public java.lang.String getTemporaryFailedAckIds(int index) { return temporaryFailedAckIds_.get(index); } + /** * * @@ -3216,6 +3330,7 @@ public java.lang.String getTemporaryFailedAckIds(int index) { public com.google.protobuf.ByteString getTemporaryFailedAckIdsBytes(int index) { return temporaryFailedAckIds_.getByteString(index); } + /** * * @@ -3242,6 +3357,7 @@ public Builder setTemporaryFailedAckIds(int index, java.lang.String value) { onChanged(); return this; } + /** * * @@ -3267,6 +3383,7 @@ public Builder addTemporaryFailedAckIds(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3289,6 +3406,7 @@ public Builder addAllTemporaryFailedAckIds(java.lang.Iterable onChanged(); return this; } + /** * * @@ -3310,6 +3428,7 @@ public Builder clearTemporaryFailedAckIds() { onChanged(); return this; } + /** * * @@ -3438,6 +3557,7 @@ public interface SubscriptionPropertiesOrBuilder */ boolean getMessageOrderingEnabled(); } + /** * * @@ -3452,6 +3572,7 @@ public static final class SubscriptionProperties extends com.google.protobuf.Gen // @@protoc_insertion_point(message_implements:google.pubsub.v1.StreamingPullResponse.SubscriptionProperties) SubscriptionPropertiesOrBuilder { private static final long serialVersionUID = 0L; + // Use SubscriptionProperties.newBuilder() to construct. private SubscriptionProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -3482,6 +3603,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int EXACTLY_ONCE_DELIVERY_ENABLED_FIELD_NUMBER = 1; private boolean exactlyOnceDeliveryEnabled_ = false; + /** * * @@ -3502,6 +3624,7 @@ public boolean getExactlyOnceDeliveryEnabled() { public static final int MESSAGE_ORDERING_ENABLED_FIELD_NUMBER = 2; private boolean messageOrderingEnabled_ = false; + /** * * @@ -3691,6 +3814,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -3896,6 +4020,7 @@ public Builder mergeFrom( private int bitField0_; private boolean exactlyOnceDeliveryEnabled_; + /** * * @@ -3913,6 +4038,7 @@ public Builder mergeFrom( public boolean getExactlyOnceDeliveryEnabled() { return exactlyOnceDeliveryEnabled_; } + /** * * @@ -3934,6 +4060,7 @@ public Builder setExactlyOnceDeliveryEnabled(boolean value) { onChanged(); return this; } + /** * * @@ -3955,6 +4082,7 @@ public Builder clearExactlyOnceDeliveryEnabled() { } private boolean messageOrderingEnabled_; + /** * * @@ -3970,6 +4098,7 @@ public Builder clearExactlyOnceDeliveryEnabled() { public boolean getMessageOrderingEnabled() { return messageOrderingEnabled_; } + /** * * @@ -3989,6 +4118,7 @@ public Builder setMessageOrderingEnabled(boolean value) { onChanged(); return this; } + /** * * @@ -4079,6 +4209,7 @@ public com.google.protobuf.Parser getParserForType() { @SuppressWarnings("serial") private java.util.List receivedMessages_; + /** * * @@ -4094,6 +4225,7 @@ public com.google.protobuf.Parser getParserForType() { public java.util.List getReceivedMessagesList() { return receivedMessages_; } + /** * * @@ -4110,6 +4242,7 @@ public java.util.List getReceivedMessagesL getReceivedMessagesOrBuilderList() { return receivedMessages_; } + /** * * @@ -4125,6 +4258,7 @@ public java.util.List getReceivedMessagesL public int getReceivedMessagesCount() { return receivedMessages_.size(); } + /** * * @@ -4140,6 +4274,7 @@ public int getReceivedMessagesCount() { public com.google.pubsub.v1.ReceivedMessage getReceivedMessages(int index) { return receivedMessages_.get(index); } + /** * * @@ -4159,6 +4294,7 @@ public com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilde public static final int ACKNOWLEDGE_CONFIRMATION_FIELD_NUMBER = 5; private com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledgeConfirmation_; + /** * * @@ -4177,6 +4313,7 @@ public com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilde public boolean hasAcknowledgeConfirmation() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -4198,6 +4335,7 @@ public boolean hasAcknowledgeConfirmation() { ? com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation.getDefaultInstance() : acknowledgeConfirmation_; } + /** * * @@ -4221,6 +4359,7 @@ public boolean hasAcknowledgeConfirmation() { public static final int MODIFY_ACK_DEADLINE_CONFIRMATION_FIELD_NUMBER = 3; private com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modifyAckDeadlineConfirmation_; + /** * * @@ -4239,6 +4378,7 @@ public boolean hasAcknowledgeConfirmation() { public boolean hasModifyAckDeadlineConfirmation() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -4261,6 +4401,7 @@ public boolean hasModifyAckDeadlineConfirmation() { .getDefaultInstance() : modifyAckDeadlineConfirmation_; } + /** * * @@ -4284,6 +4425,7 @@ public boolean hasModifyAckDeadlineConfirmation() { public static final int SUBSCRIPTION_PROPERTIES_FIELD_NUMBER = 4; private com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscriptionProperties_; + /** * * @@ -4301,6 +4443,7 @@ public boolean hasModifyAckDeadlineConfirmation() { public boolean hasSubscriptionProperties() { return ((bitField0_ & 0x00000004) != 0); } + /** * * @@ -4321,6 +4464,7 @@ public boolean hasSubscriptionProperties() { ? com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties.getDefaultInstance() : subscriptionProperties_; } + /** * * @@ -4549,6 +4693,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -4892,6 +5037,7 @@ public java.util.List getReceivedMessagesL return receivedMessagesBuilder_.getMessageList(); } } + /** * * @@ -4910,6 +5056,7 @@ public int getReceivedMessagesCount() { return receivedMessagesBuilder_.getCount(); } } + /** * * @@ -4928,6 +5075,7 @@ public com.google.pubsub.v1.ReceivedMessage getReceivedMessages(int index) { return receivedMessagesBuilder_.getMessage(index); } } + /** * * @@ -4952,6 +5100,7 @@ public Builder setReceivedMessages(int index, com.google.pubsub.v1.ReceivedMessa } return this; } + /** * * @@ -4974,6 +5123,7 @@ public Builder setReceivedMessages( } return this; } + /** * * @@ -4998,6 +5148,7 @@ public Builder addReceivedMessages(com.google.pubsub.v1.ReceivedMessage value) { } return this; } + /** * * @@ -5022,6 +5173,7 @@ public Builder addReceivedMessages(int index, com.google.pubsub.v1.ReceivedMessa } return this; } + /** * * @@ -5044,6 +5196,7 @@ public Builder addReceivedMessages( } return this; } + /** * * @@ -5066,6 +5219,7 @@ public Builder addReceivedMessages( } return this; } + /** * * @@ -5088,6 +5242,7 @@ public Builder addAllReceivedMessages( } return this; } + /** * * @@ -5109,6 +5264,7 @@ public Builder clearReceivedMessages() { } return this; } + /** * * @@ -5130,6 +5286,7 @@ public Builder removeReceivedMessages(int index) { } return this; } + /** * * @@ -5144,6 +5301,7 @@ public Builder removeReceivedMessages(int index) { public com.google.pubsub.v1.ReceivedMessage.Builder getReceivedMessagesBuilder(int index) { return getReceivedMessagesFieldBuilder().getBuilder(index); } + /** * * @@ -5162,6 +5320,7 @@ public com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilde return receivedMessagesBuilder_.getMessageOrBuilder(index); } } + /** * * @@ -5181,6 +5340,7 @@ public com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilde return java.util.Collections.unmodifiableList(receivedMessages_); } } + /** * * @@ -5196,6 +5356,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder() return getReceivedMessagesFieldBuilder() .addBuilder(com.google.pubsub.v1.ReceivedMessage.getDefaultInstance()); } + /** * * @@ -5211,6 +5372,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(i return getReceivedMessagesFieldBuilder() .addBuilder(index, com.google.pubsub.v1.ReceivedMessage.getDefaultInstance()); } + /** * * @@ -5254,6 +5416,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(i com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation.Builder, com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmationOrBuilder> acknowledgeConfirmationBuilder_; + /** * * @@ -5271,6 +5434,7 @@ public com.google.pubsub.v1.ReceivedMessage.Builder addReceivedMessagesBuilder(i public boolean hasAcknowledgeConfirmation() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -5296,6 +5460,7 @@ public boolean hasAcknowledgeConfirmation() { return acknowledgeConfirmationBuilder_.getMessage(); } } + /** * * @@ -5322,6 +5487,7 @@ public Builder setAcknowledgeConfirmation( onChanged(); return this; } + /** * * @@ -5346,6 +5512,7 @@ public Builder setAcknowledgeConfirmation( onChanged(); return this; } + /** * * @@ -5379,6 +5546,7 @@ public Builder mergeAcknowledgeConfirmation( } return this; } + /** * * @@ -5401,6 +5569,7 @@ public Builder clearAcknowledgeConfirmation() { onChanged(); return this; } + /** * * @@ -5419,6 +5588,7 @@ public Builder clearAcknowledgeConfirmation() { onChanged(); return getAcknowledgeConfirmationFieldBuilder().getBuilder(); } + /** * * @@ -5442,6 +5612,7 @@ public Builder clearAcknowledgeConfirmation() { : acknowledgeConfirmation_; } } + /** * * @@ -5478,6 +5649,7 @@ public Builder clearAcknowledgeConfirmation() { com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder, com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder> modifyAckDeadlineConfirmationBuilder_; + /** * * @@ -5495,6 +5667,7 @@ public Builder clearAcknowledgeConfirmation() { public boolean hasModifyAckDeadlineConfirmation() { return ((bitField0_ & 0x00000004) != 0); } + /** * * @@ -5520,6 +5693,7 @@ public boolean hasModifyAckDeadlineConfirmation() { return modifyAckDeadlineConfirmationBuilder_.getMessage(); } } + /** * * @@ -5546,6 +5720,7 @@ public Builder setModifyAckDeadlineConfirmation( onChanged(); return this; } + /** * * @@ -5570,6 +5745,7 @@ public Builder setModifyAckDeadlineConfirmation( onChanged(); return this; } + /** * * @@ -5603,6 +5779,7 @@ public Builder mergeModifyAckDeadlineConfirmation( } return this; } + /** * * @@ -5625,6 +5802,7 @@ public Builder clearModifyAckDeadlineConfirmation() { onChanged(); return this; } + /** * * @@ -5643,6 +5821,7 @@ public Builder clearModifyAckDeadlineConfirmation() { onChanged(); return getModifyAckDeadlineConfirmationFieldBuilder().getBuilder(); } + /** * * @@ -5666,6 +5845,7 @@ public Builder clearModifyAckDeadlineConfirmation() { : modifyAckDeadlineConfirmation_; } } + /** * * @@ -5702,6 +5882,7 @@ public Builder clearModifyAckDeadlineConfirmation() { com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties.Builder, com.google.pubsub.v1.StreamingPullResponse.SubscriptionPropertiesOrBuilder> subscriptionPropertiesBuilder_; + /** * * @@ -5718,6 +5899,7 @@ public Builder clearModifyAckDeadlineConfirmation() { public boolean hasSubscriptionProperties() { return ((bitField0_ & 0x00000008) != 0); } + /** * * @@ -5741,6 +5923,7 @@ public boolean hasSubscriptionProperties() { return subscriptionPropertiesBuilder_.getMessage(); } } + /** * * @@ -5766,6 +5949,7 @@ public Builder setSubscriptionProperties( onChanged(); return this; } + /** * * @@ -5788,6 +5972,7 @@ public Builder setSubscriptionProperties( onChanged(); return this; } + /** * * @@ -5820,6 +6005,7 @@ public Builder mergeSubscriptionProperties( } return this; } + /** * * @@ -5841,6 +6027,7 @@ public Builder clearSubscriptionProperties() { onChanged(); return this; } + /** * * @@ -5858,6 +6045,7 @@ public Builder clearSubscriptionProperties() { onChanged(); return getSubscriptionPropertiesFieldBuilder().getBuilder(); } + /** * * @@ -5879,6 +6067,7 @@ public Builder clearSubscriptionProperties() { : subscriptionProperties_; } } + /** * * 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 40089d18c..a547f4e59 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 @@ -36,6 +36,7 @@ public interface StreamingPullResponseOrBuilder * */ java.util.List getReceivedMessagesList(); + /** * * @@ -48,6 +49,7 @@ public interface StreamingPullResponseOrBuilder * */ com.google.pubsub.v1.ReceivedMessage getReceivedMessages(int index); + /** * * @@ -60,6 +62,7 @@ public interface StreamingPullResponseOrBuilder * */ int getReceivedMessagesCount(); + /** * * @@ -73,6 +76,7 @@ public interface StreamingPullResponseOrBuilder */ java.util.List getReceivedMessagesOrBuilderList(); + /** * * @@ -101,6 +105,7 @@ public interface StreamingPullResponseOrBuilder * @return Whether the acknowledgeConfirmation field is set. */ boolean hasAcknowledgeConfirmation(); + /** * * @@ -116,6 +121,7 @@ public interface StreamingPullResponseOrBuilder * @return The acknowledgeConfirmation. */ com.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation getAcknowledgeConfirmation(); + /** * * @@ -146,6 +152,7 @@ public interface StreamingPullResponseOrBuilder * @return Whether the modifyAckDeadlineConfirmation field is set. */ boolean hasModifyAckDeadlineConfirmation(); + /** * * @@ -162,6 +169,7 @@ public interface StreamingPullResponseOrBuilder */ com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation getModifyAckDeadlineConfirmation(); + /** * * @@ -191,6 +199,7 @@ public interface StreamingPullResponseOrBuilder * @return Whether the subscriptionProperties field is set. */ boolean hasSubscriptionProperties(); + /** * * @@ -205,6 +214,7 @@ public interface StreamingPullResponseOrBuilder * @return The subscriptionProperties. */ com.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties getSubscriptionProperties(); + /** * * 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 31581f253..fb8d9a716 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 @@ -35,6 +35,7 @@ public final class Subscription extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.Subscription) SubscriptionOrBuilder { private static final long serialVersionUID = 0L; + // Use Subscription.newBuilder() to construct. private Subscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -136,6 +137,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -146,6 +148,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -261,6 +264,7 @@ public interface AnalyticsHubSubscriptionInfoOrBuilder * @return The listing. */ java.lang.String getListing(); + /** * * @@ -290,6 +294,7 @@ public interface AnalyticsHubSubscriptionInfoOrBuilder * @return The subscription. */ java.lang.String getSubscription(); + /** * * @@ -305,6 +310,7 @@ public interface AnalyticsHubSubscriptionInfoOrBuilder */ com.google.protobuf.ByteString getSubscriptionBytes(); } + /** * * @@ -321,6 +327,7 @@ public static final class AnalyticsHubSubscriptionInfo // @@protoc_insertion_point(message_implements:google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo) AnalyticsHubSubscriptionInfoOrBuilder { private static final long serialVersionUID = 0L; + // Use AnalyticsHubSubscriptionInfo.newBuilder() to construct. private AnalyticsHubSubscriptionInfo( com.google.protobuf.GeneratedMessageV3.Builder builder) { @@ -357,6 +364,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object listing_ = ""; + /** * * @@ -382,6 +390,7 @@ public java.lang.String getListing() { return s; } } + /** * * @@ -412,6 +421,7 @@ public com.google.protobuf.ByteString getListingBytes() { @SuppressWarnings("serial") private volatile java.lang.Object subscription_ = ""; + /** * * @@ -437,6 +447,7 @@ public java.lang.String getSubscription() { return s; } } + /** * * @@ -633,6 +644,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** * * @@ -840,6 +852,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object listing_ = ""; + /** * * @@ -864,6 +877,7 @@ public java.lang.String getListing() { return (java.lang.String) ref; } } + /** * * @@ -888,6 +902,7 @@ public com.google.protobuf.ByteString getListingBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -911,6 +926,7 @@ public Builder setListing(java.lang.String value) { onChanged(); return this; } + /** * * @@ -930,6 +946,7 @@ public Builder clearListing() { onChanged(); return this; } + /** * * @@ -956,6 +973,7 @@ public Builder setListingBytes(com.google.protobuf.ByteString value) { } private java.lang.Object subscription_ = ""; + /** * * @@ -980,6 +998,7 @@ public java.lang.String getSubscription() { return (java.lang.String) ref; } } + /** * * @@ -1004,6 +1023,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1027,6 +1047,7 @@ public Builder setSubscription(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1046,6 +1067,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -1143,6 +1165,7 @@ public com.google.protobuf.Parser getParserForType @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -1171,6 +1194,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -1204,6 +1228,7 @@ public com.google.protobuf.ByteString getNameBytes() { @SuppressWarnings("serial") private volatile java.lang.Object topic_ = ""; + /** * * @@ -1231,6 +1256,7 @@ public java.lang.String getTopic() { return s; } } + /** * * @@ -1261,6 +1287,7 @@ public com.google.protobuf.ByteString getTopicBytes() { public static final int PUSH_CONFIG_FIELD_NUMBER = 4; private com.google.pubsub.v1.PushConfig pushConfig_; + /** * * @@ -1278,6 +1305,7 @@ public com.google.protobuf.ByteString getTopicBytes() { public boolean hasPushConfig() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -1295,6 +1323,7 @@ public boolean hasPushConfig() { public com.google.pubsub.v1.PushConfig getPushConfig() { return pushConfig_ == null ? com.google.pubsub.v1.PushConfig.getDefaultInstance() : pushConfig_; } + /** * * @@ -1313,6 +1342,7 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { public static final int BIGQUERY_CONFIG_FIELD_NUMBER = 18; private com.google.pubsub.v1.BigQueryConfig bigqueryConfig_; + /** * * @@ -1331,6 +1361,7 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { public boolean hasBigqueryConfig() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -1351,6 +1382,7 @@ public com.google.pubsub.v1.BigQueryConfig getBigqueryConfig() { ? com.google.pubsub.v1.BigQueryConfig.getDefaultInstance() : bigqueryConfig_; } + /** * * @@ -1372,6 +1404,7 @@ public com.google.pubsub.v1.BigQueryConfigOrBuilder getBigqueryConfigOrBuilder() public static final int CLOUD_STORAGE_CONFIG_FIELD_NUMBER = 22; private com.google.pubsub.v1.CloudStorageConfig cloudStorageConfig_; + /** * * @@ -1390,6 +1423,7 @@ public com.google.pubsub.v1.BigQueryConfigOrBuilder getBigqueryConfigOrBuilder() public boolean hasCloudStorageConfig() { return ((bitField0_ & 0x00000004) != 0); } + /** * * @@ -1410,6 +1444,7 @@ public com.google.pubsub.v1.CloudStorageConfig getCloudStorageConfig() { ? com.google.pubsub.v1.CloudStorageConfig.getDefaultInstance() : cloudStorageConfig_; } + /** * * @@ -1431,6 +1466,7 @@ public com.google.pubsub.v1.CloudStorageConfigOrBuilder getCloudStorageConfigOrB public static final int ACK_DEADLINE_SECONDS_FIELD_NUMBER = 5; private int ackDeadlineSeconds_ = 0; + /** * * @@ -1468,6 +1504,7 @@ public int getAckDeadlineSeconds() { public static final int RETAIN_ACKED_MESSAGES_FIELD_NUMBER = 7; private boolean retainAckedMessages_ = false; + /** * * @@ -1491,6 +1528,7 @@ public boolean getRetainAckedMessages() { public static final int MESSAGE_RETENTION_DURATION_FIELD_NUMBER = 8; private com.google.protobuf.Duration messageRetentionDuration_; + /** * * @@ -1512,6 +1550,7 @@ public boolean getRetainAckedMessages() { public boolean hasMessageRetentionDuration() { return ((bitField0_ & 0x00000008) != 0); } + /** * * @@ -1535,6 +1574,7 @@ public com.google.protobuf.Duration getMessageRetentionDuration() { ? com.google.protobuf.Duration.getDefaultInstance() : messageRetentionDuration_; } + /** * * @@ -1583,6 +1623,7 @@ private com.google.protobuf.MapField interna public int getLabelsCount() { return internalGetLabels().getMap().size(); } + /** * * @@ -1600,12 +1641,14 @@ public boolean containsLabels(java.lang.String key) { } return internalGetLabels().getMap().containsKey(key); } + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } + /** * * @@ -1620,6 +1663,7 @@ public java.util.Map getLabels() { public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } + /** * * @@ -1641,6 +1685,7 @@ public java.util.Map getLabelsMap() { java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -1665,6 +1710,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int ENABLE_MESSAGE_ORDERING_FIELD_NUMBER = 10; private boolean enableMessageOrdering_ = false; + /** * * @@ -1686,6 +1732,7 @@ public boolean getEnableMessageOrdering() { public static final int EXPIRATION_POLICY_FIELD_NUMBER = 11; private com.google.pubsub.v1.ExpirationPolicy expirationPolicy_; + /** * * @@ -1709,6 +1756,7 @@ public boolean getEnableMessageOrdering() { public boolean hasExpirationPolicy() { return ((bitField0_ & 0x00000010) != 0); } + /** * * @@ -1734,6 +1782,7 @@ public com.google.pubsub.v1.ExpirationPolicy getExpirationPolicy() { ? com.google.pubsub.v1.ExpirationPolicy.getDefaultInstance() : expirationPolicy_; } + /** * * @@ -1762,6 +1811,7 @@ public com.google.pubsub.v1.ExpirationPolicyOrBuilder getExpirationPolicyOrBuild @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; + /** * * @@ -1789,6 +1839,7 @@ public java.lang.String getFilter() { return s; } } + /** * * @@ -1819,6 +1870,7 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int DEAD_LETTER_POLICY_FIELD_NUMBER = 13; private com.google.pubsub.v1.DeadLetterPolicy deadLetterPolicy_; + /** * * @@ -1843,6 +1895,7 @@ public com.google.protobuf.ByteString getFilterBytes() { public boolean hasDeadLetterPolicy() { return ((bitField0_ & 0x00000020) != 0); } + /** * * @@ -1869,6 +1922,7 @@ public com.google.pubsub.v1.DeadLetterPolicy getDeadLetterPolicy() { ? com.google.pubsub.v1.DeadLetterPolicy.getDefaultInstance() : deadLetterPolicy_; } + /** * * @@ -1896,6 +1950,7 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild public static final int RETRY_POLICY_FIELD_NUMBER = 14; private com.google.pubsub.v1.RetryPolicy retryPolicy_; + /** * * @@ -1919,6 +1974,7 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild public boolean hasRetryPolicy() { return ((bitField0_ & 0x00000040) != 0); } + /** * * @@ -1944,6 +2000,7 @@ public com.google.pubsub.v1.RetryPolicy getRetryPolicy() { ? com.google.pubsub.v1.RetryPolicy.getDefaultInstance() : retryPolicy_; } + /** * * @@ -1970,6 +2027,7 @@ public com.google.pubsub.v1.RetryPolicyOrBuilder getRetryPolicyOrBuilder() { public static final int DETACHED_FIELD_NUMBER = 15; private boolean detached_ = false; + /** * * @@ -1992,6 +2050,7 @@ public boolean getDetached() { public static final int ENABLE_EXACTLY_ONCE_DELIVERY_FIELD_NUMBER = 16; private boolean enableExactlyOnceDelivery_ = false; + /** * * @@ -2021,6 +2080,7 @@ public boolean getEnableExactlyOnceDelivery() { public static final int TOPIC_MESSAGE_RETENTION_DURATION_FIELD_NUMBER = 17; private com.google.protobuf.Duration topicMessageRetentionDuration_; + /** * * @@ -2043,6 +2103,7 @@ public boolean getEnableExactlyOnceDelivery() { public boolean hasTopicMessageRetentionDuration() { return ((bitField0_ & 0x00000080) != 0); } + /** * * @@ -2067,6 +2128,7 @@ public com.google.protobuf.Duration getTopicMessageRetentionDuration() { ? com.google.protobuf.Duration.getDefaultInstance() : topicMessageRetentionDuration_; } + /** * * @@ -2092,6 +2154,7 @@ public com.google.protobuf.DurationOrBuilder getTopicMessageRetentionDurationOrB public static final int STATE_FIELD_NUMBER = 19; private int state_ = 0; + /** * * @@ -2110,6 +2173,7 @@ public com.google.protobuf.DurationOrBuilder getTopicMessageRetentionDurationOrB public int getStateValue() { return state_; } + /** * * @@ -2134,6 +2198,7 @@ public com.google.pubsub.v1.Subscription.State getState() { public static final int ANALYTICS_HUB_SUBSCRIPTION_INFO_FIELD_NUMBER = 23; private com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analyticsHubSubscriptionInfo_; + /** * * @@ -2152,6 +2217,7 @@ public com.google.pubsub.v1.Subscription.State getState() { public boolean hasAnalyticsHubSubscriptionInfo() { return ((bitField0_ & 0x00000100) != 0); } + /** * * @@ -2173,6 +2239,7 @@ public boolean hasAnalyticsHubSubscriptionInfo() { ? com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.getDefaultInstance() : analyticsHubSubscriptionInfo_; } + /** * * @@ -2197,6 +2264,7 @@ public boolean hasAnalyticsHubSubscriptionInfo() { @SuppressWarnings("serial") private java.util.List messageTransforms_; + /** * * @@ -2213,6 +2281,7 @@ public boolean hasAnalyticsHubSubscriptionInfo() { public java.util.List getMessageTransformsList() { return messageTransforms_; } + /** * * @@ -2230,6 +2299,7 @@ public java.util.List getMessageTransform getMessageTransformsOrBuilderList() { return messageTransforms_; } + /** * * @@ -2246,6 +2316,7 @@ public java.util.List getMessageTransform public int getMessageTransformsCount() { return messageTransforms_.size(); } + /** * * @@ -2262,6 +2333,7 @@ public int getMessageTransformsCount() { public com.google.pubsub.v1.MessageTransform getMessageTransforms(int index) { return messageTransforms_.get(index); } + /** * * @@ -2672,6 +2744,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -3269,6 +3342,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -3296,6 +3370,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -3323,6 +3398,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -3349,6 +3425,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3371,6 +3448,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -3400,6 +3478,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.lang.Object topic_ = ""; + /** * * @@ -3426,6 +3505,7 @@ public java.lang.String getTopic() { return (java.lang.String) ref; } } + /** * * @@ -3452,6 +3532,7 @@ public com.google.protobuf.ByteString getTopicBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -3477,6 +3558,7 @@ public Builder setTopic(java.lang.String value) { onChanged(); return this; } + /** * * @@ -3498,6 +3580,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -3531,6 +3614,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.PushConfig.Builder, com.google.pubsub.v1.PushConfigOrBuilder> pushConfigBuilder_; + /** * * @@ -3547,6 +3631,7 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { public boolean hasPushConfig() { return ((bitField0_ & 0x00000004) != 0); } + /** * * @@ -3569,6 +3654,7 @@ public com.google.pubsub.v1.PushConfig getPushConfig() { return pushConfigBuilder_.getMessage(); } } + /** * * @@ -3593,6 +3679,7 @@ public Builder setPushConfig(com.google.pubsub.v1.PushConfig value) { onChanged(); return this; } + /** * * @@ -3614,6 +3701,7 @@ public Builder setPushConfig(com.google.pubsub.v1.PushConfig.Builder builderForV onChanged(); return this; } + /** * * @@ -3643,6 +3731,7 @@ public Builder mergePushConfig(com.google.pubsub.v1.PushConfig value) { } return this; } + /** * * @@ -3664,6 +3753,7 @@ public Builder clearPushConfig() { onChanged(); return this; } + /** * * @@ -3680,6 +3770,7 @@ public com.google.pubsub.v1.PushConfig.Builder getPushConfigBuilder() { onChanged(); return getPushConfigFieldBuilder().getBuilder(); } + /** * * @@ -3700,6 +3791,7 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { : pushConfig_; } } + /** * * @@ -3734,6 +3826,7 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { com.google.pubsub.v1.BigQueryConfig.Builder, com.google.pubsub.v1.BigQueryConfigOrBuilder> bigqueryConfigBuilder_; + /** * * @@ -3751,6 +3844,7 @@ public com.google.pubsub.v1.PushConfigOrBuilder getPushConfigOrBuilder() { public boolean hasBigqueryConfig() { return ((bitField0_ & 0x00000008) != 0); } + /** * * @@ -3774,6 +3868,7 @@ public com.google.pubsub.v1.BigQueryConfig getBigqueryConfig() { return bigqueryConfigBuilder_.getMessage(); } } + /** * * @@ -3799,6 +3894,7 @@ public Builder setBigqueryConfig(com.google.pubsub.v1.BigQueryConfig value) { onChanged(); return this; } + /** * * @@ -3821,6 +3917,7 @@ public Builder setBigqueryConfig(com.google.pubsub.v1.BigQueryConfig.Builder bui onChanged(); return this; } + /** * * @@ -3851,6 +3948,7 @@ public Builder mergeBigqueryConfig(com.google.pubsub.v1.BigQueryConfig value) { } return this; } + /** * * @@ -3873,6 +3971,7 @@ public Builder clearBigqueryConfig() { onChanged(); return this; } + /** * * @@ -3890,6 +3989,7 @@ public com.google.pubsub.v1.BigQueryConfig.Builder getBigqueryConfigBuilder() { onChanged(); return getBigqueryConfigFieldBuilder().getBuilder(); } + /** * * @@ -3911,6 +4011,7 @@ public com.google.pubsub.v1.BigQueryConfigOrBuilder getBigqueryConfigOrBuilder() : bigqueryConfig_; } } + /** * * @@ -3946,6 +4047,7 @@ public com.google.pubsub.v1.BigQueryConfigOrBuilder getBigqueryConfigOrBuilder() com.google.pubsub.v1.CloudStorageConfig.Builder, com.google.pubsub.v1.CloudStorageConfigOrBuilder> cloudStorageConfigBuilder_; + /** * * @@ -3963,6 +4065,7 @@ public com.google.pubsub.v1.BigQueryConfigOrBuilder getBigqueryConfigOrBuilder() public boolean hasCloudStorageConfig() { return ((bitField0_ & 0x00000010) != 0); } + /** * * @@ -3986,6 +4089,7 @@ public com.google.pubsub.v1.CloudStorageConfig getCloudStorageConfig() { return cloudStorageConfigBuilder_.getMessage(); } } + /** * * @@ -4011,6 +4115,7 @@ public Builder setCloudStorageConfig(com.google.pubsub.v1.CloudStorageConfig val onChanged(); return this; } + /** * * @@ -4034,6 +4139,7 @@ public Builder setCloudStorageConfig( onChanged(); return this; } + /** * * @@ -4065,6 +4171,7 @@ public Builder mergeCloudStorageConfig(com.google.pubsub.v1.CloudStorageConfig v } return this; } + /** * * @@ -4087,6 +4194,7 @@ public Builder clearCloudStorageConfig() { onChanged(); return this; } + /** * * @@ -4104,6 +4212,7 @@ public com.google.pubsub.v1.CloudStorageConfig.Builder getCloudStorageConfigBuil onChanged(); return getCloudStorageConfigFieldBuilder().getBuilder(); } + /** * * @@ -4125,6 +4234,7 @@ public com.google.pubsub.v1.CloudStorageConfigOrBuilder getCloudStorageConfigOrB : cloudStorageConfig_; } } + /** * * @@ -4155,6 +4265,7 @@ public com.google.pubsub.v1.CloudStorageConfigOrBuilder getCloudStorageConfigOrB } private int ackDeadlineSeconds_; + /** * * @@ -4189,6 +4300,7 @@ public com.google.pubsub.v1.CloudStorageConfigOrBuilder getCloudStorageConfigOrB public int getAckDeadlineSeconds() { return ackDeadlineSeconds_; } + /** * * @@ -4227,6 +4339,7 @@ public Builder setAckDeadlineSeconds(int value) { onChanged(); return this; } + /** * * @@ -4265,6 +4378,7 @@ public Builder clearAckDeadlineSeconds() { } private boolean retainAckedMessages_; + /** * * @@ -4285,6 +4399,7 @@ public Builder clearAckDeadlineSeconds() { public boolean getRetainAckedMessages() { return retainAckedMessages_; } + /** * * @@ -4309,6 +4424,7 @@ public Builder setRetainAckedMessages(boolean value) { onChanged(); return this; } + /** * * @@ -4338,6 +4454,7 @@ public Builder clearRetainAckedMessages() { com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> messageRetentionDurationBuilder_; + /** * * @@ -4358,6 +4475,7 @@ public Builder clearRetainAckedMessages() { public boolean hasMessageRetentionDuration() { return ((bitField0_ & 0x00000080) != 0); } + /** * * @@ -4384,6 +4502,7 @@ public com.google.protobuf.Duration getMessageRetentionDuration() { return messageRetentionDurationBuilder_.getMessage(); } } + /** * * @@ -4412,6 +4531,7 @@ public Builder setMessageRetentionDuration(com.google.protobuf.Duration value) { onChanged(); return this; } + /** * * @@ -4438,6 +4558,7 @@ public Builder setMessageRetentionDuration( onChanged(); return this; } + /** * * @@ -4471,6 +4592,7 @@ public Builder mergeMessageRetentionDuration(com.google.protobuf.Duration value) } return this; } + /** * * @@ -4496,6 +4618,7 @@ public Builder clearMessageRetentionDuration() { onChanged(); return this; } + /** * * @@ -4516,6 +4639,7 @@ public com.google.protobuf.Duration.Builder getMessageRetentionDurationBuilder() onChanged(); return getMessageRetentionDurationFieldBuilder().getBuilder(); } + /** * * @@ -4540,6 +4664,7 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde : messageRetentionDuration_; } } + /** * * @@ -4597,6 +4722,7 @@ private com.google.protobuf.MapField interna public int getLabelsCount() { return internalGetLabels().getMap().size(); } + /** * * @@ -4614,12 +4740,14 @@ public boolean containsLabels(java.lang.String key) { } return internalGetLabels().getMap().containsKey(key); } + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } + /** * * @@ -4634,6 +4762,7 @@ public java.util.Map getLabels() { public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } + /** * * @@ -4655,6 +4784,7 @@ public java.util.Map getLabelsMap() { java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -4682,6 +4812,7 @@ public Builder clearLabels() { internalGetMutableLabels().getMutableMap().clear(); return this; } + /** * * @@ -4699,12 +4830,14 @@ public Builder removeLabels(java.lang.String key) { internalGetMutableLabels().getMutableMap().remove(key); return this; } + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000100; return internalGetMutableLabels().getMutableMap(); } + /** * * @@ -4726,6 +4859,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { bitField0_ |= 0x00000100; return this; } + /** * * @@ -4743,6 +4877,7 @@ public Builder putAllLabels(java.util.Map va } private boolean enableMessageOrdering_; + /** * * @@ -4761,6 +4896,7 @@ public Builder putAllLabels(java.util.Map va public boolean getEnableMessageOrdering() { return enableMessageOrdering_; } + /** * * @@ -4783,6 +4919,7 @@ public Builder setEnableMessageOrdering(boolean value) { onChanged(); return this; } + /** * * @@ -4810,6 +4947,7 @@ public Builder clearEnableMessageOrdering() { com.google.pubsub.v1.ExpirationPolicy.Builder, com.google.pubsub.v1.ExpirationPolicyOrBuilder> expirationPolicyBuilder_; + /** * * @@ -4832,6 +4970,7 @@ public Builder clearEnableMessageOrdering() { public boolean hasExpirationPolicy() { return ((bitField0_ & 0x00000400) != 0); } + /** * * @@ -4860,6 +4999,7 @@ public com.google.pubsub.v1.ExpirationPolicy getExpirationPolicy() { return expirationPolicyBuilder_.getMessage(); } } + /** * * @@ -4890,6 +5030,7 @@ public Builder setExpirationPolicy(com.google.pubsub.v1.ExpirationPolicy value) onChanged(); return this; } + /** * * @@ -4918,6 +5059,7 @@ public Builder setExpirationPolicy( onChanged(); return this; } + /** * * @@ -4953,6 +5095,7 @@ public Builder mergeExpirationPolicy(com.google.pubsub.v1.ExpirationPolicy value } return this; } + /** * * @@ -4980,6 +5123,7 @@ public Builder clearExpirationPolicy() { onChanged(); return this; } + /** * * @@ -5002,6 +5146,7 @@ public com.google.pubsub.v1.ExpirationPolicy.Builder getExpirationPolicyBuilder( onChanged(); return getExpirationPolicyFieldBuilder().getBuilder(); } + /** * * @@ -5028,6 +5173,7 @@ public com.google.pubsub.v1.ExpirationPolicyOrBuilder getExpirationPolicyOrBuild : expirationPolicy_; } } + /** * * @@ -5063,6 +5209,7 @@ public com.google.pubsub.v1.ExpirationPolicyOrBuilder getExpirationPolicyOrBuild } private java.lang.Object filter_ = ""; + /** * * @@ -5089,6 +5236,7 @@ public java.lang.String getFilter() { return (java.lang.String) ref; } } + /** * * @@ -5115,6 +5263,7 @@ public com.google.protobuf.ByteString getFilterBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -5140,6 +5289,7 @@ public Builder setFilter(java.lang.String value) { onChanged(); return this; } + /** * * @@ -5161,6 +5311,7 @@ public Builder clearFilter() { onChanged(); return this; } + /** * * @@ -5194,6 +5345,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.DeadLetterPolicy.Builder, com.google.pubsub.v1.DeadLetterPolicyOrBuilder> deadLetterPolicyBuilder_; + /** * * @@ -5217,6 +5369,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { public boolean hasDeadLetterPolicy() { return ((bitField0_ & 0x00001000) != 0); } + /** * * @@ -5246,6 +5399,7 @@ public com.google.pubsub.v1.DeadLetterPolicy getDeadLetterPolicy() { return deadLetterPolicyBuilder_.getMessage(); } } + /** * * @@ -5277,6 +5431,7 @@ public Builder setDeadLetterPolicy(com.google.pubsub.v1.DeadLetterPolicy value) onChanged(); return this; } + /** * * @@ -5306,6 +5461,7 @@ public Builder setDeadLetterPolicy( onChanged(); return this; } + /** * * @@ -5342,6 +5498,7 @@ public Builder mergeDeadLetterPolicy(com.google.pubsub.v1.DeadLetterPolicy value } return this; } + /** * * @@ -5370,6 +5527,7 @@ public Builder clearDeadLetterPolicy() { onChanged(); return this; } + /** * * @@ -5393,6 +5551,7 @@ public com.google.pubsub.v1.DeadLetterPolicy.Builder getDeadLetterPolicyBuilder( onChanged(); return getDeadLetterPolicyFieldBuilder().getBuilder(); } + /** * * @@ -5420,6 +5579,7 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild : deadLetterPolicy_; } } + /** * * @@ -5461,6 +5621,7 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild com.google.pubsub.v1.RetryPolicy.Builder, com.google.pubsub.v1.RetryPolicyOrBuilder> retryPolicyBuilder_; + /** * * @@ -5483,6 +5644,7 @@ public com.google.pubsub.v1.DeadLetterPolicyOrBuilder getDeadLetterPolicyOrBuild public boolean hasRetryPolicy() { return ((bitField0_ & 0x00002000) != 0); } + /** * * @@ -5511,6 +5673,7 @@ public com.google.pubsub.v1.RetryPolicy getRetryPolicy() { return retryPolicyBuilder_.getMessage(); } } + /** * * @@ -5541,6 +5704,7 @@ public Builder setRetryPolicy(com.google.pubsub.v1.RetryPolicy value) { onChanged(); return this; } + /** * * @@ -5568,6 +5732,7 @@ public Builder setRetryPolicy(com.google.pubsub.v1.RetryPolicy.Builder builderFo onChanged(); return this; } + /** * * @@ -5603,6 +5768,7 @@ public Builder mergeRetryPolicy(com.google.pubsub.v1.RetryPolicy value) { } return this; } + /** * * @@ -5630,6 +5796,7 @@ public Builder clearRetryPolicy() { onChanged(); return this; } + /** * * @@ -5652,6 +5819,7 @@ public com.google.pubsub.v1.RetryPolicy.Builder getRetryPolicyBuilder() { onChanged(); return getRetryPolicyFieldBuilder().getBuilder(); } + /** * * @@ -5678,6 +5846,7 @@ public com.google.pubsub.v1.RetryPolicyOrBuilder getRetryPolicyOrBuilder() { : retryPolicy_; } } + /** * * @@ -5713,6 +5882,7 @@ public com.google.pubsub.v1.RetryPolicyOrBuilder getRetryPolicyOrBuilder() { } private boolean detached_; + /** * * @@ -5732,6 +5902,7 @@ public com.google.pubsub.v1.RetryPolicyOrBuilder getRetryPolicyOrBuilder() { public boolean getDetached() { return detached_; } + /** * * @@ -5755,6 +5926,7 @@ public Builder setDetached(boolean value) { onChanged(); return this; } + /** * * @@ -5778,6 +5950,7 @@ public Builder clearDetached() { } private boolean enableExactlyOnceDelivery_; + /** * * @@ -5805,6 +5978,7 @@ public Builder clearDetached() { public boolean getEnableExactlyOnceDelivery() { return enableExactlyOnceDelivery_; } + /** * * @@ -5836,6 +6010,7 @@ public Builder setEnableExactlyOnceDelivery(boolean value) { onChanged(); return this; } + /** * * @@ -5872,6 +6047,7 @@ public Builder clearEnableExactlyOnceDelivery() { com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> topicMessageRetentionDurationBuilder_; + /** * * @@ -5893,6 +6069,7 @@ public Builder clearEnableExactlyOnceDelivery() { public boolean hasTopicMessageRetentionDuration() { return ((bitField0_ & 0x00010000) != 0); } + /** * * @@ -5920,6 +6097,7 @@ public com.google.protobuf.Duration getTopicMessageRetentionDuration() { return topicMessageRetentionDurationBuilder_.getMessage(); } } + /** * * @@ -5949,6 +6127,7 @@ public Builder setTopicMessageRetentionDuration(com.google.protobuf.Duration val onChanged(); return this; } + /** * * @@ -5976,6 +6155,7 @@ public Builder setTopicMessageRetentionDuration( onChanged(); return this; } + /** * * @@ -6011,6 +6191,7 @@ public Builder mergeTopicMessageRetentionDuration(com.google.protobuf.Duration v } return this; } + /** * * @@ -6037,6 +6218,7 @@ public Builder clearTopicMessageRetentionDuration() { onChanged(); return this; } + /** * * @@ -6058,6 +6240,7 @@ public com.google.protobuf.Duration.Builder getTopicMessageRetentionDurationBuil onChanged(); return getTopicMessageRetentionDurationFieldBuilder().getBuilder(); } + /** * * @@ -6083,6 +6266,7 @@ public com.google.protobuf.DurationOrBuilder getTopicMessageRetentionDurationOrB : topicMessageRetentionDuration_; } } + /** * * @@ -6117,6 +6301,7 @@ public com.google.protobuf.DurationOrBuilder getTopicMessageRetentionDurationOrB } private int state_ = 0; + /** * * @@ -6135,6 +6320,7 @@ public com.google.protobuf.DurationOrBuilder getTopicMessageRetentionDurationOrB public int getStateValue() { return state_; } + /** * * @@ -6156,6 +6342,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -6176,6 +6363,7 @@ public com.google.pubsub.v1.Subscription.State getState() { com.google.pubsub.v1.Subscription.State.forNumber(state_); return result == null ? com.google.pubsub.v1.Subscription.State.UNRECOGNIZED : result; } + /** * * @@ -6200,6 +6388,7 @@ public Builder setState(com.google.pubsub.v1.Subscription.State value) { onChanged(); return this; } + /** * * @@ -6228,6 +6417,7 @@ public Builder clearState() { com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder, com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder> analyticsHubSubscriptionInfoBuilder_; + /** * * @@ -6245,6 +6435,7 @@ public Builder clearState() { public boolean hasAnalyticsHubSubscriptionInfo() { return ((bitField0_ & 0x00040000) != 0); } + /** * * @@ -6269,6 +6460,7 @@ public boolean hasAnalyticsHubSubscriptionInfo() { return analyticsHubSubscriptionInfoBuilder_.getMessage(); } } + /** * * @@ -6295,6 +6487,7 @@ public Builder setAnalyticsHubSubscriptionInfo( onChanged(); return this; } + /** * * @@ -6318,6 +6511,7 @@ public Builder setAnalyticsHubSubscriptionInfo( onChanged(); return this; } + /** * * @@ -6351,6 +6545,7 @@ public Builder mergeAnalyticsHubSubscriptionInfo( } return this; } + /** * * @@ -6373,6 +6568,7 @@ public Builder clearAnalyticsHubSubscriptionInfo() { onChanged(); return this; } + /** * * @@ -6391,6 +6587,7 @@ public Builder clearAnalyticsHubSubscriptionInfo() { onChanged(); return getAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder(); } + /** * * @@ -6413,6 +6610,7 @@ public Builder clearAnalyticsHubSubscriptionInfo() { : analyticsHubSubscriptionInfo_; } } + /** * * @@ -6478,6 +6676,7 @@ public java.util.List getMessageTransform return messageTransformsBuilder_.getMessageList(); } } + /** * * @@ -6497,6 +6696,7 @@ public int getMessageTransformsCount() { return messageTransformsBuilder_.getCount(); } } + /** * * @@ -6516,6 +6716,7 @@ public com.google.pubsub.v1.MessageTransform getMessageTransforms(int index) { return messageTransformsBuilder_.getMessage(index); } } + /** * * @@ -6541,6 +6742,7 @@ public Builder setMessageTransforms(int index, com.google.pubsub.v1.MessageTrans } return this; } + /** * * @@ -6564,6 +6766,7 @@ public Builder setMessageTransforms( } return this; } + /** * * @@ -6589,6 +6792,7 @@ public Builder addMessageTransforms(com.google.pubsub.v1.MessageTransform value) } return this; } + /** * * @@ -6614,6 +6818,7 @@ public Builder addMessageTransforms(int index, com.google.pubsub.v1.MessageTrans } return this; } + /** * * @@ -6637,6 +6842,7 @@ public Builder addMessageTransforms( } return this; } + /** * * @@ -6660,6 +6866,7 @@ public Builder addMessageTransforms( } return this; } + /** * * @@ -6683,6 +6890,7 @@ public Builder addAllMessageTransforms( } return this; } + /** * * @@ -6705,6 +6913,7 @@ public Builder clearMessageTransforms() { } return this; } + /** * * @@ -6727,6 +6936,7 @@ public Builder removeMessageTransforms(int index) { } return this; } + /** * * @@ -6742,6 +6952,7 @@ public Builder removeMessageTransforms(int index) { public com.google.pubsub.v1.MessageTransform.Builder getMessageTransformsBuilder(int index) { return getMessageTransformsFieldBuilder().getBuilder(index); } + /** * * @@ -6761,6 +6972,7 @@ public com.google.pubsub.v1.MessageTransformOrBuilder getMessageTransformsOrBuil return messageTransformsBuilder_.getMessageOrBuilder(index); } } + /** * * @@ -6781,6 +6993,7 @@ public com.google.pubsub.v1.MessageTransformOrBuilder getMessageTransformsOrBuil return java.util.Collections.unmodifiableList(messageTransforms_); } } + /** * * @@ -6797,6 +7010,7 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder return getMessageTransformsFieldBuilder() .addBuilder(com.google.pubsub.v1.MessageTransform.getDefaultInstance()); } + /** * * @@ -6813,6 +7027,7 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder return getMessageTransformsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.MessageTransform.getDefaultInstance()); } + /** * * 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 8e9b3000c..6723327ce 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 @@ -41,6 +41,7 @@ public interface SubscriptionOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -75,6 +76,7 @@ public interface SubscriptionOrBuilder * @return The topic. */ java.lang.String getTopic(); + /** * * @@ -106,6 +108,7 @@ public interface SubscriptionOrBuilder * @return Whether the pushConfig field is set. */ boolean hasPushConfig(); + /** * * @@ -120,6 +123,7 @@ public interface SubscriptionOrBuilder * @return The pushConfig. */ com.google.pubsub.v1.PushConfig getPushConfig(); + /** * * @@ -148,6 +152,7 @@ public interface SubscriptionOrBuilder * @return Whether the bigqueryConfig field is set. */ boolean hasBigqueryConfig(); + /** * * @@ -163,6 +168,7 @@ public interface SubscriptionOrBuilder * @return The bigqueryConfig. */ com.google.pubsub.v1.BigQueryConfig getBigqueryConfig(); + /** * * @@ -192,6 +198,7 @@ public interface SubscriptionOrBuilder * @return Whether the cloudStorageConfig field is set. */ boolean hasCloudStorageConfig(); + /** * * @@ -207,6 +214,7 @@ public interface SubscriptionOrBuilder * @return The cloudStorageConfig. */ com.google.pubsub.v1.CloudStorageConfig getCloudStorageConfig(); + /** * * @@ -289,6 +297,7 @@ public interface SubscriptionOrBuilder * @return Whether the messageRetentionDuration field is set. */ boolean hasMessageRetentionDuration(); + /** * * @@ -307,6 +316,7 @@ public interface SubscriptionOrBuilder * @return The messageRetentionDuration. */ com.google.protobuf.Duration getMessageRetentionDuration(); + /** * * @@ -335,6 +345,7 @@ public interface SubscriptionOrBuilder * map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; */ int getLabelsCount(); + /** * * @@ -346,9 +357,11 @@ public interface SubscriptionOrBuilder * map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; */ boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); + /** * * @@ -360,6 +373,7 @@ public interface SubscriptionOrBuilder * map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map getLabelsMap(); + /** * * @@ -375,6 +389,7 @@ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); + /** * * @@ -423,6 +438,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the expirationPolicy field is set. */ boolean hasExpirationPolicy(); + /** * * @@ -443,6 +459,7 @@ java.lang.String getLabelsOrDefault( * @return The expirationPolicy. */ com.google.pubsub.v1.ExpirationPolicy getExpirationPolicy(); + /** * * @@ -478,6 +495,7 @@ java.lang.String getLabelsOrDefault( * @return The filter. */ java.lang.String getFilter(); + /** * * @@ -516,6 +534,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the deadLetterPolicy field is set. */ boolean hasDeadLetterPolicy(); + /** * * @@ -537,6 +556,7 @@ java.lang.String getLabelsOrDefault( * @return The deadLetterPolicy. */ com.google.pubsub.v1.DeadLetterPolicy getDeadLetterPolicy(); + /** * * @@ -577,6 +597,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the retryPolicy field is set. */ boolean hasRetryPolicy(); + /** * * @@ -597,6 +618,7 @@ java.lang.String getLabelsOrDefault( * @return The retryPolicy. */ com.google.pubsub.v1.RetryPolicy getRetryPolicy(); + /** * * @@ -676,6 +698,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the topicMessageRetentionDuration field is set. */ boolean hasTopicMessageRetentionDuration(); + /** * * @@ -695,6 +718,7 @@ java.lang.String getLabelsOrDefault( * @return The topicMessageRetentionDuration. */ com.google.protobuf.Duration getTopicMessageRetentionDuration(); + /** * * @@ -728,6 +752,7 @@ java.lang.String getLabelsOrDefault( * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -759,6 +784,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the analyticsHubSubscriptionInfo field is set. */ boolean hasAnalyticsHubSubscriptionInfo(); + /** * * @@ -774,6 +800,7 @@ java.lang.String getLabelsOrDefault( * @return The analyticsHubSubscriptionInfo. */ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo getAnalyticsHubSubscriptionInfo(); + /** * * @@ -802,6 +829,7 @@ java.lang.String getLabelsOrDefault( * */ java.util.List getMessageTransformsList(); + /** * * @@ -815,6 +843,7 @@ java.lang.String getLabelsOrDefault( * */ com.google.pubsub.v1.MessageTransform getMessageTransforms(int index); + /** * * @@ -828,6 +857,7 @@ java.lang.String getLabelsOrDefault( * */ int getMessageTransformsCount(); + /** * * @@ -842,6 +872,7 @@ java.lang.String getLabelsOrDefault( */ java.util.List getMessageTransformsOrBuilderList(); + /** * * 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 5ee6a0772..5ab4f70cf 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 @@ -33,6 +33,7 @@ public final class Topic extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(message_implements:google.pubsub.v1.Topic) TopicOrBuilder { private static final long serialVersionUID = 0L; + // Use Topic.newBuilder() to construct. private Topic(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -131,6 +132,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * STATE_UNSPECIFIED = 0; */ public static final int STATE_UNSPECIFIED_VALUE = 0; + /** * * @@ -141,6 +143,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * ACTIVE = 1; */ public static final int ACTIVE_VALUE = 1; + /** * * @@ -242,6 +245,7 @@ private State(int value) { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * * @@ -270,6 +274,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -325,6 +330,7 @@ private com.google.protobuf.MapField interna public int getLabelsCount() { return internalGetLabels().getMap().size(); } + /** * * @@ -342,12 +348,14 @@ public boolean containsLabels(java.lang.String key) { } return internalGetLabels().getMap().containsKey(key); } + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } + /** * * @@ -362,6 +370,7 @@ public java.util.Map getLabels() { public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } + /** * * @@ -383,6 +392,7 @@ public java.util.Map getLabelsMap() { java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -407,6 +417,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int MESSAGE_STORAGE_POLICY_FIELD_NUMBER = 3; private com.google.pubsub.v1.MessageStoragePolicy messageStoragePolicy_; + /** * * @@ -426,6 +437,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public boolean hasMessageStoragePolicy() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -447,6 +459,7 @@ public com.google.pubsub.v1.MessageStoragePolicy getMessageStoragePolicy() { ? com.google.pubsub.v1.MessageStoragePolicy.getDefaultInstance() : messageStoragePolicy_; } + /** * * @@ -471,6 +484,7 @@ public com.google.pubsub.v1.MessageStoragePolicyOrBuilder getMessageStoragePolic @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; + /** * * @@ -497,6 +511,7 @@ public java.lang.String getKmsKeyName() { return s; } } + /** * * @@ -526,6 +541,7 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { public static final int SCHEMA_SETTINGS_FIELD_NUMBER = 6; private com.google.pubsub.v1.SchemaSettings schemaSettings_; + /** * * @@ -543,6 +559,7 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { public boolean hasSchemaSettings() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -562,6 +579,7 @@ public com.google.pubsub.v1.SchemaSettings getSchemaSettings() { ? com.google.pubsub.v1.SchemaSettings.getDefaultInstance() : schemaSettings_; } + /** * * @@ -582,6 +600,7 @@ public com.google.pubsub.v1.SchemaSettingsOrBuilder getSchemaSettingsOrBuilder() public static final int SATISFIES_PZS_FIELD_NUMBER = 7; private boolean satisfiesPzs_ = false; + /** * * @@ -601,6 +620,7 @@ public boolean getSatisfiesPzs() { public static final int MESSAGE_RETENTION_DURATION_FIELD_NUMBER = 8; private com.google.protobuf.Duration messageRetentionDuration_; + /** * * @@ -626,6 +646,7 @@ public boolean getSatisfiesPzs() { public boolean hasMessageRetentionDuration() { return ((bitField0_ & 0x00000004) != 0); } + /** * * @@ -653,6 +674,7 @@ public com.google.protobuf.Duration getMessageRetentionDuration() { ? com.google.protobuf.Duration.getDefaultInstance() : messageRetentionDuration_; } + /** * * @@ -681,6 +703,7 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde public static final int STATE_FIELD_NUMBER = 9; private int state_ = 0; + /** * * @@ -697,6 +720,7 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde public int getStateValue() { return state_; } + /** * * @@ -717,6 +741,7 @@ public com.google.pubsub.v1.Topic.State getState() { public static final int INGESTION_DATA_SOURCE_SETTINGS_FIELD_NUMBER = 10; private com.google.pubsub.v1.IngestionDataSourceSettings ingestionDataSourceSettings_; + /** * * @@ -734,6 +759,7 @@ public com.google.pubsub.v1.Topic.State getState() { public boolean hasIngestionDataSourceSettings() { return ((bitField0_ & 0x00000008) != 0); } + /** * * @@ -753,6 +779,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings getIngestionDataSourceSe ? com.google.pubsub.v1.IngestionDataSourceSettings.getDefaultInstance() : ingestionDataSourceSettings_; } + /** * * @@ -776,6 +803,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings getIngestionDataSourceSe @SuppressWarnings("serial") private java.util.List messageTransforms_; + /** * * @@ -792,6 +820,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings getIngestionDataSourceSe public java.util.List getMessageTransformsList() { return messageTransforms_; } + /** * * @@ -809,6 +838,7 @@ public java.util.List getMessageTransform getMessageTransformsOrBuilderList() { return messageTransforms_; } + /** * * @@ -825,6 +855,7 @@ public java.util.List getMessageTransform public int getMessageTransformsCount() { return messageTransforms_.size(); } + /** * * @@ -841,6 +872,7 @@ public int getMessageTransformsCount() { public com.google.pubsub.v1.MessageTransform getMessageTransforms(int index) { return messageTransforms_.get(index); } + /** * * @@ -1133,6 +1165,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -1554,6 +1587,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * * @@ -1581,6 +1615,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -1608,6 +1643,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1634,6 +1670,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1656,6 +1693,7 @@ public Builder clearName() { onChanged(); return this; } + /** * * @@ -1709,6 +1747,7 @@ private com.google.protobuf.MapField interna public int getLabelsCount() { return internalGetLabels().getMap().size(); } + /** * * @@ -1726,12 +1765,14 @@ public boolean containsLabels(java.lang.String key) { } return internalGetLabels().getMap().containsKey(key); } + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } + /** * * @@ -1746,6 +1787,7 @@ public java.util.Map getLabels() { public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } + /** * * @@ -1767,6 +1809,7 @@ public java.util.Map getLabelsMap() { java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } + /** * * @@ -1794,6 +1837,7 @@ public Builder clearLabels() { internalGetMutableLabels().getMutableMap().clear(); return this; } + /** * * @@ -1811,12 +1855,14 @@ public Builder removeLabels(java.lang.String key) { internalGetMutableLabels().getMutableMap().remove(key); return this; } + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } + /** * * @@ -1838,6 +1884,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { bitField0_ |= 0x00000002; return this; } + /** * * @@ -1860,6 +1907,7 @@ public Builder putAllLabels(java.util.Map va com.google.pubsub.v1.MessageStoragePolicy.Builder, com.google.pubsub.v1.MessageStoragePolicyOrBuilder> messageStoragePolicyBuilder_; + /** * * @@ -1878,6 +1926,7 @@ public Builder putAllLabels(java.util.Map va public boolean hasMessageStoragePolicy() { return ((bitField0_ & 0x00000004) != 0); } + /** * * @@ -1902,6 +1951,7 @@ public com.google.pubsub.v1.MessageStoragePolicy getMessageStoragePolicy() { return messageStoragePolicyBuilder_.getMessage(); } } + /** * * @@ -1928,6 +1978,7 @@ public Builder setMessageStoragePolicy(com.google.pubsub.v1.MessageStoragePolicy onChanged(); return this; } + /** * * @@ -1952,6 +2003,7 @@ public Builder setMessageStoragePolicy( onChanged(); return this; } + /** * * @@ -1984,6 +2036,7 @@ public Builder mergeMessageStoragePolicy(com.google.pubsub.v1.MessageStoragePoli } return this; } + /** * * @@ -2007,6 +2060,7 @@ public Builder clearMessageStoragePolicy() { onChanged(); return this; } + /** * * @@ -2025,6 +2079,7 @@ public com.google.pubsub.v1.MessageStoragePolicy.Builder getMessageStoragePolicy onChanged(); return getMessageStoragePolicyFieldBuilder().getBuilder(); } + /** * * @@ -2047,6 +2102,7 @@ public com.google.pubsub.v1.MessageStoragePolicyOrBuilder getMessageStoragePolic : messageStoragePolicy_; } } + /** * * @@ -2078,6 +2134,7 @@ public com.google.pubsub.v1.MessageStoragePolicyOrBuilder getMessageStoragePolic } private java.lang.Object kmsKeyName_ = ""; + /** * * @@ -2103,6 +2160,7 @@ public java.lang.String getKmsKeyName() { return (java.lang.String) ref; } } + /** * * @@ -2128,6 +2186,7 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -2152,6 +2211,7 @@ public Builder setKmsKeyName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -2172,6 +2232,7 @@ public Builder clearKmsKeyName() { onChanged(); return this; } + /** * * @@ -2204,6 +2265,7 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.SchemaSettings.Builder, com.google.pubsub.v1.SchemaSettingsOrBuilder> schemaSettingsBuilder_; + /** * * @@ -2220,6 +2282,7 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { public boolean hasSchemaSettings() { return ((bitField0_ & 0x00000010) != 0); } + /** * * @@ -2242,6 +2305,7 @@ public com.google.pubsub.v1.SchemaSettings getSchemaSettings() { return schemaSettingsBuilder_.getMessage(); } } + /** * * @@ -2266,6 +2330,7 @@ public Builder setSchemaSettings(com.google.pubsub.v1.SchemaSettings value) { onChanged(); return this; } + /** * * @@ -2287,6 +2352,7 @@ public Builder setSchemaSettings(com.google.pubsub.v1.SchemaSettings.Builder bui onChanged(); return this; } + /** * * @@ -2316,6 +2382,7 @@ public Builder mergeSchemaSettings(com.google.pubsub.v1.SchemaSettings value) { } return this; } + /** * * @@ -2337,6 +2404,7 @@ public Builder clearSchemaSettings() { onChanged(); return this; } + /** * * @@ -2353,6 +2421,7 @@ public com.google.pubsub.v1.SchemaSettings.Builder getSchemaSettingsBuilder() { onChanged(); return getSchemaSettingsFieldBuilder().getBuilder(); } + /** * * @@ -2373,6 +2442,7 @@ public com.google.pubsub.v1.SchemaSettingsOrBuilder getSchemaSettingsOrBuilder() : schemaSettings_; } } + /** * * @@ -2402,6 +2472,7 @@ public com.google.pubsub.v1.SchemaSettingsOrBuilder getSchemaSettingsOrBuilder() } private boolean satisfiesPzs_; + /** * * @@ -2418,6 +2489,7 @@ public com.google.pubsub.v1.SchemaSettingsOrBuilder getSchemaSettingsOrBuilder() public boolean getSatisfiesPzs() { return satisfiesPzs_; } + /** * * @@ -2438,6 +2510,7 @@ public Builder setSatisfiesPzs(boolean value) { onChanged(); return this; } + /** * * @@ -2463,6 +2536,7 @@ public Builder clearSatisfiesPzs() { com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> messageRetentionDurationBuilder_; + /** * * @@ -2487,6 +2561,7 @@ public Builder clearSatisfiesPzs() { public boolean hasMessageRetentionDuration() { return ((bitField0_ & 0x00000040) != 0); } + /** * * @@ -2517,6 +2592,7 @@ public com.google.protobuf.Duration getMessageRetentionDuration() { return messageRetentionDurationBuilder_.getMessage(); } } + /** * * @@ -2549,6 +2625,7 @@ public Builder setMessageRetentionDuration(com.google.protobuf.Duration value) { onChanged(); return this; } + /** * * @@ -2579,6 +2656,7 @@ public Builder setMessageRetentionDuration( onChanged(); return this; } + /** * * @@ -2616,6 +2694,7 @@ public Builder mergeMessageRetentionDuration(com.google.protobuf.Duration value) } return this; } + /** * * @@ -2645,6 +2724,7 @@ public Builder clearMessageRetentionDuration() { onChanged(); return this; } + /** * * @@ -2669,6 +2749,7 @@ public com.google.protobuf.Duration.Builder getMessageRetentionDurationBuilder() onChanged(); return getMessageRetentionDurationFieldBuilder().getBuilder(); } + /** * * @@ -2697,6 +2778,7 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde : messageRetentionDuration_; } } + /** * * @@ -2734,6 +2816,7 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde } private int state_ = 0; + /** * * @@ -2750,6 +2833,7 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde public int getStateValue() { return state_; } + /** * * @@ -2769,6 +2853,7 @@ public Builder setStateValue(int value) { onChanged(); return this; } + /** * * @@ -2786,6 +2871,7 @@ public com.google.pubsub.v1.Topic.State getState() { com.google.pubsub.v1.Topic.State result = com.google.pubsub.v1.Topic.State.forNumber(state_); return result == null ? com.google.pubsub.v1.Topic.State.UNRECOGNIZED : result; } + /** * * @@ -2808,6 +2894,7 @@ public Builder setState(com.google.pubsub.v1.Topic.State value) { onChanged(); return this; } + /** * * @@ -2833,6 +2920,7 @@ public Builder clearState() { com.google.pubsub.v1.IngestionDataSourceSettings.Builder, com.google.pubsub.v1.IngestionDataSourceSettingsOrBuilder> ingestionDataSourceSettingsBuilder_; + /** * * @@ -2849,6 +2937,7 @@ public Builder clearState() { public boolean hasIngestionDataSourceSettings() { return ((bitField0_ & 0x00000100) != 0); } + /** * * @@ -2871,6 +2960,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings getIngestionDataSourceSe return ingestionDataSourceSettingsBuilder_.getMessage(); } } + /** * * @@ -2896,6 +2986,7 @@ public Builder setIngestionDataSourceSettings( onChanged(); return this; } + /** * * @@ -2918,6 +3009,7 @@ public Builder setIngestionDataSourceSettings( onChanged(); return this; } + /** * * @@ -2949,6 +3041,7 @@ public Builder mergeIngestionDataSourceSettings( } return this; } + /** * * @@ -2970,6 +3063,7 @@ public Builder clearIngestionDataSourceSettings() { onChanged(); return this; } + /** * * @@ -2987,6 +3081,7 @@ public Builder clearIngestionDataSourceSettings() { onChanged(); return getIngestionDataSourceSettingsFieldBuilder().getBuilder(); } + /** * * @@ -3008,6 +3103,7 @@ public Builder clearIngestionDataSourceSettings() { : ingestionDataSourceSettings_; } } + /** * * @@ -3072,6 +3168,7 @@ public java.util.List getMessageTransform return messageTransformsBuilder_.getMessageList(); } } + /** * * @@ -3091,6 +3188,7 @@ public int getMessageTransformsCount() { return messageTransformsBuilder_.getCount(); } } + /** * * @@ -3110,6 +3208,7 @@ public com.google.pubsub.v1.MessageTransform getMessageTransforms(int index) { return messageTransformsBuilder_.getMessage(index); } } + /** * * @@ -3135,6 +3234,7 @@ public Builder setMessageTransforms(int index, com.google.pubsub.v1.MessageTrans } return this; } + /** * * @@ -3158,6 +3258,7 @@ public Builder setMessageTransforms( } return this; } + /** * * @@ -3183,6 +3284,7 @@ public Builder addMessageTransforms(com.google.pubsub.v1.MessageTransform value) } return this; } + /** * * @@ -3208,6 +3310,7 @@ public Builder addMessageTransforms(int index, com.google.pubsub.v1.MessageTrans } return this; } + /** * * @@ -3231,6 +3334,7 @@ public Builder addMessageTransforms( } return this; } + /** * * @@ -3254,6 +3358,7 @@ public Builder addMessageTransforms( } return this; } + /** * * @@ -3277,6 +3382,7 @@ public Builder addAllMessageTransforms( } return this; } + /** * * @@ -3299,6 +3405,7 @@ public Builder clearMessageTransforms() { } return this; } + /** * * @@ -3321,6 +3428,7 @@ public Builder removeMessageTransforms(int index) { } return this; } + /** * * @@ -3336,6 +3444,7 @@ public Builder removeMessageTransforms(int index) { public com.google.pubsub.v1.MessageTransform.Builder getMessageTransformsBuilder(int index) { return getMessageTransformsFieldBuilder().getBuilder(index); } + /** * * @@ -3355,6 +3464,7 @@ public com.google.pubsub.v1.MessageTransformOrBuilder getMessageTransformsOrBuil return messageTransformsBuilder_.getMessageOrBuilder(index); } } + /** * * @@ -3375,6 +3485,7 @@ public com.google.pubsub.v1.MessageTransformOrBuilder getMessageTransformsOrBuil return java.util.Collections.unmodifiableList(messageTransforms_); } } + /** * * @@ -3391,6 +3502,7 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder return getMessageTransformsFieldBuilder() .addBuilder(com.google.pubsub.v1.MessageTransform.getDefaultInstance()); } + /** * * @@ -3407,6 +3519,7 @@ public com.google.pubsub.v1.MessageTransform.Builder addMessageTransformsBuilder return getMessageTransformsFieldBuilder() .addBuilder(index, com.google.pubsub.v1.MessageTransform.getDefaultInstance()); } + /** * * 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 6c805af88..aec543431 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 @@ -217,7 +217,8 @@ public Builder setTopic(String topic) { private Builder(TopicName topicName) { Preconditions.checkArgument( Objects.equals(topicName.pathTemplate, PROJECT_TOPIC), - "toBuilder is only supported when TopicName has the pattern of projects/{project}/topics/{topic}"); + "toBuilder is only supported when TopicName has the pattern of" + + " projects/{project}/topics/{topic}"); this.project = topicName.project; this.topic = topicName.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 3af29ee9f..3614d1be5 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 @@ -41,6 +41,7 @@ public interface TopicOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -70,6 +71,7 @@ public interface TopicOrBuilder * map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL]; */ int getLabelsCount(); + /** * * @@ -81,9 +83,11 @@ public interface TopicOrBuilder * map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL]; */ boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); + /** * * @@ -95,6 +99,7 @@ public interface TopicOrBuilder * map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map getLabelsMap(); + /** * * @@ -110,6 +115,7 @@ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); + /** * * @@ -138,6 +144,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the messageStoragePolicy field is set. */ boolean hasMessageStoragePolicy(); + /** * * @@ -154,6 +161,7 @@ java.lang.String getLabelsOrDefault( * @return The messageStoragePolicy. */ com.google.pubsub.v1.MessageStoragePolicy getMessageStoragePolicy(); + /** * * @@ -184,6 +192,7 @@ java.lang.String getLabelsOrDefault( * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); + /** * * @@ -214,6 +223,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the schemaSettings field is set. */ boolean hasSchemaSettings(); + /** * * @@ -228,6 +238,7 @@ java.lang.String getLabelsOrDefault( * @return The schemaSettings. */ com.google.pubsub.v1.SchemaSettings getSchemaSettings(); + /** * * @@ -277,6 +288,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the messageRetentionDuration field is set. */ boolean hasMessageRetentionDuration(); + /** * * @@ -299,6 +311,7 @@ java.lang.String getLabelsOrDefault( * @return The messageRetentionDuration. */ com.google.protobuf.Duration getMessageRetentionDuration(); + /** * * @@ -333,6 +346,7 @@ java.lang.String getLabelsOrDefault( * @return The enum numeric value on the wire for state. */ int getStateValue(); + /** * * @@ -361,6 +375,7 @@ java.lang.String getLabelsOrDefault( * @return Whether the ingestionDataSourceSettings field is set. */ boolean hasIngestionDataSourceSettings(); + /** * * @@ -375,6 +390,7 @@ java.lang.String getLabelsOrDefault( * @return The ingestionDataSourceSettings. */ com.google.pubsub.v1.IngestionDataSourceSettings getIngestionDataSourceSettings(); + /** * * @@ -402,6 +418,7 @@ java.lang.String getLabelsOrDefault( * */ java.util.List getMessageTransformsList(); + /** * * @@ -415,6 +432,7 @@ java.lang.String getLabelsOrDefault( * */ com.google.pubsub.v1.MessageTransform getMessageTransforms(int index); + /** * * @@ -428,6 +446,7 @@ java.lang.String getLabelsOrDefault( * */ int getMessageTransformsCount(); + /** * * @@ -442,6 +461,7 @@ java.lang.String getLabelsOrDefault( */ java.util.List getMessageTransformsOrBuilderList(); + /** * * 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 ee0819771..6873bc0ff 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 @@ -33,6 +33,7 @@ public final class UpdateSnapshotRequest extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.UpdateSnapshotRequest) UpdateSnapshotRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use UpdateSnapshotRequest.newBuilder() to construct. private UpdateSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -64,6 +65,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int bitField0_; public static final int SNAPSHOT_FIELD_NUMBER = 1; private com.google.pubsub.v1.Snapshot snapshot_; + /** * * @@ -79,6 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public boolean hasSnapshot() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -94,6 +97,7 @@ public boolean hasSnapshot() { public com.google.pubsub.v1.Snapshot getSnapshot() { return snapshot_ == null ? com.google.pubsub.v1.Snapshot.getDefaultInstance() : snapshot_; } + /** * * @@ -110,6 +114,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; + /** * * @@ -127,6 +132,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotOrBuilder() { public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -144,6 +150,7 @@ public boolean hasUpdateMask() { public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } + /** * * @@ -338,6 +345,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -559,6 +567,7 @@ public Builder mergeFrom( com.google.pubsub.v1.Snapshot.Builder, com.google.pubsub.v1.SnapshotOrBuilder> snapshotBuilder_; + /** * * @@ -574,6 +583,7 @@ public Builder mergeFrom( public boolean hasSnapshot() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -593,6 +603,7 @@ public com.google.pubsub.v1.Snapshot getSnapshot() { return snapshotBuilder_.getMessage(); } } + /** * * @@ -616,6 +627,7 @@ public Builder setSnapshot(com.google.pubsub.v1.Snapshot value) { onChanged(); return this; } + /** * * @@ -636,6 +648,7 @@ public Builder setSnapshot(com.google.pubsub.v1.Snapshot.Builder builderForValue onChanged(); return this; } + /** * * @@ -664,6 +677,7 @@ public Builder mergeSnapshot(com.google.pubsub.v1.Snapshot value) { } return this; } + /** * * @@ -684,6 +698,7 @@ public Builder clearSnapshot() { onChanged(); return this; } + /** * * @@ -699,6 +714,7 @@ public com.google.pubsub.v1.Snapshot.Builder getSnapshotBuilder() { onChanged(); return getSnapshotFieldBuilder().getBuilder(); } + /** * * @@ -716,6 +732,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotOrBuilder() { return snapshot_ == null ? com.google.pubsub.v1.Snapshot.getDefaultInstance() : snapshot_; } } + /** * * @@ -749,6 +766,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotOrBuilder() { com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + /** * * @@ -765,6 +783,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotOrBuilder() { public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -787,6 +806,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMaskBuilder_.getMessage(); } } + /** * * @@ -811,6 +831,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { onChanged(); return this; } + /** * * @@ -832,6 +853,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal onChanged(); return this; } + /** * * @@ -861,6 +883,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } return this; } + /** * * @@ -882,6 +905,7 @@ public Builder clearUpdateMask() { onChanged(); return this; } + /** * * @@ -898,6 +922,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } + /** * * @@ -918,6 +943,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { : updateMask_; } } + /** * * 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 29eace61f..8f693411c 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 @@ -36,6 +36,7 @@ public interface UpdateSnapshotRequestOrBuilder * @return Whether the snapshot field is set. */ boolean hasSnapshot(); + /** * * @@ -48,6 +49,7 @@ public interface UpdateSnapshotRequestOrBuilder * @return The snapshot. */ com.google.pubsub.v1.Snapshot getSnapshot(); + /** * * @@ -73,6 +75,7 @@ public interface UpdateSnapshotRequestOrBuilder * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); + /** * * @@ -87,6 +90,7 @@ public interface UpdateSnapshotRequestOrBuilder * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); + /** * * 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 26db4ac40..e1d91cdb6 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 @@ -33,6 +33,7 @@ public final class UpdateSubscriptionRequest extends com.google.protobuf.Generat // @@protoc_insertion_point(message_implements:google.pubsub.v1.UpdateSubscriptionRequest) UpdateSubscriptionRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use UpdateSubscriptionRequest.newBuilder() to construct. private UpdateSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -64,6 +65,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int bitField0_; public static final int SUBSCRIPTION_FIELD_NUMBER = 1; private com.google.pubsub.v1.Subscription subscription_; + /** * * @@ -81,6 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public boolean hasSubscription() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -100,6 +103,7 @@ public com.google.pubsub.v1.Subscription getSubscription() { ? com.google.pubsub.v1.Subscription.getDefaultInstance() : subscription_; } + /** * * @@ -120,6 +124,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; + /** * * @@ -137,6 +142,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionOrBuilder() { public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -154,6 +160,7 @@ public boolean hasUpdateMask() { public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } + /** * * @@ -348,6 +355,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -570,6 +578,7 @@ public Builder mergeFrom( com.google.pubsub.v1.Subscription.Builder, com.google.pubsub.v1.SubscriptionOrBuilder> subscriptionBuilder_; + /** * * @@ -586,6 +595,7 @@ public Builder mergeFrom( public boolean hasSubscription() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -608,6 +618,7 @@ public com.google.pubsub.v1.Subscription getSubscription() { return subscriptionBuilder_.getMessage(); } } + /** * * @@ -632,6 +643,7 @@ public Builder setSubscription(com.google.pubsub.v1.Subscription value) { onChanged(); return this; } + /** * * @@ -653,6 +665,7 @@ public Builder setSubscription(com.google.pubsub.v1.Subscription.Builder builder onChanged(); return this; } + /** * * @@ -682,6 +695,7 @@ public Builder mergeSubscription(com.google.pubsub.v1.Subscription value) { } return this; } + /** * * @@ -703,6 +717,7 @@ public Builder clearSubscription() { onChanged(); return this; } + /** * * @@ -719,6 +734,7 @@ public com.google.pubsub.v1.Subscription.Builder getSubscriptionBuilder() { onChanged(); return getSubscriptionFieldBuilder().getBuilder(); } + /** * * @@ -739,6 +755,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionOrBuilder() { : subscription_; } } + /** * * @@ -773,6 +790,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionOrBuilder() { com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + /** * * @@ -789,6 +807,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionOrBuilder() { public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -811,6 +830,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMaskBuilder_.getMessage(); } } + /** * * @@ -835,6 +855,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { onChanged(); return this; } + /** * * @@ -856,6 +877,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal onChanged(); return this; } + /** * * @@ -885,6 +907,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } return this; } + /** * * @@ -906,6 +929,7 @@ public Builder clearUpdateMask() { onChanged(); return this; } + /** * * @@ -922,6 +946,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } + /** * * @@ -942,6 +967,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { : updateMask_; } } + /** * * 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 4e269b66b..b11c76dbc 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 @@ -38,6 +38,7 @@ public interface UpdateSubscriptionRequestOrBuilder * @return Whether the subscription field is set. */ boolean hasSubscription(); + /** * * @@ -52,6 +53,7 @@ public interface UpdateSubscriptionRequestOrBuilder * @return The subscription. */ com.google.pubsub.v1.Subscription getSubscription(); + /** * * @@ -79,6 +81,7 @@ public interface UpdateSubscriptionRequestOrBuilder * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); + /** * * @@ -93,6 +96,7 @@ public interface UpdateSubscriptionRequestOrBuilder * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); + /** * * 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 881978774..9ac03519f 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 @@ -33,6 +33,7 @@ public final class UpdateTopicRequest extends com.google.protobuf.GeneratedMessa // @@protoc_insertion_point(message_implements:google.pubsub.v1.UpdateTopicRequest) UpdateTopicRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use UpdateTopicRequest.newBuilder() to construct. private UpdateTopicRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -64,6 +65,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int bitField0_; public static final int TOPIC_FIELD_NUMBER = 1; private com.google.pubsub.v1.Topic topic_; + /** * * @@ -79,6 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public boolean hasTopic() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -94,6 +97,7 @@ public boolean hasTopic() { public com.google.pubsub.v1.Topic getTopic() { return topic_ == null ? com.google.pubsub.v1.Topic.getDefaultInstance() : topic_; } + /** * * @@ -110,6 +114,7 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; + /** * * @@ -130,6 +135,7 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicOrBuilder() { public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -150,6 +156,7 @@ public boolean hasUpdateMask() { public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } + /** * * @@ -346,6 +353,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -567,6 +575,7 @@ public Builder mergeFrom( com.google.pubsub.v1.Topic.Builder, com.google.pubsub.v1.TopicOrBuilder> topicBuilder_; + /** * * @@ -581,6 +590,7 @@ public Builder mergeFrom( public boolean hasTopic() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -599,6 +609,7 @@ public com.google.pubsub.v1.Topic getTopic() { return topicBuilder_.getMessage(); } } + /** * * @@ -621,6 +632,7 @@ public Builder setTopic(com.google.pubsub.v1.Topic value) { onChanged(); return this; } + /** * * @@ -640,6 +652,7 @@ public Builder setTopic(com.google.pubsub.v1.Topic.Builder builderForValue) { onChanged(); return this; } + /** * * @@ -667,6 +680,7 @@ public Builder mergeTopic(com.google.pubsub.v1.Topic value) { } return this; } + /** * * @@ -686,6 +700,7 @@ public Builder clearTopic() { onChanged(); return this; } + /** * * @@ -700,6 +715,7 @@ public com.google.pubsub.v1.Topic.Builder getTopicBuilder() { onChanged(); return getTopicFieldBuilder().getBuilder(); } + /** * * @@ -716,6 +732,7 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicOrBuilder() { return topic_ == null ? com.google.pubsub.v1.Topic.getDefaultInstance() : topic_; } } + /** * * @@ -747,6 +764,7 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicOrBuilder() { com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + /** * * @@ -766,6 +784,7 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicOrBuilder() { public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -791,6 +810,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMaskBuilder_.getMessage(); } } + /** * * @@ -818,6 +838,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { onChanged(); return this; } + /** * * @@ -842,6 +863,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal onChanged(); return this; } + /** * * @@ -874,6 +896,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { } return this; } + /** * * @@ -898,6 +921,7 @@ public Builder clearUpdateMask() { onChanged(); return this; } + /** * * @@ -917,6 +941,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } + /** * * @@ -940,6 +965,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { : updateMask_; } } + /** * * 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 d8f1585fe..c58242301 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 @@ -36,6 +36,7 @@ public interface UpdateTopicRequestOrBuilder * @return Whether the topic field is set. */ boolean hasTopic(); + /** * * @@ -48,6 +49,7 @@ public interface UpdateTopicRequestOrBuilder * @return The topic. */ com.google.pubsub.v1.Topic getTopic(); + /** * * @@ -76,6 +78,7 @@ public interface UpdateTopicRequestOrBuilder * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); + /** * * @@ -93,6 +96,7 @@ public interface UpdateTopicRequestOrBuilder * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); + /** * * 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 da740bab7..5211f514f 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 @@ -33,6 +33,7 @@ public final class ValidateMessageRequest extends com.google.protobuf.GeneratedM // @@protoc_insertion_point(message_implements:google.pubsub.v1.ValidateMessageRequest) ValidateMessageRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ValidateMessageRequest.newBuilder() to construct. private ValidateMessageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -82,6 +83,7 @@ public enum SchemaSpecCase private SchemaSpecCase(int value) { this.value = value; } + /** * @param value The number of the enum to look for. * @return The enum associated with the given number. @@ -118,6 +120,7 @@ public SchemaSpecCase getSchemaSpecCase() { @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; + /** * * @@ -144,6 +147,7 @@ public java.lang.String getParent() { return s; } } + /** * * @@ -172,6 +176,7 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int NAME_FIELD_NUMBER = 2; + /** * * @@ -188,6 +193,7 @@ public com.google.protobuf.ByteString getParentBytes() { public boolean hasName() { return schemaSpecCase_ == 2; } + /** * * @@ -217,6 +223,7 @@ public java.lang.String getName() { return s; } } + /** * * @@ -248,6 +255,7 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SCHEMA_FIELD_NUMBER = 3; + /** * * @@ -263,6 +271,7 @@ public com.google.protobuf.ByteString getNameBytes() { public boolean hasSchema() { return schemaSpecCase_ == 3; } + /** * * @@ -281,6 +290,7 @@ public com.google.pubsub.v1.Schema getSchema() { } return com.google.pubsub.v1.Schema.getDefaultInstance(); } + /** * * @@ -300,6 +310,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { public static final int MESSAGE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString message_ = com.google.protobuf.ByteString.EMPTY; + /** * * @@ -318,6 +329,7 @@ public com.google.protobuf.ByteString getMessage() { public static final int ENCODING_FIELD_NUMBER = 5; private int encoding_ = 0; + /** * * @@ -333,6 +345,7 @@ public com.google.protobuf.ByteString getMessage() { public int getEncodingValue() { return encoding_; } + /** * * @@ -564,6 +577,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -832,6 +846,7 @@ public Builder clearSchemaSpec() { private int bitField0_; private java.lang.Object parent_ = ""; + /** * * @@ -857,6 +872,7 @@ public java.lang.String getParent() { return (java.lang.String) ref; } } + /** * * @@ -882,6 +898,7 @@ public com.google.protobuf.ByteString getParentBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -906,6 +923,7 @@ public Builder setParent(java.lang.String value) { onChanged(); return this; } + /** * * @@ -926,6 +944,7 @@ public Builder clearParent() { onChanged(); return this; } + /** * * @@ -969,6 +988,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { public boolean hasName() { return schemaSpecCase_ == 2; } + /** * * @@ -999,6 +1019,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * * @@ -1029,6 +1050,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -1052,6 +1074,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * * @@ -1073,6 +1096,7 @@ public Builder clearName() { } return this; } + /** * * @@ -1103,6 +1127,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> schemaBuilder_; + /** * * @@ -1118,6 +1143,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { public boolean hasSchema() { return schemaSpecCase_ == 3; } + /** * * @@ -1143,6 +1169,7 @@ public com.google.pubsub.v1.Schema getSchema() { return com.google.pubsub.v1.Schema.getDefaultInstance(); } } + /** * * @@ -1165,6 +1192,7 @@ public Builder setSchema(com.google.pubsub.v1.Schema value) { schemaSpecCase_ = 3; return this; } + /** * * @@ -1184,6 +1212,7 @@ public Builder setSchema(com.google.pubsub.v1.Schema.Builder builderForValue) { schemaSpecCase_ = 3; return this; } + /** * * @@ -1215,6 +1244,7 @@ public Builder mergeSchema(com.google.pubsub.v1.Schema value) { schemaSpecCase_ = 3; return this; } + /** * * @@ -1240,6 +1270,7 @@ public Builder clearSchema() { } return this; } + /** * * @@ -1252,6 +1283,7 @@ public Builder clearSchema() { public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } + /** * * @@ -1272,6 +1304,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { return com.google.pubsub.v1.Schema.getDefaultInstance(); } } + /** * * @@ -1304,6 +1337,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { } private com.google.protobuf.ByteString message_ = com.google.protobuf.ByteString.EMPTY; + /** * * @@ -1319,6 +1353,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { public com.google.protobuf.ByteString getMessage() { return message_; } + /** * * @@ -1340,6 +1375,7 @@ public Builder setMessage(com.google.protobuf.ByteString value) { onChanged(); return this; } + /** * * @@ -1359,6 +1395,7 @@ public Builder clearMessage() { } private int encoding_ = 0; + /** * * @@ -1374,6 +1411,7 @@ public Builder clearMessage() { public int getEncodingValue() { return encoding_; } + /** * * @@ -1392,6 +1430,7 @@ public Builder setEncodingValue(int value) { onChanged(); return this; } + /** * * @@ -1408,6 +1447,7 @@ public com.google.pubsub.v1.Encoding getEncoding() { com.google.pubsub.v1.Encoding result = com.google.pubsub.v1.Encoding.forNumber(encoding_); return result == null ? com.google.pubsub.v1.Encoding.UNRECOGNIZED : result; } + /** * * @@ -1429,6 +1469,7 @@ public Builder setEncoding(com.google.pubsub.v1.Encoding value) { onChanged(); return this; } + /** * * 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 73bde3da9..2d4102c26 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 @@ -39,6 +39,7 @@ public interface ValidateMessageRequestOrBuilder * @return The parent. */ java.lang.String getParent(); + /** * * @@ -69,6 +70,7 @@ public interface ValidateMessageRequestOrBuilder * @return Whether the name field is set. */ boolean hasName(); + /** * * @@ -83,6 +85,7 @@ public interface ValidateMessageRequestOrBuilder * @return The name. */ java.lang.String getName(); + /** * * @@ -110,6 +113,7 @@ public interface ValidateMessageRequestOrBuilder * @return Whether the schema field is set. */ boolean hasSchema(); + /** * * @@ -122,6 +126,7 @@ public interface ValidateMessageRequestOrBuilder * @return The schema. */ com.google.pubsub.v1.Schema getSchema(); + /** * * @@ -158,6 +163,7 @@ public interface ValidateMessageRequestOrBuilder * @return The enum numeric value on the wire for encoding. */ int getEncodingValue(); + /** * * 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 418a1494e..afc1a70f6 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 @@ -34,6 +34,7 @@ public final class ValidateMessageResponse extends com.google.protobuf.Generated // @@protoc_insertion_point(message_implements:google.pubsub.v1.ValidateMessageResponse) ValidateMessageResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ValidateMessageResponse.newBuilder() to construct. private ValidateMessageResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -212,6 +213,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * 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 45232ef53..de152babb 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 @@ -33,6 +33,7 @@ public final class ValidateSchemaRequest extends com.google.protobuf.GeneratedMe // @@protoc_insertion_point(message_implements:google.pubsub.v1.ValidateSchemaRequest) ValidateSchemaRequestOrBuilder { private static final long serialVersionUID = 0L; + // Use ValidateSchemaRequest.newBuilder() to construct. private ValidateSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; + /** * * @@ -94,6 +96,7 @@ public java.lang.String getParent() { return s; } } + /** * * @@ -123,6 +126,7 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SCHEMA_FIELD_NUMBER = 2; private com.google.pubsub.v1.Schema schema_; + /** * * @@ -138,6 +142,7 @@ public com.google.protobuf.ByteString getParentBytes() { public boolean hasSchema() { return ((bitField0_ & 0x00000001) != 0); } + /** * * @@ -153,6 +158,7 @@ public boolean hasSchema() { public com.google.pubsub.v1.Schema getSchema() { return schema_ == null ? com.google.pubsub.v1.Schema.getDefaultInstance() : schema_; } + /** * * @@ -340,6 +346,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * @@ -552,6 +559,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object parent_ = ""; + /** * * @@ -577,6 +585,7 @@ public java.lang.String getParent() { return (java.lang.String) ref; } } + /** * * @@ -602,6 +611,7 @@ public com.google.protobuf.ByteString getParentBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * * @@ -626,6 +636,7 @@ public Builder setParent(java.lang.String value) { onChanged(); return this; } + /** * * @@ -646,6 +657,7 @@ public Builder clearParent() { onChanged(); return this; } + /** * * @@ -678,6 +690,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { com.google.pubsub.v1.Schema.Builder, com.google.pubsub.v1.SchemaOrBuilder> schemaBuilder_; + /** * * @@ -692,6 +705,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { public boolean hasSchema() { return ((bitField0_ & 0x00000002) != 0); } + /** * * @@ -710,6 +724,7 @@ public com.google.pubsub.v1.Schema getSchema() { return schemaBuilder_.getMessage(); } } + /** * * @@ -732,6 +747,7 @@ public Builder setSchema(com.google.pubsub.v1.Schema value) { onChanged(); return this; } + /** * * @@ -751,6 +767,7 @@ public Builder setSchema(com.google.pubsub.v1.Schema.Builder builderForValue) { onChanged(); return this; } + /** * * @@ -778,6 +795,7 @@ public Builder mergeSchema(com.google.pubsub.v1.Schema value) { } return this; } + /** * * @@ -797,6 +815,7 @@ public Builder clearSchema() { onChanged(); return this; } + /** * * @@ -811,6 +830,7 @@ public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() { onChanged(); return getSchemaFieldBuilder().getBuilder(); } + /** * * @@ -827,6 +847,7 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() { return schema_ == null ? com.google.pubsub.v1.Schema.getDefaultInstance() : schema_; } } + /** * * 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 89e05a495..69266da41 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 @@ -39,6 +39,7 @@ public interface ValidateSchemaRequestOrBuilder * @return The parent. */ java.lang.String getParent(); + /** * * @@ -67,6 +68,7 @@ public interface ValidateSchemaRequestOrBuilder * @return Whether the schema field is set. */ boolean hasSchema(); + /** * * @@ -79,6 +81,7 @@ public interface ValidateSchemaRequestOrBuilder * @return The schema. */ com.google.pubsub.v1.Schema getSchema(); + /** * * 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 886a37801..56773fd34 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 @@ -34,6 +34,7 @@ public final class ValidateSchemaResponse extends com.google.protobuf.GeneratedM // @@protoc_insertion_point(message_implements:google.pubsub.v1.ValidateSchemaResponse) ValidateSchemaResponseOrBuilder { private static final long serialVersionUID = 0L; + // Use ValidateSchemaResponse.newBuilder() to construct. private ValidateSchemaResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -212,6 +213,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } + /** * * 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 7ea1327fa..516b7faef 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 @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/pubsub/v1/schema.proto"; option csharp_namespace = "Google.Cloud.PubSub.V1"; -option go_package = "cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb"; +option go_package = "cloud.google.com/go/pubsub/v2/apiv1/pubsubpb;pubsubpb"; option java_multiple_files = true; option java_outer_classname = "PubsubProto"; option java_package = "com.google.pubsub.v1"; @@ -702,7 +702,7 @@ message JavaScriptUDF { // * // * @param {Object} metadata - Pub/Sub message metadata. // * Keys: - // * - (required) 'message_id' : {string} + // * - (optional) 'message_id' : {string} // * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format // * - (optional) 'ordering_key': {string} // */ 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 08781bbfc..37fd2f461 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 @@ -24,7 +24,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.PubSub.V1"; -option go_package = "cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb"; +option go_package = "cloud.google.com/go/pubsub/v2/apiv1/pubsubpb;pubsubpb"; option java_multiple_files = true; option java_outer_classname = "SchemaProto"; option java_package = "com.google.pubsub.v1"; diff --git a/renovate.json b/renovate.json index f67202e06..a604dc837 100644 --- a/renovate.json +++ b/renovate.json @@ -63,7 +63,6 @@ "^org.jacoco:", "^org.codehaus.mojo:", "^org.sonatype.plugins:", - "^com.coveo:", "^com.google.cloud:google-cloud-shared-config" ], "semanticCommitType": "build", diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index b31e29cf1..bd608c657 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.137.1 + 1.138.0 @@ -75,23 +75,23 @@ com.google.protobuf protobuf-java-util - 4.29.3 + 4.30.2 com.google.cloud google-cloud-core - 2.52.0 + 2.53.1 tests com.google.cloud google-cloud-bigquery - 2.48.1 + 2.49.0 com.google.cloud google-cloud-storage - 2.49.0 + 2.50.0 com.google.cloud.opentelemetry diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index dc6902be5..e1d2279be 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -43,7 +43,7 @@ com.google.cloud google-cloud-pubsub - 1.138.0 + 1.139.0 @@ -61,7 +61,7 @@ com.google.protobuf protobuf-java-util - 4.29.3 + 4.30.2 @@ -79,18 +79,18 @@ com.google.cloud google-cloud-core - 2.52.0 + 2.53.1 tests com.google.cloud google-cloud-bigquery - 2.48.1 + 2.49.0 com.google.cloud google-cloud-storage - 2.49.0 + 2.50.0 com.google.cloud.opentelemetry diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 0a152aa44..4b60d917e 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -45,7 +45,7 @@ com.google.cloud libraries-bom - 26.56.0 + 26.57.0 pom import @@ -85,7 +85,7 @@ com.google.protobuf protobuf-java-util - 4.29.3 + 4.30.2 @@ -103,7 +103,7 @@ com.google.cloud google-cloud-core - 2.52.0 + 2.53.1 tests diff --git a/samples/snippets/src/main/java/pubsub/OpenTelemetryPublisherExample.java b/samples/snippets/src/main/java/pubsub/OpenTelemetryPublisherExample.java index c812eed16..606c6fe36 100644 --- a/samples/snippets/src/main/java/pubsub/OpenTelemetryPublisherExample.java +++ b/samples/snippets/src/main/java/pubsub/OpenTelemetryPublisherExample.java @@ -49,8 +49,7 @@ public static void main(String... args) throws Exception { public static void openTelemetryPublisherExample(String projectId, String topicId) throws IOException, ExecutionException, InterruptedException { Resource resource = - Resource.getDefault() - .toBuilder() + Resource.getDefault().toBuilder() .put(ResourceAttributes.SERVICE_NAME, "publisher-example") .build(); diff --git a/samples/snippets/src/main/java/pubsub/OpenTelemetrySubscriberExample.java b/samples/snippets/src/main/java/pubsub/OpenTelemetrySubscriberExample.java index d46900b9b..f78c38d19 100644 --- a/samples/snippets/src/main/java/pubsub/OpenTelemetrySubscriberExample.java +++ b/samples/snippets/src/main/java/pubsub/OpenTelemetrySubscriberExample.java @@ -47,8 +47,7 @@ public static void main(String... args) throws Exception { public static void openTelemetrySubscriberExample(String projectId, String subscriptionId) { Resource resource = - Resource.getDefault() - .toBuilder() + Resource.getDefault().toBuilder() .put(ResourceAttributes.SERVICE_NAME, "subscriber-example") .build(); diff --git a/samples/snippets/src/main/java/pubsub/PublishAvroRecordsExample.java b/samples/snippets/src/main/java/pubsub/PublishAvroRecordsExample.java index aa7d571c9..763882d65 100644 --- a/samples/snippets/src/main/java/pubsub/PublishAvroRecordsExample.java +++ b/samples/snippets/src/main/java/pubsub/PublishAvroRecordsExample.java @@ -74,7 +74,7 @@ public static void publishAvroRecordsExample(String projectId, String topicId) switch (encoding) { case BINARY: System.out.println("Preparing a BINARY encoder..."); - encoder = EncoderFactory.get().directBinaryEncoder(byteStream, /*reuse=*/ null); + encoder = EncoderFactory.get().directBinaryEncoder(byteStream, /* reuse= */ null); break; case JSON: diff --git a/samples/snippets/src/main/java/pubsub/SubscribeWithAvroSchemaExample.java b/samples/snippets/src/main/java/pubsub/SubscribeWithAvroSchemaExample.java index 65b1937b8..68880d1d3 100644 --- a/samples/snippets/src/main/java/pubsub/SubscribeWithAvroSchemaExample.java +++ b/samples/snippets/src/main/java/pubsub/SubscribeWithAvroSchemaExample.java @@ -72,7 +72,7 @@ public static void subscribeWithAvroSchemaExample(String projectId, String subsc try { switch (encoding) { case "BINARY": - decoder = DecoderFactory.get().directBinaryDecoder(inputStream, /*reuse=*/ null); + decoder = DecoderFactory.get().directBinaryDecoder(inputStream, /* reuse= */ null); System.out.println("Receiving a binary-encoded message:"); break; case "JSON": diff --git a/samples/snippets/src/main/java/pubsub/SubscribeWithAvroSchemaRevisionsExample.java b/samples/snippets/src/main/java/pubsub/SubscribeWithAvroSchemaRevisionsExample.java index 204867006..9498bd020 100644 --- a/samples/snippets/src/main/java/pubsub/SubscribeWithAvroSchemaRevisionsExample.java +++ b/samples/snippets/src/main/java/pubsub/SubscribeWithAvroSchemaRevisionsExample.java @@ -118,7 +118,7 @@ public static void subscribeWithAvroSchemaRevisionsExample( try { switch (encoding) { case "BINARY": - decoder = DecoderFactory.get().directBinaryDecoder(inputStream, /*reuse=*/ null); + decoder = DecoderFactory.get().directBinaryDecoder(inputStream, /* reuse= */ null); System.out.println("Receiving a binary-encoded message:"); break; case "JSON": diff --git a/samples/snippets/src/main/java/utilities/State.java b/samples/snippets/src/main/java/utilities/State.java index 503acf61f..60d869e23 100644 --- a/samples/snippets/src/main/java/utilities/State.java +++ b/samples/snippets/src/main/java/utilities/State.java @@ -46,7 +46,12 @@ public class State extends org.apache.avro.specific.SpecificRecordBase public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser() .parse( - "{\"type\":\"record\",\"name\":\"State\",\"namespace\":\"utilities\",\"doc\":\"A list of states in the United States of America.\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"doc\":\"The common name of the state.\"},{\"name\":\"post_abbr\",\"type\":\"string\",\"doc\":\"The postal code abbreviation of the state.\"}]}"); + "{\"type\":\"record\",\"name\":\"State\",\"namespace\":\"utilities\",\"doc\":\"A list" + + " of states in the United States of" + + " America.\",\"fields\":[{\"name\":\"name\",\"type\":\"string\",\"doc\":\"The" + + " common name of the" + + " state.\"},{\"name\":\"post_abbr\",\"type\":\"string\",\"doc\":\"The postal" + + " code abbreviation of the state.\"}]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; @@ -113,6 +118,7 @@ public static State fromByteBuffer(java.nio.ByteBuffer b) throws java.io.IOExcep /** The common name of the state. */ private java.lang.CharSequence name; + /** The postal code abbreviation of the state. */ private java.lang.CharSequence post_abbr; @@ -140,6 +146,7 @@ public org.apache.avro.specific.SpecificData getSpecificData() { public org.apache.avro.Schema getSchema() { return SCHEMA$; } + // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { @@ -247,6 +254,7 @@ public static class Builder extends org.apache.avro.specific.SpecificRecordBuild /** The common name of the state. */ private java.lang.CharSequence name; + /** The postal code abbreviation of the state. */ private java.lang.CharSequence post_abbr; diff --git a/samples/snippets/src/main/java/utilities/StateProto.java b/samples/snippets/src/main/java/utilities/StateProto.java index f43d6e092..388ba9b97 100644 --- a/samples/snippets/src/main/java/utilities/StateProto.java +++ b/samples/snippets/src/main/java/utilities/StateProto.java @@ -50,6 +50,7 @@ public interface StateOrBuilder * @return The name. */ java.lang.String getName(); + /** * string name = 1; * @@ -63,6 +64,7 @@ public interface StateOrBuilder * @return The postAbbr. */ java.lang.String getPostAbbr(); + /** * string post_abbr = 2; * @@ -70,12 +72,14 @@ public interface StateOrBuilder */ com.google.protobuf.ByteString getPostAbbrBytes(); } + /** Protobuf type {@code utilities.State} */ public static final class State extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:utilities.State) StateOrBuilder { private static final long serialVersionUID = 0L; + // Use State.newBuilder() to construct. private State(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -108,6 +112,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; + /** * string name = 1; * @@ -125,6 +130,7 @@ public java.lang.String getName() { return s; } } + /** * string name = 1; * @@ -147,6 +153,7 @@ public com.google.protobuf.ByteString getNameBytes() { @SuppressWarnings("serial") private volatile java.lang.Object postAbbr_ = ""; + /** * string post_abbr = 2; * @@ -164,6 +171,7 @@ public java.lang.String getPostAbbr() { return s; } } + /** * string post_abbr = 2; * @@ -349,6 +357,7 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } + /** Protobuf type {@code utilities.State} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder @@ -537,6 +546,7 @@ public Builder mergeFrom( private int bitField0_; private java.lang.Object name_ = ""; + /** * string name = 1; * @@ -553,6 +563,7 @@ public java.lang.String getName() { return (java.lang.String) ref; } } + /** * string name = 1; * @@ -569,6 +580,7 @@ public com.google.protobuf.ByteString getNameBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * string name = 1; * @@ -584,6 +596,7 @@ public Builder setName(java.lang.String value) { onChanged(); return this; } + /** * string name = 1; * @@ -595,6 +608,7 @@ public Builder clearName() { onChanged(); return this; } + /** * string name = 1; * @@ -613,6 +627,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.lang.Object postAbbr_ = ""; + /** * string post_abbr = 2; * @@ -629,6 +644,7 @@ public java.lang.String getPostAbbr() { return (java.lang.String) ref; } } + /** * string post_abbr = 2; * @@ -645,6 +661,7 @@ public com.google.protobuf.ByteString getPostAbbrBytes() { return (com.google.protobuf.ByteString) ref; } } + /** * string post_abbr = 2; * @@ -660,6 +677,7 @@ public Builder setPostAbbr(java.lang.String value) { onChanged(); return this; } + /** * string post_abbr = 2; * @@ -671,6 +689,7 @@ public Builder clearPostAbbr() { onChanged(); return this; } + /** * string post_abbr = 2; * diff --git a/samples/snippets/src/test/java/pubsub/DeadLetterQueueIT.java b/samples/snippets/src/test/java/pubsub/DeadLetterQueueIT.java index 8a97d25f5..d85c27ad8 100644 --- a/samples/snippets/src/test/java/pubsub/DeadLetterQueueIT.java +++ b/samples/snippets/src/test/java/pubsub/DeadLetterQueueIT.java @@ -68,7 +68,7 @@ private static void publishSomeMessages() throws Exception { } @Rule public Timeout globalTimeout = Timeout.seconds(300); // 5 minute timeout - @Rule public MultipleAttemptsRule retryRule = new MultipleAttemptsRule(/*maxAttemptCount=*/ 3); + @Rule public MultipleAttemptsRule retryRule = new MultipleAttemptsRule(/* maxAttemptCount= */ 3); @BeforeClass public static void checkRequirements() { diff --git a/samples/snippets/src/test/java/pubsub/SchemaIT.java b/samples/snippets/src/test/java/pubsub/SchemaIT.java index 2874ae519..342a42c61 100644 --- a/samples/snippets/src/test/java/pubsub/SchemaIT.java +++ b/samples/snippets/src/test/java/pubsub/SchemaIT.java @@ -79,7 +79,7 @@ private static void requireEnvVar(String varName) { } @Rule public Timeout globalTimeout = Timeout.seconds(600); // 10 minute timeout - @Rule public MultipleAttemptsRule retryRule = new MultipleAttemptsRule(/*maxAttemptCount=*/ 3); + @Rule public MultipleAttemptsRule retryRule = new MultipleAttemptsRule(/* maxAttemptCount= */ 3); @Before public void setUp() { diff --git a/versions.txt b/versions.txt index 5d89f2bf7..280395fca 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-pubsub:1.138.0:1.138.0 -grpc-google-cloud-pubsub-v1:1.120.0:1.120.0 -proto-google-cloud-pubsub-v1:1.120.0:1.120.0 +google-cloud-pubsub:1.139.0:1.139.0 +grpc-google-cloud-pubsub-v1:1.121.0:1.121.0 +proto-google-cloud-pubsub-v1:1.121.0:1.121.0