From ded62cc4ee6acb3e3b34820c5b316f1f817c78e8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 22 Jun 2023 18:16:15 +0000 Subject: [PATCH 1/7] chore(main): release 3.15.6-SNAPSHOT (#1384) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- google-cloud-logging-bom/pom.xml | 8 ++++---- google-cloud-logging/pom.xml | 4 ++-- .../java/com/google/cloud/logging/Instrumentation.java | 2 +- grpc-google-cloud-logging-v2/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-logging-v2/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/google-cloud-logging-bom/pom.xml b/google-cloud-logging-bom/pom.xml index d6c2887a9..11d3bab78 100644 --- a/google-cloud-logging-bom/pom.xml +++ b/google-cloud-logging-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-logging-bom - 3.15.5 + 3.15.6-SNAPSHOT pom com.google.cloud @@ -53,17 +53,17 @@ com.google.cloud google-cloud-logging - 3.15.5 + 3.15.6-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.104.5 + 0.104.6-SNAPSHOT com.google.api.grpc proto-google-cloud-logging-v2 - 0.104.5 + 0.104.6-SNAPSHOT diff --git a/google-cloud-logging/pom.xml b/google-cloud-logging/pom.xml index 263d40e63..715b73af9 100644 --- a/google-cloud-logging/pom.xml +++ b/google-cloud-logging/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-logging - 3.15.5 + 3.15.6-SNAPSHOT jar Google Cloud Logging https://github.com/googleapis/java-logging @@ -11,7 +11,7 @@ com.google.cloud google-cloud-logging-parent - 3.15.5 + 3.15.6-SNAPSHOT google-cloud-logging diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java index b5a359d13..52e4dc90c 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java @@ -40,7 +40,7 @@ public final class Instrumentation { // See // https://github.com/googleapis/release-please/blob/main/docs/customizing.md#updating-arbitrary-files // {x-version-update-start:google-cloud-logging:current} - public static final String DEFAULT_INSTRUMENTATION_VERSION = "3.15.5"; + public static final String DEFAULT_INSTRUMENTATION_VERSION = "3.15.6-SNAPSHOT"; // {x-version-update-end} public static final String INSTRUMENTATION_LOG_NAME = "diagnostic-log"; public static final int MAX_DIAGNOSTIC_VALUE_LENGTH = 14; diff --git a/grpc-google-cloud-logging-v2/pom.xml b/grpc-google-cloud-logging-v2/pom.xml index 112f90766..1a7ac0a3c 100644 --- a/grpc-google-cloud-logging-v2/pom.xml +++ b/grpc-google-cloud-logging-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.104.5 + 0.104.6-SNAPSHOT grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.cloud google-cloud-logging-parent - 3.15.5 + 3.15.6-SNAPSHOT diff --git a/pom.xml b/pom.xml index 0650d11c4..9407cf982 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-logging-parent pom - 3.15.5 + 3.15.6-SNAPSHOT Google Cloud Logging Parent https://github.com/googleapis/java-logging @@ -61,17 +61,17 @@ com.google.api.grpc proto-google-cloud-logging-v2 - 0.104.5 + 0.104.6-SNAPSHOT com.google.api.grpc grpc-google-cloud-logging-v2 - 0.104.5 + 0.104.6-SNAPSHOT com.google.cloud google-cloud-logging - 3.15.5 + 3.15.6-SNAPSHOT diff --git a/proto-google-cloud-logging-v2/pom.xml b/proto-google-cloud-logging-v2/pom.xml index f9f5dd4b5..b23521272 100644 --- a/proto-google-cloud-logging-v2/pom.xml +++ b/proto-google-cloud-logging-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.104.5 + 0.104.6-SNAPSHOT proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.cloud google-cloud-logging-parent - 3.15.5 + 3.15.6-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index e6dad4337..ec711bdd9 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-logging - 3.15.5 + 3.15.6-SNAPSHOT diff --git a/versions.txt b/versions.txt index 491431154..6d7f06307 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-logging:3.15.5:3.15.5 -grpc-google-cloud-logging-v2:0.104.5:0.104.5 -proto-google-cloud-logging-v2:0.104.5:0.104.5 +google-cloud-logging:3.15.5:3.15.6-SNAPSHOT +grpc-google-cloud-logging-v2:0.104.5:0.104.6-SNAPSHOT +proto-google-cloud-logging-v2:0.104.5:0.104.6-SNAPSHOT From 3720aac719d97860161edc82f7c7aaee28bd1d14 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 23 Jun 2023 04:23:05 +0200 Subject: [PATCH 2/7] chore(deps): update dependency com.google.cloud:google-cloud-logging to v3.15.5 (#1385) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-logging to v3.15.5 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- README.md | 8 ++++---- samples/install-without-bom/pom.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f07e3d0e4..f24660170 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-logging - 3.15.4 + 3.15.5 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-logging' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-logging:3.15.4' +implementation 'com.google.cloud:google-cloud-logging:3.15.5' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "3.15.4" +libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "3.15.5" ``` @@ -452,7 +452,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-logging/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-logging.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging/3.15.4 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging/3.15.5 [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/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 60cc23fe4..e7d04ee44 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-logging - 3.15.4 + 3.15.5 From 094b3fad8ab7664158f9fde0e84fdc7eadf9eb12 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 19:32:12 +0000 Subject: [PATCH 3/7] ci: javadoc job (JDK 17) in ci.yaml (#1819) (#1386) This also changes the JDK distribution from zulu to temurin https://togithub.com/actions/setup-java#eclipse-temurin Source-Link: https://togithub.com/googleapis/synthtool/commit/ef9fe2ef6d92c7ff967d9d4f704035b3f5c9051d Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:31c8276a1bfb43766597d32645721c029cb94571f1b8d996cb2c290744fe52f9 --- .github/.OwlBot.lock.yaml | 4 ++-- .github/workflows/ci.yaml | 26 +++++++++++++++++++------- .github/workflows/samples.yaml | 2 +- README.md | 2 +- owlbot.py | 26 +++++++++++++------------- 5 files changed, 36 insertions(+), 24 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 47a70ea40..258389d1a 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:32851debfefed2b66038e0141f1b5c2103bb59ba80b7475adbc10ef7abab3de7 -# created: 2023-06-22T15:06:52.039318836Z + digest: sha256:31c8276a1bfb43766597d32645721c029cb94571f1b8d996cb2c290744fe52f9 +# created: 2023-06-27T18:51:58.922150125Z diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 65436cde4..e27b2c575 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{matrix.java}} - run: java -version - run: .kokoro/build.sh @@ -45,7 +45,7 @@ jobs: - uses: actions/setup-java@v3 with: java-version: 8 - distribution: zulu + distribution: temurin - name: "Set jvm system property environment variable for surefire plugin (unit tests)" # Maven surefire plugin (unit tests) allows us to specify JVM to run the tests. # https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm @@ -54,7 +54,7 @@ jobs: - uses: actions/setup-java@v3 with: java-version: 17 - distribution: zulu + distribution: temurin - run: .kokoro/build.sh env: JOB_TYPE: test @@ -66,7 +66,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 - run: java -version - run: .kokoro/build.bat @@ -81,17 +81,29 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh + javadoc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 17 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: javadoc lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 11 - run: java -version - run: .kokoro/build.sh @@ -103,7 +115,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 - run: java -version - run: .kokoro/build.sh diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml index 912ed8b2b..10d252d77 100644 --- a/.github/workflows/samples.yaml +++ b/.github/workflows/samples.yaml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - distribution: zulu + distribution: temurin java-version: 8 - name: Run checkstyle run: mvn -P lint --quiet --batch-mode checkstyle:check diff --git a/README.md b/README.md index f24660170..181884630 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.17.0') +implementation platform('com.google.cloud:libraries-bom:26.18.0') implementation 'com.google.cloud:google-cloud-logging' ``` diff --git a/owlbot.py b/owlbot.py index 073dec6be..243534795 100644 --- a/owlbot.py +++ b/owlbot.py @@ -18,7 +18,7 @@ # The method renamings will be removed in the next major release(lines 34 - 51) #s.replace('**/CmekSettingsName.java', 'formatBillingAccountName', 'formatBillingAccountCmekSettingsName') -DEPRECATION_JAVADOC = """Please use {{@link #{new_method}()}} instead""" +DEPRECATION_JAVADOC = """Please use {{@link #{new_method}}} instead""" for library in s.get_staging_dirs(): # put any special-case replacements here @@ -32,51 +32,51 @@ java.deprecate_method( 'owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java', 'public static String formatBillingAccountCmekSettingsName(String billingAccount)', - DEPRECATION_JAVADOC.format(new_method='formatBillingAccountName') + DEPRECATION_JAVADOC.format(new_method='formatBillingAccountName(String)') ) java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static String formatFolderName(String folder)', 'formatFolderName', 'formatFolderCmekSettingsName') java.deprecate_method( 'owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java', 'public static String formatFolderCmekSettingsName(String folder)', - DEPRECATION_JAVADOC.format(new_method='formatFolderName') + DEPRECATION_JAVADOC.format(new_method='formatFolderName(String)') ) java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static String formatOrganizationName(String organization)', 'formatOrganizationName', 'formatOrganizationCmekSettingsName') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static String formatOrganizationCmekSettingsName(String organization)', DEPRECATION_JAVADOC.format(new_method='formatOrganizationName')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static String formatOrganizationCmekSettingsName(String organization)', DEPRECATION_JAVADOC.format(new_method='formatOrganizationName(String)')) java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static String formatProjectName(String project)', 'formatProjectName', 'formatProjectCmekSettingsName') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static String formatProjectCmekSettingsName(String project)', DEPRECATION_JAVADOC.format(new_method='formatProjectName')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static String formatProjectCmekSettingsName(String project)', DEPRECATION_JAVADOC.format(new_method='formatProjectName(String)')) java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static BillingAccountCmekSettingsBuilder newBillingAccountBuilder()', 'newBillingAccountBuilder', 'newBillingAccountCmekSettingsBuilder') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static BillingAccountCmekSettingsBuilder newBillingAccountCmekSettingsBuilder()', DEPRECATION_JAVADOC.format(new_method='newBillingAccountBuilder')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static BillingAccountCmekSettingsBuilder newBillingAccountCmekSettingsBuilder()', DEPRECATION_JAVADOC.format(new_method='newBillingAccountBuilder()')) s.replace('**/CmekSettingsName', 'return newBillingAccountBuilder', 'return newBillingAccountCmekSettingsBuilder' ) java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static FolderCmekSettingsBuilder newFolderBuilder()', 'newFolderBuilder', 'newFolderCmekSettingsBuilder') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static FolderCmekSettingsBuilder newFolderCmekSettingsBuilder()', DEPRECATION_JAVADOC.format(new_method='newFolderBuilder')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static FolderCmekSettingsBuilder newFolderCmekSettingsBuilder()', DEPRECATION_JAVADOC.format(new_method='newFolderBuilder()')) s.replace('**/CmekSettingsName.java', 'return newFolderBuilder', 'return newFolderCmekSettingsBuilder') java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static OrganizationCmekSettingsBuilder newOrganizationBuilder()', 'newOrganizationBuilder', 'newOrganizationCmekSettingsBuilder') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static OrganizationCmekSettingsBuilder newOrganizationCmekSettingsBuilder()', DEPRECATION_JAVADOC.format(new_method='newOrganizationBuilder')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static OrganizationCmekSettingsBuilder newOrganizationCmekSettingsBuilder()', DEPRECATION_JAVADOC.format(new_method='newOrganizationBuilder()')) s.replace('**/CmekSettingsName.java', 'return newOrganizationBuilder', 'return newOrganizationCmekSettingsBuilder') java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java', 'public static Builder newProjectBuilder()', 'newProjectBuilder', 'newProjectCmekSettingsBuilder') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static Builder newProjectCmekSettingsBuilder()', DEPRECATION_JAVADOC.format(new_method='newProjectBuilder')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static Builder newProjectCmekSettingsBuilder()', DEPRECATION_JAVADOC.format(new_method='newProjectBuilder()')) java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java', 'public static CmekSettingsName ofBillingAccountName(String billingAccount)', 'ofBillingAccountName', 'ofBillingAccountCmekSettingsName') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofBillingAccountCmekSettingsName(String billingAccount)', DEPRECATION_JAVADOC.format(new_method='ofBillingAccountName')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofBillingAccountCmekSettingsName(String billingAccount)', DEPRECATION_JAVADOC.format(new_method='ofBillingAccountName(String)')) s.replace('**/CmekSettingsName.java', 'return ofBillingAccountName', 'return ofBillingAccountCmekSettingsName') java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofFolderName(String folder)', 'ofFolderName', 'ofFolderCmekSettingsName') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofFolderCmekSettingsName(String folder)', DEPRECATION_JAVADOC.format(new_method='ofFolderName')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofFolderCmekSettingsName(String folder)', DEPRECATION_JAVADOC.format(new_method='ofFolderName(String)')) s.replace('**/CmekSettingsName.java', 'return ofFolderName', 'return ofFolderCmekSettingsName') java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java', 'public static CmekSettingsName ofOrganizationName(String organization)', 'ofOrganizationName', 'ofOrganizationCmekSettingsName') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofOrganizationCmekSettingsName(String organization)', DEPRECATION_JAVADOC.format(new_method='ofOrganizationName')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofOrganizationCmekSettingsName(String organization)', DEPRECATION_JAVADOC.format(new_method='ofOrganizationName(String)')) s.replace('**/CmekSettingsName.java', 'return ofOrganizationName', 'return ofOrganizationCmekSettingsName') java.copy_and_rename_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java', 'public static CmekSettingsName ofProjectName(String project)', 'ofProjectName', 'ofProjectCmekSettingsName') - java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofProjectCmekSettingsName(String project)', DEPRECATION_JAVADOC.format(new_method='ofProjectName')) + java.deprecate_method('owl-bot-staging/v2/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java','public static CmekSettingsName ofProjectCmekSettingsName(String project)', DEPRECATION_JAVADOC.format(new_method='ofProjectName(String)')) s.replace('**/CmekSettingsName.java', 'return ofProjectName', 'return ofProjectCmekSettingsName') s.replace('**/CmekSettingsName.java', 'BillingAccountBuilder', 'BillingAccountCmekSettingsBuilder') From 5ab99cc99d71d0815d09e7c480d09ae7e5ca505b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 20:32:12 +0000 Subject: [PATCH 4/7] chore(deps): Update gapic-generator-java to 2.21.0 (#1353) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 538365689 Source-Link: https://togithub.com/googleapis/googleapis/commit/7ac8a2479bd197e4d7533e1ae9bf1877823f0c26 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e58eedb75d3c07878097cdfbfd3ffdb7646763a3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTU4ZWVkYjc1ZDNjMDc4NzgwOTdjZGZiZmQzZmZkYjc2NDY3NjNhMyJ9 chore: upgrading protobuf to 23.2 for code generation PiperOrigin-RevId: 537035741 Source-Link: https://togithub.com/googleapis/googleapis/commit/640f7439448629156b3ff30adc0332cc8b7ce52c Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/5ec02ed2022878f99c94c763060ff6a018896b6e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWVjMDJlZDIwMjI4NzhmOTljOTRjNzYzMDYwZmY2YTAxODg5NmI2ZSJ9 chore: upgrading Protobuf to 23.1 and gRPC to 1.55.0 in code generation PiperOrigin-RevId: 534084593 Source-Link: https://togithub.com/googleapis/googleapis/commit/aa4559a97f79225fc57c9f70b5f84fe620e8292e Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/370325af8236732f5885f5940e0ef481fee83003 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzcwMzI1YWY4MjM2NzMyZjU4ODVmNTk0MGUwZWY0ODFmZWU4MzAwMyJ9 --- .../google/cloud/logging/Instrumentation.java | 2 +- .../com/google/cloud/logging/Logging.java | 599 ++++----- .../google/cloud/logging/LoggingHandler.java | 5 +- .../ResourceTypeEnvironmentGetter.java | 4 +- .../google/cloud/logging/v2/ConfigClient.java | 2 +- .../cloud/logging/v2/ConfigSettings.java | 2 +- .../cloud/logging/v2/LoggingClient.java | 2 +- .../cloud/logging/v2/LoggingSettings.java | 2 +- .../cloud/logging/v2/MetricsClient.java | 2 +- .../cloud/logging/v2/MetricsSettings.java | 2 +- .../google/cloud/logging/v2/package-info.java | 2 +- .../logging/v2/stub/ConfigServiceV2Stub.java | 2 +- .../v2/stub/ConfigServiceV2StubSettings.java | 2 +- .../GrpcConfigServiceV2CallableFactory.java | 2 +- .../v2/stub/GrpcConfigServiceV2Stub.java | 190 +-- .../GrpcLoggingServiceV2CallableFactory.java | 2 +- .../v2/stub/GrpcLoggingServiceV2Stub.java | 16 +- .../GrpcMetricsServiceV2CallableFactory.java | 2 +- .../v2/stub/GrpcMetricsServiceV2Stub.java | 34 +- .../logging/v2/stub/LoggingServiceV2Stub.java | 2 +- .../v2/stub/LoggingServiceV2StubSettings.java | 2 +- .../logging/v2/stub/MetricsServiceV2Stub.java | 2 +- .../v2/stub/MetricsServiceV2StubSettings.java | 2 +- .../cloud/logging/v2/ConfigClientTest.java | 2 +- .../cloud/logging/v2/LoggingClientTest.java | 2 +- .../cloud/logging/v2/MetricsClientTest.java | 2 +- .../cloud/logging/v2/MockConfigServiceV2.java | 2 +- .../logging/v2/MockConfigServiceV2Impl.java | 2 +- .../logging/v2/MockLoggingServiceV2.java | 2 +- .../logging/v2/MockLoggingServiceV2Impl.java | 2 +- .../logging/v2/MockMetricsServiceV2.java | 2 +- .../logging/v2/MockMetricsServiceV2Impl.java | 2 +- .../logging/v2/ConfigServiceV2Grpc.java | 2 +- .../logging/v2/LoggingServiceV2Grpc.java | 2 +- .../logging/v2/MetricsServiceV2Grpc.java | 2 +- .../google/logging/v2/BigQueryDataset.java | 14 +- .../logging/v2/BigQueryDatasetOrBuilder.java | 4 +- .../google/logging/v2/BigQueryOptions.java | 11 +- .../logging/v2/BigQueryOptionsOrBuilder.java | 3 +- .../v2/BillingAccountLocationName.java | 2 +- .../google/logging/v2/BillingAccountName.java | 2 +- .../com/google/logging/v2/BucketMetadata.java | 9 +- .../logging/v2/BucketMetadataOrBuilder.java | 4 +- .../com/google/logging/v2/CmekSettings.java | 137 ++- .../google/logging/v2/CmekSettingsName.java | 18 +- .../logging/v2/CmekSettingsOrBuilder.java | 38 +- .../logging/v2/CopyLogEntriesMetadata.java | 21 +- .../v2/CopyLogEntriesMetadataOrBuilder.java | 6 +- .../logging/v2/CopyLogEntriesRequest.java | 21 +- .../v2/CopyLogEntriesRequestOrBuilder.java | 6 +- .../logging/v2/CopyLogEntriesResponse.java | 7 +- .../v2/CopyLogEntriesResponseOrBuilder.java | 2 +- .../logging/v2/CreateBucketRequest.java | 28 +- .../v2/CreateBucketRequestOrBuilder.java | 8 +- .../logging/v2/CreateExclusionRequest.java | 28 +- .../v2/CreateExclusionRequestOrBuilder.java | 8 +- .../google/logging/v2/CreateLinkRequest.java | 14 +- .../v2/CreateLinkRequestOrBuilder.java | 4 +- .../logging/v2/CreateLogMetricRequest.java | 21 +- .../v2/CreateLogMetricRequestOrBuilder.java | 6 +- .../google/logging/v2/CreateSinkRequest.java | 32 +- .../v2/CreateSinkRequestOrBuilder.java | 9 +- .../google/logging/v2/CreateViewRequest.java | 28 +- .../v2/CreateViewRequestOrBuilder.java | 8 +- .../logging/v2/DeleteBucketRequest.java | 28 +- .../v2/DeleteBucketRequestOrBuilder.java | 8 +- .../logging/v2/DeleteExclusionRequest.java | 28 +- .../v2/DeleteExclusionRequestOrBuilder.java | 8 +- .../google/logging/v2/DeleteLinkRequest.java | 14 +- .../v2/DeleteLinkRequestOrBuilder.java | 4 +- .../logging/v2/DeleteLogMetricRequest.java | 14 +- .../v2/DeleteLogMetricRequestOrBuilder.java | 4 +- .../google/logging/v2/DeleteLogRequest.java | 28 +- .../logging/v2/DeleteLogRequestOrBuilder.java | 8 +- .../google/logging/v2/DeleteSinkRequest.java | 28 +- .../v2/DeleteSinkRequestOrBuilder.java | 8 +- .../google/logging/v2/DeleteViewRequest.java | 28 +- .../v2/DeleteViewRequestOrBuilder.java | 8 +- .../google/logging/v2/FolderLocationName.java | 2 +- .../com/google/logging/v2/FolderName.java | 2 +- .../google/logging/v2/GetBucketRequest.java | 28 +- .../logging/v2/GetBucketRequestOrBuilder.java | 8 +- .../logging/v2/GetCmekSettingsRequest.java | 37 +- .../v2/GetCmekSettingsRequestOrBuilder.java | 10 +- .../logging/v2/GetExclusionRequest.java | 28 +- .../v2/GetExclusionRequestOrBuilder.java | 8 +- .../com/google/logging/v2/GetLinkRequest.java | 14 +- .../logging/v2/GetLinkRequestOrBuilder.java | 4 +- .../logging/v2/GetLogMetricRequest.java | 14 +- .../v2/GetLogMetricRequestOrBuilder.java | 4 +- .../google/logging/v2/GetSettingsRequest.java | 37 +- .../v2/GetSettingsRequestOrBuilder.java | 10 +- .../com/google/logging/v2/GetSinkRequest.java | 28 +- .../logging/v2/GetSinkRequestOrBuilder.java | 8 +- .../com/google/logging/v2/GetViewRequest.java | 28 +- .../logging/v2/GetViewRequestOrBuilder.java | 8 +- .../com/google/logging/v2/IndexConfig.java | 33 +- .../logging/v2/IndexConfigOrBuilder.java | 9 +- .../java/com/google/logging/v2/IndexType.java | 2 +- .../com/google/logging/v2/LifecycleState.java | 2 +- .../main/java/com/google/logging/v2/Link.java | 35 +- .../com/google/logging/v2/LinkMetadata.java | 9 +- .../logging/v2/LinkMetadataOrBuilder.java | 4 +- .../java/com/google/logging/v2/LinkName.java | 2 +- .../com/google/logging/v2/LinkOrBuilder.java | 10 +- .../google/logging/v2/ListBucketsRequest.java | 21 +- .../v2/ListBucketsRequestOrBuilder.java | 6 +- .../logging/v2/ListBucketsResponse.java | 7 +- .../v2/ListBucketsResponseOrBuilder.java | 2 +- .../logging/v2/ListExclusionsRequest.java | 14 +- .../v2/ListExclusionsRequestOrBuilder.java | 4 +- .../logging/v2/ListExclusionsResponse.java | 7 +- .../v2/ListExclusionsResponseOrBuilder.java | 2 +- .../google/logging/v2/ListLinksRequest.java | 14 +- .../logging/v2/ListLinksRequestOrBuilder.java | 4 +- .../google/logging/v2/ListLinksResponse.java | 7 +- .../v2/ListLinksResponseOrBuilder.java | 2 +- .../logging/v2/ListLogEntriesRequest.java | 100 +- .../v2/ListLogEntriesRequestOrBuilder.java | 18 +- .../logging/v2/ListLogEntriesResponse.java | 14 +- .../v2/ListLogEntriesResponseOrBuilder.java | 4 +- .../logging/v2/ListLogMetricsRequest.java | 14 +- .../v2/ListLogMetricsRequestOrBuilder.java | 4 +- .../logging/v2/ListLogMetricsResponse.java | 7 +- .../v2/ListLogMetricsResponseOrBuilder.java | 2 +- .../google/logging/v2/ListLogsRequest.java | 107 +- .../logging/v2/ListLogsRequestOrBuilder.java | 20 +- .../google/logging/v2/ListLogsResponse.java | 48 +- .../logging/v2/ListLogsResponseOrBuilder.java | 2 +- ...stMonitoredResourceDescriptorsRequest.java | 7 +- ...edResourceDescriptorsRequestOrBuilder.java | 2 +- ...tMonitoredResourceDescriptorsResponse.java | 7 +- ...dResourceDescriptorsResponseOrBuilder.java | 2 +- .../google/logging/v2/ListSinksRequest.java | 14 +- .../logging/v2/ListSinksRequestOrBuilder.java | 4 +- .../google/logging/v2/ListSinksResponse.java | 7 +- .../v2/ListSinksResponseOrBuilder.java | 2 +- .../google/logging/v2/ListViewsRequest.java | 18 +- .../logging/v2/ListViewsRequestOrBuilder.java | 5 +- .../google/logging/v2/ListViewsResponse.java | 7 +- .../v2/ListViewsResponseOrBuilder.java | 2 +- .../google/logging/v2/LocationMetadata.java | 7 +- .../logging/v2/LocationMetadataOrBuilder.java | 2 +- .../com/google/logging/v2/LocationName.java | 2 +- .../java/com/google/logging/v2/LogBucket.java | 113 +- .../com/google/logging/v2/LogBucketName.java | 2 +- .../google/logging/v2/LogBucketOrBuilder.java | 22 +- .../java/com/google/logging/v2/LogEntry.java | 185 ++- .../google/logging/v2/LogEntryOperation.java | 7 +- .../v2/LogEntryOperationOrBuilder.java | 2 +- .../google/logging/v2/LogEntryOrBuilder.java | 58 +- .../com/google/logging/v2/LogEntryProto.java | 77 +- .../logging/v2/LogEntrySourceLocation.java | 7 +- .../v2/LogEntrySourceLocationOrBuilder.java | 2 +- .../com/google/logging/v2/LogExclusion.java | 45 +- .../google/logging/v2/LogExclusionName.java | 2 +- .../logging/v2/LogExclusionOrBuilder.java | 12 +- .../java/com/google/logging/v2/LogMetric.java | 173 ++- .../com/google/logging/v2/LogMetricName.java | 2 +- .../google/logging/v2/LogMetricOrBuilder.java | 50 +- .../java/com/google/logging/v2/LogName.java | 2 +- .../java/com/google/logging/v2/LogSink.java | 124 +- .../com/google/logging/v2/LogSinkName.java | 2 +- .../google/logging/v2/LogSinkOrBuilder.java | 34 +- .../java/com/google/logging/v2/LogSplit.java | 7 +- .../google/logging/v2/LogSplitOrBuilder.java | 2 +- .../java/com/google/logging/v2/LogView.java | 49 +- .../com/google/logging/v2/LogViewName.java | 2 +- .../google/logging/v2/LogViewOrBuilder.java | 14 +- .../google/logging/v2/LoggingConfigProto.java | 1068 +++++++++-------- .../logging/v2/LoggingMetricsProto.java | 137 +-- .../com/google/logging/v2/LoggingProto.java | 197 +-- .../com/google/logging/v2/OperationState.java | 2 +- .../logging/v2/OrganizationLocationName.java | 2 +- .../google/logging/v2/OrganizationName.java | 2 +- .../com/google/logging/v2/ProjectName.java | 2 +- .../java/com/google/logging/v2/Settings.java | 91 +- .../com/google/logging/v2/SettingsName.java | 2 +- .../google/logging/v2/SettingsOrBuilder.java | 26 +- .../logging/v2/TailLogEntriesRequest.java | 87 +- .../v2/TailLogEntriesRequestOrBuilder.java | 14 +- .../logging/v2/TailLogEntriesResponse.java | 12 +- .../v2/TailLogEntriesResponseOrBuilder.java | 2 +- .../logging/v2/UndeleteBucketRequest.java | 28 +- .../v2/UndeleteBucketRequestOrBuilder.java | 8 +- .../logging/v2/UpdateBucketRequest.java | 52 +- .../v2/UpdateBucketRequestOrBuilder.java | 14 +- .../logging/v2/UpdateCmekSettingsRequest.java | 73 +- .../UpdateCmekSettingsRequestOrBuilder.java | 19 +- .../logging/v2/UpdateExclusionRequest.java | 40 +- .../v2/UpdateExclusionRequestOrBuilder.java | 11 +- .../logging/v2/UpdateLogMetricRequest.java | 21 +- .../v2/UpdateLogMetricRequestOrBuilder.java | 6 +- .../logging/v2/UpdateSettingsRequest.java | 73 +- .../v2/UpdateSettingsRequestOrBuilder.java | 19 +- .../google/logging/v2/UpdateSinkRequest.java | 92 +- .../v2/UpdateSinkRequestOrBuilder.java | 24 +- .../google/logging/v2/UpdateViewRequest.java | 52 +- .../v2/UpdateViewRequestOrBuilder.java | 14 +- .../v2/WriteLogEntriesPartialErrors.java | 18 +- ...WriteLogEntriesPartialErrorsOrBuilder.java | 7 +- .../logging/v2/WriteLogEntriesRequest.java | 128 +- .../v2/WriteLogEntriesRequestOrBuilder.java | 31 +- .../logging/v2/WriteLogEntriesResponse.java | 7 +- .../v2/WriteLogEntriesResponseOrBuilder.java | 2 +- 205 files changed, 4021 insertions(+), 1880 deletions(-) diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java index 52e4dc90c..c44415399 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java @@ -224,7 +224,7 @@ static boolean setInstrumentationStatus(boolean value) { /** * Returns a library version associated with given class * - * @param libraryClass {Class} The class to be used to determine a library version + * @param libraryClass The class to be used to determine a library version * @return The version number string for given class or DEFAULT_INSTRUMENTATION_VERSION if class * library version cannot be detected */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/Logging.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/Logging.java index 811f429d3..125c34818 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/Logging.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/Logging.java @@ -303,7 +303,7 @@ public static TailOption project(String project) { /** * Sets flush severity for asynchronous logging writes. It is disabled by default, enabled when - * this method is called with any {@link Severity} value other than {@link Severity.NONE}. Logs + * this method is called with any {@link Severity} value other than {@link Severity#NONE}. Logs * will be immediately written out for entries at or higher than flush severity. * *

Enabling this can cause the leaking and hanging threads, see BUG(2796) BUG(3880). However @@ -368,7 +368,7 @@ public static TailOption project(String project) { * @code * String exclusionName = "my_exclusion_name"; * Exclusion exclusion = Exclusion.of(exclusionName, - * "resource.type=gcs_bucket severity @@ -385,17 +385,14 @@ public static TailOption project(String project) { *

Example of asynchronously creating a sink to export logs to a BigQuery dataset (in the * {@link LoggingOptions#getProjectId()} project). * - *

-   * {
-   *   @code
-   *   String sinkName = "my_sink_name";
-   *   String datasetName = "my_dataset";
-   *   SinkInfo sinkInfo = SinkInfo.of(sinkName, DatasetDestination.of(datasetName));
-   *   ApiFuture future = logging.createAsync(sinkInfo);
-   *   // ...
-   *   Sink sink = future.get();
-   * }
-   * 
+ *
{@code
+   * String sinkName = "my_sink_name";
+   * String datasetName = "my_dataset";
+   * SinkInfo sinkInfo = SinkInfo.of(sinkName, DatasetDestination.of(datasetName));
+   * ApiFuture future = logging.createAsync(sinkInfo);
+   * // ...
+   * Sink sink = future.get();
+   * }
*/ ApiFuture createAsync(SinkInfo sink); @@ -405,16 +402,13 @@ public static TailOption project(String project) { * *

Example of asynchronously creating a metric for logs with severity higher or equal to ERROR. * - *

-   * {
-   *   @code
-   *   String metricName = "my_metric_name";
-   *   MetricInfo metricInfo = MetricInfo.of(metricName, "severity>=ERROR");
-   *   ApiFuture future = logging.createAsync(metricInfo);
-   *   // ...
-   *   Metric metric = future.get();
-   * }
-   * 
+ *
{@code
+   * String metricName = "my_metric_name";
+   * MetricInfo metricInfo = MetricInfo.of(metricName, "severity>=ERROR");
+   * ApiFuture future = logging.createAsync(metricInfo);
+   * // ...
+   * Metric metric = future.get();
+   * }
*/ ApiFuture createAsync(MetricInfo metric); @@ -424,17 +418,14 @@ public static TailOption project(String project) { * *

Example of asynchronously creating the exclusion: * - *

-   * {
-   *   @code
-   *   String exclusionName = "my_exclusion_name";
-   *   Exclusion exclusion = Exclusion.of(exclusionName,
-   *       "resource.type=gcs_bucket severity future = logging.createAsync(exclusion);
-   *   // ...
-   *   Exclusion exclusion = future.get();
-   * }
-   * 
+ *
{@code
+   * String exclusionName = "my_exclusion_name";
+   * Exclusion exclusion = Exclusion.of(exclusionName,
+   *     "resource.type=gcs_bucket severity future = logging.createAsync(exclusion);
+   * // ...
+   * Exclusion exclusion = future.get();
+   * }
*/ ApiFuture createAsync(Exclusion exclusion); @@ -443,16 +434,13 @@ public static TailOption project(String project) { * *

Example of updating a sink. * - *

-   * {
-   *   @code
-   *   String sinkName = "my_sink_name";
-   *   String datasetName = "my_dataset";
-   *   SinkInfo sinkInfo = SinkInfo.newBuilder(sinkName, DatasetDestination.of(datasetName))
-   *       .setVersionFormat(SinkInfo.VersionFormat.V2).setFilter("severity>=ERROR").build();
-   *   Sink sink = logging.update(sinkInfo);
-   * }
-   * 
+ *
{@code
+   * String sinkName = "my_sink_name";
+   * String datasetName = "my_dataset";
+   * SinkInfo sinkInfo = SinkInfo.newBuilder(sinkName, DatasetDestination.of(datasetName))
+   *     .setVersionFormat(SinkInfo.VersionFormat.V2).setFilter("severity>=ERROR").build();
+   * Sink sink = logging.update(sinkInfo);
+   * }
* * @return the created sink * @throws LoggingException upon failure @@ -464,15 +452,12 @@ public static TailOption project(String project) { * *

Example of updating a metric. * - *

-   * {
-   *   @code
-   *   String metricName = "my_metric_name";
-   *   MetricInfo metricInfo = MetricInfo.newBuilder(metricName, "severity>=ERROR").setDescription("new description")
-   *       .build();
-   *   Metric metric = logging.update(metricInfo);
-   * }
-   * 
+ *
{@code
+   * String metricName = "my_metric_name";
+   * MetricInfo metricInfo = MetricInfo.newBuilder(metricName, "severity>=ERROR").setDescription("new description")
+   *     .build();
+   * Metric metric = logging.update(metricInfo);
+   * }
* * @return the created metric * @throws LoggingException upon failure @@ -484,16 +469,13 @@ public static TailOption project(String project) { * *

Example of updating the exclusion: * - *

-   * {
-   *   @code
-   *   String exclusionName = "my_exclusion_name";
-   *   Exclusion exclusion = Exclusion
-   *       .newBuilder(exclusionName, "resource.type=gcs_bucket severity
+   * 
{@code
+   * String exclusionName = "my_exclusion_name";
+   * Exclusion exclusion = Exclusion
+   *     .newBuilder(exclusionName, "resource.type=gcs_bucket severity
    *
    * @return the updated exclusion
    * @throws LoggingException upon failure
@@ -507,18 +489,15 @@ public static TailOption project(String project) {
    *
    * 

Example of asynchronously updating a sink. * - *

-   * {
-   *   @code
-   *   String sinkName = "my_sink_name";
-   *   String datasetName = "my_dataset";
-   *   SinkInfo sinkInfo = SinkInfo.newBuilder(sinkName, DatasetDestination.of(datasetName))
-   *       .setVersionFormat(SinkInfo.VersionFormat.V2).setFilter("severity>=ERROR").build();
-   *   ApiFuture future = logging.updateAsync(sinkInfo);
-   *   // ...
-   *   Sink sink = future.get();
-   * }
-   * 
+ *
{@code
+   * String sinkName = "my_sink_name";
+   * String datasetName = "my_dataset";
+   * SinkInfo sinkInfo = SinkInfo.newBuilder(sinkName, DatasetDestination.of(datasetName))
+   *     .setVersionFormat(SinkInfo.VersionFormat.V2).setFilter("severity>=ERROR").build();
+   * ApiFuture future = logging.updateAsync(sinkInfo);
+   * // ...
+   * Sink sink = future.get();
+   * }
*/ ApiFuture updateAsync(SinkInfo sink); @@ -529,17 +508,14 @@ public static TailOption project(String project) { * *

Example of asynchronously updating a metric. * - *

-   * {
-   *   @code
-   *   String metricName = "my_metric_name";
-   *   MetricInfo metricInfo = MetricInfo.newBuilder(metricName, "severity>=ERROR").setDescription("new description")
-   *       .build();
-   *   ApiFuture future = logging.updateAsync(metricInfo);
-   *   // ...
-   *   Metric metric = future.get();
-   * }
-   * 
+ *
{@code
+   * String metricName = "my_metric_name";
+   * MetricInfo metricInfo = MetricInfo.newBuilder(metricName, "severity>=ERROR").setDescription("new description")
+   *     .build();
+   * ApiFuture future = logging.updateAsync(metricInfo);
+   * // ...
+   * Metric metric = future.get();
+   * }
*/ ApiFuture updateAsync(MetricInfo metric); @@ -550,18 +526,15 @@ public static TailOption project(String project) { * *

Example of asynchronous exclusion update: * - *

-   * {
-   *   @code
-   *   String exclusionName = "my_exclusion_name";
-   *   Exclusion exclusion = Exclusion
-   *       .newBuilder(exclusionName, "resource.type=gcs_bucket severity future = logging.updateAsync(exclusion);
-   *   // ...
-   *   Exclusion exclusion = future.get();
-   * }
-   * 
+ *
{@code
+   * String exclusionName = "my_exclusion_name";
+   * Exclusion exclusion = Exclusion
+   *     .newBuilder(exclusionName, "resource.type=gcs_bucket severity future = logging.updateAsync(exclusion);
+   * // ...
+   * Exclusion exclusion = future.get();
+   * }
*/ ApiFuture updateAsync(Exclusion exclusion); @@ -570,16 +543,13 @@ public static TailOption project(String project) { * *

Example of getting a sink. * - *

-   * {
-   *   @code
-   *   String sinkName = "my_sink_name";
-   *   Sink sink = logging.getSink(sinkName);
-   *   if (sink == null) {
-   *     // sink was not found
-   *   }
+   * 
{@code
+   * String sinkName = "my_sink_name";
+   * Sink sink = logging.getSink(sinkName);
+   * if (sink == null) {
+   *   // sink was not found
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -591,18 +561,15 @@ public static TailOption project(String project) { * *

Example of asynchronously getting a sink. * - *

-   * {
-   *   @code
-   *   String sinkName = "my_sink_name";
-   *   ApiFuture future = logging.getSinkAsync(sinkName);
-   *   // ...
-   *   Sink sink = future.get();
-   *   if (sink == null) {
-   *     // sink was not found
-   *   }
+   * 
{@code
+   * String sinkName = "my_sink_name";
+   * ApiFuture future = logging.getSinkAsync(sinkName);
+   * // ...
+   * Sink sink = future.get();
+   * if (sink == null) {
+   *   // sink was not found
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -615,17 +582,14 @@ public static TailOption project(String project) { * *

Example of listing sinks, specifying the page size. * - *

-   * {
-   *   @code
-   *   Page sinks = logging.listSinks(ListOption.pageSize(100));
-   *   Iterator sinkIterator = sinks.iterateAll().iterator();
-   *   while (sinkIterator.hasNext()) {
-   *     Sink sink = sinkIterator.next();
-   *     // do something with the sink
-   *   }
+   * 
{@code
+   * Page sinks = logging.listSinks(ListOption.pageSize(100));
+   * Iterator sinkIterator = sinks.iterateAll().iterator();
+   * while (sinkIterator.hasNext()) {
+   *   Sink sink = sinkIterator.next();
+   *   // do something with the sink
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -657,18 +621,15 @@ public static TailOption project(String project) { * *

Example of deleting a sink. * - *

-   * {
-   *   @code
-   *   String sinkName = "my_sink_name";
-   *   boolean deleted = logging.deleteSink(sinkName);
-   *   if (deleted) {
-   *     // the sink was deleted
-   *   } else {
-   *     // the sink was not found
-   *   }
+   * 
{@code
+   * String sinkName = "my_sink_name";
+   * boolean deleted = logging.deleteSink(sinkName);
+   * if (deleted) {
+   *   // the sink was deleted
+   * } else {
+   *   // the sink was not found
    * }
-   * 
+ * }
* * @return {@code true} if the sink was deleted, {@code false} if it was not found */ @@ -681,20 +642,17 @@ public static TailOption project(String project) { * *

Example of asynchronously deleting a sink. * - *

-   * {
-   *   @code
-   *   String sinkName = "my_sink_name";
-   *   ApiFuture future = logging.deleteSinkAsync(sinkName);
-   *   // ...
-   *   boolean deleted = future.get();
-   *   if (deleted) {
-   *     // the sink was deleted
-   *   } else {
-   *     // the sink was not found
-   *   }
+   * 
{@code
+   * String sinkName = "my_sink_name";
+   * ApiFuture future = logging.deleteSinkAsync(sinkName);
+   * // ...
+   * boolean deleted = future.get();
+   * if (deleted) {
+   *   // the sink was deleted
+   * } else {
+   *   // the sink was not found
    * }
-   * 
+ * }
*/ ApiFuture deleteSinkAsync(String sink); @@ -705,17 +663,14 @@ public static TailOption project(String project) { * *

Example of listing log names, specifying the page size. * - *

-   * {
-   *   @code
-   *   Page logNames = logging.listLogs(ListOption.pageSize(100));
-   *   Iterator logIterator = logNames.iterateAll().iterator();
-   *   while (logIterator.hasNext()) {
-   *     String logName = logIterator.next();
-   *     // do something with the log name
-   *   }
+   * 
{@code
+   * Page logNames = logging.listLogs(ListOption.pageSize(100));
+   * Iterator logIterator = logNames.iterateAll().iterator();
+   * while (logIterator.hasNext()) {
+   *   String logName = logIterator.next();
+   *   // do something with the log name
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -753,18 +708,15 @@ default ApiFuture> listLogsAsync(ListOption... options) { * *

Example of deleting a log. * - *

-   * {
-   *   @code
-   *   String logName = "my_log_name";
-   *   boolean deleted = logging.deleteLog(logName);
-   *   if (deleted) {
-   *     // the log was deleted
-   *   } else {
-   *     // the log was not found
-   *   }
+   * 
{@code
+   * String logName = "my_log_name";
+   * boolean deleted = logging.deleteLog(logName);
+   * if (deleted) {
+   *   // the log was deleted
+   * } else {
+   *   // the log was not found
    * }
-   * 
+ * }
* * @return {@code true} if the log was deleted, {@code false} if it was not found */ @@ -777,19 +729,16 @@ default ApiFuture> listLogsAsync(ListOption... options) { * *

Example of deleting a log by folder destination. * - *

-   * {
-   *   @code
-   *   String logName = "my_log_name";
-   *   String folder = "my_folder";
-   *   boolean deleted = logging.deleteLog(logName, LogDestinationName.folder(folder));
-   *   if (deleted) {
-   *     // the log was deleted
-   *   } else {
-   *     // the log was not found
-   *   }
+   * 
{@code
+   * String logName = "my_log_name";
+   * String folder = "my_folder";
+   * boolean deleted = logging.deleteLog(logName, LogDestinationName.folder(folder));
+   * if (deleted) {
+   *   // the log was deleted
+   * } else {
+   *   // the log was not found
    * }
-   * 
+ * }
* * @return {@code true} if the log was deleted, {@code false} if it was not found */ @@ -806,21 +755,18 @@ default boolean deleteLog(String log, LogDestinationName destination) { * *

Example of asynchronously deleting a log by folder destination. * - *

-   * {
-   *   @code
-   *   String logName = "my_log_name";
-   *   String folder = "my_folder";
-   *   ApiFuture future = logging.deleteLogAsync(logName, LogDestinationName.folder(folder));
-   *   // ...
-   *   boolean deleted = future.get();
-   *   if (deleted) {
-   *     // the log was deleted
-   *   } else {
-   *     // the log was not found
-   *   }
+   * 
{@code
+   * String logName = "my_log_name";
+   * String folder = "my_folder";
+   * ApiFuture future = logging.deleteLogAsync(logName, LogDestinationName.folder(folder));
+   * // ...
+   * boolean deleted = future.get();
+   * if (deleted) {
+   *   // the log was deleted
+   * } else {
+   *   // the log was not found
    * }
-   * 
+ * }
*/ default ApiFuture deleteLogAsync(String log, LogDestinationName destination) { throw new UnsupportedOperationException( @@ -834,20 +780,17 @@ default ApiFuture deleteLogAsync(String log, LogDestinationName destina * *

Example of asynchronously deleting a log. * - *

-   * {
-   *   @code
-   *   String logName = "my_log_name";
-   *   ApiFuture future = logging.deleteLogAsync(logName);
-   *   // ...
-   *   boolean deleted = future.get();
-   *   if (deleted) {
-   *     // the log was deleted
-   *   } else {
-   *     // the log was not found
-   *   }
+   * 
{@code
+   * String logName = "my_log_name";
+   * ApiFuture future = logging.deleteLogAsync(logName);
+   * // ...
+   * boolean deleted = future.get();
+   * if (deleted) {
+   *   // the log was deleted
+   * } else {
+   *   // the log was not found
    * }
-   * 
+ * }
*/ ApiFuture deleteLogAsync(String log); @@ -858,18 +801,15 @@ default ApiFuture deleteLogAsync(String log, LogDestinationName destina * *

Example of listing monitored resource descriptors, specifying the page size. * - *

-   * {
-   *   @code
-   *   Page descriptors = logging
-   *       .listMonitoredResourceDescriptors(ListOption.pageSize(100));
-   *   Iterator descriptorIterator = descriptors.iterateAll().iterator();
-   *   while (descriptorIterator.hasNext()) {
-   *     MonitoredResourceDescriptor descriptor = descriptorIterator.next();
-   *     // do something with the descriptor
-   *   }
+   * 
{@code
+   * Page descriptors = logging
+   *     .listMonitoredResourceDescriptors(ListOption.pageSize(100));
+   * Iterator descriptorIterator = descriptors.iterateAll().iterator();
+   * while (descriptorIterator.hasNext()) {
+   *   MonitoredResourceDescriptor descriptor = descriptorIterator.next();
+   *   // do something with the descriptor
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -904,16 +844,13 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of getting a metric. * - *

-   * {
-   *   @code
-   *   String metricName = "my_metric_name";
-   *   Metric metric = logging.getMetric(metricName);
-   *   if (metric == null) {
-   *     // metric was not found
-   *   }
+   * 
{@code
+   * String metricName = "my_metric_name";
+   * Metric metric = logging.getMetric(metricName);
+   * if (metric == null) {
+   *   // metric was not found
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -925,18 +862,15 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of asynchronously getting a metric. * - *

-   * {
-   *   @code
-   *   String metricName = "my_metric_name";
-   *   ApiFuture future = logging.getMetricAsync(metricName);
-   *   // ...
-   *   Metric metric = future.get();
-   *   if (metric == null) {
-   *     // metric was not found
-   *   }
+   * 
{@code
+   * String metricName = "my_metric_name";
+   * ApiFuture future = logging.getMetricAsync(metricName);
+   * // ...
+   * Metric metric = future.get();
+   * if (metric == null) {
+   *   // metric was not found
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -949,17 +883,14 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of listing metrics, specifying the page size. * - *

-   * {
-   *   @code
-   *   Page metrics = logging.listMetrics(ListOption.pageSize(100));
-   *   Iterator metricIterator = metrics.iterateAll().iterator();
-   *   while (metricIterator.hasNext()) {
-   *     Metric metric = metricIterator.next();
-   *     // do something with the metric
-   *   }
+   * 
{@code
+   * Page metrics = logging.listMetrics(ListOption.pageSize(100));
+   * Iterator metricIterator = metrics.iterateAll().iterator();
+   * while (metricIterator.hasNext()) {
+   *   Metric metric = metricIterator.next();
+   *   // do something with the metric
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -991,18 +922,15 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of deleting a metric. * - *

-   * {
-   *   @code
-   *   String metricName = "my_metric_name";
-   *   boolean deleted = logging.deleteMetric(metricName);
-   *   if (deleted) {
-   *     // the metric was deleted
-   *   } else {
-   *     // the metric was not found
-   *   }
+   * 
{@code
+   * String metricName = "my_metric_name";
+   * boolean deleted = logging.deleteMetric(metricName);
+   * if (deleted) {
+   *   // the metric was deleted
+   * } else {
+   *   // the metric was not found
    * }
-   * 
+ * }
* * @return {@code true} if the metric was deleted, {@code false} if it was not found */ @@ -1015,20 +943,17 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of asynchronously deleting a metric. * - *

-   * {
-   *   @code
-   *   String metricName = "my_metric_name";
-   *   ApiFuture future = logging.deleteMetricAsync(metricName);
-   *   // ...
-   *   boolean deleted = future.get();
-   *   if (deleted) {
-   *     // the metric was deleted
-   *   } else {
-   *     // the metric was not found
-   *   }
+   * 
{@code
+   * String metricName = "my_metric_name";
+   * ApiFuture future = logging.deleteMetricAsync(metricName);
+   * // ...
+   * boolean deleted = future.get();
+   * if (deleted) {
+   *   // the metric was deleted
+   * } else {
+   *   // the metric was not found
    * }
-   * 
+ * }
*/ ApiFuture deleteMetricAsync(String metric); @@ -1037,16 +962,13 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of getting the description of an exclusion: * - *

-   * {
-   *   @code
-   *   String exclusionName = "my_exclusion_name";
-   *   Exclusion exclusion = logging.getExclusion(exclusionName);
-   *   if (exclusion == null) {
-   *     // exclusion was not found
-   *   }
+   * 
{@code
+   * String exclusionName = "my_exclusion_name";
+   * Exclusion exclusion = logging.getExclusion(exclusionName);
+   * if (exclusion == null) {
+   *   // exclusion was not found
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -1059,18 +981,15 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of asynchronously getting the exclusion: * - *

-   * {
-   *   @code
-   *   String exclusionName = "my_exclusion_name";
-   *   ApiFuture future = logging.getExclusionAsync(exclusionName);
-   *   // ...
-   *   Exclusion exclusion = future.get();
-   *   if (exclusion == null) {
-   *     // exclusion was not found
-   *   }
+   * 
{@code
+   * String exclusionName = "my_exclusion_name";
+   * ApiFuture future = logging.getExclusionAsync(exclusionName);
+   * // ...
+   * Exclusion exclusion = future.get();
+   * if (exclusion == null) {
+   *   // exclusion was not found
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -1081,18 +1000,15 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of deleting the exclusion: * - *

-   * {
-   *   @code
-   *   String exclusionName = "my_exclusion_name";
-   *   boolean deleted = logging.deleteExclusion(exclusionName);
-   *   if (deleted) {
-   *     // the exclusion was deleted
-   *   } else {
-   *     // the exclusion was not found
-   *   }
+   * 
{@code
+   * String exclusionName = "my_exclusion_name";
+   * boolean deleted = logging.deleteExclusion(exclusionName);
+   * if (deleted) {
+   *   // the exclusion was deleted
+   * } else {
+   *   // the exclusion was not found
    * }
-   * 
+ * }
* * @return {@code true} if the exclusion was deleted, {@code false} if it was not found */ @@ -1105,20 +1021,17 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of asynchronously deleting the exclusion: * - *

-   * {
-   *   @code
-   *   String exclusionName = "my_exclusion_name";
-   *   ApiFuture future = logging.deleteExclusionAsync(metricName);
-   *   // ...
-   *   boolean deleted = future.get();
-   *   if (deleted) {
-   *     // the exclusion was deleted
-   *   } else {
-   *     // the exclusion was not found
-   *   }
+   * 
{@code
+   * String exclusionName = "my_exclusion_name";
+   * ApiFuture future = logging.deleteExclusionAsync(metricName);
+   * // ...
+   * boolean deleted = future.get();
+   * if (deleted) {
+   *   // the exclusion was deleted
+   * } else {
+   *   // the exclusion was not found
    * }
-   * 
+ * }
*/ ApiFuture deleteExclusionAsync(String exclusion); @@ -1129,17 +1042,14 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of listing exclusions, specifying the page size: * - *

-   * {
-   *   @code
-   *   Page exclusions = logging.listMetrics(ListOption.pageSize(100));
-   *   Iterator exclusionIterator = exclusions.iterateAll().iterator();
-   *   while (exclusionIterator.hasNext()) {
-   *     Exclusion exclusion = exclusionIterator.next();
-   *     // do something with the exclusion
-   *   }
+   * 
{@code
+   * Page exclusions = logging.listMetrics(ListOption.pageSize(100));
+   * Iterator exclusionIterator = exclusions.iterateAll().iterator();
+   * while (exclusionIterator.hasNext()) {
+   *   Exclusion exclusion = exclusionIterator.next();
+   *   // do something with the exclusion
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -1208,18 +1118,15 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of listing log entries for a specific log. * - *

-   * {
-   *   @code
-   *   String filter = "logName=projects/my_project_id/logs/my_log_name";
-   *   Page entries = logging.listLogEntries(EntryListOption.filter(filter));
-   *   Iterator entryIterator = entries.iterateAll().iterator();
-   *   while (entryIterator.hasNext()) {
-   *     LogEntry entry = entryIterator.next();
-   *     // do something with the entry
-   *   }
+   * 
{@code
+   * String filter = "logName=projects/my_project_id/logs/my_log_name";
+   * Page entries = logging.listLogEntries(EntryListOption.filter(filter));
+   * Iterator entryIterator = entries.iterateAll().iterator();
+   * while (entryIterator.hasNext()) {
+   *   LogEntry entry = entryIterator.next();
+   *   // do something with the entry
    * }
-   * 
+ * }
* * @throws LoggingException upon failure */ @@ -1262,16 +1169,14 @@ ApiFuture> listMonitoredResourceDescripto * *

Example of streaming log entries for a specific project. * - *

-   * {@code}
+   * 
{@code
    * LogEntryServerStream stream = logging.tailLogEntries(TailOption.project("my_project_id"));
    * Iterator it = stream.iterator();
    * while (it.hasNext()) {
    *   // do something with entry
    *   // call stream.cancel(); to stop streaming
    * }
-   * }
-   * 
+ * }
*/ @BetaApi("The surface for the tail streaming is not stable yet and may change in the future.") LogEntryServerStream tailLogEntries(TailOption... options); @@ -1279,7 +1184,7 @@ ApiFuture> listMonitoredResourceDescripto /** * Populates metadata fields of the immutable collection of {@link LogEntry} items. Only empty * fields are populated. The {@link SourceLocation} is populated only for items with the severity - * set to {@link Severity.DEBUG}. The information about {@link HttpRequest}, trace and span Id is + * set to {@link Severity#DEBUG}. The information about {@link HttpRequest}, trace and span Id is * retrieved using {@link ContextHandler}. * * @param logEntries an immutable collection of {@link LogEntry} items. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/LoggingHandler.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/LoggingHandler.java index 2e1fd9d8b..a998338a3 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/LoggingHandler.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/LoggingHandler.java @@ -44,9 +44,10 @@ *

Java logging levels (see {@link java.util.logging.Level}) are mapped to the following Google * Cloud Logging severities: * - * + *
+ * * - * + * * * * diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/ResourceTypeEnvironmentGetter.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/ResourceTypeEnvironmentGetter.java index 4d33ad435..eb2c4cde9 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/ResourceTypeEnvironmentGetter.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/ResourceTypeEnvironmentGetter.java @@ -16,6 +16,8 @@ package com.google.cloud.logging; +import com.google.cloud.MetadataConfig; + public interface ResourceTypeEnvironmentGetter { /** @@ -34,7 +36,7 @@ public interface ResourceTypeEnvironmentGetter { * @param name the name of the metadata server attribute. * @return the string value of the attribute, or null if the attribute is not defined * in the metadata or the server is not available. - * @see MetadataConfig#getAttribute() + * @see MetadataConfig#getAttribute(String) */ String getAttribute(String name); } diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java index 4e1108a36..ee9fc8439 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java index 022dbd20f..f2f805b69 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java index b86d9097f..fad5b9664 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java index 031bd3759..ab76dc90e 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java index 067ea58e9..a0306451a 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java index cd7dc0ced..eaf77b85a 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java index d2df7c5a2..4f6420980 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java index dce2f017e..b14a8c3f9 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java index ec2d7c1c2..6ba722e70 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java index 024b57a41..3087b1086 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java index 4c4c4360d..958a151e4 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,8 +28,8 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.logging.v2.BucketMetadata; import com.google.logging.v2.CmekSettings; import com.google.logging.v2.CopyLogEntriesMetadata; @@ -478,9 +478,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listBucketsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getBucketTransportSettings = @@ -488,9 +488,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createBucketAsyncTransportSettings = @@ -498,9 +498,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createBucketAsyncMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateBucketAsyncTransportSettings = @@ -508,9 +508,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateBucketAsyncMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createBucketTransportSettings = @@ -518,9 +518,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateBucketTransportSettings = @@ -528,9 +528,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteBucketTransportSettings = @@ -538,9 +538,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings undeleteBucketTransportSettings = @@ -548,9 +548,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(undeleteBucketMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listViewsTransportSettings = @@ -558,9 +558,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listViewsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getViewTransportSettings = @@ -568,9 +568,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getViewMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createViewTransportSettings = @@ -578,9 +578,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createViewMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateViewTransportSettings = @@ -588,9 +588,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateViewMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteViewTransportSettings = @@ -598,9 +598,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteViewMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listSinksTransportSettings = @@ -608,9 +608,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listSinksMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getSinkTransportSettings = @@ -618,9 +618,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getSinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("sink_name", String.valueOf(request.getSinkName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("sink_name", String.valueOf(request.getSinkName())); + return builder.build(); }) .build(); GrpcCallSettings createSinkTransportSettings = @@ -628,9 +628,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createSinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateSinkTransportSettings = @@ -638,9 +638,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateSinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("sink_name", String.valueOf(request.getSinkName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("sink_name", String.valueOf(request.getSinkName())); + return builder.build(); }) .build(); GrpcCallSettings deleteSinkTransportSettings = @@ -648,9 +648,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteSinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("sink_name", String.valueOf(request.getSinkName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("sink_name", String.valueOf(request.getSinkName())); + return builder.build(); }) .build(); GrpcCallSettings createLinkTransportSettings = @@ -658,9 +658,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createLinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings deleteLinkTransportSettings = @@ -668,9 +668,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteLinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings listLinksTransportSettings = @@ -678,9 +678,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listLinksMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getLinkTransportSettings = @@ -688,9 +688,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getLinkMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -699,9 +699,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(listExclusionsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getExclusionTransportSettings = @@ -709,9 +709,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getExclusionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings createExclusionTransportSettings = @@ -719,9 +719,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(createExclusionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateExclusionTransportSettings = @@ -729,9 +729,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateExclusionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings deleteExclusionTransportSettings = @@ -739,9 +739,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(deleteExclusionMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getCmekSettingsTransportSettings = @@ -749,9 +749,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getCmekSettingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings updateCmekSettingsTransportSettings = @@ -759,9 +759,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateCmekSettingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings getSettingsTransportSettings = @@ -769,9 +769,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(getSettingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings updateSettingsTransportSettings = @@ -779,9 +779,9 @@ protected GrpcConfigServiceV2Stub( .setMethodDescriptor(updateSettingsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); }) .build(); GrpcCallSettings copyLogEntriesTransportSettings = diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java index 3a24803de..aa0d7a48d 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java index c8a592e48..b06d02258 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,8 +26,8 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.logging.v2.DeleteLogRequest; import com.google.logging.v2.ListLogEntriesRequest; import com.google.logging.v2.ListLogEntriesResponse; @@ -188,9 +188,9 @@ protected GrpcLoggingServiceV2Stub( .setMethodDescriptor(deleteLogMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("log_name", String.valueOf(request.getLogName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("log_name", String.valueOf(request.getLogName())); + return builder.build(); }) .build(); GrpcCallSettings @@ -216,9 +216,9 @@ protected GrpcLoggingServiceV2Stub( .setMethodDescriptor(listLogsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java index 1cfb53662..4057830b0 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java index 724f76e50..967d8ccbd 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; import com.google.logging.v2.CreateLogMetricRequest; import com.google.logging.v2.DeleteLogMetricRequest; import com.google.logging.v2.GetLogMetricRequest; @@ -156,9 +156,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(listLogMetricsMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings getLogMetricTransportSettings = @@ -166,9 +166,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(getLogMetricMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("metric_name", String.valueOf(request.getMetricName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("metric_name", String.valueOf(request.getMetricName())); + return builder.build(); }) .build(); GrpcCallSettings createLogMetricTransportSettings = @@ -176,9 +176,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(createLogMetricMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); }) .build(); GrpcCallSettings updateLogMetricTransportSettings = @@ -186,9 +186,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(updateLogMetricMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("metric_name", String.valueOf(request.getMetricName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("metric_name", String.valueOf(request.getMetricName())); + return builder.build(); }) .build(); GrpcCallSettings deleteLogMetricTransportSettings = @@ -196,9 +196,9 @@ protected GrpcMetricsServiceV2Stub( .setMethodDescriptor(deleteLogMetricMethodDescriptor) .setParamsExtractor( request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("metric_name", String.valueOf(request.getMetricName())); - return params.build(); + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("metric_name", String.valueOf(request.getMetricName())); + return builder.build(); }) .build(); diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java index 06d1b34d9..0598eed81 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java index d01030e25..94f5d4c16 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java index 51e69fd0e..be664c8fe 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java index bfdf88530..3d2e16f84 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java index 49ed045ce..539d0e6d1 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java index 61703421a..736ef717b 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java index d2237055e..36e69467f 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java index cb64ac5a2..19151b235 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java index 565d111cd..4466aca29 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java index 73bed218b..b178291ec 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java index 8f56264be..2d98bf7ed 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java index 340c8328e..b500421ac 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java index 35187863e..417c754fb 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java index a38e5dc74..8667183f8 100644 --- a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java +++ b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java index 3f3d4baae..93977f02d 100644 --- a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java +++ b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricsServiceV2Grpc.java b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricsServiceV2Grpc.java index 771318fbb..8671ab0d1 100644 --- a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricsServiceV2Grpc.java +++ b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricsServiceV2Grpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java index 5c0a532ca..03024d897 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDataset(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryDataset_descriptor; @@ -79,6 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * @@ -107,6 +103,7 @@ public java.lang.String getDatasetId() { * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * @@ -476,6 +473,7 @@ public Builder mergeFrom( * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * @@ -503,6 +501,7 @@ public java.lang.String getDatasetId() { * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * @@ -530,6 +529,7 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * @@ -556,6 +556,7 @@ public Builder setDatasetId(java.lang.String value) { * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * @@ -578,6 +579,7 @@ public Builder clearDatasetId() { * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java index b4e9c47cf..86f9e3e77 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ public interface BigQueryDatasetOrBuilder * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * @@ -48,6 +49,7 @@ public interface BigQueryDatasetOrBuilder * will match the ID of the link, so the link must match the naming * restrictions of BigQuery datasets (alphanumeric characters and underscores * only). + * * The dataset will have a resource path of * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java index 56fcc1ca5..626889568 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryOptions(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryOptions_descriptor; @@ -98,6 +93,7 @@ public boolean getUsePartitionedTables() { *
    * Output only. True if new timestamp column based partitioning is in use,
    * false if legacy ingestion-time partitioning is in use.
+   *
    * All new sinks will have this field set true and will use timestamp column
    * based partitioning. If use_partitioned_tables is false, this value has no
    * meaning and will be false. Legacy sinks using partitioned tables will have
@@ -559,6 +555,7 @@ public Builder clearUsePartitionedTables() {
      * 
      * Output only. True if new timestamp column based partitioning is in use,
      * false if legacy ingestion-time partitioning is in use.
+     *
      * All new sinks will have this field set true and will use timestamp column
      * based partitioning. If use_partitioned_tables is false, this value has no
      * meaning and will be false. Legacy sinks using partitioned tables will have
@@ -581,6 +578,7 @@ public boolean getUsesTimestampColumnPartitioning() {
      * 
      * Output only. True if new timestamp column based partitioning is in use,
      * false if legacy ingestion-time partitioning is in use.
+     *
      * All new sinks will have this field set true and will use timestamp column
      * based partitioning. If use_partitioned_tables is false, this value has no
      * meaning and will be false. Legacy sinks using partitioned tables will have
@@ -607,6 +605,7 @@ public Builder setUsesTimestampColumnPartitioning(boolean value) {
      * 
      * Output only. True if new timestamp column based partitioning is in use,
      * false if legacy ingestion-time partitioning is in use.
+     *
      * All new sinks will have this field set true and will use timestamp column
      * based partitioning. If use_partitioned_tables is false, this value has no
      * meaning and will be false. Legacy sinks using partitioned tables will have
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java
index 642a8b7c9..f7274139f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -49,6 +49,7 @@ public interface BigQueryOptionsOrBuilder
    * 
    * Output only. True if new timestamp column based partitioning is in use,
    * false if legacy ingestion-time partitioning is in use.
+   *
    * All new sinks will have this field set true and will use timestamp column
    * based partitioning. If use_partitioned_tables is false, this value has no
    * meaning and will be false. Legacy sinks using partitioned tables will have
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java
index 245af075d..46ae7bf30 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountName.java
index f087f95ec..e4b122f5d 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java
index d80040f6c..be4aab07f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BucketMetadata();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_BucketMetadata_descriptor;
@@ -68,6 +63,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   }
 
   private int requestCase_ = 0;
+
+  @SuppressWarnings("serial")
   private java.lang.Object request_;
 
   public enum RequestCase
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java
index 78b402032..4d712dbbd 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -188,5 +188,5 @@ public interface BucketMetadataOrBuilder
    */
   com.google.logging.v2.UpdateBucketRequestOrBuilder getUpdateBucketRequestOrBuilder();
 
-  public com.google.logging.v2.BucketMetadata.RequestCase getRequestCase();
+  com.google.logging.v2.BucketMetadata.RequestCase getRequestCase();
 }
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java
index d9adbf4e0..cc6576eda 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,9 +24,11 @@
  * 
  * Describes the customer-managed encryption key (CMEK) settings associated with
  * a project, folder, organization, billing account, or flexible resource.
+ *
  * Note: CMEK for the Log Router can currently only be configured for Google
  * Cloud organizations. Once configured, it applies to all projects and folders
  * in the Google Cloud organization.
+ *
  * See [Enabling CMEK for Log
  * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
  * more information.
@@ -57,11 +59,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CmekSettings();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_CmekSettings_descriptor;
@@ -137,20 +134,30 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    * 
    * The resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+   *
+   *
+   *
    * To enable CMEK for the Log Router, set this field to a valid
    * `kms_key_name` for which the associated service account has the required
    * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+   *
    * The Cloud KMS key used by the Log Router can be updated by changing the
    * `kms_key_name` to a new valid key name or disabled by setting the key name
    * to an empty string. Encryption operations that are in progress will be
    * completed with the key that was in use when they started. Decryption
    * operations will be completed using the key that was used at the time of
    * encryption unless access to that key has been revoked.
+   *
    * To disable CMEK for the Log Router, set this field to an empty string.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -177,20 +184,30 @@ public java.lang.String getKmsKeyName() {
    *
    * 
    * The resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+   *
+   *
+   *
    * To enable CMEK for the Log Router, set this field to a valid
    * `kms_key_name` for which the associated service account has the required
    * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+   *
    * The Cloud KMS key used by the Log Router can be updated by changing the
    * `kms_key_name` to a new valid key name or disabled by setting the key name
    * to an empty string. Encryption operations that are in progress will be
    * completed with the key that was in use when they started. Decryption
    * operations will be completed using the key that was used at the time of
    * encryption unless access to that key has been revoked.
+   *
    * To disable CMEK for the Log Router, set this field to an empty string.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -222,14 +239,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
    *
    * 
    * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+   *
    * This is a read-only field used to convey the specific configured
    * CryptoKeyVersion of `kms_key` that has been configured. It will be
    * populated in cases where the CMEK settings are bound to a single key
    * version.
+   *
    * If this field is populated, the `kms_key` is tied to a specific
    * CryptoKeyVersion.
    * 
@@ -255,14 +278,20 @@ public java.lang.String getKmsKeyVersionName() { * *
    * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+   *
    * This is a read-only field used to convey the specific configured
    * CryptoKeyVersion of `kms_key` that has been configured. It will be
    * populated in cases where the CMEK settings are bound to a single key
    * version.
+   *
    * If this field is populated, the `kms_key` is tied to a specific
    * CryptoKeyVersion.
    * 
@@ -294,11 +323,13 @@ public com.google.protobuf.ByteString getKmsKeyVersionNameBytes() { *
    * Output only. The service account that will be used by the Log Router to
    * access your Cloud KMS key.
+   *
    * Before enabling CMEK for Log Router, you must first assign the
    * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
    * the Log Router will use to access your Cloud KMS key. Use
    * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
    * obtain the service account ID.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -326,11 +357,13 @@ public java.lang.String getServiceAccountId() {
    * 
    * Output only. The service account that will be used by the Log Router to
    * access your Cloud KMS key.
+   *
    * Before enabling CMEK for Log Router, you must first assign the
    * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
    * the Log Router will use to access your Cloud KMS key. Use
    * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
    * obtain the service account ID.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -543,9 +576,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * 
    * Describes the customer-managed encryption key (CMEK) settings associated with
    * a project, folder, organization, billing account, or flexible resource.
+   *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and folders
    * in the Google Cloud organization.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
    * more information.
@@ -882,20 +917,30 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name or disabled by setting the key name
      * to an empty string. Encryption operations that are in progress will be
      * completed with the key that was in use when they started. Decryption
      * operations will be completed using the key that was used at the time of
      * encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -921,20 +966,30 @@ public java.lang.String getKmsKeyName() {
      *
      * 
      * The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name or disabled by setting the key name
      * to an empty string. Encryption operations that are in progress will be
      * completed with the key that was in use when they started. Decryption
      * operations will be completed using the key that was used at the time of
      * encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -960,20 +1015,30 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      *
      * 
      * The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name or disabled by setting the key name
      * to an empty string. Encryption operations that are in progress will be
      * completed with the key that was in use when they started. Decryption
      * operations will be completed using the key that was used at the time of
      * encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -998,20 +1063,30 @@ public Builder setKmsKeyName(java.lang.String value) {
      *
      * 
      * The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name or disabled by setting the key name
      * to an empty string. Encryption operations that are in progress will be
      * completed with the key that was in use when they started. Decryption
      * operations will be completed using the key that was used at the time of
      * encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1032,20 +1107,30 @@ public Builder clearKmsKeyName() {
      *
      * 
      * The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name or disabled by setting the key name
      * to an empty string. Encryption operations that are in progress will be
      * completed with the key that was in use when they started. Decryption
      * operations will be completed using the key that was used at the time of
      * encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1073,14 +1158,20 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+     *
      * This is a read-only field used to convey the specific configured
      * CryptoKeyVersion of `kms_key` that has been configured. It will be
      * populated in cases where the CMEK settings are bound to a single key
      * version.
+     *
      * If this field is populated, the `kms_key` is tied to a specific
      * CryptoKeyVersion.
      * 
@@ -1105,14 +1196,20 @@ public java.lang.String getKmsKeyVersionName() { * *
      * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+     *
      * This is a read-only field used to convey the specific configured
      * CryptoKeyVersion of `kms_key` that has been configured. It will be
      * populated in cases where the CMEK settings are bound to a single key
      * version.
+     *
      * If this field is populated, the `kms_key` is tied to a specific
      * CryptoKeyVersion.
      * 
@@ -1137,14 +1234,20 @@ public com.google.protobuf.ByteString getKmsKeyVersionNameBytes() { * *
      * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+     *
      * This is a read-only field used to convey the specific configured
      * CryptoKeyVersion of `kms_key` that has been configured. It will be
      * populated in cases where the CMEK settings are bound to a single key
      * version.
+     *
      * If this field is populated, the `kms_key` is tied to a specific
      * CryptoKeyVersion.
      * 
@@ -1168,14 +1271,20 @@ public Builder setKmsKeyVersionName(java.lang.String value) { * *
      * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+     *
      * This is a read-only field used to convey the specific configured
      * CryptoKeyVersion of `kms_key` that has been configured. It will be
      * populated in cases where the CMEK settings are bound to a single key
      * version.
+     *
      * If this field is populated, the `kms_key` is tied to a specific
      * CryptoKeyVersion.
      * 
@@ -1195,14 +1304,20 @@ public Builder clearKmsKeyVersionName() { * *
      * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+     *
      * This is a read-only field used to convey the specific configured
      * CryptoKeyVersion of `kms_key` that has been configured. It will be
      * populated in cases where the CMEK settings are bound to a single key
      * version.
+     *
      * If this field is populated, the `kms_key` is tied to a specific
      * CryptoKeyVersion.
      * 
@@ -1230,11 +1345,13 @@ public Builder setKmsKeyVersionNameBytes(com.google.protobuf.ByteString value) { *
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the
      * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1261,11 +1378,13 @@ public java.lang.String getServiceAccountId() {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the
      * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1292,11 +1411,13 @@ public com.google.protobuf.ByteString getServiceAccountIdBytes() {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the
      * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1322,11 +1443,13 @@ public Builder setServiceAccountId(java.lang.String value) {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the
      * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1348,11 +1471,13 @@ public Builder clearServiceAccountId() {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the
      * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java
index 58d70d484..0d1093cf6 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -146,7 +146,7 @@ public static CmekSettingsName ofProjectName(String project) {
     return newBuilder().setProject(project).build();
   }
 
-  /** @deprecated Please use {@link #ofProjectName()} instead */
+  /** @deprecated Please use {@link #ofProjectName(String)} instead */
   @Deprecated
   public static CmekSettingsName ofProjectCmekSettingsName(String project) {
     return newBuilder().setProject(project).build();
@@ -157,7 +157,7 @@ public static CmekSettingsName ofOrganizationName(String organization) {
     return newOrganizationCmekSettingsBuilder().setOrganization(organization).build();
   }
 
-  /** @deprecated Please use {@link #ofOrganizationName()} instead */
+  /** @deprecated Please use {@link #ofOrganizationName(String)} instead */
   @Deprecated
   public static CmekSettingsName ofOrganizationCmekSettingsName(String organization) {
     return newOrganizationCmekSettingsBuilder().setOrganization(organization).build();
@@ -168,7 +168,7 @@ public static CmekSettingsName ofFolderName(String folder) {
     return newFolderCmekSettingsBuilder().setFolder(folder).build();
   }
 
-  /** @deprecated Please use {@link #ofFolderName()} instead */
+  /** @deprecated Please use {@link #ofFolderName(String)} instead */
   @Deprecated
   public static CmekSettingsName ofFolderCmekSettingsName(String folder) {
     return newFolderCmekSettingsBuilder().setFolder(folder).build();
@@ -179,7 +179,7 @@ public static CmekSettingsName ofBillingAccountName(String billingAccount) {
     return newBillingAccountCmekSettingsBuilder().setBillingAccount(billingAccount).build();
   }
 
-  /** @deprecated Please use {@link #ofBillingAccountName()} instead */
+  /** @deprecated Please use {@link #ofBillingAccountName(String)} instead */
   @Deprecated
   public static CmekSettingsName ofBillingAccountCmekSettingsName(String billingAccount) {
     return newBillingAccountCmekSettingsBuilder().setBillingAccount(billingAccount).build();
@@ -194,7 +194,7 @@ public static String formatProjectName(String project) {
     return newBuilder().setProject(project).build().toString();
   }
 
-  /** @deprecated Please use {@link #formatProjectName()} instead */
+  /** @deprecated Please use {@link #formatProjectName(String)} instead */
   @Deprecated
   public static String formatProjectCmekSettingsName(String project) {
     return newBuilder().setProject(project).build().toString();
@@ -205,7 +205,7 @@ public static String formatOrganizationName(String organization) {
     return newOrganizationCmekSettingsBuilder().setOrganization(organization).build().toString();
   }
 
-  /** @deprecated Please use {@link #formatOrganizationName()} instead */
+  /** @deprecated Please use {@link #formatOrganizationName(String)} instead */
   @Deprecated
   public static String formatOrganizationCmekSettingsName(String organization) {
     return newOrganizationCmekSettingsBuilder().setOrganization(organization).build().toString();
@@ -216,7 +216,7 @@ public static String formatFolderName(String folder) {
     return newFolderCmekSettingsBuilder().setFolder(folder).build().toString();
   }
 
-  /** @deprecated Please use {@link #formatFolderName()} instead */
+  /** @deprecated Please use {@link #formatFolderName(String)} instead */
   @Deprecated
   public static String formatFolderCmekSettingsName(String folder) {
     return newFolderCmekSettingsBuilder().setFolder(folder).build().toString();
@@ -230,7 +230,7 @@ public static String formatBillingAccountName(String billingAccount) {
         .toString();
   }
 
-  /** @deprecated Please use {@link #formatBillingAccountName()} instead */
+  /** @deprecated Please use {@link #formatBillingAccountName(String)} instead */
   @Deprecated
   public static String formatBillingAccountCmekSettingsName(String billingAccount) {
     return newBillingAccountCmekSettingsBuilder()
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java
index a4fa4c2bc..2ff3d0e8c 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -53,20 +53,30 @@ public interface CmekSettingsOrBuilder
    *
    * 
    * The resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+   *
+   *
+   *
    * To enable CMEK for the Log Router, set this field to a valid
    * `kms_key_name` for which the associated service account has the required
    * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+   *
    * The Cloud KMS key used by the Log Router can be updated by changing the
    * `kms_key_name` to a new valid key name or disabled by setting the key name
    * to an empty string. Encryption operations that are in progress will be
    * completed with the key that was in use when they started. Decryption
    * operations will be completed using the key that was used at the time of
    * encryption unless access to that key has been revoked.
+   *
    * To disable CMEK for the Log Router, set this field to an empty string.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -82,20 +92,30 @@ public interface CmekSettingsOrBuilder
    *
    * 
    * The resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+   *
+   *
+   *
    * To enable CMEK for the Log Router, set this field to a valid
    * `kms_key_name` for which the associated service account has the required
    * cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+   *
    * The Cloud KMS key used by the Log Router can be updated by changing the
    * `kms_key_name` to a new valid key name or disabled by setting the key name
    * to an empty string. Encryption operations that are in progress will be
    * completed with the key that was in use when they started. Decryption
    * operations will be completed using the key that was used at the time of
    * encryption unless access to that key has been revoked.
+   *
    * To disable CMEK for the Log Router, set this field to an empty string.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -112,14 +132,20 @@ public interface CmekSettingsOrBuilder
    *
    * 
    * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+   *
    * This is a read-only field used to convey the specific configured
    * CryptoKeyVersion of `kms_key` that has been configured. It will be
    * populated in cases where the CMEK settings are bound to a single key
    * version.
+   *
    * If this field is populated, the `kms_key` is tied to a specific
    * CryptoKeyVersion.
    * 
@@ -134,14 +160,20 @@ public interface CmekSettingsOrBuilder * *
    * The CryptoKeyVersion resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+   *
    * This is a read-only field used to convey the specific configured
    * CryptoKeyVersion of `kms_key` that has been configured. It will be
    * populated in cases where the CMEK settings are bound to a single key
    * version.
+   *
    * If this field is populated, the `kms_key` is tied to a specific
    * CryptoKeyVersion.
    * 
@@ -158,11 +190,13 @@ public interface CmekSettingsOrBuilder *
    * Output only. The service account that will be used by the Log Router to
    * access your Cloud KMS key.
+   *
    * Before enabling CMEK for Log Router, you must first assign the
    * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
    * the Log Router will use to access your Cloud KMS key. Use
    * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
    * obtain the service account ID.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -179,11 +213,13 @@ public interface CmekSettingsOrBuilder
    * 
    * Output only. The service account that will be used by the Log Router to
    * access your Cloud KMS key.
+   *
    * Before enabling CMEK for Log Router, you must first assign the
    * cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
    * the Log Router will use to access your Cloud KMS key. Use
    * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
    * obtain the service account ID.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java
index 1f76b2df6..37fbf3adb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CopyLogEntriesMetadata();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor;
@@ -291,8 +286,10 @@ public int getProgress() {
    * 
    * The IAM identity of a service account that must be granted access to the
    * destination.
+   *
    * If the service account is not granted permission to the destination within
    * an hour, the operation will be cancelled.
+   *
    * For example: `"serviceAccount:foo@bar.com"`
    * 
* @@ -318,8 +315,10 @@ public java.lang.String getWriterIdentity() { *
    * The IAM identity of a service account that must be granted access to the
    * destination.
+   *
    * If the service account is not granted permission to the destination within
    * an hour, the operation will be cancelled.
+   *
    * For example: `"serviceAccount:foo@bar.com"`
    * 
* @@ -1584,8 +1583,10 @@ public Builder clearProgress() { *
      * The IAM identity of a service account that must be granted access to the
      * destination.
+     *
      * If the service account is not granted permission to the destination within
      * an hour, the operation will be cancelled.
+     *
      * For example: `"serviceAccount:foo@bar.com"`
      * 
* @@ -1610,8 +1611,10 @@ public java.lang.String getWriterIdentity() { *
      * The IAM identity of a service account that must be granted access to the
      * destination.
+     *
      * If the service account is not granted permission to the destination within
      * an hour, the operation will be cancelled.
+     *
      * For example: `"serviceAccount:foo@bar.com"`
      * 
* @@ -1636,8 +1639,10 @@ public com.google.protobuf.ByteString getWriterIdentityBytes() { *
      * The IAM identity of a service account that must be granted access to the
      * destination.
+     *
      * If the service account is not granted permission to the destination within
      * an hour, the operation will be cancelled.
+     *
      * For example: `"serviceAccount:foo@bar.com"`
      * 
* @@ -1661,8 +1666,10 @@ public Builder setWriterIdentity(java.lang.String value) { *
      * The IAM identity of a service account that must be granted access to the
      * destination.
+     *
      * If the service account is not granted permission to the destination within
      * an hour, the operation will be cancelled.
+     *
      * For example: `"serviceAccount:foo@bar.com"`
      * 
* @@ -1682,8 +1689,10 @@ public Builder clearWriterIdentity() { *
      * The IAM identity of a service account that must be granted access to the
      * destination.
+     *
      * If the service account is not granted permission to the destination within
      * an hour, the operation will be cancelled.
+     *
      * For example: `"serviceAccount:foo@bar.com"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java index 9beff6c6a..12e4c900f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -185,8 +185,10 @@ public interface CopyLogEntriesMetadataOrBuilder *
    * The IAM identity of a service account that must be granted access to the
    * destination.
+   *
    * If the service account is not granted permission to the destination within
    * an hour, the operation will be cancelled.
+   *
    * For example: `"serviceAccount:foo@bar.com"`
    * 
* @@ -201,8 +203,10 @@ public interface CopyLogEntriesMetadataOrBuilder *
    * The IAM identity of a service account that must be granted access to the
    * destination.
+   *
    * If the service account is not granted permission to the destination within
    * an hour, the operation will be cancelled.
+   *
    * For example: `"serviceAccount:foo@bar.com"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java index c5075f579..eef8bc1c1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CopyLogEntriesRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor; @@ -78,7 +73,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Log bucket from which to copy log entries.
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
    * 
* @@ -103,7 +100,9 @@ public java.lang.String getName() { * *
    * Required. Log bucket from which to copy log entries.
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
    * 
* @@ -623,7 +622,9 @@ public Builder mergeFrom( * *
      * Required. Log bucket from which to copy log entries.
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
      * 
* @@ -647,7 +648,9 @@ public java.lang.String getName() { * *
      * Required. Log bucket from which to copy log entries.
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
      * 
* @@ -671,7 +674,9 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. Log bucket from which to copy log entries.
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
      * 
* @@ -694,7 +699,9 @@ public Builder setName(java.lang.String value) { * *
      * Required. Log bucket from which to copy log entries.
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
      * 
* @@ -713,7 +720,9 @@ public Builder clearName() { * *
      * Required. Log bucket from which to copy log entries.
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java index 7d8f89f42..6b4104b5c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,9 @@ public interface CopyLogEntriesRequestOrBuilder * *
    * Required. Log bucket from which to copy log entries.
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
    * 
* @@ -42,7 +44,9 @@ public interface CopyLogEntriesRequestOrBuilder * *
    * Required. Log bucket from which to copy log entries.
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-source-bucket"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java index dbccd1936..cecb2b973 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CopyLogEntriesResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java index afd947659..5b45dd4c9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java index 16a43f952..ae165de3d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBucketRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateBucketRequest_descriptor; @@ -77,8 +72,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource in which to create the log bucket:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global"`
    * 
* @@ -105,8 +103,11 @@ public java.lang.String getParent() { * *
    * Required. The resource in which to create the log bucket:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global"`
    * 
* @@ -638,8 +639,11 @@ public Builder mergeFrom( * *
      * Required. The resource in which to create the log bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global"`
      * 
* @@ -665,8 +669,11 @@ public java.lang.String getParent() { * *
      * Required. The resource in which to create the log bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global"`
      * 
* @@ -692,8 +699,11 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The resource in which to create the log bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global"`
      * 
* @@ -718,8 +728,11 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The resource in which to create the log bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global"`
      * 
* @@ -740,8 +753,11 @@ public Builder clearParent() { * *
      * Required. The resource in which to create the log bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java index 129056453..63c6d5bd0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,8 +28,11 @@ public interface CreateBucketRequestOrBuilder * *
    * Required. The resource in which to create the log bucket:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global"`
    * 
* @@ -45,8 +48,11 @@ public interface CreateBucketRequestOrBuilder * *
    * Required. The resource in which to create the log bucket:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java index a0b2b2c54..8c72e6256 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateExclusionRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateExclusionRequest_descriptor; @@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The parent resource in which to create the exclusion:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
    *     "folders/[FOLDER_ID]"
+   *
    * For examples:
+   *
    *   `"projects/my-logging-project"`
    *   `"organizations/123456789"`
    * 
@@ -108,11 +106,14 @@ public java.lang.String getParent() { * *
    * Required. The parent resource in which to create the exclusion:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
    *     "folders/[FOLDER_ID]"
+   *
    * For examples:
+   *
    *   `"projects/my-logging-project"`
    *   `"organizations/123456789"`
    * 
@@ -570,11 +571,14 @@ public Builder mergeFrom( * *
      * Required. The parent resource in which to create the exclusion:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-logging-project"`
      *   `"organizations/123456789"`
      * 
@@ -601,11 +605,14 @@ public java.lang.String getParent() { * *
      * Required. The parent resource in which to create the exclusion:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-logging-project"`
      *   `"organizations/123456789"`
      * 
@@ -632,11 +639,14 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The parent resource in which to create the exclusion:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-logging-project"`
      *   `"organizations/123456789"`
      * 
@@ -662,11 +672,14 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The parent resource in which to create the exclusion:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-logging-project"`
      *   `"organizations/123456789"`
      * 
@@ -688,11 +701,14 @@ public Builder clearParent() { * *
      * Required. The parent resource in which to create the exclusion:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-logging-project"`
      *   `"organizations/123456789"`
      * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java index c46164936..c33ee6cce 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface CreateExclusionRequestOrBuilder * *
    * Required. The parent resource in which to create the exclusion:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
    *     "folders/[FOLDER_ID]"
+   *
    * For examples:
+   *
    *   `"projects/my-logging-project"`
    *   `"organizations/123456789"`
    * 
@@ -49,11 +52,14 @@ public interface CreateExclusionRequestOrBuilder * *
    * Required. The parent resource in which to create the exclusion:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
    *     "folders/[FOLDER_ID]"
+   *
    * For examples:
+   *
    *   `"projects/my-logging-project"`
    *   `"organizations/123456789"`
    * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java index 59700ef4b..3c0bea161 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateLinkRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateLinkRequest_descriptor; @@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full resource name of the bucket to create a link for.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -106,6 +102,7 @@ public java.lang.String getParent() {
    *
    * 
    * Required. The full resource name of the bucket to create a link for.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -633,6 +630,7 @@ public Builder mergeFrom(
      *
      * 
      * Required. The full resource name of the bucket to create a link for.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -661,6 +659,7 @@ public java.lang.String getParent() {
      *
      * 
      * Required. The full resource name of the bucket to create a link for.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -689,6 +688,7 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      * 
      * Required. The full resource name of the bucket to create a link for.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -716,6 +716,7 @@ public Builder setParent(java.lang.String value) {
      *
      * 
      * Required. The full resource name of the bucket to create a link for.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -739,6 +740,7 @@ public Builder clearParent() {
      *
      * 
      * Required. The full resource name of the bucket to create a link for.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java
index 43ee8889b..76c5eb19a 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface CreateLinkRequestOrBuilder
    *
    * 
    * Required. The full resource name of the bucket to create a link for.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -46,6 +47,7 @@ public interface CreateLinkRequestOrBuilder
    *
    * 
    * Required. The full resource name of the bucket to create a link for.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java
index 3f96ba932..2e2602ba7 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateLogMetricRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingMetricsProto
         .internal_static_google_logging_v2_CreateLogMetricRequest_descriptor;
@@ -76,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource name of the project in which to create the metric:
+   *
    *     "projects/[PROJECT_ID]"
+   *
    * The new metric must be provided in the request.
    * 
* @@ -103,7 +100,9 @@ public java.lang.String getParent() { * *
    * Required. The resource name of the project in which to create the metric:
+   *
    *     "projects/[PROJECT_ID]"
+   *
    * The new metric must be provided in the request.
    * 
* @@ -553,7 +552,9 @@ public Builder mergeFrom( * *
      * Required. The resource name of the project in which to create the metric:
+     *
      *     "projects/[PROJECT_ID]"
+     *
      * The new metric must be provided in the request.
      * 
* @@ -579,7 +580,9 @@ public java.lang.String getParent() { * *
      * Required. The resource name of the project in which to create the metric:
+     *
      *     "projects/[PROJECT_ID]"
+     *
      * The new metric must be provided in the request.
      * 
* @@ -605,7 +608,9 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The resource name of the project in which to create the metric:
+     *
      *     "projects/[PROJECT_ID]"
+     *
      * The new metric must be provided in the request.
      * 
* @@ -630,7 +635,9 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The resource name of the project in which to create the metric:
+     *
      *     "projects/[PROJECT_ID]"
+     *
      * The new metric must be provided in the request.
      * 
* @@ -651,7 +658,9 @@ public Builder clearParent() { * *
      * Required. The resource name of the project in which to create the metric:
+     *
      *     "projects/[PROJECT_ID]"
+     *
      * The new metric must be provided in the request.
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java index f11b3761a..572d95e53 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,9 @@ public interface CreateLogMetricRequestOrBuilder * *
    * Required. The resource name of the project in which to create the metric:
+   *
    *     "projects/[PROJECT_ID]"
+   *
    * The new metric must be provided in the request.
    * 
* @@ -44,7 +46,9 @@ public interface CreateLogMetricRequestOrBuilder * *
    * Required. The resource name of the project in which to create the metric:
+   *
    *     "projects/[PROJECT_ID]"
+   *
    * The new metric must be provided in the request.
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java index 0ad17bd3d..1124f8503 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSinkRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateSinkRequest_descriptor; @@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource in which to create the sink:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
    *     "folders/[FOLDER_ID]"
+   *
    * For examples:
+   *
    *   `"projects/my-project"`
    *   `"organizations/123456789"`
    * 
@@ -108,11 +106,14 @@ public java.lang.String getParent() { * *
    * Required. The resource in which to create the sink:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
    *     "folders/[FOLDER_ID]"
+   *
    * For examples:
+   *
    *   `"projects/my-project"`
    *   `"organizations/123456789"`
    * 
@@ -197,6 +198,7 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * the same group or service account used by Cloud Logging before the addition * of writer identities to this API. The sink's destination must be in the * same project as the sink itself. + * * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For @@ -612,11 +614,14 @@ public Builder mergeFrom( * *
      * Required. The resource in which to create the sink:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-project"`
      *   `"organizations/123456789"`
      * 
@@ -643,11 +648,14 @@ public java.lang.String getParent() { * *
      * Required. The resource in which to create the sink:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-project"`
      *   `"organizations/123456789"`
      * 
@@ -674,11 +682,14 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The resource in which to create the sink:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-project"`
      *   `"organizations/123456789"`
      * 
@@ -704,11 +715,14 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The resource in which to create the sink:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-project"`
      *   `"organizations/123456789"`
      * 
@@ -730,11 +744,14 @@ public Builder clearParent() { * *
      * Required. The resource in which to create the sink:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
      *     "folders/[FOLDER_ID]"
+     *
      * For examples:
+     *
      *   `"projects/my-project"`
      *   `"organizations/123456789"`
      * 
@@ -956,6 +973,7 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * the same group or service account used by Cloud Logging before the addition * of writer identities to this API. The sink's destination must be in the * same project as the sink itself. + * * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For @@ -981,6 +999,7 @@ public boolean getUniqueWriterIdentity() { * the same group or service account used by Cloud Logging before the addition * of writer identities to this API. The sink's destination must be in the * same project as the sink itself. + * * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For @@ -1010,6 +1029,7 @@ public Builder setUniqueWriterIdentity(boolean value) { * the same group or service account used by Cloud Logging before the addition * of writer identities to this API. The sink's destination must be in the * same project as the sink itself. + * * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java index 610cf0378..9eeff1e80 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface CreateSinkRequestOrBuilder * *
    * Required. The resource in which to create the sink:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
    *     "folders/[FOLDER_ID]"
+   *
    * For examples:
+   *
    *   `"projects/my-project"`
    *   `"organizations/123456789"`
    * 
@@ -49,11 +52,14 @@ public interface CreateSinkRequestOrBuilder * *
    * Required. The resource in which to create the sink:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
    *     "folders/[FOLDER_ID]"
+   *
    * For examples:
+   *
    *   `"projects/my-project"`
    *   `"organizations/123456789"`
    * 
@@ -114,6 +120,7 @@ public interface CreateSinkRequestOrBuilder * the same group or service account used by Cloud Logging before the addition * of writer identities to this API. The sink's destination must be in the * same project as the sink itself. + * * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java index 13dec0499..fd81b7131 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateViewRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateViewRequest_descriptor; @@ -77,8 +72,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The bucket in which to create the view
+   *
    *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -103,8 +101,11 @@ public java.lang.String getParent() { * *
    * Required. The bucket in which to create the view
+   *
    *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -627,8 +628,11 @@ public Builder mergeFrom( * *
      * Required. The bucket in which to create the view
+     *
      *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -652,8 +656,11 @@ public java.lang.String getParent() { * *
      * Required. The bucket in which to create the view
+     *
      *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -677,8 +684,11 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The bucket in which to create the view
+     *
      *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -701,8 +711,11 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The bucket in which to create the view
+     *
      *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -721,8 +734,11 @@ public Builder clearParent() { * *
      * Required. The bucket in which to create the view
+     *
      *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java index ff287ed14..2df19da1b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,8 +28,11 @@ public interface CreateViewRequestOrBuilder * *
    * Required. The bucket in which to create the view
+   *
    *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -43,8 +46,11 @@ public interface CreateViewRequestOrBuilder * *
    * Required. The bucket in which to create the view
+   *
    *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java index 563984237..22dc377e7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteBucketRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteBucketRequest_descriptor; @@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full resource name of the bucket to delete.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -107,11 +105,14 @@ public java.lang.String getName() { * *
    * Required. The full resource name of the bucket to delete.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -481,11 +482,14 @@ public Builder mergeFrom( * *
      * Required. The full resource name of the bucket to delete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -511,11 +515,14 @@ public java.lang.String getName() { * *
      * Required. The full resource name of the bucket to delete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -541,11 +548,14 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full resource name of the bucket to delete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -570,11 +580,14 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full resource name of the bucket to delete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -595,11 +608,14 @@ public Builder clearName() { * *
      * Required. The full resource name of the bucket to delete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java index d52ae463c..f82deaf6a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface DeleteBucketRequestOrBuilder * *
    * Required. The full resource name of the bucket to delete.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -48,11 +51,14 @@ public interface DeleteBucketRequestOrBuilder * *
    * Required. The full resource name of the bucket to delete.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java index ac13bb3d1..844651f26 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteExclusionRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteExclusionRequest_descriptor; @@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of an existing exclusion to delete:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -107,11 +105,14 @@ public java.lang.String getName() { * *
    * Required. The resource name of an existing exclusion to delete:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -481,11 +482,14 @@ public Builder mergeFrom( * *
      * Required. The resource name of an existing exclusion to delete:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -511,11 +515,14 @@ public java.lang.String getName() { * *
      * Required. The resource name of an existing exclusion to delete:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -541,11 +548,14 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The resource name of an existing exclusion to delete:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -570,11 +580,14 @@ public Builder setName(java.lang.String value) { * *
      * Required. The resource name of an existing exclusion to delete:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -595,11 +608,14 @@ public Builder clearName() { * *
      * Required. The resource name of an existing exclusion to delete:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java index 7e863687a..8d74b4d1c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface DeleteExclusionRequestOrBuilder * *
    * Required. The resource name of an existing exclusion to delete:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -48,11 +51,14 @@ public interface DeleteExclusionRequestOrBuilder * *
    * Required. The resource name of an existing exclusion to delete:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java index 918aa6022..e590175f4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteLinkRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteLinkRequest_descriptor; @@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full resource name of the link to delete.
+   *
    *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -105,6 +101,7 @@ public java.lang.String getName() {
    *
    * 
    * Required. The full resource name of the link to delete.
+   *
    *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -476,6 +473,7 @@ public Builder mergeFrom(
      *
      * 
      * Required. The full resource name of the link to delete.
+     *
      *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -504,6 +502,7 @@ public java.lang.String getName() {
      *
      * 
      * Required. The full resource name of the link to delete.
+     *
      *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -532,6 +531,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Required. The full resource name of the link to delete.
+     *
      *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -559,6 +559,7 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Required. The full resource name of the link to delete.
+     *
      *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -582,6 +583,7 @@ public Builder clearName() {
      *
      * 
      * Required. The full resource name of the link to delete.
+     *
      *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java
index 7d89cff2c..88bc43722 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface DeleteLinkRequestOrBuilder
    *
    * 
    * Required. The full resource name of the link to delete.
+   *
    *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -46,6 +47,7 @@ public interface DeleteLinkRequestOrBuilder
    *
    * 
    * Required. The full resource name of the link to delete.
+   *
    *  "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java
index c71f49879..0e137ea09 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteLogMetricRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingMetricsProto
         .internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor;
@@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource name of the metric to delete:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* @@ -102,6 +98,7 @@ public java.lang.String getMetricName() { * *
    * Required. The resource name of the metric to delete:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* @@ -471,6 +468,7 @@ public Builder mergeFrom( * *
      * Required. The resource name of the metric to delete:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* @@ -496,6 +494,7 @@ public java.lang.String getMetricName() { * *
      * Required. The resource name of the metric to delete:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* @@ -521,6 +520,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() { * *
      * Required. The resource name of the metric to delete:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* @@ -545,6 +545,7 @@ public Builder setMetricName(java.lang.String value) { * *
      * Required. The resource name of the metric to delete:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* @@ -565,6 +566,7 @@ public Builder clearMetricName() { * *
      * Required. The resource name of the metric to delete:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java index de3ddd153..c55aad33d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ public interface DeleteLogMetricRequestOrBuilder * *
    * Required. The resource name of the metric to delete:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* @@ -43,6 +44,7 @@ public interface DeleteLogMetricRequestOrBuilder * *
    * Required. The resource name of the metric to delete:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java index 12d8bd7a8..6263914c5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteLogRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_DeleteLogRequest_descriptor; @@ -76,13 +71,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of the log to delete:
+   *
    * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
    * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
    * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
    * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+   *
    * `[LOG_ID]` must be URL-encoded. For example,
    * `"projects/my-project-id/logs/syslog"`,
    * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+   *
    * For more information about log names, see
    * [LogEntry][google.logging.v2.LogEntry].
    * 
@@ -110,13 +108,16 @@ public java.lang.String getLogName() { * *
    * Required. The resource name of the log to delete:
+   *
    * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
    * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
    * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
    * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+   *
    * `[LOG_ID]` must be URL-encoded. For example,
    * `"projects/my-project-id/logs/syslog"`,
    * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+   *
    * For more information about log names, see
    * [LogEntry][google.logging.v2.LogEntry].
    * 
@@ -486,13 +487,16 @@ public Builder mergeFrom( * *
      * Required. The resource name of the log to delete:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example,
      * `"projects/my-project-id/logs/syslog"`,
      * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+     *
      * For more information about log names, see
      * [LogEntry][google.logging.v2.LogEntry].
      * 
@@ -519,13 +523,16 @@ public java.lang.String getLogName() { * *
      * Required. The resource name of the log to delete:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example,
      * `"projects/my-project-id/logs/syslog"`,
      * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+     *
      * For more information about log names, see
      * [LogEntry][google.logging.v2.LogEntry].
      * 
@@ -552,13 +559,16 @@ public com.google.protobuf.ByteString getLogNameBytes() { * *
      * Required. The resource name of the log to delete:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example,
      * `"projects/my-project-id/logs/syslog"`,
      * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+     *
      * For more information about log names, see
      * [LogEntry][google.logging.v2.LogEntry].
      * 
@@ -584,13 +594,16 @@ public Builder setLogName(java.lang.String value) { * *
      * Required. The resource name of the log to delete:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example,
      * `"projects/my-project-id/logs/syslog"`,
      * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+     *
      * For more information about log names, see
      * [LogEntry][google.logging.v2.LogEntry].
      * 
@@ -612,13 +625,16 @@ public Builder clearLogName() { * *
      * Required. The resource name of the log to delete:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example,
      * `"projects/my-project-id/logs/syslog"`,
      * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+     *
      * For more information about log names, see
      * [LogEntry][google.logging.v2.LogEntry].
      * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java index e2ddc3230..c7f01d89b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,13 +28,16 @@ public interface DeleteLogRequestOrBuilder * *
    * Required. The resource name of the log to delete:
+   *
    * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
    * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
    * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
    * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+   *
    * `[LOG_ID]` must be URL-encoded. For example,
    * `"projects/my-project-id/logs/syslog"`,
    * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+   *
    * For more information about log names, see
    * [LogEntry][google.logging.v2.LogEntry].
    * 
@@ -51,13 +54,16 @@ public interface DeleteLogRequestOrBuilder * *
    * Required. The resource name of the log to delete:
+   *
    * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
    * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
    * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
    * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+   *
    * `[LOG_ID]` must be URL-encoded. For example,
    * `"projects/my-project-id/logs/syslog"`,
    * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+   *
    * For more information about log names, see
    * [LogEntry][google.logging.v2.LogEntry].
    * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java index e2df7bc49..55103caf8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteSinkRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteSinkRequest_descriptor; @@ -77,11 +72,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full resource name of the sink to delete, including the
    * parent resource and the sink identifier:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -109,11 +107,14 @@ public java.lang.String getSinkName() { *
    * Required. The full resource name of the sink to delete, including the
    * parent resource and the sink identifier:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -483,11 +484,14 @@ public Builder mergeFrom( *
      * Required. The full resource name of the sink to delete, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -514,11 +518,14 @@ public java.lang.String getSinkName() { *
      * Required. The full resource name of the sink to delete, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -545,11 +552,14 @@ public com.google.protobuf.ByteString getSinkNameBytes() { *
      * Required. The full resource name of the sink to delete, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -575,11 +585,14 @@ public Builder setSinkName(java.lang.String value) { *
      * Required. The full resource name of the sink to delete, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -601,11 +614,14 @@ public Builder clearSinkName() { *
      * Required. The full resource name of the sink to delete, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java index 902f78e87..985d8b249 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,11 +29,14 @@ public interface DeleteSinkRequestOrBuilder *
    * Required. The full resource name of the sink to delete, including the
    * parent resource and the sink identifier:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -50,11 +53,14 @@ public interface DeleteSinkRequestOrBuilder *
    * Required. The full resource name of the sink to delete, including the
    * parent resource and the sink identifier:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java index cca0a346f..a4832cbef 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteViewRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteViewRequest_descriptor; @@ -76,8 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full resource name of the view to delete:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -104,8 +102,11 @@ public java.lang.String getName() { * *
    * Required. The full resource name of the view to delete:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -474,8 +475,11 @@ public Builder mergeFrom( * *
      * Required. The full resource name of the view to delete:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -501,8 +505,11 @@ public java.lang.String getName() { * *
      * Required. The full resource name of the view to delete:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -528,8 +535,11 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full resource name of the view to delete:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -554,8 +564,11 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full resource name of the view to delete:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -576,8 +589,11 @@ public Builder clearName() { * *
      * Required. The full resource name of the view to delete:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java index ecd296107..3cafd0a42 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,8 +28,11 @@ public interface DeleteViewRequestOrBuilder * *
    * Required. The full resource name of the view to delete:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -45,8 +48,11 @@ public interface DeleteViewRequestOrBuilder * *
    * Required. The full resource name of the view to delete:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java index ebc46df91..9e4334997 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java index 3a1720edc..14b45b12f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java index 36fe87ba0..1dc305de7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetBucketRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetBucketRequest_descriptor; @@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of the bucket:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -107,11 +105,14 @@ public java.lang.String getName() { * *
    * Required. The resource name of the bucket:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -480,11 +481,14 @@ public Builder mergeFrom( * *
      * Required. The resource name of the bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -510,11 +514,14 @@ public java.lang.String getName() { * *
      * Required. The resource name of the bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -540,11 +547,14 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The resource name of the bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -569,11 +579,14 @@ public Builder setName(java.lang.String value) { * *
      * Required. The resource name of the bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -594,11 +607,14 @@ public Builder clearName() { * *
      * Required. The resource name of the bucket:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java index 3be788db4..534d6908c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface GetBucketRequestOrBuilder * *
    * Required. The resource name of the bucket:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -48,11 +51,14 @@ public interface GetBucketRequestOrBuilder * *
    * Required. The resource name of the bucket:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java index 5c82860c3..4622b2d7f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ *
  * The parameters to
  * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
+ *
  * See [Enabling CMEK for Log
  * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
  * more information.
@@ -51,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetCmekSettingsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor;
@@ -80,12 +76,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource for which to retrieve CMEK settings.
+   *
    *     "projects/[PROJECT_ID]/cmekSettings"
    *     "organizations/[ORGANIZATION_ID]/cmekSettings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
    *     "folders/[FOLDER_ID]/cmekSettings"
+   *
    * For example:
+   *
    *   `"organizations/12345/cmekSettings"`
+   *
    * Note: CMEK for the Log Router can be configured for Google Cloud projects,
    * folders, organizations and billing accounts. Once configured for an
    * organization, it applies to all projects and folders in the Google Cloud
@@ -115,12 +115,16 @@ public java.lang.String getName() {
    *
    * 
    * Required. The resource for which to retrieve CMEK settings.
+   *
    *     "projects/[PROJECT_ID]/cmekSettings"
    *     "organizations/[ORGANIZATION_ID]/cmekSettings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
    *     "folders/[FOLDER_ID]/cmekSettings"
+   *
    * For example:
+   *
    *   `"organizations/12345/cmekSettings"`
+   *
    * Note: CMEK for the Log Router can be configured for Google Cloud projects,
    * folders, organizations and billing accounts. Once configured for an
    * organization, it applies to all projects and folders in the Google Cloud
@@ -311,6 +315,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * 
    * The parameters to
    * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
    * more information.
@@ -497,12 +502,16 @@ public Builder mergeFrom(
      *
      * 
      * Required. The resource for which to retrieve CMEK settings.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can be configured for Google Cloud projects,
      * folders, organizations and billing accounts. Once configured for an
      * organization, it applies to all projects and folders in the Google Cloud
@@ -531,12 +540,16 @@ public java.lang.String getName() {
      *
      * 
      * Required. The resource for which to retrieve CMEK settings.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can be configured for Google Cloud projects,
      * folders, organizations and billing accounts. Once configured for an
      * organization, it applies to all projects and folders in the Google Cloud
@@ -565,12 +578,16 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Required. The resource for which to retrieve CMEK settings.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can be configured for Google Cloud projects,
      * folders, organizations and billing accounts. Once configured for an
      * organization, it applies to all projects and folders in the Google Cloud
@@ -598,12 +615,16 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Required. The resource for which to retrieve CMEK settings.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can be configured for Google Cloud projects,
      * folders, organizations and billing accounts. Once configured for an
      * organization, it applies to all projects and folders in the Google Cloud
@@ -627,12 +648,16 @@ public Builder clearName() {
      *
      * 
      * Required. The resource for which to retrieve CMEK settings.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can be configured for Google Cloud projects,
      * folders, organizations and billing accounts. Once configured for an
      * organization, it applies to all projects and folders in the Google Cloud
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java
index c59b26e69..29462a710 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,12 +28,16 @@ public interface GetCmekSettingsRequestOrBuilder
    *
    * 
    * Required. The resource for which to retrieve CMEK settings.
+   *
    *     "projects/[PROJECT_ID]/cmekSettings"
    *     "organizations/[ORGANIZATION_ID]/cmekSettings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
    *     "folders/[FOLDER_ID]/cmekSettings"
+   *
    * For example:
+   *
    *   `"organizations/12345/cmekSettings"`
+   *
    * Note: CMEK for the Log Router can be configured for Google Cloud projects,
    * folders, organizations and billing accounts. Once configured for an
    * organization, it applies to all projects and folders in the Google Cloud
@@ -52,12 +56,16 @@ public interface GetCmekSettingsRequestOrBuilder
    *
    * 
    * Required. The resource for which to retrieve CMEK settings.
+   *
    *     "projects/[PROJECT_ID]/cmekSettings"
    *     "organizations/[ORGANIZATION_ID]/cmekSettings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
    *     "folders/[FOLDER_ID]/cmekSettings"
+   *
    * For example:
+   *
    *   `"organizations/12345/cmekSettings"`
+   *
    * Note: CMEK for the Log Router can be configured for Google Cloud projects,
    * folders, organizations and billing accounts. Once configured for an
    * organization, it applies to all projects and folders in the Google Cloud
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java
index f1006ce68..7ca05b712 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetExclusionRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetExclusionRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource name of an existing exclusion:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -107,11 +105,14 @@ public java.lang.String getName() { * *
    * Required. The resource name of an existing exclusion:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -481,11 +482,14 @@ public Builder mergeFrom( * *
      * Required. The resource name of an existing exclusion:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -511,11 +515,14 @@ public java.lang.String getName() { * *
      * Required. The resource name of an existing exclusion:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -541,11 +548,14 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The resource name of an existing exclusion:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -570,11 +580,14 @@ public Builder setName(java.lang.String value) { * *
      * Required. The resource name of an existing exclusion:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -595,11 +608,14 @@ public Builder clearName() { * *
      * Required. The resource name of an existing exclusion:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java index e66eaa839..133efef20 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface GetExclusionRequestOrBuilder * *
    * Required. The resource name of an existing exclusion:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -48,11 +51,14 @@ public interface GetExclusionRequestOrBuilder * *
    * Required. The resource name of an existing exclusion:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java index 12c39b674..3e28be141 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetLinkRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetLinkRequest_descriptor; @@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of the link:
+   *
    *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -105,6 +101,7 @@ public java.lang.String getName() {
    *
    * 
    * Required. The resource name of the link:
+   *
    *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -474,6 +471,7 @@ public Builder mergeFrom(
      *
      * 
      * Required. The resource name of the link:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -502,6 +500,7 @@ public java.lang.String getName() {
      *
      * 
      * Required. The resource name of the link:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -530,6 +529,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Required. The resource name of the link:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -557,6 +557,7 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Required. The resource name of the link:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -580,6 +581,7 @@ public Builder clearName() {
      *
      * 
      * Required. The resource name of the link:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java
index a717b1c29..476efdc50 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface GetLinkRequestOrBuilder
    *
    * 
    * Required. The resource name of the link:
+   *
    *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -46,6 +47,7 @@ public interface GetLinkRequestOrBuilder
    *
    * 
    * Required. The resource name of the link:
+   *
    *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java
index 981e3c690..74e587605 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetLogMetricRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingMetricsProto
         .internal_static_google_logging_v2_GetLogMetricRequest_descriptor;
@@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource name of the desired metric:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* @@ -102,6 +98,7 @@ public java.lang.String getMetricName() { * *
    * Required. The resource name of the desired metric:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* @@ -471,6 +468,7 @@ public Builder mergeFrom( * *
      * Required. The resource name of the desired metric:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* @@ -496,6 +494,7 @@ public java.lang.String getMetricName() { * *
      * Required. The resource name of the desired metric:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* @@ -521,6 +520,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() { * *
      * Required. The resource name of the desired metric:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* @@ -545,6 +545,7 @@ public Builder setMetricName(java.lang.String value) { * *
      * Required. The resource name of the desired metric:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* @@ -565,6 +566,7 @@ public Builder clearMetricName() { * *
      * Required. The resource name of the desired metric:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java index 764dc3838..394edb8ba 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ public interface GetLogMetricRequestOrBuilder * *
    * Required. The resource name of the desired metric:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* @@ -43,6 +44,7 @@ public interface GetLogMetricRequestOrBuilder * *
    * Required. The resource name of the desired metric:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java index 44e784cbc..fb76d46e4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ *
  * The parameters to
  * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings].
+ *
  * See [Enabling CMEK for Log
  * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
  * more information.
@@ -51,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetSettingsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetSettingsRequest_descriptor;
@@ -80,12 +76,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource for which to retrieve settings.
+   *
    *     "projects/[PROJECT_ID]/settings"
    *     "organizations/[ORGANIZATION_ID]/settings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
    *     "folders/[FOLDER_ID]/settings"
+   *
    * For example:
+   *
    *   `"organizations/12345/settings"`
+   *
    * Note: Settings for the Log Router can be get for Google Cloud projects,
    * folders, organizations and billing accounts. Currently it can only be
    * configured for organizations. Once configured for an organization, it
@@ -115,12 +115,16 @@ public java.lang.String getName() {
    *
    * 
    * Required. The resource for which to retrieve settings.
+   *
    *     "projects/[PROJECT_ID]/settings"
    *     "organizations/[ORGANIZATION_ID]/settings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
    *     "folders/[FOLDER_ID]/settings"
+   *
    * For example:
+   *
    *   `"organizations/12345/settings"`
+   *
    * Note: Settings for the Log Router can be get for Google Cloud projects,
    * folders, organizations and billing accounts. Currently it can only be
    * configured for organizations. Once configured for an organization, it
@@ -310,6 +314,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * 
    * The parameters to
    * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings].
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
    * more information.
@@ -496,12 +501,16 @@ public Builder mergeFrom(
      *
      * 
      * Required. The resource for which to retrieve settings.
+     *
      *     "projects/[PROJECT_ID]/settings"
      *     "organizations/[ORGANIZATION_ID]/settings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
      *     "folders/[FOLDER_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can be get for Google Cloud projects,
      * folders, organizations and billing accounts. Currently it can only be
      * configured for organizations. Once configured for an organization, it
@@ -530,12 +539,16 @@ public java.lang.String getName() {
      *
      * 
      * Required. The resource for which to retrieve settings.
+     *
      *     "projects/[PROJECT_ID]/settings"
      *     "organizations/[ORGANIZATION_ID]/settings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
      *     "folders/[FOLDER_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can be get for Google Cloud projects,
      * folders, organizations and billing accounts. Currently it can only be
      * configured for organizations. Once configured for an organization, it
@@ -564,12 +577,16 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Required. The resource for which to retrieve settings.
+     *
      *     "projects/[PROJECT_ID]/settings"
      *     "organizations/[ORGANIZATION_ID]/settings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
      *     "folders/[FOLDER_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can be get for Google Cloud projects,
      * folders, organizations and billing accounts. Currently it can only be
      * configured for organizations. Once configured for an organization, it
@@ -597,12 +614,16 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Required. The resource for which to retrieve settings.
+     *
      *     "projects/[PROJECT_ID]/settings"
      *     "organizations/[ORGANIZATION_ID]/settings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
      *     "folders/[FOLDER_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can be get for Google Cloud projects,
      * folders, organizations and billing accounts. Currently it can only be
      * configured for organizations. Once configured for an organization, it
@@ -626,12 +647,16 @@ public Builder clearName() {
      *
      * 
      * Required. The resource for which to retrieve settings.
+     *
      *     "projects/[PROJECT_ID]/settings"
      *     "organizations/[ORGANIZATION_ID]/settings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
      *     "folders/[FOLDER_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can be get for Google Cloud projects,
      * folders, organizations and billing accounts. Currently it can only be
      * configured for organizations. Once configured for an organization, it
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java
index 1acc66b3f..a0135dccb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,12 +28,16 @@ public interface GetSettingsRequestOrBuilder
    *
    * 
    * Required. The resource for which to retrieve settings.
+   *
    *     "projects/[PROJECT_ID]/settings"
    *     "organizations/[ORGANIZATION_ID]/settings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
    *     "folders/[FOLDER_ID]/settings"
+   *
    * For example:
+   *
    *   `"organizations/12345/settings"`
+   *
    * Note: Settings for the Log Router can be get for Google Cloud projects,
    * folders, organizations and billing accounts. Currently it can only be
    * configured for organizations. Once configured for an organization, it
@@ -52,12 +56,16 @@ public interface GetSettingsRequestOrBuilder
    *
    * 
    * Required. The resource for which to retrieve settings.
+   *
    *     "projects/[PROJECT_ID]/settings"
    *     "organizations/[ORGANIZATION_ID]/settings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
    *     "folders/[FOLDER_ID]/settings"
+   *
    * For example:
+   *
    *   `"organizations/12345/settings"`
+   *
    * Note: Settings for the Log Router can be get for Google Cloud projects,
    * folders, organizations and billing accounts. Currently it can only be
    * configured for organizations. Once configured for an organization, it
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java
index 803a1c2dc..60f1bf1b4 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetSinkRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetSinkRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource name of the sink:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -107,11 +105,14 @@ public java.lang.String getSinkName() { * *
    * Required. The resource name of the sink:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -478,11 +479,14 @@ public Builder mergeFrom( * *
      * Required. The resource name of the sink:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -508,11 +512,14 @@ public java.lang.String getSinkName() { * *
      * Required. The resource name of the sink:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -538,11 +545,14 @@ public com.google.protobuf.ByteString getSinkNameBytes() { * *
      * Required. The resource name of the sink:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -567,11 +577,14 @@ public Builder setSinkName(java.lang.String value) { * *
      * Required. The resource name of the sink:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -592,11 +605,14 @@ public Builder clearSinkName() { * *
      * Required. The resource name of the sink:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java index 13fc21290..1fb5d6ec0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface GetSinkRequestOrBuilder * *
    * Required. The resource name of the sink:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -48,11 +51,14 @@ public interface GetSinkRequestOrBuilder * *
    * Required. The resource name of the sink:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java index 78704ab89..79f3bea9b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetViewRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetViewRequest_descriptor; @@ -76,8 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of the policy:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -104,8 +102,11 @@ public java.lang.String getName() { * *
    * Required. The resource name of the policy:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -472,8 +473,11 @@ public Builder mergeFrom( * *
      * Required. The resource name of the policy:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -499,8 +503,11 @@ public java.lang.String getName() { * *
      * Required. The resource name of the policy:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -526,8 +533,11 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The resource name of the policy:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -552,8 +562,11 @@ public Builder setName(java.lang.String value) { * *
      * Required. The resource name of the policy:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -574,8 +587,11 @@ public Builder clearName() { * *
      * Required. The resource name of the policy:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java index bf2724a08..e8f18f0a7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,8 +28,11 @@ public interface GetViewRequestOrBuilder * *
    * Required. The resource name of the policy:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -45,8 +48,11 @@ public interface GetViewRequestOrBuilder * *
    * Required. The resource name of the policy:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java index 20836be64..178e85114 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexConfig(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_IndexConfig_descriptor; @@ -77,10 +72,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The LogEntry field path to index.
+   *
    * Note that some paths are automatically indexed, and other paths are not
    * eligible for indexing. See [indexing documentation](
    * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
    * for details.
+   *
    * For example: `jsonPayload.request.status`
    * 
* @@ -105,10 +102,12 @@ public java.lang.String getFieldPath() { * *
    * Required. The LogEntry field path to index.
+   *
    * Note that some paths are automatically indexed, and other paths are not
    * eligible for indexing. See [indexing documentation](
    * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
    * for details.
+   *
    * For example: `jsonPayload.request.status`
    * 
* @@ -170,6 +169,7 @@ public com.google.logging.v2.IndexType getType() { * *
    * Output only. The timestamp when the index was last modified.
+   *
    * This is used to return the timestamp, and will be ignored if supplied
    * during update.
    * 
@@ -188,6 +188,7 @@ public boolean hasCreateTime() { * *
    * Output only. The timestamp when the index was last modified.
+   *
    * This is used to return the timestamp, and will be ignored if supplied
    * during update.
    * 
@@ -206,6 +207,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * *
    * Output only. The timestamp when the index was last modified.
+   *
    * This is used to return the timestamp, and will be ignored if supplied
    * during update.
    * 
@@ -615,10 +617,12 @@ public Builder mergeFrom( * *
      * Required. The LogEntry field path to index.
+     *
      * Note that some paths are automatically indexed, and other paths are not
      * eligible for indexing. See [indexing documentation](
      * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
      * for details.
+     *
      * For example: `jsonPayload.request.status`
      * 
* @@ -642,10 +646,12 @@ public java.lang.String getFieldPath() { * *
      * Required. The LogEntry field path to index.
+     *
      * Note that some paths are automatically indexed, and other paths are not
      * eligible for indexing. See [indexing documentation](
      * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
      * for details.
+     *
      * For example: `jsonPayload.request.status`
      * 
* @@ -669,10 +675,12 @@ public com.google.protobuf.ByteString getFieldPathBytes() { * *
      * Required. The LogEntry field path to index.
+     *
      * Note that some paths are automatically indexed, and other paths are not
      * eligible for indexing. See [indexing documentation](
      * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
      * for details.
+     *
      * For example: `jsonPayload.request.status`
      * 
* @@ -695,10 +703,12 @@ public Builder setFieldPath(java.lang.String value) { * *
      * Required. The LogEntry field path to index.
+     *
      * Note that some paths are automatically indexed, and other paths are not
      * eligible for indexing. See [indexing documentation](
      * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
      * for details.
+     *
      * For example: `jsonPayload.request.status`
      * 
* @@ -717,10 +727,12 @@ public Builder clearFieldPath() { * *
      * Required. The LogEntry field path to index.
+     *
      * Note that some paths are automatically indexed, and other paths are not
      * eligible for indexing. See [indexing documentation](
      * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
      * for details.
+     *
      * For example: `jsonPayload.request.status`
      * 
* @@ -840,6 +852,7 @@ public Builder clearType() { * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
@@ -858,6 +871,7 @@ public boolean hasCreateTime() { * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
@@ -882,6 +896,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
@@ -908,6 +923,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
@@ -931,6 +947,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
@@ -960,6 +977,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
@@ -983,6 +1001,7 @@ public Builder clearCreateTime() { * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
@@ -1001,6 +1020,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
@@ -1023,6 +1043,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
      * Output only. The timestamp when the index was last modified.
+     *
      * This is used to return the timestamp, and will be ignored if supplied
      * during update.
      * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java index 8c3a9c45b..ee214f090 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,10 +28,12 @@ public interface IndexConfigOrBuilder * *
    * Required. The LogEntry field path to index.
+   *
    * Note that some paths are automatically indexed, and other paths are not
    * eligible for indexing. See [indexing documentation](
    * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
    * for details.
+   *
    * For example: `jsonPayload.request.status`
    * 
* @@ -45,10 +47,12 @@ public interface IndexConfigOrBuilder * *
    * Required. The LogEntry field path to index.
+   *
    * Note that some paths are automatically indexed, and other paths are not
    * eligible for indexing. See [indexing documentation](
    * https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
    * for details.
+   *
    * For example: `jsonPayload.request.status`
    * 
* @@ -88,6 +92,7 @@ public interface IndexConfigOrBuilder * *
    * Output only. The timestamp when the index was last modified.
+   *
    * This is used to return the timestamp, and will be ignored if supplied
    * during update.
    * 
@@ -103,6 +108,7 @@ public interface IndexConfigOrBuilder * *
    * Output only. The timestamp when the index was last modified.
+   *
    * This is used to return the timestamp, and will be ignored if supplied
    * during update.
    * 
@@ -118,6 +124,7 @@ public interface IndexConfigOrBuilder * *
    * Output only. The timestamp when the index was last modified.
+   *
    * This is used to return the timestamp, and will be ignored if supplied
    * during update.
    * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java index 2cea93d7c..b28992e8b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java index 5f07cf396..38d77872b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java index d303a2457..3d45bbebd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Link(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Link_descriptor; @@ -79,11 +74,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -110,11 +108,14 @@ public java.lang.String getName() { * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -144,6 +145,7 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * Describes this link.
+   *
    * The maximum length of the description is 8000 characters.
    * 
* @@ -168,6 +170,7 @@ public java.lang.String getDescription() { * *
    * Describes this link.
+   *
    * The maximum length of the description is 8000 characters.
    * 
* @@ -791,11 +794,14 @@ public Builder mergeFrom( * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -821,11 +827,14 @@ public java.lang.String getName() { * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -851,11 +860,14 @@ public com.google.protobuf.ByteString getNameBytes() { * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -880,11 +892,14 @@ public Builder setName(java.lang.String value) { * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -905,11 +920,14 @@ public Builder clearName() { * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -935,6 +953,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * Describes this link.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -958,6 +977,7 @@ public java.lang.String getDescription() { * *
      * Describes this link.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -981,6 +1001,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * *
      * Describes this link.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -1003,6 +1024,7 @@ public Builder setDescription(java.lang.String value) { * *
      * Describes this link.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -1021,6 +1043,7 @@ public Builder clearDescription() { * *
      * Describes this link.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java index 2327a9e3f..5d3511a9d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinkMetadata(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LinkMetadata_descriptor; @@ -68,6 +63,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int requestCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object request_; public enum RequestCase diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java index 1db4db75f..8eb5c1003 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -188,5 +188,5 @@ public interface LinkMetadataOrBuilder */ com.google.logging.v2.DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBuilder(); - public com.google.logging.v2.LinkMetadata.RequestCase getRequestCase(); + com.google.logging.v2.LinkMetadata.RequestCase getRequestCase(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java index 9078b8556..4b20c716c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java index 0d3b1d527..ab35bfa91 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,11 +30,14 @@ public interface LinkOrBuilder * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -50,11 +53,14 @@ public interface LinkOrBuilder * The resource name of the link. The name can have up to 100 characters. * A valid link id (at the end of the link name) must only have alphanumeric * characters and underscores within it. + * * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* @@ -69,6 +75,7 @@ public interface LinkOrBuilder * *
    * Describes this link.
+   *
    * The maximum length of the description is 8000 characters.
    * 
* @@ -82,6 +89,7 @@ public interface LinkOrBuilder * *
    * Describes this link.
+   *
    * The maximum length of the description is 8000 characters.
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java index a528d2a23..e5e9bbedf 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBucketsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListBucketsRequest_descriptor; @@ -77,10 +72,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The parent resource whose buckets are to be listed:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+   *
    * Note: The locations portion of the resource must be specified, but
    * supplying the character `-` in place of [LOCATION_ID] will return all
    * buckets.
@@ -109,10 +106,12 @@ public java.lang.String getParent() {
    *
    * 
    * Required. The parent resource whose buckets are to be listed:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+   *
    * Note: The locations portion of the resource must be specified, but
    * supplying the character `-` in place of [LOCATION_ID] will return all
    * buckets.
@@ -606,10 +605,12 @@ public Builder mergeFrom(
      *
      * 
      * Required. The parent resource whose buckets are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+     *
      * Note: The locations portion of the resource must be specified, but
      * supplying the character `-` in place of [LOCATION_ID] will return all
      * buckets.
@@ -637,10 +638,12 @@ public java.lang.String getParent() {
      *
      * 
      * Required. The parent resource whose buckets are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+     *
      * Note: The locations portion of the resource must be specified, but
      * supplying the character `-` in place of [LOCATION_ID] will return all
      * buckets.
@@ -668,10 +671,12 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      * 
      * Required. The parent resource whose buckets are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+     *
      * Note: The locations portion of the resource must be specified, but
      * supplying the character `-` in place of [LOCATION_ID] will return all
      * buckets.
@@ -698,10 +703,12 @@ public Builder setParent(java.lang.String value) {
      *
      * 
      * Required. The parent resource whose buckets are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+     *
      * Note: The locations portion of the resource must be specified, but
      * supplying the character `-` in place of [LOCATION_ID] will return all
      * buckets.
@@ -724,10 +731,12 @@ public Builder clearParent() {
      *
      * 
      * Required. The parent resource whose buckets are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+     *
      * Note: The locations portion of the resource must be specified, but
      * supplying the character `-` in place of [LOCATION_ID] will return all
      * buckets.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java
index 0f895cf02..9d9e10c25 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,10 +28,12 @@ public interface ListBucketsRequestOrBuilder
    *
    * 
    * Required. The parent resource whose buckets are to be listed:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+   *
    * Note: The locations portion of the resource must be specified, but
    * supplying the character `-` in place of [LOCATION_ID] will return all
    * buckets.
@@ -49,10 +51,12 @@ public interface ListBucketsRequestOrBuilder
    *
    * 
    * Required. The parent resource whose buckets are to be listed:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+   *
    * Note: The locations portion of the resource must be specified, but
    * supplying the character `-` in place of [LOCATION_ID] will return all
    * buckets.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java
index 4116a5fbf..bad631b20 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListBucketsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListBucketsResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java
index 2133deb62..e03368fdd 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java
index cdd0e3d12..e0ed7df35 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExclusionsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListExclusionsRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The parent resource whose exclusions are to be listed.
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -106,6 +102,7 @@ public java.lang.String getParent() {
    *
    * 
    * Required. The parent resource whose exclusions are to be listed.
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -601,6 +598,7 @@ public Builder mergeFrom(
      *
      * 
      * Required. The parent resource whose exclusions are to be listed.
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -629,6 +627,7 @@ public java.lang.String getParent() {
      *
      * 
      * Required. The parent resource whose exclusions are to be listed.
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -657,6 +656,7 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      * 
      * Required. The parent resource whose exclusions are to be listed.
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -684,6 +684,7 @@ public Builder setParent(java.lang.String value) {
      *
      * 
      * Required. The parent resource whose exclusions are to be listed.
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -707,6 +708,7 @@ public Builder clearParent() {
      *
      * 
      * Required. The parent resource whose exclusions are to be listed.
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java
index 3f41330e7..438c04eb9 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListExclusionsRequestOrBuilder
    *
    * 
    * Required. The parent resource whose exclusions are to be listed.
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -46,6 +47,7 @@ public interface ListExclusionsRequestOrBuilder
    *
    * 
    * Required. The parent resource whose exclusions are to be listed.
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java
index 149024462..71789d8af 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExclusionsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListExclusionsResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java
index da8b8fff5..bc1eeb233 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java
index f10fd7c43..abfe9428b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListLinksRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListLinksRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The parent resource whose links are to be listed:
+   *
    *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -106,6 +102,7 @@ public java.lang.String getParent() {
    *
    * 
    * Required. The parent resource whose links are to be listed:
+   *
    *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -596,6 +593,7 @@ public Builder mergeFrom(
      *
      * 
      * Required. The parent resource whose links are to be listed:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -624,6 +622,7 @@ public java.lang.String getParent() {
      *
      * 
      * Required. The parent resource whose links are to be listed:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -652,6 +651,7 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      * 
      * Required. The parent resource whose links are to be listed:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -679,6 +679,7 @@ public Builder setParent(java.lang.String value) {
      *
      * 
      * Required. The parent resource whose links are to be listed:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -702,6 +703,7 @@ public Builder clearParent() {
      *
      * 
      * Required. The parent resource whose links are to be listed:
+     *
      *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
      *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
      *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java
index e3437c0ac..a19f11e98 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListLinksRequestOrBuilder
    *
    * 
    * Required. The parent resource whose links are to be listed:
+   *
    *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -46,6 +47,7 @@ public interface ListLinksRequestOrBuilder
    *
    * 
    * Required. The parent resource whose links are to be listed:
+   *
    *   "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
    *   "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
    *   "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java
index b1a1b1fe2..f30305a76 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListLinksResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListLinksResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java
index c3234f521..8c67622b0 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java
index 1e6f84cff..6025d7738 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ private ListLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder
   }
 
   private ListLogEntriesRequest() {
-    resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
     filter_ = "";
     orderBy_ = "";
     pageToken_ = "";
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListLogEntriesRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListLogEntriesRequest_descriptor;
@@ -73,22 +68,27 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int RESOURCE_NAMES_FIELD_NUMBER = 8;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList resourceNames_;
+  private com.google.protobuf.LazyStringArrayList resourceNames_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
    * 
    * Required. Names of one or more parent resources from which to
    * retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * Projects listed in the `project_ids` field are added to this list.
    * A maximum of 100 resources may be specified in a single request.
    * 
@@ -108,15 +108,19 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { *
    * Required. Names of one or more parent resources from which to
    * retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * Projects listed in the `project_ids` field are added to this list.
    * A maximum of 100 resources may be specified in a single request.
    * 
@@ -136,15 +140,19 @@ public int getResourceNamesCount() { *
    * Required. Names of one or more parent resources from which to
    * retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * Projects listed in the `project_ids` field are added to this list.
    * A maximum of 100 resources may be specified in a single request.
    * 
@@ -165,15 +173,19 @@ public java.lang.String getResourceNames(int index) { *
    * Required. Names of one or more parent resources from which to
    * retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * Projects listed in the `project_ids` field are added to this list.
    * A maximum of 100 resources may be specified in a single request.
    * 
@@ -628,8 +640,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); filter_ = ""; orderBy_ = ""; pageSize_ = 0; @@ -661,7 +672,6 @@ public com.google.logging.v2.ListLogEntriesRequest build() { public com.google.logging.v2.ListLogEntriesRequest buildPartial() { com.google.logging.v2.ListLogEntriesRequest result = new com.google.logging.v2.ListLogEntriesRequest(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -669,16 +679,12 @@ public com.google.logging.v2.ListLogEntriesRequest buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.logging.v2.ListLogEntriesRequest result) { - if (((bitField0_ & 0x00000001) != 0)) { - resourceNames_ = resourceNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.resourceNames_ = resourceNames_; - } - private void buildPartial0(com.google.logging.v2.ListLogEntriesRequest result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + resourceNames_.makeImmutable(); + result.resourceNames_ = resourceNames_; + } if (((from_bitField0_ & 0x00000002) != 0)) { result.filter_ = filter_; } @@ -741,7 +747,7 @@ public Builder mergeFrom(com.google.logging.v2.ListLogEntriesRequest other) { if (!other.resourceNames_.isEmpty()) { if (resourceNames_.isEmpty()) { resourceNames_ = other.resourceNames_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureResourceNamesIsMutable(); resourceNames_.addAll(other.resourceNames_); @@ -842,14 +848,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList resourceNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList resourceNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureResourceNamesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!resourceNames_.isModifiable()) { resourceNames_ = new com.google.protobuf.LazyStringArrayList(resourceNames_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -857,15 +863,19 @@ private void ensureResourceNamesIsMutable() { *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -877,7 +887,8 @@ private void ensureResourceNamesIsMutable() { * @return A list containing the resourceNames. */ public com.google.protobuf.ProtocolStringList getResourceNamesList() { - return resourceNames_.getUnmodifiableView(); + resourceNames_.makeImmutable(); + return resourceNames_; } /** * @@ -885,15 +896,19 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -913,15 +928,19 @@ public int getResourceNamesCount() { *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -942,15 +961,19 @@ public java.lang.String getResourceNames(int index) { *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -971,15 +994,19 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -998,6 +1025,7 @@ public Builder setResourceNames(int index, java.lang.String value) { } ensureResourceNamesIsMutable(); resourceNames_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -1007,15 +1035,19 @@ public Builder setResourceNames(int index, java.lang.String value) { *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -1033,6 +1065,7 @@ public Builder addResourceNames(java.lang.String value) { } ensureResourceNamesIsMutable(); resourceNames_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -1042,15 +1075,19 @@ public Builder addResourceNames(java.lang.String value) { *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -1065,6 +1102,7 @@ public Builder addResourceNames(java.lang.String value) { public Builder addAllResourceNames(java.lang.Iterable values) { ensureResourceNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceNames_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -1074,15 +1112,19 @@ public Builder addAllResourceNames(java.lang.Iterable values) *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -1094,8 +1136,9 @@ public Builder addAllResourceNames(java.lang.Iterable values) * @return This builder for chaining. */ public Builder clearResourceNames() { - resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } @@ -1105,15 +1148,19 @@ public Builder clearResourceNames() { *
      * Required. Names of one or more parent resources from which to
      * retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * Projects listed in the `project_ids` field are added to this list.
      * A maximum of 100 resources may be specified in a single request.
      * 
@@ -1132,6 +1179,7 @@ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureResourceNamesIsMutable(); resourceNames_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java index 292d65d4d..02b2de227 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,15 +29,19 @@ public interface ListLogEntriesRequestOrBuilder *
    * Required. Names of one or more parent resources from which to
    * retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * Projects listed in the `project_ids` field are added to this list.
    * A maximum of 100 resources may be specified in a single request.
    * 
@@ -55,15 +59,19 @@ public interface ListLogEntriesRequestOrBuilder *
    * Required. Names of one or more parent resources from which to
    * retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * Projects listed in the `project_ids` field are added to this list.
    * A maximum of 100 resources may be specified in a single request.
    * 
@@ -81,15 +89,19 @@ public interface ListLogEntriesRequestOrBuilder *
    * Required. Names of one or more parent resources from which to
    * retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * Projects listed in the `project_ids` field are added to this list.
    * A maximum of 100 resources may be specified in a single request.
    * 
@@ -108,15 +120,19 @@ public interface ListLogEntriesRequestOrBuilder *
    * Required. Names of one or more parent resources from which to
    * retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * Projects listed in the `project_ids` field are added to this list.
    * A maximum of 100 resources may be specified in a single request.
    * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java index 9994c1812..60df43a85 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLogEntriesResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesResponse_descriptor; @@ -160,6 +155,7 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this @@ -191,6 +187,7 @@ public java.lang.String getNextPageToken() { * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this @@ -1017,6 +1014,7 @@ public java.util.List getEntriesBuilderL * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this @@ -1047,6 +1045,7 @@ public java.lang.String getNextPageToken() { * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this @@ -1077,6 +1076,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this @@ -1106,6 +1106,7 @@ public Builder setNextPageToken(java.lang.String value) { * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this @@ -1131,6 +1132,7 @@ public Builder clearNextPageToken() { * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java index 22b524420..bc524aa76 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -91,6 +91,7 @@ public interface ListLogEntriesResponseOrBuilder * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this @@ -111,6 +112,7 @@ public interface ListLogEntriesResponseOrBuilder * If there might be more results than those appearing in this response, then * `nextPageToken` is included. To get the next set of results, call this * method again using the value of `nextPageToken` as `pageToken`. + * * If a value for `next_page_token` appears and the `entries` field is empty, * it means that the search found no log entries so far but it did not have * time to search all the possible log entries. Retry the method with this diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java index a75c2a294..549d46034 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLogMetricsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsRequest_descriptor; @@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The name of the project containing the metrics:
+   *
    *     "projects/[PROJECT_ID]"
    * 
* @@ -103,6 +99,7 @@ public java.lang.String getParent() { * *
    * Required. The name of the project containing the metrics:
+   *
    *     "projects/[PROJECT_ID]"
    * 
* @@ -595,6 +592,7 @@ public Builder mergeFrom( * *
      * Required. The name of the project containing the metrics:
+     *
      *     "projects/[PROJECT_ID]"
      * 
* @@ -620,6 +618,7 @@ public java.lang.String getParent() { * *
      * Required. The name of the project containing the metrics:
+     *
      *     "projects/[PROJECT_ID]"
      * 
* @@ -645,6 +644,7 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The name of the project containing the metrics:
+     *
      *     "projects/[PROJECT_ID]"
      * 
* @@ -669,6 +669,7 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The name of the project containing the metrics:
+     *
      *     "projects/[PROJECT_ID]"
      * 
* @@ -689,6 +690,7 @@ public Builder clearParent() { * *
      * Required. The name of the project containing the metrics:
+     *
      *     "projects/[PROJECT_ID]"
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java index 7bc9456dc..c7bbd3aa4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ public interface ListLogMetricsRequestOrBuilder * *
    * Required. The name of the project containing the metrics:
+   *
    *     "projects/[PROJECT_ID]"
    * 
* @@ -43,6 +44,7 @@ public interface ListLogMetricsRequestOrBuilder * *
    * Required. The name of the project containing the metrics:
+   *
    *     "projects/[PROJECT_ID]"
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java index ebf64d4e9..7451505b6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLogMetricsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsResponse_descriptor; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java index 666ff3467..ce3664aad 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java index 4d9a83be6..4690bd9d3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ private ListLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder builde private ListLogsRequest() { parent_ = ""; - resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; } @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLogsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogsRequest_descriptor; @@ -78,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name to list logs for:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -107,6 +103,7 @@ public java.lang.String getParent() {
    *
    * 
    * Required. The resource name to list logs for:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -135,21 +132,26 @@ public com.google.protobuf.ByteString getParentBytes() {
   public static final int RESOURCE_NAMES_FIELD_NUMBER = 8;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList resourceNames_;
+  private com.google.protobuf.LazyStringArrayList resourceNames_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
    * 
    * Optional. List of resource names to list logs for:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * To support legacy queries, it could also be:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * The resource name in the `parent` field is added to this list.
    * 
* @@ -167,15 +169,19 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * *
    * Optional. List of resource names to list logs for:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * To support legacy queries, it could also be:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * The resource name in the `parent` field is added to this list.
    * 
* @@ -193,15 +199,19 @@ public int getResourceNamesCount() { * *
    * Optional. List of resource names to list logs for:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * To support legacy queries, it could also be:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * The resource name in the `parent` field is added to this list.
    * 
* @@ -220,15 +230,19 @@ public java.lang.String getResourceNames(int index) { * *
    * Optional. List of resource names to list logs for:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * To support legacy queries, it could also be:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * The resource name in the `parent` field is added to this list.
    * 
* @@ -551,8 +565,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageSize_ = 0; pageToken_ = ""; return this; @@ -582,7 +595,6 @@ public com.google.logging.v2.ListLogsRequest build() { public com.google.logging.v2.ListLogsRequest buildPartial() { com.google.logging.v2.ListLogsRequest result = new com.google.logging.v2.ListLogsRequest(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -590,19 +602,15 @@ public com.google.logging.v2.ListLogsRequest buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.logging.v2.ListLogsRequest result) { - if (((bitField0_ & 0x00000002) != 0)) { - resourceNames_ = resourceNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.resourceNames_ = resourceNames_; - } - private void buildPartial0(com.google.logging.v2.ListLogsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + resourceNames_.makeImmutable(); + result.resourceNames_ = resourceNames_; + } if (((from_bitField0_ & 0x00000004) != 0)) { result.pageSize_ = pageSize_; } @@ -664,7 +672,7 @@ public Builder mergeFrom(com.google.logging.v2.ListLogsRequest other) { if (!other.resourceNames_.isEmpty()) { if (resourceNames_.isEmpty()) { resourceNames_ = other.resourceNames_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureResourceNamesIsMutable(); resourceNames_.addAll(other.resourceNames_); @@ -755,6 +763,7 @@ public Builder mergeFrom( * *
      * Required. The resource name to list logs for:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -783,6 +792,7 @@ public java.lang.String getParent() {
      *
      * 
      * Required. The resource name to list logs for:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -811,6 +821,7 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      * 
      * Required. The resource name to list logs for:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -838,6 +849,7 @@ public Builder setParent(java.lang.String value) {
      *
      * 
      * Required. The resource name to list logs for:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -861,6 +873,7 @@ public Builder clearParent() {
      *
      * 
      * Required. The resource name to list logs for:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -885,29 +898,33 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    private com.google.protobuf.LazyStringList resourceNames_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList resourceNames_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureResourceNamesIsMutable() {
-      if (!((bitField0_ & 0x00000002) != 0)) {
+      if (!resourceNames_.isModifiable()) {
         resourceNames_ = new com.google.protobuf.LazyStringArrayList(resourceNames_);
-        bitField0_ |= 0x00000002;
       }
+      bitField0_ |= 0x00000002;
     }
     /**
      *
      *
      * 
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -918,22 +935,27 @@ private void ensureResourceNamesIsMutable() { * @return A list containing the resourceNames. */ public com.google.protobuf.ProtocolStringList getResourceNamesList() { - return resourceNames_.getUnmodifiableView(); + resourceNames_.makeImmutable(); + return resourceNames_; } /** * * *
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -951,15 +973,19 @@ public int getResourceNamesCount() { * *
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -978,15 +1004,19 @@ public java.lang.String getResourceNames(int index) { * *
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -1005,15 +1035,19 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { * *
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -1031,6 +1065,7 @@ public Builder setResourceNames(int index, java.lang.String value) { } ensureResourceNamesIsMutable(); resourceNames_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1039,15 +1074,19 @@ public Builder setResourceNames(int index, java.lang.String value) { * *
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -1064,6 +1103,7 @@ public Builder addResourceNames(java.lang.String value) { } ensureResourceNamesIsMutable(); resourceNames_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1072,15 +1112,19 @@ public Builder addResourceNames(java.lang.String value) { * *
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -1094,6 +1138,7 @@ public Builder addResourceNames(java.lang.String value) { public Builder addAllResourceNames(java.lang.Iterable values) { ensureResourceNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceNames_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1102,15 +1147,19 @@ public Builder addAllResourceNames(java.lang.Iterable values) * *
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -1121,8 +1170,9 @@ public Builder addAllResourceNames(java.lang.Iterable values) * @return This builder for chaining. */ public Builder clearResourceNames() { - resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -1131,15 +1181,19 @@ public Builder clearResourceNames() { * *
      * Optional. List of resource names to list logs for:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+     *
      * To support legacy queries, it could also be:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * The resource name in the `parent` field is added to this list.
      * 
* @@ -1157,6 +1211,7 @@ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureResourceNamesIsMutable(); resourceNames_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java index b631c1fcd..92a81b988 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ public interface ListLogsRequestOrBuilder * *
    * Required. The resource name to list logs for:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -46,6 +47,7 @@ public interface ListLogsRequestOrBuilder
    *
    * 
    * Required. The resource name to list logs for:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -65,15 +67,19 @@ public interface ListLogsRequestOrBuilder
    *
    * 
    * Optional. List of resource names to list logs for:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * To support legacy queries, it could also be:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * The resource name in the `parent` field is added to this list.
    * 
* @@ -89,15 +95,19 @@ public interface ListLogsRequestOrBuilder * *
    * Optional. List of resource names to list logs for:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * To support legacy queries, it could also be:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * The resource name in the `parent` field is added to this list.
    * 
* @@ -113,15 +123,19 @@ public interface ListLogsRequestOrBuilder * *
    * Optional. List of resource names to list logs for:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * To support legacy queries, it could also be:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * The resource name in the `parent` field is added to this list.
    * 
* @@ -138,15 +152,19 @@ public interface ListLogsRequestOrBuilder * *
    * Optional. List of resource names to list logs for:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+   *
    * To support legacy queries, it could also be:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * The resource name in the `parent` field is added to this list.
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java index 0e87e53ea..6bd3198f6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ private ListLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder build } private ListLogsResponse() { - logNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + logNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLogsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogsResponse_descriptor; @@ -71,7 +66,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int LOG_NAMES_FIELD_NUMBER = 3; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList logNames_; + private com.google.protobuf.LazyStringArrayList logNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -407,8 +403,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - logNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + logNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @@ -437,7 +432,6 @@ public com.google.logging.v2.ListLogsResponse build() { public com.google.logging.v2.ListLogsResponse buildPartial() { com.google.logging.v2.ListLogsResponse result = new com.google.logging.v2.ListLogsResponse(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -445,16 +439,12 @@ public com.google.logging.v2.ListLogsResponse buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.logging.v2.ListLogsResponse result) { - if (((bitField0_ & 0x00000001) != 0)) { - logNames_ = logNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.logNames_ = logNames_; - } - private void buildPartial0(com.google.logging.v2.ListLogsResponse result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + logNames_.makeImmutable(); + result.logNames_ = logNames_; + } if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; } @@ -508,7 +498,7 @@ public Builder mergeFrom(com.google.logging.v2.ListLogsResponse other) { if (!other.logNames_.isEmpty()) { if (logNames_.isEmpty()) { logNames_ = other.logNames_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureLogNamesIsMutable(); logNames_.addAll(other.logNames_); @@ -578,14 +568,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList logNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList logNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureLogNamesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!logNames_.isModifiable()) { logNames_ = new com.google.protobuf.LazyStringArrayList(logNames_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -601,7 +591,8 @@ private void ensureLogNamesIsMutable() { * @return A list containing the logNames. */ public com.google.protobuf.ProtocolStringList getLogNamesList() { - return logNames_.getUnmodifiableView(); + logNames_.makeImmutable(); + return logNames_; } /** * @@ -674,6 +665,7 @@ public Builder setLogNames(int index, java.lang.String value) { } ensureLogNamesIsMutable(); logNames_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -697,6 +689,7 @@ public Builder addLogNames(java.lang.String value) { } ensureLogNamesIsMutable(); logNames_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -717,6 +710,7 @@ public Builder addLogNames(java.lang.String value) { public Builder addAllLogNames(java.lang.Iterable values) { ensureLogNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logNames_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -734,8 +728,9 @@ public Builder addAllLogNames(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearLogNames() { - logNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + logNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } @@ -760,6 +755,7 @@ public Builder addLogNamesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureLogNamesIsMutable(); logNames_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java index 881527c08..be2d3cef5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java index e6a886442..9596fa95a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMonitoredResourceDescriptorsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java index 193bf02e2..f89690c66 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java index dcd3a8cb1..a69f72fc3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMonitoredResourceDescriptorsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java index f28ba92c4..e9514d3a2 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java index 9d02461a2..56e876e5f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSinksRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksRequest_descriptor; @@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The parent resource whose sinks are to be listed:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -106,6 +102,7 @@ public java.lang.String getParent() {
    *
    * 
    * Required. The parent resource whose sinks are to be listed:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -600,6 +597,7 @@ public Builder mergeFrom(
      *
      * 
      * Required. The parent resource whose sinks are to be listed:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -628,6 +626,7 @@ public java.lang.String getParent() {
      *
      * 
      * Required. The parent resource whose sinks are to be listed:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -656,6 +655,7 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      * 
      * Required. The parent resource whose sinks are to be listed:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -683,6 +683,7 @@ public Builder setParent(java.lang.String value) {
      *
      * 
      * Required. The parent resource whose sinks are to be listed:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -706,6 +707,7 @@ public Builder clearParent() {
      *
      * 
      * Required. The parent resource whose sinks are to be listed:
+     *
      *     "projects/[PROJECT_ID]"
      *     "organizations/[ORGANIZATION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java
index d59e4ff79..b282d5290 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListSinksRequestOrBuilder
    *
    * 
    * Required. The parent resource whose sinks are to be listed:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -46,6 +47,7 @@ public interface ListSinksRequestOrBuilder
    *
    * 
    * Required. The parent resource whose sinks are to be listed:
+   *
    *     "projects/[PROJECT_ID]"
    *     "organizations/[ORGANIZATION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java
index c5987f070..23d810f93 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListSinksResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListSinksResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java
index 1625fce0e..054084afb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java
index b2f05c793..5edd1dc1e 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListViewsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListViewsRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The bucket whose views are to be listed:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* @@ -101,6 +97,7 @@ public java.lang.String getParent() { * *
    * Required. The bucket whose views are to be listed:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* @@ -185,6 +182,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * *
    * Optional. The maximum number of results to return from this request.
+   *
    * Non-positive values are ignored. The presence of `nextPageToken` in the
    * response indicates that more results might be available.
    * 
@@ -590,6 +588,7 @@ public Builder mergeFrom( * *
      * Required. The bucket whose views are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* @@ -613,6 +612,7 @@ public java.lang.String getParent() { * *
      * Required. The bucket whose views are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* @@ -636,6 +636,7 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The bucket whose views are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* @@ -658,6 +659,7 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The bucket whose views are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* @@ -676,6 +678,7 @@ public Builder clearParent() { * *
      * Required. The bucket whose views are to be listed:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* @@ -822,6 +825,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * *
      * Optional. The maximum number of results to return from this request.
+     *
      * Non-positive values are ignored. The presence of `nextPageToken` in the
      * response indicates that more results might be available.
      * 
@@ -839,6 +843,7 @@ public int getPageSize() { * *
      * Optional. The maximum number of results to return from this request.
+     *
      * Non-positive values are ignored. The presence of `nextPageToken` in the
      * response indicates that more results might be available.
      * 
@@ -860,6 +865,7 @@ public Builder setPageSize(int value) { * *
      * Optional. The maximum number of results to return from this request.
+     *
      * Non-positive values are ignored. The presence of `nextPageToken` in the
      * response indicates that more results might be available.
      * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java index 101411177..5145fa003 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ public interface ListViewsRequestOrBuilder * *
    * Required. The bucket whose views are to be listed:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* @@ -41,6 +42,7 @@ public interface ListViewsRequestOrBuilder * *
    * Required. The bucket whose views are to be listed:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* @@ -86,6 +88,7 @@ public interface ListViewsRequestOrBuilder * *
    * Optional. The maximum number of results to return from this request.
+   *
    * Non-positive values are ignored. The presence of `nextPageToken` in the
    * response indicates that more results might be available.
    * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java index b537de301..f2fd18331 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListViewsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsResponse_descriptor; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java index 87d2f7198..7023cd62b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java index 6e4a0caac..67fd81041 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LocationMetadata(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LocationMetadata_descriptor; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java index 455d865ab..d7a241f1f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationName.java index c82b36351..41db5c824 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java index 0d04bc40b..3a751c0e1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,7 +41,7 @@ private LogBucket() { name_ = ""; description_ = ""; lifecycleState_ = 0; - restrictedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; + restrictedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); indexConfigs_ = java.util.Collections.emptyList(); } @@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LogBucket(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogBucket_descriptor; @@ -79,12 +74,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Output only. The resource name of the bucket.
+   *
    * For example:
+   *
    *   `projects/my-project/locations/global/buckets/my-bucket`
+   *
    * For a list of supported locations, see [Supported
    * Regions](https://cloud.google.com/logging/docs/region-support)
+   *
    * For the location of `global` it is unspecified where log entries are
    * actually stored.
+   *
    * After a bucket has been created, the location cannot be changed.
    * 
* @@ -109,12 +109,17 @@ public java.lang.String getName() { * *
    * Output only. The resource name of the bucket.
+   *
    * For example:
+   *
    *   `projects/my-project/locations/global/buckets/my-bucket`
+   *
    * For a list of supported locations, see [Supported
    * Regions](https://cloud.google.com/logging/docs/region-support)
+   *
    * For the location of `global` it is unspecified where log entries are
    * actually stored.
+   *
    * After a bucket has been created, the location cannot be changed.
    * 
* @@ -315,6 +320,7 @@ public int getRetentionDays() { * *
    * Whether the bucket is locked.
+   *
    * The retention period on a locked bucket cannot be changed. Locked buckets
    * may only be deleted if they are empty.
    * 
@@ -374,6 +380,7 @@ public com.google.logging.v2.LifecycleState getLifecycleState() { * *
    * Whether log analytics is enabled for this bucket.
+   *
    * Once enabled, log analytics features cannot be disabled.
    * 
* @@ -389,14 +396,17 @@ public boolean getAnalyticsEnabled() { public static final int RESTRICTED_FIELDS_FIELD_NUMBER = 15; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList restrictedFields_; + private com.google.protobuf.LazyStringArrayList restrictedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
    * Log entry field paths that are denied access in this bucket.
+   *
    * The following fields and their children are eligible: `textPayload`,
    * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+   *
    * Restricting a repeated field will restrict all values. Adding a parent will
    * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
    * 
@@ -413,8 +423,10 @@ public com.google.protobuf.ProtocolStringList getRestrictedFieldsList() { * *
    * Log entry field paths that are denied access in this bucket.
+   *
    * The following fields and their children are eligible: `textPayload`,
    * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+   *
    * Restricting a repeated field will restrict all values. Adding a parent will
    * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
    * 
@@ -431,8 +443,10 @@ public int getRestrictedFieldsCount() { * *
    * Log entry field paths that are denied access in this bucket.
+   *
    * The following fields and their children are eligible: `textPayload`,
    * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+   *
    * Restricting a repeated field will restrict all values. Adding a parent will
    * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
    * 
@@ -450,8 +464,10 @@ public java.lang.String getRestrictedFields(int index) { * *
    * Log entry field paths that are denied access in this bucket.
+   *
    * The following fields and their children are eligible: `textPayload`,
    * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+   *
    * Restricting a repeated field will restrict all values. Adding a parent will
    * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
    * 
@@ -925,8 +941,7 @@ public Builder clear() { locked_ = false; lifecycleState_ = 0; analyticsEnabled_ = false; - restrictedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000100); + restrictedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); if (indexConfigsBuilder_ == null) { indexConfigs_ = java.util.Collections.emptyList(); } else { @@ -974,11 +989,6 @@ public com.google.logging.v2.LogBucket buildPartial() { } private void buildPartialRepeatedFields(com.google.logging.v2.LogBucket result) { - if (((bitField0_ & 0x00000100) != 0)) { - restrictedFields_ = restrictedFields_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000100); - } - result.restrictedFields_ = restrictedFields_; if (indexConfigsBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { indexConfigs_ = java.util.Collections.unmodifiableList(indexConfigs_); @@ -1016,6 +1026,10 @@ private void buildPartial0(com.google.logging.v2.LogBucket result) { if (((from_bitField0_ & 0x00000080) != 0)) { result.analyticsEnabled_ = analyticsEnabled_; } + if (((from_bitField0_ & 0x00000100) != 0)) { + restrictedFields_.makeImmutable(); + result.restrictedFields_ = restrictedFields_; + } if (((from_bitField0_ & 0x00000400) != 0)) { result.cmekSettings_ = cmekSettingsBuilder_ == null ? cmekSettings_ : cmekSettingsBuilder_.build(); @@ -1098,7 +1112,7 @@ public Builder mergeFrom(com.google.logging.v2.LogBucket other) { if (!other.restrictedFields_.isEmpty()) { if (restrictedFields_.isEmpty()) { restrictedFields_ = other.restrictedFields_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ |= 0x00000100; } else { ensureRestrictedFieldsIsMutable(); restrictedFields_.addAll(other.restrictedFields_); @@ -1260,12 +1274,17 @@ public Builder mergeFrom( * *
      * Output only. The resource name of the bucket.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket`
+     *
      * For a list of supported locations, see [Supported
      * Regions](https://cloud.google.com/logging/docs/region-support)
+     *
      * For the location of `global` it is unspecified where log entries are
      * actually stored.
+     *
      * After a bucket has been created, the location cannot be changed.
      * 
* @@ -1289,12 +1308,17 @@ public java.lang.String getName() { * *
      * Output only. The resource name of the bucket.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket`
+     *
      * For a list of supported locations, see [Supported
      * Regions](https://cloud.google.com/logging/docs/region-support)
+     *
      * For the location of `global` it is unspecified where log entries are
      * actually stored.
+     *
      * After a bucket has been created, the location cannot be changed.
      * 
* @@ -1318,12 +1342,17 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Output only. The resource name of the bucket.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket`
+     *
      * For a list of supported locations, see [Supported
      * Regions](https://cloud.google.com/logging/docs/region-support)
+     *
      * For the location of `global` it is unspecified where log entries are
      * actually stored.
+     *
      * After a bucket has been created, the location cannot be changed.
      * 
* @@ -1346,12 +1375,17 @@ public Builder setName(java.lang.String value) { * *
      * Output only. The resource name of the bucket.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket`
+     *
      * For a list of supported locations, see [Supported
      * Regions](https://cloud.google.com/logging/docs/region-support)
+     *
      * For the location of `global` it is unspecified where log entries are
      * actually stored.
+     *
      * After a bucket has been created, the location cannot be changed.
      * 
* @@ -1370,12 +1404,17 @@ public Builder clearName() { * *
      * Output only. The resource name of the bucket.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket`
+     *
      * For a list of supported locations, see [Supported
      * Regions](https://cloud.google.com/logging/docs/region-support)
+     *
      * For the location of `global` it is unspecified where log entries are
      * actually stored.
+     *
      * After a bucket has been created, the location cannot be changed.
      * 
* @@ -1980,6 +2019,7 @@ public Builder clearRetentionDays() { * *
      * Whether the bucket is locked.
+     *
      * The retention period on a locked bucket cannot be changed. Locked buckets
      * may only be deleted if they are empty.
      * 
@@ -1997,6 +2037,7 @@ public boolean getLocked() { * *
      * Whether the bucket is locked.
+     *
      * The retention period on a locked bucket cannot be changed. Locked buckets
      * may only be deleted if they are empty.
      * 
@@ -2018,6 +2059,7 @@ public Builder setLocked(boolean value) { * *
      * Whether the bucket is locked.
+     *
      * The retention period on a locked bucket cannot be changed. Locked buckets
      * may only be deleted if they are empty.
      * 
@@ -2139,6 +2181,7 @@ public Builder clearLifecycleState() { * *
      * Whether log analytics is enabled for this bucket.
+     *
      * Once enabled, log analytics features cannot be disabled.
      * 
* @@ -2155,6 +2198,7 @@ public boolean getAnalyticsEnabled() { * *
      * Whether log analytics is enabled for this bucket.
+     *
      * Once enabled, log analytics features cannot be disabled.
      * 
* @@ -2175,6 +2219,7 @@ public Builder setAnalyticsEnabled(boolean value) { * *
      * Whether log analytics is enabled for this bucket.
+     *
      * Once enabled, log analytics features cannot be disabled.
      * 
* @@ -2189,22 +2234,24 @@ public Builder clearAnalyticsEnabled() { return this; } - private com.google.protobuf.LazyStringList restrictedFields_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList restrictedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureRestrictedFieldsIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { + if (!restrictedFields_.isModifiable()) { restrictedFields_ = new com.google.protobuf.LazyStringArrayList(restrictedFields_); - bitField0_ |= 0x00000100; } + bitField0_ |= 0x00000100; } /** * * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2214,15 +2261,18 @@ private void ensureRestrictedFieldsIsMutable() { * @return A list containing the restrictedFields. */ public com.google.protobuf.ProtocolStringList getRestrictedFieldsList() { - return restrictedFields_.getUnmodifiableView(); + restrictedFields_.makeImmutable(); + return restrictedFields_; } /** * * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2239,8 +2289,10 @@ public int getRestrictedFieldsCount() { * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2258,8 +2310,10 @@ public java.lang.String getRestrictedFields(int index) { * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2277,8 +2331,10 @@ public com.google.protobuf.ByteString getRestrictedFieldsBytes(int index) { * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2295,6 +2351,7 @@ public Builder setRestrictedFields(int index, java.lang.String value) { } ensureRestrictedFieldsIsMutable(); restrictedFields_.set(index, value); + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2303,8 +2360,10 @@ public Builder setRestrictedFields(int index, java.lang.String value) { * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2320,6 +2379,7 @@ public Builder addRestrictedFields(java.lang.String value) { } ensureRestrictedFieldsIsMutable(); restrictedFields_.add(value); + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2328,8 +2388,10 @@ public Builder addRestrictedFields(java.lang.String value) { * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2342,6 +2404,7 @@ public Builder addRestrictedFields(java.lang.String value) { public Builder addAllRestrictedFields(java.lang.Iterable values) { ensureRestrictedFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, restrictedFields_); + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2350,8 +2413,10 @@ public Builder addAllRestrictedFields(java.lang.Iterable value * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2361,8 +2426,9 @@ public Builder addAllRestrictedFields(java.lang.Iterable value * @return This builder for chaining. */ public Builder clearRestrictedFields() { - restrictedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; + restrictedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); + ; onChanged(); return this; } @@ -2371,8 +2437,10 @@ public Builder clearRestrictedFields() { * *
      * Log entry field paths that are denied access in this bucket.
+     *
      * The following fields and their children are eligible: `textPayload`,
      * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+     *
      * Restricting a repeated field will restrict all values. Adding a parent will
      * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
      * 
@@ -2389,6 +2457,7 @@ public Builder addRestrictedFieldsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureRestrictedFieldsIsMutable(); restrictedFields_.add(value); + bitField0_ |= 0x00000100; onChanged(); return this; } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java index d9eedf5c0..f3ab7fa01 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java index f87fd33f3..f0a86378e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,17 @@ public interface LogBucketOrBuilder * *
    * Output only. The resource name of the bucket.
+   *
    * For example:
+   *
    *   `projects/my-project/locations/global/buckets/my-bucket`
+   *
    * For a list of supported locations, see [Supported
    * Regions](https://cloud.google.com/logging/docs/region-support)
+   *
    * For the location of `global` it is unspecified where log entries are
    * actually stored.
+   *
    * After a bucket has been created, the location cannot be changed.
    * 
* @@ -47,12 +52,17 @@ public interface LogBucketOrBuilder * *
    * Output only. The resource name of the bucket.
+   *
    * For example:
+   *
    *   `projects/my-project/locations/global/buckets/my-bucket`
+   *
    * For a list of supported locations, see [Supported
    * Regions](https://cloud.google.com/logging/docs/region-support)
+   *
    * For the location of `global` it is unspecified where log entries are
    * actually stored.
+   *
    * After a bucket has been created, the location cannot be changed.
    * 
* @@ -187,6 +197,7 @@ public interface LogBucketOrBuilder * *
    * Whether the bucket is locked.
+   *
    * The retention period on a locked bucket cannot be changed. Locked buckets
    * may only be deleted if they are empty.
    * 
@@ -231,6 +242,7 @@ public interface LogBucketOrBuilder * *
    * Whether log analytics is enabled for this bucket.
+   *
    * Once enabled, log analytics features cannot be disabled.
    * 
* @@ -245,8 +257,10 @@ public interface LogBucketOrBuilder * *
    * Log entry field paths that are denied access in this bucket.
+   *
    * The following fields and their children are eligible: `textPayload`,
    * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+   *
    * Restricting a repeated field will restrict all values. Adding a parent will
    * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
    * 
@@ -261,8 +275,10 @@ public interface LogBucketOrBuilder * *
    * Log entry field paths that are denied access in this bucket.
+   *
    * The following fields and their children are eligible: `textPayload`,
    * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+   *
    * Restricting a repeated field will restrict all values. Adding a parent will
    * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
    * 
@@ -277,8 +293,10 @@ public interface LogBucketOrBuilder * *
    * Log entry field paths that are denied access in this bucket.
+   *
    * The following fields and their children are eligible: `textPayload`,
    * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+   *
    * Restricting a repeated field will restrict all values. Adding a parent will
    * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
    * 
@@ -294,8 +312,10 @@ public interface LogBucketOrBuilder * *
    * Log entry field paths that are denied access in this bucket.
+   *
    * The following fields and their children are eligible: `textPayload`,
    * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+   *
    * Restricting a repeated field will restrict all values. Adding a parent will
    * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
    * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java index 06a5e3e7b..573a6e1bb 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LogEntry(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntry_descriptor; @@ -82,6 +77,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } private int payloadCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object payload_; public enum PayloadCase @@ -140,18 +137,23 @@ public PayloadCase getPayloadCase() { * *
    * Required. The resource name of the log to which this log entry belongs:
+   *
    *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
    *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
    *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+   *
    * A project number may be used in place of PROJECT_ID. The project number is
    * translated to its corresponding PROJECT_ID internally and the `log_name`
    * field will contain PROJECT_ID in queries and exports.
+   *
    * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
    * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+   *
    * `[LOG_ID]` must be less than 512 characters long and can only include the
    * following characters: upper and lower case alphanumeric characters,
    * forward-slash, underscore, hyphen, and period.
+   *
    * For backward compatibility, if `log_name` begins with a forward-slash, such
    * as `/projects/...`, then the log entry is ingested as usual, but the
    * forward-slash is removed. Listing the log entry will not show the leading
@@ -180,18 +182,23 @@ public java.lang.String getLogName() {
    *
    * 
    * Required. The resource name of the log to which this log entry belongs:
+   *
    *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
    *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
    *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+   *
    * A project number may be used in place of PROJECT_ID. The project number is
    * translated to its corresponding PROJECT_ID internally and the `log_name`
    * field will contain PROJECT_ID in queries and exports.
+   *
    * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
    * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+   *
    * `[LOG_ID]` must be less than 512 characters long and can only include the
    * following characters: upper and lower case alphanumeric characters,
    * forward-slash, underscore, hyphen, and period.
+   *
    * For backward compatibility, if `log_name` begins with a forward-slash, such
    * as `/projects/...`, then the log entry is ingested as usual, but the
    * forward-slash is removed. Listing the log entry will not show the leading
@@ -223,6 +230,7 @@ public com.google.protobuf.ByteString getLogNameBytes() {
    *
    * 
    * Required. The monitored resource that produced this log entry.
+   *
    * Example: a log entry that reports a database error would be associated with
    * the monitored resource designating the particular database that reported
    * the error.
@@ -242,6 +250,7 @@ public boolean hasResource() {
    *
    * 
    * Required. The monitored resource that produced this log entry.
+   *
    * Example: a log entry that reports a database error would be associated with
    * the monitored resource designating the particular database that reported
    * the error.
@@ -261,6 +270,7 @@ public com.google.api.MonitoredResource getResource() {
    *
    * 
    * Required. The monitored resource that produced this log entry.
+   *
    * Example: a log entry that reports a database error would be associated with
    * the monitored resource designating the particular database that reported
    * the error.
@@ -281,8 +291,10 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
    * 
    * The log entry payload, represented as a protocol buffer. Some Google
    * Cloud Platform services use this field for their log entry payloads.
+   *
    * The following protocol buffer types are supported; user-defined types
    * are not supported:
+   *
    *   "type.googleapis.com/google.cloud.audit.AuditLog"
    *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
@@ -301,8 +313,10 @@ public boolean hasProtoPayload() { *
    * The log entry payload, represented as a protocol buffer. Some Google
    * Cloud Platform services use this field for their log entry payloads.
+   *
    * The following protocol buffer types are supported; user-defined types
    * are not supported:
+   *
    *   "type.googleapis.com/google.cloud.audit.AuditLog"
    *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
@@ -324,8 +338,10 @@ public com.google.protobuf.Any getProtoPayload() { *
    * The log entry payload, represented as a protocol buffer. Some Google
    * Cloud Platform services use this field for their log entry payloads.
+   *
    * The following protocol buffer types are supported; user-defined types
    * are not supported:
+   *
    *   "type.googleapis.com/google.cloud.audit.AuditLog"
    *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
@@ -476,6 +492,7 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -502,6 +519,7 @@ public boolean hasTimestamp() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -528,6 +546,7 @@ public com.google.protobuf.Timestamp getTimestamp() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -651,8 +670,10 @@ public com.google.logging.type.LogSeverity getSeverity() { * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -682,8 +703,10 @@ public java.lang.String getInsertId() { * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -796,11 +819,14 @@ public int getLabelsCount() { *
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -828,11 +854,14 @@ public java.util.Map getLabels() {
    * 
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -851,11 +880,14 @@ public java.util.Map getLabelsMap() {
    * 
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -881,11 +913,14 @@ public java.util.Map getLabelsMap() {
    * 
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -979,6 +1014,7 @@ public com.google.logging.v2.LogEntryOperationOrBuilder getOperationOrBuilder()
    * in the Cloud project "my-trace-project" and if the service that is creating
    * the log entry receives a trace header that includes the trace ID "12345",
    * then the service should use "projects/my-tracing-project/traces/12345".
+   *
    * The `trace` field provides the link between logs and traces. By using
    * this field, you can navigate from a log entry to a trace.
    * 
@@ -1009,6 +1045,7 @@ public java.lang.String getTrace() { * in the Cloud project "my-trace-project" and if the service that is creating * the log entry receives a trace header that includes the trace ID "12345", * then the service should use "projects/my-tracing-project/traces/12345". + * * The `trace` field provides the link between logs and traces. By using * this field, you can navigate from a log entry to a trace. *
@@ -1043,6 +1080,7 @@ public com.google.protobuf.ByteString getTraceBytes() { * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -1050,15 +1088,19 @@ public com.google.protobuf.ByteString getTraceBytes() { * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -1090,6 +1132,7 @@ public java.lang.String getSpanId() { * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -1097,15 +1140,19 @@ public java.lang.String getSpanId() { * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -1136,6 +1183,7 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * *
    * Optional. The sampling decision of the trace associated with the log entry.
+   *
    * True means that the trace resource name in the `trace` field was sampled
    * for storage in a trace backend. False means that the trace was not sampled
    * for storage when this log entry was written, or the sampling decision was
@@ -2124,18 +2172,23 @@ public Builder clearPayload() {
      *
      * 
      * Required. The resource name of the log to which this log entry belongs:
+     *
      *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
      *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
      *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+     *
      * A project number may be used in place of PROJECT_ID. The project number is
      * translated to its corresponding PROJECT_ID internally and the `log_name`
      * field will contain PROJECT_ID in queries and exports.
+     *
      * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
      * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+     *
      * `[LOG_ID]` must be less than 512 characters long and can only include the
      * following characters: upper and lower case alphanumeric characters,
      * forward-slash, underscore, hyphen, and period.
+     *
      * For backward compatibility, if `log_name` begins with a forward-slash, such
      * as `/projects/...`, then the log entry is ingested as usual, but the
      * forward-slash is removed. Listing the log entry will not show the leading
@@ -2163,18 +2216,23 @@ public java.lang.String getLogName() {
      *
      * 
      * Required. The resource name of the log to which this log entry belongs:
+     *
      *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
      *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
      *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+     *
      * A project number may be used in place of PROJECT_ID. The project number is
      * translated to its corresponding PROJECT_ID internally and the `log_name`
      * field will contain PROJECT_ID in queries and exports.
+     *
      * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
      * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+     *
      * `[LOG_ID]` must be less than 512 characters long and can only include the
      * following characters: upper and lower case alphanumeric characters,
      * forward-slash, underscore, hyphen, and period.
+     *
      * For backward compatibility, if `log_name` begins with a forward-slash, such
      * as `/projects/...`, then the log entry is ingested as usual, but the
      * forward-slash is removed. Listing the log entry will not show the leading
@@ -2202,18 +2260,23 @@ public com.google.protobuf.ByteString getLogNameBytes() {
      *
      * 
      * Required. The resource name of the log to which this log entry belongs:
+     *
      *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
      *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
      *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+     *
      * A project number may be used in place of PROJECT_ID. The project number is
      * translated to its corresponding PROJECT_ID internally and the `log_name`
      * field will contain PROJECT_ID in queries and exports.
+     *
      * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
      * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+     *
      * `[LOG_ID]` must be less than 512 characters long and can only include the
      * following characters: upper and lower case alphanumeric characters,
      * forward-slash, underscore, hyphen, and period.
+     *
      * For backward compatibility, if `log_name` begins with a forward-slash, such
      * as `/projects/...`, then the log entry is ingested as usual, but the
      * forward-slash is removed. Listing the log entry will not show the leading
@@ -2240,18 +2303,23 @@ public Builder setLogName(java.lang.String value) {
      *
      * 
      * Required. The resource name of the log to which this log entry belongs:
+     *
      *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
      *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
      *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+     *
      * A project number may be used in place of PROJECT_ID. The project number is
      * translated to its corresponding PROJECT_ID internally and the `log_name`
      * field will contain PROJECT_ID in queries and exports.
+     *
      * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
      * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+     *
      * `[LOG_ID]` must be less than 512 characters long and can only include the
      * following characters: upper and lower case alphanumeric characters,
      * forward-slash, underscore, hyphen, and period.
+     *
      * For backward compatibility, if `log_name` begins with a forward-slash, such
      * as `/projects/...`, then the log entry is ingested as usual, but the
      * forward-slash is removed. Listing the log entry will not show the leading
@@ -2274,18 +2342,23 @@ public Builder clearLogName() {
      *
      * 
      * Required. The resource name of the log to which this log entry belongs:
+     *
      *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
      *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
      *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+     *
      * A project number may be used in place of PROJECT_ID. The project number is
      * translated to its corresponding PROJECT_ID internally and the `log_name`
      * field will contain PROJECT_ID in queries and exports.
+     *
      * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
      * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+     *
      * `[LOG_ID]` must be less than 512 characters long and can only include the
      * following characters: upper and lower case alphanumeric characters,
      * forward-slash, underscore, hyphen, and period.
+     *
      * For backward compatibility, if `log_name` begins with a forward-slash, such
      * as `/projects/...`, then the log entry is ingested as usual, but the
      * forward-slash is removed. Listing the log entry will not show the leading
@@ -2320,6 +2393,7 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2338,6 +2412,7 @@ public boolean hasResource() {
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2362,6 +2437,7 @@ public com.google.api.MonitoredResource getResource() {
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2388,6 +2464,7 @@ public Builder setResource(com.google.api.MonitoredResource value) {
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2411,6 +2488,7 @@ public Builder setResource(com.google.api.MonitoredResource.Builder builderForVa
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2440,6 +2518,7 @@ public Builder mergeResource(com.google.api.MonitoredResource value) {
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2463,6 +2542,7 @@ public Builder clearResource() {
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2481,6 +2561,7 @@ public com.google.api.MonitoredResource.Builder getResourceBuilder() {
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2503,6 +2584,7 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      *
      * 
      * Required. The monitored resource that produced this log entry.
+     *
      * Example: a log entry that reports a database error would be associated with
      * the monitored resource designating the particular database that reported
      * the error.
@@ -2539,8 +2621,10 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * 
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -2559,8 +2643,10 @@ public boolean hasProtoPayload() { *
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -2589,8 +2675,10 @@ public com.google.protobuf.Any getProtoPayload() { *
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -2616,8 +2704,10 @@ public Builder setProtoPayload(com.google.protobuf.Any value) { *
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -2640,8 +2730,10 @@ public Builder setProtoPayload(com.google.protobuf.Any.Builder builderForValue) *
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -2675,8 +2767,10 @@ public Builder mergeProtoPayload(com.google.protobuf.Any value) { *
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -2705,8 +2799,10 @@ public Builder clearProtoPayload() { *
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -2722,8 +2818,10 @@ public com.google.protobuf.Any.Builder getProtoPayloadBuilder() { *
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -2747,8 +2845,10 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() { *
      * The log entry payload, represented as a protocol buffer. Some Google
      * Cloud Platform services use this field for their log entry payloads.
+     *
      * The following protocol buffer types are supported; user-defined types
      * are not supported:
+     *
      *   "type.googleapis.com/google.cloud.audit.AuditLog"
      *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
@@ -3140,6 +3240,7 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3165,6 +3266,7 @@ public boolean hasTimestamp() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3194,6 +3296,7 @@ public com.google.protobuf.Timestamp getTimestamp() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3227,6 +3330,7 @@ public Builder setTimestamp(com.google.protobuf.Timestamp value) { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3257,6 +3361,7 @@ public Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValu * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3293,6 +3398,7 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3323,6 +3429,7 @@ public Builder clearTimestamp() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3348,6 +3455,7 @@ public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3375,6 +3483,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -3718,8 +3827,10 @@ public Builder clearSeverity() { * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -3748,8 +3859,10 @@ public java.lang.String getInsertId() { * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -3778,8 +3891,10 @@ public com.google.protobuf.ByteString getInsertIdBytes() { * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -3807,8 +3922,10 @@ public Builder setInsertId(java.lang.String value) { * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -3832,8 +3949,10 @@ public Builder clearInsertId() { * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -4095,11 +4214,14 @@ public int getLabelsCount() { *
      * Optional. A map of key, value pairs that provides additional information
      * about the log entry. The labels can be user-defined or system-defined.
+     *
      * User-defined labels are arbitrary key, value pairs that you can use to
      * classify logs.
+     *
      * System-defined labels are defined by GCP services for platform logs.
      * They have two components - a service namespace component and the
      * attribute name. For example: `compute.googleapis.com/resource_name`.
+     *
      * Cloud Logging truncates label keys that exceed 512 B and label
      * values that exceed 64 KB upon their associated log entry being
      * written. The truncation is indicated by an ellipsis at the
@@ -4127,11 +4249,14 @@ public java.util.Map getLabels() {
      * 
      * Optional. A map of key, value pairs that provides additional information
      * about the log entry. The labels can be user-defined or system-defined.
+     *
      * User-defined labels are arbitrary key, value pairs that you can use to
      * classify logs.
+     *
      * System-defined labels are defined by GCP services for platform logs.
      * They have two components - a service namespace component and the
      * attribute name. For example: `compute.googleapis.com/resource_name`.
+     *
      * Cloud Logging truncates label keys that exceed 512 B and label
      * values that exceed 64 KB upon their associated log entry being
      * written. The truncation is indicated by an ellipsis at the
@@ -4150,11 +4275,14 @@ public java.util.Map getLabelsMap() {
      * 
      * Optional. A map of key, value pairs that provides additional information
      * about the log entry. The labels can be user-defined or system-defined.
+     *
      * User-defined labels are arbitrary key, value pairs that you can use to
      * classify logs.
+     *
      * System-defined labels are defined by GCP services for platform logs.
      * They have two components - a service namespace component and the
      * attribute name. For example: `compute.googleapis.com/resource_name`.
+     *
      * Cloud Logging truncates label keys that exceed 512 B and label
      * values that exceed 64 KB upon their associated log entry being
      * written. The truncation is indicated by an ellipsis at the
@@ -4180,11 +4308,14 @@ public java.util.Map getLabelsMap() {
      * 
      * Optional. A map of key, value pairs that provides additional information
      * about the log entry. The labels can be user-defined or system-defined.
+     *
      * User-defined labels are arbitrary key, value pairs that you can use to
      * classify logs.
+     *
      * System-defined labels are defined by GCP services for platform logs.
      * They have two components - a service namespace component and the
      * attribute name. For example: `compute.googleapis.com/resource_name`.
+     *
      * Cloud Logging truncates label keys that exceed 512 B and label
      * values that exceed 64 KB upon their associated log entry being
      * written. The truncation is indicated by an ellipsis at the
@@ -4216,11 +4347,14 @@ public Builder clearLabels() {
      * 
      * Optional. A map of key, value pairs that provides additional information
      * about the log entry. The labels can be user-defined or system-defined.
+     *
      * User-defined labels are arbitrary key, value pairs that you can use to
      * classify logs.
+     *
      * System-defined labels are defined by GCP services for platform logs.
      * They have two components - a service namespace component and the
      * attribute name. For example: `compute.googleapis.com/resource_name`.
+     *
      * Cloud Logging truncates label keys that exceed 512 B and label
      * values that exceed 64 KB upon their associated log entry being
      * written. The truncation is indicated by an ellipsis at the
@@ -4248,11 +4382,14 @@ public java.util.Map getMutableLabels() {
      * 
      * Optional. A map of key, value pairs that provides additional information
      * about the log entry. The labels can be user-defined or system-defined.
+     *
      * User-defined labels are arbitrary key, value pairs that you can use to
      * classify logs.
+     *
      * System-defined labels are defined by GCP services for platform logs.
      * They have two components - a service namespace component and the
      * attribute name. For example: `compute.googleapis.com/resource_name`.
+     *
      * Cloud Logging truncates label keys that exceed 512 B and label
      * values that exceed 64 KB upon their associated log entry being
      * written. The truncation is indicated by an ellipsis at the
@@ -4278,11 +4415,14 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      * 
      * Optional. A map of key, value pairs that provides additional information
      * about the log entry. The labels can be user-defined or system-defined.
+     *
      * User-defined labels are arbitrary key, value pairs that you can use to
      * classify logs.
+     *
      * System-defined labels are defined by GCP services for platform logs.
      * They have two components - a service namespace component and the
      * attribute name. For example: `compute.googleapis.com/resource_name`.
+     *
      * Cloud Logging truncates label keys that exceed 512 B and label
      * values that exceed 64 KB upon their associated log entry being
      * written. The truncation is indicated by an ellipsis at the
@@ -4518,6 +4658,7 @@ public com.google.logging.v2.LogEntryOperationOrBuilder getOperationOrBuilder()
      * in the Cloud project "my-trace-project" and if the service that is creating
      * the log entry receives a trace header that includes the trace ID "12345",
      * then the service should use "projects/my-tracing-project/traces/12345".
+     *
      * The `trace` field provides the link between logs and traces. By using
      * this field, you can navigate from a log entry to a trace.
      * 
@@ -4547,6 +4688,7 @@ public java.lang.String getTrace() { * in the Cloud project "my-trace-project" and if the service that is creating * the log entry receives a trace header that includes the trace ID "12345", * then the service should use "projects/my-tracing-project/traces/12345". + * * The `trace` field provides the link between logs and traces. By using * this field, you can navigate from a log entry to a trace. *
@@ -4576,6 +4718,7 @@ public com.google.protobuf.ByteString getTraceBytes() { * in the Cloud project "my-trace-project" and if the service that is creating * the log entry receives a trace header that includes the trace ID "12345", * then the service should use "projects/my-tracing-project/traces/12345". + * * The `trace` field provides the link between logs and traces. By using * this field, you can navigate from a log entry to a trace. *
@@ -4604,6 +4747,7 @@ public Builder setTrace(java.lang.String value) { * in the Cloud project "my-trace-project" and if the service that is creating * the log entry receives a trace header that includes the trace ID "12345", * then the service should use "projects/my-tracing-project/traces/12345". + * * The `trace` field provides the link between logs and traces. By using * this field, you can navigate from a log entry to a trace. *
@@ -4628,6 +4772,7 @@ public Builder clearTrace() { * in the Cloud project "my-trace-project" and if the service that is creating * the log entry receives a trace header that includes the trace ID "12345", * then the service should use "projects/my-tracing-project/traces/12345". + * * The `trace` field provides the link between logs and traces. By using * this field, you can navigate from a log entry to a trace. *
@@ -4658,6 +4803,7 @@ public Builder setTraceBytes(com.google.protobuf.ByteString value) { * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -4665,15 +4811,19 @@ public Builder setTraceBytes(com.google.protobuf.ByteString value) { * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -4704,6 +4854,7 @@ public java.lang.String getSpanId() { * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -4711,15 +4862,19 @@ public java.lang.String getSpanId() { * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -4750,6 +4905,7 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -4757,15 +4913,19 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -4795,6 +4955,7 @@ public Builder setSpanId(java.lang.String value) { * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -4802,15 +4963,19 @@ public Builder setSpanId(java.lang.String value) { * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -4836,6 +5001,7 @@ public Builder clearSpanId() { * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -4843,15 +5009,19 @@ public Builder clearSpanId() { * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -4880,6 +5050,7 @@ public Builder setSpanIdBytes(com.google.protobuf.ByteString value) { * *
      * Optional. The sampling decision of the trace associated with the log entry.
+     *
      * True means that the trace resource name in the `trace` field was sampled
      * for storage in a trace backend. False means that the trace was not sampled
      * for storage when this log entry was written, or the sampling decision was
@@ -4900,6 +5071,7 @@ public boolean getTraceSampled() {
      *
      * 
      * Optional. The sampling decision of the trace associated with the log entry.
+     *
      * True means that the trace resource name in the `trace` field was sampled
      * for storage in a trace backend. False means that the trace was not sampled
      * for storage when this log entry was written, or the sampling decision was
@@ -4924,6 +5096,7 @@ public Builder setTraceSampled(boolean value) {
      *
      * 
      * Optional. The sampling decision of the trace associated with the log entry.
+     *
      * True means that the trace resource name in the `trace` field was sampled
      * for storage in a trace backend. False means that the trace was not sampled
      * for storage when this log entry was written, or the sampling decision was
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java
index 1d614e715..64b7fce90 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LogEntryOperation();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LogEntryProto
         .internal_static_google_logging_v2_LogEntryOperation_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java
index 2ed903f6e..7fe146bd6 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java
index 784b5b625..1dc22338e 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,18 +28,23 @@ public interface LogEntryOrBuilder
    *
    * 
    * Required. The resource name of the log to which this log entry belongs:
+   *
    *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
    *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
    *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+   *
    * A project number may be used in place of PROJECT_ID. The project number is
    * translated to its corresponding PROJECT_ID internally and the `log_name`
    * field will contain PROJECT_ID in queries and exports.
+   *
    * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
    * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+   *
    * `[LOG_ID]` must be less than 512 characters long and can only include the
    * following characters: upper and lower case alphanumeric characters,
    * forward-slash, underscore, hyphen, and period.
+   *
    * For backward compatibility, if `log_name` begins with a forward-slash, such
    * as `/projects/...`, then the log entry is ingested as usual, but the
    * forward-slash is removed. Listing the log entry will not show the leading
@@ -57,18 +62,23 @@ public interface LogEntryOrBuilder
    *
    * 
    * Required. The resource name of the log to which this log entry belongs:
+   *
    *     "projects/[PROJECT_ID]/logs/[LOG_ID]"
    *     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
    *     "folders/[FOLDER_ID]/logs/[LOG_ID]"
+   *
    * A project number may be used in place of PROJECT_ID. The project number is
    * translated to its corresponding PROJECT_ID internally and the `log_name`
    * field will contain PROJECT_ID in queries and exports.
+   *
    * `[LOG_ID]` must be URL-encoded within `log_name`. Example:
    * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+   *
    * `[LOG_ID]` must be less than 512 characters long and can only include the
    * following characters: upper and lower case alphanumeric characters,
    * forward-slash, underscore, hyphen, and period.
+   *
    * For backward compatibility, if `log_name` begins with a forward-slash, such
    * as `/projects/...`, then the log entry is ingested as usual, but the
    * forward-slash is removed. Listing the log entry will not show the leading
@@ -87,6 +97,7 @@ public interface LogEntryOrBuilder
    *
    * 
    * Required. The monitored resource that produced this log entry.
+   *
    * Example: a log entry that reports a database error would be associated with
    * the monitored resource designating the particular database that reported
    * the error.
@@ -103,6 +114,7 @@ public interface LogEntryOrBuilder
    *
    * 
    * Required. The monitored resource that produced this log entry.
+   *
    * Example: a log entry that reports a database error would be associated with
    * the monitored resource designating the particular database that reported
    * the error.
@@ -119,6 +131,7 @@ public interface LogEntryOrBuilder
    *
    * 
    * Required. The monitored resource that produced this log entry.
+   *
    * Example: a log entry that reports a database error would be associated with
    * the monitored resource designating the particular database that reported
    * the error.
@@ -135,8 +148,10 @@ public interface LogEntryOrBuilder
    * 
    * The log entry payload, represented as a protocol buffer. Some Google
    * Cloud Platform services use this field for their log entry payloads.
+   *
    * The following protocol buffer types are supported; user-defined types
    * are not supported:
+   *
    *   "type.googleapis.com/google.cloud.audit.AuditLog"
    *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
@@ -152,8 +167,10 @@ public interface LogEntryOrBuilder *
    * The log entry payload, represented as a protocol buffer. Some Google
    * Cloud Platform services use this field for their log entry payloads.
+   *
    * The following protocol buffer types are supported; user-defined types
    * are not supported:
+   *
    *   "type.googleapis.com/google.cloud.audit.AuditLog"
    *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
@@ -169,8 +186,10 @@ public interface LogEntryOrBuilder *
    * The log entry payload, represented as a protocol buffer. Some Google
    * Cloud Platform services use this field for their log entry payloads.
+   *
    * The following protocol buffer types are supported; user-defined types
    * are not supported:
+   *
    *   "type.googleapis.com/google.cloud.audit.AuditLog"
    *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
@@ -264,6 +283,7 @@ public interface LogEntryOrBuilder * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -287,6 +307,7 @@ public interface LogEntryOrBuilder * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -310,6 +331,7 @@ public interface LogEntryOrBuilder * it the current time. Timestamps have nanosecond accuracy, but trailing * zeros in the fractional seconds might be omitted when the timestamp is * displayed. + * * Incoming log entries must have timestamps that don't exceed the * [logs retention * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in @@ -401,8 +423,10 @@ public interface LogEntryOrBuilder * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -421,8 +445,10 @@ public interface LogEntryOrBuilder * `timestamp`, and with the same `insert_id` to be duplicates which are * removed in a single query result. However, there are no guarantees of * de-duplication in the export of logs. + * * If the `insert_id` is omitted when writing a log entry, the Logging API * assigns its own unique identifier in this field. + * * In queries, the `insert_id` is also used to order log entries that have * the same `log_name` and `timestamp` values. *
@@ -483,11 +509,14 @@ public interface LogEntryOrBuilder *
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -503,11 +532,14 @@ public interface LogEntryOrBuilder
    * 
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -526,11 +558,14 @@ public interface LogEntryOrBuilder
    * 
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -546,11 +581,14 @@ public interface LogEntryOrBuilder
    * 
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -570,11 +608,14 @@ java.lang.String getLabelsOrDefault(
    * 
    * Optional. A map of key, value pairs that provides additional information
    * about the log entry. The labels can be user-defined or system-defined.
+   *
    * User-defined labels are arbitrary key, value pairs that you can use to
    * classify logs.
+   *
    * System-defined labels are defined by GCP services for platform logs.
    * They have two components - a service namespace component and the
    * attribute name. For example: `compute.googleapis.com/resource_name`.
+   *
    * Cloud Logging truncates label keys that exceed 512 B and label
    * values that exceed 64 KB upon their associated log entry being
    * written. The truncation is indicated by an ellipsis at the
@@ -639,6 +680,7 @@ java.lang.String getLabelsOrDefault(
    * in the Cloud project "my-trace-project" and if the service that is creating
    * the log entry receives a trace header that includes the trace ID "12345",
    * then the service should use "projects/my-tracing-project/traces/12345".
+   *
    * The `trace` field provides the link between logs and traces. By using
    * this field, you can navigate from a log entry to a trace.
    * 
@@ -658,6 +700,7 @@ java.lang.String getLabelsOrDefault( * in the Cloud project "my-trace-project" and if the service that is creating * the log entry receives a trace header that includes the trace ID "12345", * then the service should use "projects/my-tracing-project/traces/12345". + * * The `trace` field provides the link between logs and traces. By using * this field, you can navigate from a log entry to a trace. *
@@ -677,6 +720,7 @@ java.lang.String getLabelsOrDefault( * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -684,15 +728,19 @@ java.lang.String getLabelsOrDefault( * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -713,6 +761,7 @@ java.lang.String getLabelsOrDefault( * For example, if a span has the REST resource name of * "projects/some-project/traces/some-trace/spans/some-span-id", then the * `span_id` field is "some-span-id". + * * A * [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) * represents a single operation within a trace. Whereas a trace may involve @@ -720,15 +769,19 @@ java.lang.String getLabelsOrDefault( * a span generally corresponds to a single logical operation being performed * in a single instance of a microservice on one specific machine. Spans * are the nodes within the tree that is a trace. + * * Applications that are [instrumented for * tracing](https://cloud.google.com/trace/docs/setup) will generally assign a * new, unique span ID on each incoming request. It is also common to create * and record additional spans corresponding to internal processing elements * as well as issuing requests to dependencies. + * * The span ID is expected to be a 16-character, hexadecimal encoding of an * 8-byte array and should not be zero. It should be unique within the trace * and should, ideally, be generated in a manner that is uniformly random. + * * Example values: + * * - `000000000000004a` * - `7a2190356c3fc94b` * - `0000f00300090021` @@ -746,6 +799,7 @@ java.lang.String getLabelsOrDefault( * *
    * Optional. The sampling decision of the trace associated with the log entry.
+   *
    * True means that the trace resource name in the `trace` field was sampled
    * for storage in a trace backend. False means that the trace was not sampled
    * for storage when this log entry was written, or the sampling decision was
@@ -841,5 +895,5 @@ java.lang.String getLabelsOrDefault(
    */
   com.google.logging.v2.LogSplitOrBuilder getSplitOrBuilder();
 
-  public com.google.logging.v2.LogEntry.PayloadCase getPayloadCase();
+  com.google.logging.v2.LogEntry.PayloadCase getPayloadCase();
 }
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java
index 4be0b6481..fcd3d1088 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -64,43 +64,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "logging/type/log_severity.proto\032\031google/"
           + "protobuf/any.proto\032\034google/protobuf/stru"
           + "ct.proto\032\037google/protobuf/timestamp.prot"
-          + "o\"\203\010\n\010LogEntry\022\025\n\010log_name\030\014 \001(\tB\003\340A\002\0224\n"
-          + "\010resource\030\010 \001(\0132\035.google.api.MonitoredRe"
-          + "sourceB\003\340A\002\022-\n\rproto_payload\030\002 \001(\0132\024.goo"
-          + "gle.protobuf.AnyH\000\022\026\n\014text_payload\030\003 \001(\t"
-          + "H\000\022/\n\014json_payload\030\006 \001(\0132\027.google.protob"
-          + "uf.StructH\000\0222\n\ttimestamp\030\t \001(\0132\032.google."
-          + "protobuf.TimestampB\003\340A\001\022:\n\021receive_times"
-          + "tamp\030\030 \001(\0132\032.google.protobuf.TimestampB\003"
-          + "\340A\003\0227\n\010severity\030\n \001(\0162 .google.logging.t"
-          + "ype.LogSeverityB\003\340A\001\022\026\n\tinsert_id\030\004 \001(\tB"
-          + "\003\340A\001\022;\n\014http_request\030\007 \001(\0132 .google.logg"
-          + "ing.type.HttpRequestB\003\340A\001\022<\n\006labels\030\013 \003("
-          + "\0132\'.google.logging.v2.LogEntry.LabelsEnt"
-          + "ryB\003\340A\001\022<\n\toperation\030\017 \001(\0132$.google.logg"
-          + "ing.v2.LogEntryOperationB\003\340A\001\022\022\n\005trace\030\026"
-          + " \001(\tB\003\340A\001\022\024\n\007span_id\030\033 \001(\tB\003\340A\001\022\032\n\rtrace"
-          + "_sampled\030\036 \001(\010B\003\340A\001\022G\n\017source_location\030\027"
-          + " \001(\0132).google.logging.v2.LogEntrySourceL"
-          + "ocationB\003\340A\001\022/\n\005split\030# \001(\0132\033.google.log"
-          + "ging.v2.LogSplitB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003"
-          + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\275\001\352A\271\001\n\032log"
-          + "ging.googleapis.com/Log\022\035projects/{proje"
-          + "ct}/logs/{log}\022\'organizations/{organizat"
-          + "ion}/logs/{log}\022\033folders/{folder}/logs/{"
-          + "log}\022,billingAccounts/{billing_account}/"
-          + "logs/{log}\032\010log_nameB\t\n\007payload\"b\n\021LogEn"
-          + "tryOperation\022\017\n\002id\030\001 \001(\tB\003\340A\001\022\025\n\010produce"
-          + "r\030\002 \001(\tB\003\340A\001\022\022\n\005first\030\003 \001(\010B\003\340A\001\022\021\n\004last"
-          + "\030\004 \001(\010B\003\340A\001\"U\n\026LogEntrySourceLocation\022\021\n"
-          + "\004file\030\001 \001(\tB\003\340A\001\022\021\n\004line\030\002 \001(\003B\003\340A\001\022\025\n\010f"
-          + "unction\030\003 \001(\tB\003\340A\001\"<\n\010LogSplit\022\013\n\003uid\030\001 "
-          + "\001(\t\022\r\n\005index\030\002 \001(\005\022\024\n\014total_splits\030\003 \001(\005"
-          + "B\263\001\n\025com.google.logging.v2B\rLogEntryProt"
-          + "oP\001Z5cloud.google.com/go/logging/apiv2/l"
-          + "oggingpb;loggingpb\370\001\001\252\002\027Google.Cloud.Log"
-          + "ging.V2\312\002\027Google\\Cloud\\Logging\\V2\352\002\032Goog"
-          + "le::Cloud::Logging::V2b\006proto3"
+          + "o\"\221\010\n\010LogEntry\022\026\n\010log_name\030\014 \001(\tB\004\342A\001\002\0225"
+          + "\n\010resource\030\010 \001(\0132\035.google.api.MonitoredR"
+          + "esourceB\004\342A\001\002\022-\n\rproto_payload\030\002 \001(\0132\024.g"
+          + "oogle.protobuf.AnyH\000\022\026\n\014text_payload\030\003 \001"
+          + "(\tH\000\022/\n\014json_payload\030\006 \001(\0132\027.google.prot"
+          + "obuf.StructH\000\0223\n\ttimestamp\030\t \001(\0132\032.googl"
+          + "e.protobuf.TimestampB\004\342A\001\001\022;\n\021receive_ti"
+          + "mestamp\030\030 \001(\0132\032.google.protobuf.Timestam"
+          + "pB\004\342A\001\003\0228\n\010severity\030\n \001(\0162 .google.loggi"
+          + "ng.type.LogSeverityB\004\342A\001\001\022\027\n\tinsert_id\030\004"
+          + " \001(\tB\004\342A\001\001\022<\n\014http_request\030\007 \001(\0132 .googl"
+          + "e.logging.type.HttpRequestB\004\342A\001\001\022=\n\006labe"
+          + "ls\030\013 \003(\0132\'.google.logging.v2.LogEntry.La"
+          + "belsEntryB\004\342A\001\001\022=\n\toperation\030\017 \001(\0132$.goo"
+          + "gle.logging.v2.LogEntryOperationB\004\342A\001\001\022\023"
+          + "\n\005trace\030\026 \001(\tB\004\342A\001\001\022\025\n\007span_id\030\033 \001(\tB\004\342A"
+          + "\001\001\022\033\n\rtrace_sampled\030\036 \001(\010B\004\342A\001\001\022H\n\017sourc"
+          + "e_location\030\027 \001(\0132).google.logging.v2.Log"
+          + "EntrySourceLocationB\004\342A\001\001\0220\n\005split\030# \001(\013"
+          + "2\033.google.logging.v2.LogSplitB\004\342A\001\001\032-\n\013L"
+          + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
+          + "8\001:\275\001\352A\271\001\n\032logging.googleapis.com/Log\022\035p"
+          + "rojects/{project}/logs/{log}\022\'organizati"
+          + "ons/{organization}/logs/{log}\022\033folders/{"
+          + "folder}/logs/{log}\022,billingAccounts/{bil"
+          + "ling_account}/logs/{log}\032\010log_nameB\t\n\007pa"
+          + "yload\"f\n\021LogEntryOperation\022\020\n\002id\030\001 \001(\tB\004"
+          + "\342A\001\001\022\026\n\010producer\030\002 \001(\tB\004\342A\001\001\022\023\n\005first\030\003 "
+          + "\001(\010B\004\342A\001\001\022\022\n\004last\030\004 \001(\010B\004\342A\001\001\"X\n\026LogEntr"
+          + "ySourceLocation\022\022\n\004file\030\001 \001(\tB\004\342A\001\001\022\022\n\004l"
+          + "ine\030\002 \001(\003B\004\342A\001\001\022\026\n\010function\030\003 \001(\tB\004\342A\001\001\""
+          + "<\n\010LogSplit\022\013\n\003uid\030\001 \001(\t\022\r\n\005index\030\002 \001(\005\022"
+          + "\024\n\014total_splits\030\003 \001(\005B\263\001\n\025com.google.log"
+          + "ging.v2B\rLogEntryProtoP\001Z5cloud.google.c"
+          + "om/go/logging/apiv2/loggingpb;loggingpb\370"
+          + "\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cl"
+          + "oud\\Logging\\V2\352\002\032Google::Cloud::Logging:"
+          + ":V2b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java
index 3b95154fe..8a5e0cc5a 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LogEntrySourceLocation();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LogEntryProto
         .internal_static_google_logging_v2_LogEntrySourceLocation_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java
index e341dc47b..fe0ae25bb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java
index aa17ce601..b5b74d5b7 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -53,11 +53,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LogExclusion();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_LogExclusion_descriptor;
@@ -194,8 +189,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * matches the log entries to be excluded. By using the [sample
    * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
    * you can exclude less than 100% of the matching log entries.
+   *
    * For example, the following query matches 99% of low-severity log entries
    * from Google Cloud Storage buckets:
+   *
    *   `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)`
    * 
* @@ -224,8 +221,10 @@ public java.lang.String getFilter() { * matches the log entries to be excluded. By using the [sample * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), * you can exclude less than 100% of the matching log entries. + * * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: + * * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* @@ -274,6 +273,7 @@ public boolean getDisabled() { * *
    * Output only. The creation timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -291,6 +291,7 @@ public boolean hasCreateTime() { * *
    * Output only. The creation timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -308,6 +309,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * *
    * Output only. The creation timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -326,6 +328,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
    * Output only. The last update timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -343,6 +346,7 @@ public boolean hasUpdateTime() { * *
    * Output only. The last update timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -360,6 +364,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * *
    * Output only. The last update timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -1082,8 +1087,10 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * matches the log entries to be excluded. By using the [sample * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), * you can exclude less than 100% of the matching log entries. + * * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: + * * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* @@ -1111,8 +1118,10 @@ public java.lang.String getFilter() { * matches the log entries to be excluded. By using the [sample * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), * you can exclude less than 100% of the matching log entries. + * * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: + * * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* @@ -1140,8 +1149,10 @@ public com.google.protobuf.ByteString getFilterBytes() { * matches the log entries to be excluded. By using the [sample * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), * you can exclude less than 100% of the matching log entries. + * * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: + * * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* @@ -1168,8 +1179,10 @@ public Builder setFilter(java.lang.String value) { * matches the log entries to be excluded. By using the [sample * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), * you can exclude less than 100% of the matching log entries. + * * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: + * * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* @@ -1192,8 +1205,10 @@ public Builder clearFilter() { * matches the log entries to be excluded. By using the [sample * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), * you can exclude less than 100% of the matching log entries. + * * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: + * * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* @@ -1286,6 +1301,7 @@ public Builder clearDisabled() { * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1303,6 +1319,7 @@ public boolean hasCreateTime() { * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1326,6 +1343,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1351,6 +1369,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1373,6 +1392,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1401,6 +1421,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1423,6 +1444,7 @@ public Builder clearCreateTime() { * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1440,6 +1462,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1461,6 +1484,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
      * Output only. The creation timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1496,6 +1520,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1513,6 +1538,7 @@ public boolean hasUpdateTime() { * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1536,6 +1562,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1561,6 +1588,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1583,6 +1611,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1611,6 +1640,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1633,6 +1663,7 @@ public Builder clearUpdateTime() { * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1650,6 +1681,7 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* @@ -1671,6 +1703,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * *
      * Output only. The last update timestamp of the exclusion.
+     *
      * This field may not be present for older exclusions.
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionName.java index 7a65c6470..b87f1b4c3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java index 850e4a6cb..f1c3921b6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -88,8 +88,10 @@ public interface LogExclusionOrBuilder * matches the log entries to be excluded. By using the [sample * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), * you can exclude less than 100% of the matching log entries. + * * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: + * * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* @@ -107,8 +109,10 @@ public interface LogExclusionOrBuilder * matches the log entries to be excluded. By using the [sample * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), * you can exclude less than 100% of the matching log entries. + * * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: + * * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* @@ -139,6 +143,7 @@ public interface LogExclusionOrBuilder * *
    * Output only. The creation timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -153,6 +158,7 @@ public interface LogExclusionOrBuilder * *
    * Output only. The creation timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -167,6 +173,7 @@ public interface LogExclusionOrBuilder * *
    * Output only. The creation timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -180,6 +187,7 @@ public interface LogExclusionOrBuilder * *
    * Output only. The last update timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -194,6 +202,7 @@ public interface LogExclusionOrBuilder * *
    * Output only. The last update timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* @@ -208,6 +217,7 @@ public interface LogExclusionOrBuilder * *
    * Output only. The last update timestamp of the exclusion.
+   *
    * This field may not be present for older exclusions.
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java index 4563eec5f..865d3f309 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ *
  * Describes a logs-based metric. The value of the metric is the number of log
  * entries that match a logs filter in a given time interval.
+ *
  * Logs-based metrics can also be used to extract values from logs and create a
  * distribution of the values. The distribution records the statistics of the
  * extracted values along with an optional histogram of the values as specified
@@ -57,11 +58,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LogMetric();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingMetricsProto
         .internal_static_google_logging_v2_LogMetric_descriptor;
@@ -232,10 +228,12 @@ private ApiVersion(int value) {
    * 
    * Required. The client-assigned metric identifier.
    * Examples: `"error_count"`, `"nginx/requests"`.
+   *
    * Metric identifiers are limited to 100 characters and can include only the
    * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
    * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
    * name pieces, and it cannot be the first character of the name.
+   *
    * This field is the `[METRIC_ID]` part of a metric resource name in the
    * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
    * resource name of a metric is
@@ -265,10 +263,12 @@ public java.lang.String getName() {
    * 
    * Required. The client-assigned metric identifier.
    * Examples: `"error_count"`, `"nginx/requests"`.
+   *
    * Metric identifiers are limited to 100 characters and can include only the
    * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
    * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
    * name pieces, and it cannot be the first character of the name.
+   *
    * This field is the `[METRIC_ID]` part of a metric resource name in the
    * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
    * resource name of a metric is
@@ -357,7 +357,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * Required. An [advanced logs
    * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
    * is used to match log entries. Example:
+   *
    *     "resource.type=gae_app AND severity>=ERROR"
+   *
    * The maximum length of the filter is 20000 characters.
    * 
* @@ -384,7 +386,9 @@ public java.lang.String getFilter() { * Required. An [advanced logs * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: + * * "resource.type=gae_app AND severity>=ERROR" + * * The maximum length of the filter is 20000 characters. *
* @@ -416,8 +420,11 @@ public com.google.protobuf.ByteString getFilterBytes() { * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -444,8 +451,11 @@ public java.lang.String getBucketName() { * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -495,15 +505,19 @@ public boolean getDisabled() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -528,15 +542,19 @@ public boolean hasMetricDescriptor() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -563,15 +581,19 @@ public com.google.api.MetricDescriptor getMetricDescriptor() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -601,6 +623,7 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -609,10 +632,12 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -640,6 +665,7 @@ public java.lang.String getValueExtractor() { * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -648,10 +674,12 @@ public java.lang.String getValueExtractor() { * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -709,11 +737,13 @@ public int getLabelExtractorsCount() { * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -743,11 +773,13 @@ public java.util.Map getLabelExtractors() { * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -768,11 +800,13 @@ public java.util.Map getLabelExtractorsMap() * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -800,11 +834,13 @@ public java.util.Map getLabelExtractorsMap() * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -893,6 +929,7 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil * *
    * Output only. The creation timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -910,6 +947,7 @@ public boolean hasCreateTime() { * *
    * Output only. The creation timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -927,6 +965,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * *
    * Output only. The creation timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -945,6 +984,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
    * Output only. The last update timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -962,6 +1002,7 @@ public boolean hasUpdateTime() { * *
    * Output only. The last update timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -979,6 +1020,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * *
    * Output only. The last update timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -1323,6 +1365,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Describes a logs-based metric. The value of the metric is the number of log
    * entries that match a logs filter in a given time interval.
+   *
    * Logs-based metrics can also be used to extract values from logs and create a
    * distribution of the values. The distribution records the statistics of the
    * extracted values along with an optional histogram of the values as specified
@@ -1705,10 +1748,12 @@ public Builder mergeFrom(
      * 
      * Required. The client-assigned metric identifier.
      * Examples: `"error_count"`, `"nginx/requests"`.
+     *
      * Metric identifiers are limited to 100 characters and can include only the
      * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
      * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
      * name pieces, and it cannot be the first character of the name.
+     *
      * This field is the `[METRIC_ID]` part of a metric resource name in the
      * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
      * resource name of a metric is
@@ -1737,10 +1782,12 @@ public java.lang.String getName() {
      * 
      * Required. The client-assigned metric identifier.
      * Examples: `"error_count"`, `"nginx/requests"`.
+     *
      * Metric identifiers are limited to 100 characters and can include only the
      * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
      * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
      * name pieces, and it cannot be the first character of the name.
+     *
      * This field is the `[METRIC_ID]` part of a metric resource name in the
      * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
      * resource name of a metric is
@@ -1769,10 +1816,12 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
      * Required. The client-assigned metric identifier.
      * Examples: `"error_count"`, `"nginx/requests"`.
+     *
      * Metric identifiers are limited to 100 characters and can include only the
      * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
      * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
      * name pieces, and it cannot be the first character of the name.
+     *
      * This field is the `[METRIC_ID]` part of a metric resource name in the
      * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
      * resource name of a metric is
@@ -1800,10 +1849,12 @@ public Builder setName(java.lang.String value) {
      * 
      * Required. The client-assigned metric identifier.
      * Examples: `"error_count"`, `"nginx/requests"`.
+     *
      * Metric identifiers are limited to 100 characters and can include only the
      * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
      * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
      * name pieces, and it cannot be the first character of the name.
+     *
      * This field is the `[METRIC_ID]` part of a metric resource name in the
      * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
      * resource name of a metric is
@@ -1827,10 +1878,12 @@ public Builder clearName() {
      * 
      * Required. The client-assigned metric identifier.
      * Examples: `"error_count"`, `"nginx/requests"`.
+     *
      * Metric identifiers are limited to 100 characters and can include only the
      * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
      * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
      * name pieces, and it cannot be the first character of the name.
+     *
      * This field is the `[METRIC_ID]` part of a metric resource name in the
      * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
      * resource name of a metric is
@@ -1973,7 +2026,9 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * Required. An [advanced logs
      * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
      * is used to match log entries. Example:
+     *
      *     "resource.type=gae_app AND severity>=ERROR"
+     *
      * The maximum length of the filter is 20000 characters.
      * 
* @@ -1999,7 +2054,9 @@ public java.lang.String getFilter() { * Required. An [advanced logs * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: + * * "resource.type=gae_app AND severity>=ERROR" + * * The maximum length of the filter is 20000 characters. *
* @@ -2025,7 +2082,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * Required. An [advanced logs * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: + * * "resource.type=gae_app AND severity>=ERROR" + * * The maximum length of the filter is 20000 characters. *
* @@ -2050,7 +2109,9 @@ public Builder setFilter(java.lang.String value) { * Required. An [advanced logs * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: + * * "resource.type=gae_app AND severity>=ERROR" + * * The maximum length of the filter is 20000 characters. *
* @@ -2071,7 +2132,9 @@ public Builder clearFilter() { * Required. An [advanced logs * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: + * * "resource.type=gae_app AND severity>=ERROR" + * * The maximum length of the filter is 20000 characters. *
* @@ -2099,8 +2162,11 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -2126,8 +2192,11 @@ public java.lang.String getBucketName() { * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -2153,8 +2222,11 @@ public com.google.protobuf.ByteString getBucketNameBytes() { * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -2179,8 +2251,11 @@ public Builder setBucketName(java.lang.String value) { * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -2201,8 +2276,11 @@ public Builder clearBucketName() { * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -2292,15 +2370,19 @@ public Builder clearDisabled() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2324,15 +2406,19 @@ public boolean hasMetricDescriptor() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2362,15 +2448,19 @@ public com.google.api.MetricDescriptor getMetricDescriptor() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2402,15 +2492,19 @@ public Builder setMetricDescriptor(com.google.api.MetricDescriptor value) { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2439,15 +2533,19 @@ public Builder setMetricDescriptor(com.google.api.MetricDescriptor.Builder build * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2482,15 +2580,19 @@ public Builder mergeMetricDescriptor(com.google.api.MetricDescriptor value) { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2519,15 +2621,19 @@ public Builder clearMetricDescriptor() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2551,15 +2657,19 @@ public com.google.api.MetricDescriptor.Builder getMetricDescriptorBuilder() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2587,15 +2697,19 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -2632,6 +2746,7 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -2640,10 +2755,12 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -2670,6 +2787,7 @@ public java.lang.String getValueExtractor() { * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -2678,10 +2796,12 @@ public java.lang.String getValueExtractor() { * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -2708,6 +2828,7 @@ public com.google.protobuf.ByteString getValueExtractorBytes() { * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -2716,10 +2837,12 @@ public com.google.protobuf.ByteString getValueExtractorBytes() { * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -2745,6 +2868,7 @@ public Builder setValueExtractor(java.lang.String value) { * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -2753,10 +2877,12 @@ public Builder setValueExtractor(java.lang.String value) { * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -2778,6 +2904,7 @@ public Builder clearValueExtractor() { * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -2786,10 +2913,12 @@ public Builder clearValueExtractor() { * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -2847,11 +2976,13 @@ public int getLabelExtractorsCount() { * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -2882,11 +3013,13 @@ public java.util.Map getLabelExtractors() { * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -2908,11 +3041,13 @@ public java.util.Map getLabelExtractorsMap() * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -2941,11 +3076,13 @@ public java.util.Map getLabelExtractorsMap() * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -2980,11 +3117,13 @@ public Builder clearLabelExtractors() { * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -3015,11 +3154,13 @@ public java.util.Map getMutableLabelExtracto * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -3048,11 +3189,13 @@ public Builder putLabelExtractors(java.lang.String key, java.lang.String value) * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -3298,6 +3441,7 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3315,6 +3459,7 @@ public boolean hasCreateTime() { * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3338,6 +3483,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3363,6 +3509,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3385,6 +3532,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3413,6 +3561,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3435,6 +3584,7 @@ public Builder clearCreateTime() { * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3452,6 +3602,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3473,6 +3624,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
      * Output only. The creation timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3508,6 +3660,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3525,6 +3678,7 @@ public boolean hasUpdateTime() { * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3548,6 +3702,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3573,6 +3728,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3595,6 +3751,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3623,6 +3780,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3645,6 +3803,7 @@ public Builder clearUpdateTime() { * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3662,6 +3821,7 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* @@ -3683,6 +3843,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * *
      * Output only. The last update timestamp of the metric.
+     *
      * This field may not be present for older metrics.
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricName.java index 317f5de5b..1b8efcb5b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java index 1155c7830..3c8feceb0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,10 +29,12 @@ public interface LogMetricOrBuilder *
    * Required. The client-assigned metric identifier.
    * Examples: `"error_count"`, `"nginx/requests"`.
+   *
    * Metric identifiers are limited to 100 characters and can include only the
    * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
    * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
    * name pieces, and it cannot be the first character of the name.
+   *
    * This field is the `[METRIC_ID]` part of a metric resource name in the
    * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
    * resource name of a metric is
@@ -51,10 +53,12 @@ public interface LogMetricOrBuilder
    * 
    * Required. The client-assigned metric identifier.
    * Examples: `"error_count"`, `"nginx/requests"`.
+   *
    * Metric identifiers are limited to 100 characters and can include only the
    * following characters: `A-Z`, `a-z`, `0-9`, and the special characters
    * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
    * name pieces, and it cannot be the first character of the name.
+   *
    * This field is the `[METRIC_ID]` part of a metric resource name in the
    * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
    * resource name of a metric is
@@ -102,7 +106,9 @@ public interface LogMetricOrBuilder
    * Required. An [advanced logs
    * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
    * is used to match log entries. Example:
+   *
    *     "resource.type=gae_app AND severity>=ERROR"
+   *
    * The maximum length of the filter is 20000 characters.
    * 
* @@ -118,7 +124,9 @@ public interface LogMetricOrBuilder * Required. An [advanced logs * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: + * * "resource.type=gae_app AND severity>=ERROR" + * * The maximum length of the filter is 20000 characters. *
* @@ -135,8 +143,11 @@ public interface LogMetricOrBuilder * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -152,8 +163,11 @@ public interface LogMetricOrBuilder * Optional. The resource name of the Log Bucket that owns the Log Metric. * Only Log Buckets in projects are supported. The bucket has to be in the * same project as the metric. + * * For example: + * * `projects/my-project/locations/global/buckets/my-bucket` + * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
* @@ -185,15 +199,19 @@ public interface LogMetricOrBuilder * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -215,15 +233,19 @@ public interface LogMetricOrBuilder * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -245,15 +267,19 @@ public interface LogMetricOrBuilder * If unspecified, it uses a default metric descriptor with a DELTA metric * kind, INT64 value type, with no labels and a unit of "1". Such a metric * counts the number of log entries matching the `filter` expression. + * * The `name`, `type`, and `description` fields in the `metric_descriptor` * are output only, and is constructed using the `name` and `description` * field in the LogMetric. + * * To create a logs-based metric that records a distribution of log values, a * DELTA metric kind with a DISTRIBUTION value type must be used along with * a `value_extractor` expression in the LogMetric. + * * Each label in the metric descriptor must have a matching label * name as the key and an extractor expression as the value in the * `label_extractors` map. + * * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot * be updated once initially configured. New labels can be added in the * `metric_descriptor`, but existing labels cannot be modified except for @@ -274,6 +300,7 @@ public interface LogMetricOrBuilder * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -282,10 +309,12 @@ public interface LogMetricOrBuilder * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -302,6 +331,7 @@ public interface LogMetricOrBuilder * logs-based metric to extract the values to record from a log entry. * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: + * * 1. field: The name of the log entry field from which the value is to be * extracted. * 2. regex: A regular expression using the Google RE2 syntax @@ -310,10 +340,12 @@ public interface LogMetricOrBuilder * of the field is converted to a string before applying the regex. * It is an error to specify a regex that does not include exactly one * capture group. + * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or * the conversion to double fails, then those values are not recorded in the * distribution. + * * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` *
* @@ -332,11 +364,13 @@ public interface LogMetricOrBuilder * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -354,11 +388,13 @@ public interface LogMetricOrBuilder * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -379,11 +415,13 @@ public interface LogMetricOrBuilder * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -401,11 +439,13 @@ public interface LogMetricOrBuilder * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -427,11 +467,13 @@ java.lang.String getLabelExtractorsOrDefault( * Each label key specified in the LabelDescriptor must have an associated * extractor expression in this map. The syntax of the extractor expression * is the same as for the `value_extractor` field. + * * The extracted value is converted to the type defined in the label * descriptor. If either the extraction or the type conversion fails, * the label will have a default value. The default value for a string * label is an empty string, for an integer label its 0, and for a boolean * label its `false`. + * * Note that there are upper bounds on the maximum number of labels and the * number of active time series that are allowed in a project. *
@@ -493,6 +535,7 @@ java.lang.String getLabelExtractorsOrDefault( * *
    * Output only. The creation timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -507,6 +550,7 @@ java.lang.String getLabelExtractorsOrDefault( * *
    * Output only. The creation timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -521,6 +565,7 @@ java.lang.String getLabelExtractorsOrDefault( * *
    * Output only. The creation timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -534,6 +579,7 @@ java.lang.String getLabelExtractorsOrDefault( * *
    * Output only. The last update timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -548,6 +594,7 @@ java.lang.String getLabelExtractorsOrDefault( * *
    * Output only. The last update timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* @@ -562,6 +609,7 @@ java.lang.String getLabelExtractorsOrDefault( * *
    * Output only. The last update timestamp of the metric.
+   *
    * This field may not be present for older metrics.
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java index 8115f9f32..4269202ed 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java index 0fbdd1e3c..4604a4e82 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -57,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LogSink(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogSink_descriptor; @@ -234,6 +229,8 @@ private VersionFormat(int value) { } private int optionsCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object options_; public enum OptionsCase @@ -286,6 +283,7 @@ public OptionsCase getOptionsCase() { * *
    * Required. The client-assigned sink identifier, unique within the project.
+   *
    * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
    * to 100 characters and can include only the following characters: upper and
    * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -313,6 +311,7 @@ public java.lang.String getName() {
    *
    * 
    * Required. The client-assigned sink identifier, unique within the project.
+   *
    * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
    * to 100 characters and can include only the following characters: upper and
    * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -345,9 +344,11 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    * 
    * Required. The export destination:
+   *
    *     "storage.googleapis.com/[GCS_BUCKET]"
    *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
    *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
    * exported. For more information, see
@@ -378,9 +379,11 @@ public java.lang.String getDestination() {
    *
    * 
    * Required. The export destination:
+   *
    *     "storage.googleapis.com/[GCS_BUCKET]"
    *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
    *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
    * exported. For more information, see
@@ -419,7 +422,9 @@ public com.google.protobuf.ByteString getDestinationBytes() {
    * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
    * only exported log entries are those that are in the resource owning the
    * sink and that match the filter.
+   *
    * For example:
+   *
    *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
    * 
* @@ -447,7 +452,9 @@ public java.lang.String getFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The * only exported log entries are those that are in the resource owning the * sink and that match the filter. + * * For example: + * * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* @@ -477,6 +484,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * *
    * Optional. A description of this sink.
+   *
    * The maximum length of the description is 8000 characters.
    * 
* @@ -501,6 +509,7 @@ public java.lang.String getDescription() { * *
    * Optional. A description of this sink.
+   *
    * The maximum length of the description is 8000 characters.
    * 
* @@ -550,6 +559,7 @@ public boolean getDisabled() { *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -568,6 +578,7 @@ public java.util.List getExclusionsList() { *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -587,6 +598,7 @@ public java.util.List getExclusionsList() { *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -605,6 +617,7 @@ public int getExclusionsCount() { *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -623,6 +636,7 @@ public com.google.logging.v2.LogExclusion getExclusions(int index) { *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -694,12 +708,14 @@ public com.google.logging.v2.LogSink.VersionFormat getOutputVersionFormat() { * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -732,12 +748,14 @@ public java.lang.String getWriterIdentity() { * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -773,11 +791,14 @@ public com.google.protobuf.ByteString getWriterIdentityBytes() { * in the sink's parent resource are also available for export. Whether a * particular log entry from the children is exported depends on the sink's * filter expression. + * * For example, if this field is true, then the filter * `resource.type=gce_instance` would export all Compute Engine VM instance * log entries from all projects in the sink's parent. + * * To only export entries from certain child projects, filter on the project * part of the log name: + * * logName:("projects/test-project1/" OR "projects/test-project2/") AND * resource.type=gce_instance *
@@ -855,6 +876,7 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde * *
    * Output only. The creation timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -872,6 +894,7 @@ public boolean hasCreateTime() { * *
    * Output only. The creation timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -889,6 +912,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * *
    * Output only. The creation timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -907,6 +931,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
    * Output only. The last update timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -924,6 +949,7 @@ public boolean hasUpdateTime() { * *
    * Output only. The last update timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -941,6 +967,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * *
    * Output only. The last update timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -1665,6 +1692,7 @@ public Builder clearOptions() { * *
      * Required. The client-assigned sink identifier, unique within the project.
+     *
      * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
      * to 100 characters and can include only the following characters: upper and
      * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -1691,6 +1719,7 @@ public java.lang.String getName() {
      *
      * 
      * Required. The client-assigned sink identifier, unique within the project.
+     *
      * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
      * to 100 characters and can include only the following characters: upper and
      * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -1717,6 +1746,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Required. The client-assigned sink identifier, unique within the project.
+     *
      * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
      * to 100 characters and can include only the following characters: upper and
      * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -1742,6 +1772,7 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Required. The client-assigned sink identifier, unique within the project.
+     *
      * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
      * to 100 characters and can include only the following characters: upper and
      * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -1763,6 +1794,7 @@ public Builder clearName() {
      *
      * 
      * Required. The client-assigned sink identifier, unique within the project.
+     *
      * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
      * to 100 characters and can include only the following characters: upper and
      * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -1791,9 +1823,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * Required. The export destination:
+     *
      *     "storage.googleapis.com/[GCS_BUCKET]"
      *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
      *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
      * exported. For more information, see
@@ -1823,9 +1857,11 @@ public java.lang.String getDestination() {
      *
      * 
      * Required. The export destination:
+     *
      *     "storage.googleapis.com/[GCS_BUCKET]"
      *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
      *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
      * exported. For more information, see
@@ -1855,9 +1891,11 @@ public com.google.protobuf.ByteString getDestinationBytes() {
      *
      * 
      * Required. The export destination:
+     *
      *     "storage.googleapis.com/[GCS_BUCKET]"
      *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
      *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
      * exported. For more information, see
@@ -1886,9 +1924,11 @@ public Builder setDestination(java.lang.String value) {
      *
      * 
      * Required. The export destination:
+     *
      *     "storage.googleapis.com/[GCS_BUCKET]"
      *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
      *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
      * exported. For more information, see
@@ -1913,9 +1953,11 @@ public Builder clearDestination() {
      *
      * 
      * Required. The export destination:
+     *
      *     "storage.googleapis.com/[GCS_BUCKET]"
      *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
      *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
      * exported. For more information, see
@@ -1950,7 +1992,9 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) {
      * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
      * only exported log entries are those that are in the resource owning the
      * sink and that match the filter.
+     *
      * For example:
+     *
      *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
      * 
* @@ -1977,7 +2021,9 @@ public java.lang.String getFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The * only exported log entries are those that are in the resource owning the * sink and that match the filter. + * * For example: + * * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* @@ -2004,7 +2050,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The * only exported log entries are those that are in the resource owning the * sink and that match the filter. + * * For example: + * * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* @@ -2030,7 +2078,9 @@ public Builder setFilter(java.lang.String value) { * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The * only exported log entries are those that are in the resource owning the * sink and that match the filter. + * * For example: + * * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* @@ -2052,7 +2102,9 @@ public Builder clearFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The * only exported log entries are those that are in the resource owning the * sink and that match the filter. + * * For example: + * * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* @@ -2078,6 +2130,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * *
      * Optional. A description of this sink.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -2101,6 +2154,7 @@ public java.lang.String getDescription() { * *
      * Optional. A description of this sink.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -2124,6 +2178,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * *
      * Optional. A description of this sink.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -2146,6 +2201,7 @@ public Builder setDescription(java.lang.String value) { * *
      * Optional. A description of this sink.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -2164,6 +2220,7 @@ public Builder clearDescription() { * *
      * Optional. A description of this sink.
+     *
      * The maximum length of the description is 8000 characters.
      * 
* @@ -2261,6 +2318,7 @@ private void ensureExclusionsIsMutable() { *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2282,6 +2340,7 @@ public java.util.List getExclusionsList() { *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2303,6 +2362,7 @@ public int getExclusionsCount() { *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2324,6 +2384,7 @@ public com.google.logging.v2.LogExclusion getExclusions(int index) { *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2351,6 +2412,7 @@ public Builder setExclusions(int index, com.google.logging.v2.LogExclusion value *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2376,6 +2438,7 @@ public Builder setExclusions( *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2403,6 +2466,7 @@ public Builder addExclusions(com.google.logging.v2.LogExclusion value) { *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2430,6 +2494,7 @@ public Builder addExclusions(int index, com.google.logging.v2.LogExclusion value *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2454,6 +2519,7 @@ public Builder addExclusions(com.google.logging.v2.LogExclusion.Builder builderF *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2479,6 +2545,7 @@ public Builder addExclusions( *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2504,6 +2571,7 @@ public Builder addAllExclusions( *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2528,6 +2596,7 @@ public Builder clearExclusions() { *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2552,6 +2621,7 @@ public Builder removeExclusions(int index) { *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2569,6 +2639,7 @@ public com.google.logging.v2.LogExclusion.Builder getExclusionsBuilder(int index *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2590,6 +2661,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionsOrBuilder(int in *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2612,6 +2684,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionsOrBuilder(int in *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2630,6 +2703,7 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2648,6 +2722,7 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index *
      * Optional. Log entries that match any of these exclusion filters will not be
      * exported.
+     *
      * If a log entry is matched by both `filter` and one of `exclusion_filters`
      * it will not be exported.
      * 
@@ -2799,12 +2874,14 @@ public Builder clearOutputVersionFormat() { * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -2836,12 +2913,14 @@ public java.lang.String getWriterIdentity() { * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -2873,12 +2952,14 @@ public com.google.protobuf.ByteString getWriterIdentityBytes() { * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -2909,12 +2990,14 @@ public Builder setWriterIdentity(java.lang.String value) { * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -2941,12 +3024,14 @@ public Builder clearWriterIdentity() { * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -2980,11 +3065,14 @@ public Builder setWriterIdentityBytes(com.google.protobuf.ByteString value) { * in the sink's parent resource are also available for export. Whether a * particular log entry from the children is exported depends on the sink's * filter expression. + * * For example, if this field is true, then the filter * `resource.type=gce_instance` would export all Compute Engine VM instance * log entries from all projects in the sink's parent. + * * To only export entries from certain child projects, filter on the project * part of the log name: + * * logName:("projects/test-project1/" OR "projects/test-project2/") AND * resource.type=gce_instance *
@@ -3008,11 +3096,14 @@ public boolean getIncludeChildren() { * in the sink's parent resource are also available for export. Whether a * particular log entry from the children is exported depends on the sink's * filter expression. + * * For example, if this field is true, then the filter * `resource.type=gce_instance` would export all Compute Engine VM instance * log entries from all projects in the sink's parent. + * * To only export entries from certain child projects, filter on the project * part of the log name: + * * logName:("projects/test-project1/" OR "projects/test-project2/") AND * resource.type=gce_instance *
@@ -3040,11 +3131,14 @@ public Builder setIncludeChildren(boolean value) { * in the sink's parent resource are also available for export. Whether a * particular log entry from the children is exported depends on the sink's * filter expression. + * * For example, if this field is true, then the filter * `resource.type=gce_instance` would export all Compute Engine VM instance * log entries from all projects in the sink's parent. + * * To only export entries from certain child projects, filter on the project * part of the log name: + * * logName:("projects/test-project1/" OR "projects/test-project2/") AND * resource.type=gce_instance *
@@ -3298,6 +3392,7 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3315,6 +3410,7 @@ public boolean hasCreateTime() { * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3338,6 +3434,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3363,6 +3460,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3385,6 +3483,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3413,6 +3512,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3435,6 +3535,7 @@ public Builder clearCreateTime() { * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3452,6 +3553,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3473,6 +3575,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
      * Output only. The creation timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3508,6 +3611,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3525,6 +3629,7 @@ public boolean hasUpdateTime() { * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3548,6 +3653,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3573,6 +3679,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3595,6 +3702,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3623,6 +3731,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3645,6 +3754,7 @@ public Builder clearUpdateTime() { * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3662,6 +3772,7 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* @@ -3683,6 +3794,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * *
      * Output only. The last update timestamp of the sink.
+     *
      * This field may not be present for older sinks.
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkName.java index b18a09e7c..6ac04c85a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java index bdcb832af..5b269ebba 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ public interface LogSinkOrBuilder * *
    * Required. The client-assigned sink identifier, unique within the project.
+   *
    * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
    * to 100 characters and can include only the following characters: upper and
    * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -44,6 +45,7 @@ public interface LogSinkOrBuilder
    *
    * 
    * Required. The client-assigned sink identifier, unique within the project.
+   *
    * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
    * to 100 characters and can include only the following characters: upper and
    * lower-case alphanumeric characters, underscores, hyphens, and periods.
@@ -61,9 +63,11 @@ public interface LogSinkOrBuilder
    *
    * 
    * Required. The export destination:
+   *
    *     "storage.googleapis.com/[GCS_BUCKET]"
    *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
    *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
    * exported. For more information, see
@@ -83,9 +87,11 @@ public interface LogSinkOrBuilder
    *
    * 
    * Required. The export destination:
+   *
    *     "storage.googleapis.com/[GCS_BUCKET]"
    *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
    *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
    * exported. For more information, see
@@ -109,7 +115,9 @@ public interface LogSinkOrBuilder
    * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
    * only exported log entries are those that are in the resource owning the
    * sink and that match the filter.
+   *
    * For example:
+   *
    *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
    * 
* @@ -126,7 +134,9 @@ public interface LogSinkOrBuilder * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The * only exported log entries are those that are in the resource owning the * sink and that match the filter. + * * For example: + * * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* @@ -141,6 +151,7 @@ public interface LogSinkOrBuilder * *
    * Optional. A description of this sink.
+   *
    * The maximum length of the description is 8000 characters.
    * 
* @@ -154,6 +165,7 @@ public interface LogSinkOrBuilder * *
    * Optional. A description of this sink.
+   *
    * The maximum length of the description is 8000 characters.
    * 
* @@ -183,6 +195,7 @@ public interface LogSinkOrBuilder *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -198,6 +211,7 @@ public interface LogSinkOrBuilder *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -213,6 +227,7 @@ public interface LogSinkOrBuilder *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -228,6 +243,7 @@ public interface LogSinkOrBuilder *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -244,6 +260,7 @@ public interface LogSinkOrBuilder *
    * Optional. Log entries that match any of these exclusion filters will not be
    * exported.
+   *
    * If a log entry is matched by both `filter` and one of `exclusion_filters`
    * it will not be exported.
    * 
@@ -298,12 +315,14 @@ public interface LogSinkOrBuilder * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -325,12 +344,14 @@ public interface LogSinkOrBuilder * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the * value of `unique_writer_identity` in those methods. + * * Until you grant this identity write-access to the destination, log entry * exports from this sink will fail. For more information, see [Granting * Access for a * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). * Consult the destination service's documentation to determine the * appropriate IAM roles to assign to the identity. + * * Sinks that have a destination that is a log bucket in the same project as * the sink cannot have a writer_identity and no additional permissions are * required. @@ -353,11 +374,14 @@ public interface LogSinkOrBuilder * in the sink's parent resource are also available for export. Whether a * particular log entry from the children is exported depends on the sink's * filter expression. + * * For example, if this field is true, then the filter * `resource.type=gce_instance` would export all Compute Engine VM instance * log entries from all projects in the sink's parent. + * * To only export entries from certain child projects, filter on the project * part of the log name: + * * logName:("projects/test-project1/" OR "projects/test-project2/") AND * resource.type=gce_instance *
@@ -414,6 +438,7 @@ public interface LogSinkOrBuilder * *
    * Output only. The creation timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -428,6 +453,7 @@ public interface LogSinkOrBuilder * *
    * Output only. The creation timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -442,6 +468,7 @@ public interface LogSinkOrBuilder * *
    * Output only. The creation timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -455,6 +482,7 @@ public interface LogSinkOrBuilder * *
    * Output only. The last update timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -469,6 +497,7 @@ public interface LogSinkOrBuilder * *
    * Output only. The last update timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -483,6 +512,7 @@ public interface LogSinkOrBuilder * *
    * Output only. The last update timestamp of the sink.
+   *
    * This field may not be present for older sinks.
    * 
* @@ -491,5 +521,5 @@ public interface LogSinkOrBuilder */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); - public com.google.logging.v2.LogSink.OptionsCase getOptionsCase(); + com.google.logging.v2.LogSink.OptionsCase getOptionsCase(); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java index 8dcdfb34f..3d8fd1eb3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LogSplit(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogSplit_descriptor; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java index 593337a0b..42e8a631f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java index bb07d0dca..2db6f4790 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LogView(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogView_descriptor; @@ -77,7 +72,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * The resource name of the view.
+   *
    * For example:
+   *
    *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
    * 
* @@ -102,7 +99,9 @@ public java.lang.String getName() { * *
    * The resource name of the view.
+   *
    * For example:
+   *
    *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
    * 
* @@ -282,12 +281,16 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { *
    * Filter that restricts which log entries in a bucket are visible in this
    * view.
+   *
    * Filters are restricted to be a logical AND of ==/!= of any of the
    * following:
+   *
    *   - originating project/folder/organization/billing account.
    *   - resource type
    *   - log id
+   *
    * For example:
+   *
    *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
    *                                AND LOG_ID("stdout")
    * 
@@ -314,12 +317,16 @@ public java.lang.String getFilter() { *
    * Filter that restricts which log entries in a bucket are visible in this
    * view.
+   *
    * Filters are restricted to be a logical AND of ==/!= of any of the
    * following:
+   *
    *   - originating project/folder/organization/billing account.
    *   - resource type
    *   - log id
+   *
    * For example:
+   *
    *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
    *                                AND LOG_ID("stdout")
    * 
@@ -794,7 +801,9 @@ public Builder mergeFrom( * *
      * The resource name of the view.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
      * 
* @@ -818,7 +827,9 @@ public java.lang.String getName() { * *
      * The resource name of the view.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
      * 
* @@ -842,7 +853,9 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * The resource name of the view.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
      * 
* @@ -865,7 +878,9 @@ public Builder setName(java.lang.String value) { * *
      * The resource name of the view.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
      * 
* @@ -884,7 +899,9 @@ public Builder clearName() { * *
      * The resource name of the view.
+     *
      * For example:
+     *
      *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
      * 
* @@ -1419,12 +1436,16 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { *
      * Filter that restricts which log entries in a bucket are visible in this
      * view.
+     *
      * Filters are restricted to be a logical AND of ==/!= of any of the
      * following:
+     *
      *   - originating project/folder/organization/billing account.
      *   - resource type
      *   - log id
+     *
      * For example:
+     *
      *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
      *                                AND LOG_ID("stdout")
      * 
@@ -1450,12 +1471,16 @@ public java.lang.String getFilter() { *
      * Filter that restricts which log entries in a bucket are visible in this
      * view.
+     *
      * Filters are restricted to be a logical AND of ==/!= of any of the
      * following:
+     *
      *   - originating project/folder/organization/billing account.
      *   - resource type
      *   - log id
+     *
      * For example:
+     *
      *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
      *                                AND LOG_ID("stdout")
      * 
@@ -1481,12 +1506,16 @@ public com.google.protobuf.ByteString getFilterBytes() { *
      * Filter that restricts which log entries in a bucket are visible in this
      * view.
+     *
      * Filters are restricted to be a logical AND of ==/!= of any of the
      * following:
+     *
      *   - originating project/folder/organization/billing account.
      *   - resource type
      *   - log id
+     *
      * For example:
+     *
      *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
      *                                AND LOG_ID("stdout")
      * 
@@ -1511,12 +1540,16 @@ public Builder setFilter(java.lang.String value) { *
      * Filter that restricts which log entries in a bucket are visible in this
      * view.
+     *
      * Filters are restricted to be a logical AND of ==/!= of any of the
      * following:
+     *
      *   - originating project/folder/organization/billing account.
      *   - resource type
      *   - log id
+     *
      * For example:
+     *
      *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
      *                                AND LOG_ID("stdout")
      * 
@@ -1537,12 +1570,16 @@ public Builder clearFilter() { *
      * Filter that restricts which log entries in a bucket are visible in this
      * view.
+     *
      * Filters are restricted to be a logical AND of ==/!= of any of the
      * following:
+     *
      *   - originating project/folder/organization/billing account.
      *   - resource type
      *   - log id
+     *
      * For example:
+     *
      *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
      *                                AND LOG_ID("stdout")
      * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewName.java index f0f15b91d..2822f2e4e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java index e0e8e821b..1490c0d5d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,9 @@ public interface LogViewOrBuilder * *
    * The resource name of the view.
+   *
    * For example:
+   *
    *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
    * 
* @@ -42,7 +44,9 @@ public interface LogViewOrBuilder * *
    * The resource name of the view.
+   *
    * For example:
+   *
    *   `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
    * 
* @@ -159,12 +163,16 @@ public interface LogViewOrBuilder *
    * Filter that restricts which log entries in a bucket are visible in this
    * view.
+   *
    * Filters are restricted to be a logical AND of ==/!= of any of the
    * following:
+   *
    *   - originating project/folder/organization/billing account.
    *   - resource type
    *   - log id
+   *
    * For example:
+   *
    *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
    *                                AND LOG_ID("stdout")
    * 
@@ -180,12 +188,16 @@ public interface LogViewOrBuilder *
    * Filter that restricts which log entries in a bucket are visible in this
    * view.
+   *
    * Filters are restricted to be a logical AND of ==/!= of any of the
    * following:
+   *
    *   - originating project/folder/organization/billing account.
    *   - resource type
    *   - log id
+   *
    * For example:
+   *
    *   SOURCE("projects/myproject") AND resource.type = "gce_instance"
    *                                AND LOG_ID("stdout")
    * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java index 9a99335cb..c27ef122c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -243,541 +243,543 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "resource.proto\032#google/longrunning/opera" + "tions.proto\032\033google/protobuf/empty.proto" + "\032 google/protobuf/field_mask.proto\032\037goog" - + "le/protobuf/timestamp.proto\"\215\001\n\013IndexCon" - + "fig\022\027\n\nfield_path\030\001 \001(\tB\003\340A\002\022/\n\004type\030\002 \001" - + "(\0162\034.google.logging.v2.IndexTypeB\003\340A\002\0224\n" - + "\013create_time\030\003 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\"\325\005\n\tLogBucket\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\003\022\023\n\013description\030\003 \001(\t\0224\n\013create_time" - + "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "4\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\022\026\n\016retention_days\030\013 \001(\005\022\016\n" - + "\006locked\030\t \001(\010\022?\n\017lifecycle_state\030\014 \001(\0162!" - + ".google.logging.v2.LifecycleStateB\003\340A\003\022\031" - + "\n\021analytics_enabled\030\016 \001(\010\022\031\n\021restricted_" - + "fields\030\017 \003(\t\0225\n\rindex_configs\030\021 \003(\0132\036.go" - + "ogle.logging.v2.IndexConfig\0226\n\rcmek_sett" - + "ings\030\023 \001(\0132\037.google.logging.v2.CmekSetti" - + "ngs:\245\002\352A\241\002\n logging.googleapis.com/LogBu" - + "cket\0228projects/{project}/locations/{loca" - + "tion}/buckets/{bucket}\022Borganizations/{o" - + "rganization}/locations/{location}/bucket" - + "s/{bucket}\0226folders/{folder}/locations/{" - + "location}/buckets/{bucket}\022GbillingAccou" - + "nts/{billing_account}/locations/{locatio" - + "n}/buckets/{bucket}\"\202\004\n\007LogView\022\014\n\004name\030" - + "\001 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_tim" - + "e\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0224\n\013update_time\030\005 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022\016\n\006filter\030\007 \001(\t:\327\002\352A\323\002\n\036l" - + "ogging.googleapis.com/LogView\022Eprojects/" - + "{project}/locations/{location}/buckets/{" - + "bucket}/views/{view}\022Oorganizations/{org" - + "anization}/locations/{location}/buckets/" - + "{bucket}/views/{view}\022Cfolders/{folder}/" - + "locations/{location}/buckets/{bucket}/vi" - + "ews/{view}\022TbillingAccounts/{billing_acc" - + "ount}/locations/{location}/buckets/{buck" - + "et}/views/{view}\"\205\006\n\007LogSink\022\021\n\004name\030\001 \001" - + "(\tB\003\340A\002\022\036\n\013destination\030\003 \001(\tB\t\340A\002\372A\003\n\001*\022" - + "\023\n\006filter\030\005 \001(\tB\003\340A\001\022\030\n\013description\030\022 \001(" - + "\tB\003\340A\001\022\025\n\010disabled\030\023 \001(\010B\003\340A\001\0228\n\nexclusi" - + "ons\030\020 \003(\0132\037.google.logging.v2.LogExclusi" - + "onB\003\340A\001\022K\n\025output_version_format\030\006 \001(\0162(" - + ".google.logging.v2.LogSink.VersionFormat" - + "B\002\030\001\022\034\n\017writer_identity\030\010 \001(\tB\003\340A\003\022\035\n\020in" - + "clude_children\030\t \001(\010B\003\340A\001\022C\n\020bigquery_op" - + "tions\030\014 \001(\0132\".google.logging.v2.BigQuery" - + "OptionsB\003\340A\001H\000\0224\n\013create_time\030\r \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" - + "ime\030\016 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\"?\n\rVersionFormat\022\036\n\032VERSION_FORMAT_UN" - + "SPECIFIED\020\000\022\006\n\002V2\020\001\022\006\n\002V1\020\002:\277\001\352A\273\001\n\036logg" - + "ing.googleapis.com/LogSink\022\037projects/{pr" - + "oject}/sinks/{sink}\022)organizations/{orga" - + "nization}/sinks/{sink}\022\035folders/{folder}" - + "/sinks/{sink}\022.billingAccounts/{billing_" - + "account}/sinks/{sink}B\t\n\007options\"*\n\017BigQ" - + "ueryDataset\022\027\n\ndataset_id\030\001 \001(\tB\003\340A\003\"\265\004\n" - + "\004Link\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t" - + "\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022?\n\017lifecycle_state\030\004 \001(\0162" - + "!.google.logging.v2.LifecycleStateB\003\340A\003\022" - + "<\n\020bigquery_dataset\030\005 \001(\0132\".google.loggi" - + "ng.v2.BigQueryDataset:\324\002\352A\320\002\n\033logging.go" - + "ogleapis.com/Link\022Eprojects/{project}/lo" - + "cations/{location}/buckets/{bucket}/link" - + "s/{link}\022Oorganizations/{organization}/l" - + "ocations/{location}/buckets/{bucket}/lin" - + "ks/{link}\022Cfolders/{folder}/locations/{l" - + "ocation}/buckets/{bucket}/links/{link}\022T" - + "billingAccounts/{billing_account}/locati" - + "ons/{location}/buckets/{bucket}/links/{l" - + "ink}\"g\n\017BigQueryOptions\022#\n\026use_partition" - + "ed_tables\030\001 \001(\010B\003\340A\001\022/\n\"uses_timestamp_c" - + "olumn_partitioning\030\003 \001(\010B\003\340A\003\"\177\n\022ListBuc" - + "ketsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 log" - + "ging.googleapis.com/LogBucket\022\027\n\npage_to" - + "ken\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\"]" - + "\n\023ListBucketsResponse\022-\n\007buckets\030\001 \003(\0132\034" - + ".google.logging.v2.LogBucket\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"\232\001\n\023CreateBucketRequest\0228\n" - + "\006parent\030\001 \001(\tB(\340A\002\372A\"\022 logging.googleapi" - + "s.com/LogBucket\022\026\n\tbucket_id\030\002 \001(\tB\003\340A\002\022" - + "1\n\006bucket\030\003 \001(\0132\034.google.logging.v2.LogB" - + "ucketB\003\340A\002\"\266\001\n\023UpdateBucketRequest\0226\n\004na" - + "me\030\001 \001(\tB(\340A\002\372A\"\n logging.googleapis.com" - + "/LogBucket\0221\n\006bucket\030\002 \001(\0132\034.google.logg" - + "ing.v2.LogBucketB\003\340A\002\0224\n\013update_mask\030\004 \001" - + "(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"J\n\020G" - + "etBucketRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n l" - + "ogging.googleapis.com/LogBucket\"M\n\023Delet" - + "eBucketRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n lo" - + "gging.googleapis.com/LogBucket\"O\n\025Undele" - + "teBucketRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n l" - + "ogging.googleapis.com/LogBucket\"X\n\020ListV" - + "iewsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\027\n\npage" - + "_token\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A" - + "\001\"W\n\021ListViewsResponse\022)\n\005views\030\001 \003(\0132\032." - + "google.logging.v2.LogView\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"m\n\021CreateViewRequest\022\023\n\006paren" - + "t\030\001 \001(\tB\003\340A\002\022\024\n\007view_id\030\002 \001(\tB\003\340A\002\022-\n\004vi" - + "ew\030\003 \001(\0132\032.google.logging.v2.LogViewB\003\340A" - + "\002\"\213\001\n\021UpdateViewRequest\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\002\022-\n\004view\030\002 \001(\0132\032.google.logging.v2.Log" - + "ViewB\003\340A\002\0224\n\013update_mask\030\004 \001(\0132\032.google." - + "protobuf.FieldMaskB\003\340A\001\"F\n\016GetViewReques" - + "t\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036logging.googlea" - + "pis.com/LogView\"I\n\021DeleteViewRequest\0224\n\004" - + "name\030\001 \001(\tB&\340A\002\372A \n\036logging.googleapis.c" - + "om/LogView\"{\n\020ListSinksRequest\0226\n\006parent" - + "\030\001 \001(\tB&\340A\002\372A \022\036logging.googleapis.com/L" - + "ogSink\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\022\026\n\tpage_" - + "size\030\003 \001(\005B\003\340A\001\"W\n\021ListSinksResponse\022)\n\005" - + "sinks\030\001 \003(\0132\032.google.logging.v2.LogSink\022" - + "\027\n\017next_page_token\030\002 \001(\t\"K\n\016GetSinkReque" - + "st\0229\n\tsink_name\030\001 \001(\tB&\340A\002\372A \n\036logging.g" - + "oogleapis.com/LogSink\"\237\001\n\021CreateSinkRequ" - + "est\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036logging.goo" - + "gleapis.com/LogSink\022-\n\004sink\030\002 \001(\0132\032.goog" - + "le.logging.v2.LogSinkB\003\340A\002\022#\n\026unique_wri" - + "ter_identity\030\003 \001(\010B\003\340A\001\"\330\001\n\021UpdateSinkRe" - + "quest\0229\n\tsink_name\030\001 \001(\tB&\340A\002\372A \n\036loggin" - + "g.googleapis.com/LogSink\022-\n\004sink\030\002 \001(\0132\032" - + ".google.logging.v2.LogSinkB\003\340A\002\022#\n\026uniqu" - + "e_writer_identity\030\003 \001(\010B\003\340A\001\0224\n\013update_m" - + "ask\030\004 \001(\0132\032.google.protobuf.FieldMaskB\003\340" - + "A\001\"N\n\021DeleteSinkRequest\0229\n\tsink_name\030\001 \001" - + "(\tB&\340A\002\372A \n\036logging.googleapis.com/LogSi" - + "nk\"\212\001\n\021CreateLinkRequest\0223\n\006parent\030\001 \001(\t" - + "B#\340A\002\372A\035\022\033logging.googleapis.com/Link\022*\n" - + "\004link\030\002 \001(\0132\027.google.logging.v2.LinkB\003\340A" - + "\002\022\024\n\007link_id\030\003 \001(\tB\003\340A\002\"F\n\021DeleteLinkReq" - + "uest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033logging.goog" - + "leapis.com/Link\"x\n\020ListLinksRequest\0223\n\006p" - + "arent\030\001 \001(\tB#\340A\002\372A\035\022\033logging.googleapis." - + "com/Link\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\022\026\n\tpag" - + "e_size\030\003 \001(\005B\003\340A\001\"T\n\021ListLinksResponse\022&" - + "\n\005links\030\001 \003(\0132\027.google.logging.v2.Link\022\027" - + "\n\017next_page_token\030\002 \001(\t\"C\n\016GetLinkReques" - + "t\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033logging.googlea" - + "pis.com/Link\"\302\003\n\014LogExclusion\022\021\n\004name\030\001 " - + "\001(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\023\n\006fi" - + "lter\030\003 \001(\tB\003\340A\002\022\025\n\010disabled\030\004 \001(\010B\003\340A\001\0224" - + "\n\013create_time\030\005 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003:\354\001\352A\350\001\n#loggi" - + "ng.googleapis.com/LogExclusion\022)projects" - + "/{project}/exclusions/{exclusion}\0223organ" - + "izations/{organization}/exclusions/{excl" - + "usion}\022\'folders/{folder}/exclusions/{exc" - + "lusion}\0228billingAccounts/{billing_accoun" - + "t}/exclusions/{exclusion}\"\205\001\n\025ListExclus" - + "ionsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#log" - + "ging.googleapis.com/LogExclusion\022\027\n\npage" - + "_token\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A" - + "\001\"f\n\026ListExclusionsResponse\0223\n\nexclusion" - + "s\030\001 \003(\0132\037.google.logging.v2.LogExclusion" - + "\022\027\n\017next_page_token\030\002 \001(\t\"P\n\023GetExclusio" - + "nRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#logging." - + "googleapis.com/LogExclusion\"\216\001\n\026CreateEx" - + "clusionRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#" - + "logging.googleapis.com/LogExclusion\0227\n\te" + + "le/protobuf/timestamp.proto\"\220\001\n\013IndexCon" + + "fig\022\030\n\nfield_path\030\001 \001(\tB\004\342A\001\002\0220\n\004type\030\002 " + + "\001(\0162\034.google.logging.v2.IndexTypeB\004\342A\001\002\022" + + "5\n\013create_time\030\003 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\"\331\005\n\tLogBucket\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\023\n\013description\030\003 \001(\t\0225\n\013create_" + + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\022\026\n\016retention_days\030\013 " + + "\001(\005\022\016\n\006locked\030\t \001(\010\022@\n\017lifecycle_state\030\014" + + " \001(\0162!.google.logging.v2.LifecycleStateB" + + "\004\342A\001\003\022\031\n\021analytics_enabled\030\016 \001(\010\022\031\n\021rest" + + "ricted_fields\030\017 \003(\t\0225\n\rindex_configs\030\021 \003" + + "(\0132\036.google.logging.v2.IndexConfig\0226\n\rcm" + + "ek_settings\030\023 \001(\0132\037.google.logging.v2.Cm" + + "ekSettings:\245\002\352A\241\002\n logging.googleapis.co" + + "m/LogBucket\0228projects/{project}/location" + + "s/{location}/buckets/{bucket}\022Borganizat" + + "ions/{organization}/locations/{location}" + + "/buckets/{bucket}\0226folders/{folder}/loca" + + "tions/{location}/buckets/{bucket}\022Gbilli" + + "ngAccounts/{billing_account}/locations/{" + + "location}/buckets/{bucket}\"\204\004\n\007LogView\022\014" + + "\n\004name\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\0225\n\013cre" + + "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\022\016\n\006filter\030\007 \001(\t:" + + "\327\002\352A\323\002\n\036logging.googleapis.com/LogView\022E" + + "projects/{project}/locations/{location}/" + + "buckets/{bucket}/views/{view}\022Oorganizat" + + "ions/{organization}/locations/{location}" + + "/buckets/{bucket}/views/{view}\022Cfolders/" + + "{folder}/locations/{location}/buckets/{b" + + "ucket}/views/{view}\022TbillingAccounts/{bi" + + "lling_account}/locations/{location}/buck" + + "ets/{bucket}/views/{view}\"\220\006\n\007LogSink\022\022\n" + + "\004name\030\001 \001(\tB\004\342A\001\002\022\037\n\013destination\030\003 \001(\tB\n" + + "\342A\001\002\372A\003\n\001*\022\024\n\006filter\030\005 \001(\tB\004\342A\001\001\022\031\n\013desc" + + "ription\030\022 \001(\tB\004\342A\001\001\022\026\n\010disabled\030\023 \001(\010B\004\342" + + "A\001\001\0229\n\nexclusions\030\020 \003(\0132\037.google.logging" + + ".v2.LogExclusionB\004\342A\001\001\022K\n\025output_version" + + "_format\030\006 \001(\0162(.google.logging.v2.LogSin" + + "k.VersionFormatB\002\030\001\022\035\n\017writer_identity\030\010" + + " \001(\tB\004\342A\001\003\022\036\n\020include_children\030\t \001(\010B\004\342A" + + "\001\001\022D\n\020bigquery_options\030\014 \001(\0132\".google.lo" + + "gging.v2.BigQueryOptionsB\004\342A\001\001H\000\0225\n\013crea" + + "te_time\030\r \001(\0132\032.google.protobuf.Timestam" + + "pB\004\342A\001\003\0225\n\013update_time\030\016 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\003\"?\n\rVersionFormat\022" + + "\036\n\032VERSION_FORMAT_UNSPECIFIED\020\000\022\006\n\002V2\020\001\022" + + "\006\n\002V1\020\002:\277\001\352A\273\001\n\036logging.googleapis.com/L" + + "ogSink\022\037projects/{project}/sinks/{sink}\022" + + ")organizations/{organization}/sinks/{sin" + + "k}\022\035folders/{folder}/sinks/{sink}\022.billi" + + "ngAccounts/{billing_account}/sinks/{sink" + + "}B\t\n\007options\"+\n\017BigQueryDataset\022\030\n\ndatas" + + "et_id\030\001 \001(\tB\004\342A\001\003\"\267\004\n\004Link\022\014\n\004name\030\001 \001(\t" + + "\022\023\n\013description\030\002 \001(\t\0225\n\013create_time\030\003 \001" + + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022@\n\017" + + "lifecycle_state\030\004 \001(\0162!.google.logging.v" + + "2.LifecycleStateB\004\342A\001\003\022<\n\020bigquery_datas" + + "et\030\005 \001(\0132\".google.logging.v2.BigQueryDat" + + "aset:\324\002\352A\320\002\n\033logging.googleapis.com/Link" + + "\022Eprojects/{project}/locations/{location" + + "}/buckets/{bucket}/links/{link}\022Oorganiz" + + "ations/{organization}/locations/{locatio" + + "n}/buckets/{bucket}/links/{link}\022Cfolder" + + "s/{folder}/locations/{location}/buckets/" + + "{bucket}/links/{link}\022TbillingAccounts/{" + + "billing_account}/locations/{location}/bu" + + "ckets/{bucket}/links/{link}\"i\n\017BigQueryO" + + "ptions\022$\n\026use_partitioned_tables\030\001 \001(\010B\004" + + "\342A\001\001\0220\n\"uses_timestamp_column_partitioni" + + "ng\030\003 \001(\010B\004\342A\001\003\"\202\001\n\022ListBucketsRequest\0229\n" + + "\006parent\030\001 \001(\tB)\342A\001\002\372A\"\022 logging.googleap" + + "is.com/LogBucket\022\030\n\npage_token\030\002 \001(\tB\004\342A" + + "\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\"]\n\023ListBucke" + + "tsResponse\022-\n\007buckets\030\001 \003(\0132\034.google.log" + + "ging.v2.LogBucket\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\235\001\n\023CreateBucketRequest\0229\n\006parent\030\001 \001" + + "(\tB)\342A\001\002\372A\"\022 logging.googleapis.com/LogB" + + "ucket\022\027\n\tbucket_id\030\002 \001(\tB\004\342A\001\002\0222\n\006bucket" + + "\030\003 \001(\0132\034.google.logging.v2.LogBucketB\004\342A" + + "\001\002\"\271\001\n\023UpdateBucketRequest\0227\n\004name\030\001 \001(\t" + + "B)\342A\001\002\372A\"\n logging.googleapis.com/LogBuc" + + "ket\0222\n\006bucket\030\002 \001(\0132\034.google.logging.v2." + + "LogBucketB\004\342A\001\002\0225\n\013update_mask\030\004 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\004\342A\001\002\"K\n\020GetBuc" + + "ketRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n loggi" + + "ng.googleapis.com/LogBucket\"N\n\023DeleteBuc" + + "ketRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n loggi" + + "ng.googleapis.com/LogBucket\"P\n\025UndeleteB" + + "ucketRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n log" + + "ging.googleapis.com/LogBucket\"[\n\020ListVie" + + "wsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\030\n\npage_" + + "token\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A" + + "\001\001\"W\n\021ListViewsResponse\022)\n\005views\030\001 \003(\0132\032" + + ".google.logging.v2.LogView\022\027\n\017next_page_" + + "token\030\002 \001(\t\"p\n\021CreateViewRequest\022\024\n\006pare" + + "nt\030\001 \001(\tB\004\342A\001\002\022\025\n\007view_id\030\002 \001(\tB\004\342A\001\002\022.\n" + + "\004view\030\003 \001(\0132\032.google.logging.v2.LogViewB" + + "\004\342A\001\002\"\216\001\n\021UpdateViewRequest\022\022\n\004name\030\001 \001(" + + "\tB\004\342A\001\002\022.\n\004view\030\002 \001(\0132\032.google.logging.v" + + "2.LogViewB\004\342A\001\002\0225\n\013update_mask\030\004 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\004\342A\001\001\"G\n\016GetVie" + + "wRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036logging" + + ".googleapis.com/LogView\"J\n\021DeleteViewReq" + + "uest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036logging.goo" + + "gleapis.com/LogView\"~\n\020ListSinksRequest\022" + + "7\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036logging.google" + + "apis.com/LogSink\022\030\n\npage_token\030\002 \001(\tB\004\342A" + + "\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\"W\n\021ListSinks" + + "Response\022)\n\005sinks\030\001 \003(\0132\032.google.logging" + + ".v2.LogSink\022\027\n\017next_page_token\030\002 \001(\t\"L\n\016" + + "GetSinkRequest\022:\n\tsink_name\030\001 \001(\tB\'\342A\001\002\372" + + "A \n\036logging.googleapis.com/LogSink\"\242\001\n\021C" + + "reateSinkRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" + + " \022\036logging.googleapis.com/LogSink\022.\n\004sin" + + "k\030\002 \001(\0132\032.google.logging.v2.LogSinkB\004\342A\001" + + "\002\022$\n\026unique_writer_identity\030\003 \001(\010B\004\342A\001\001\"" + + "\334\001\n\021UpdateSinkRequest\022:\n\tsink_name\030\001 \001(\t" + + "B\'\342A\001\002\372A \n\036logging.googleapis.com/LogSin" + + "k\022.\n\004sink\030\002 \001(\0132\032.google.logging.v2.LogS" + + "inkB\004\342A\001\002\022$\n\026unique_writer_identity\030\003 \001(" + + "\010B\004\342A\001\001\0225\n\013update_mask\030\004 \001(\0132\032.google.pr" + + "otobuf.FieldMaskB\004\342A\001\001\"O\n\021DeleteSinkRequ" + + "est\022:\n\tsink_name\030\001 \001(\tB\'\342A\001\002\372A \n\036logging" + + ".googleapis.com/LogSink\"\215\001\n\021CreateLinkRe" + + "quest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033logging." + + "googleapis.com/Link\022+\n\004link\030\002 \001(\0132\027.goog" + + "le.logging.v2.LinkB\004\342A\001\002\022\025\n\007link_id\030\003 \001(" + + "\tB\004\342A\001\002\"G\n\021DeleteLinkRequest\0222\n\004name\030\001 \001" + + "(\tB$\342A\001\002\372A\035\n\033logging.googleapis.com/Link" + + "\"{\n\020ListLinksRequest\0224\n\006parent\030\001 \001(\tB$\342A" + + "\001\002\372A\035\022\033logging.googleapis.com/Link\022\030\n\npa" + + "ge_token\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B" + + "\004\342A\001\001\"T\n\021ListLinksResponse\022&\n\005links\030\001 \003(" + + "\0132\027.google.logging.v2.Link\022\027\n\017next_page_" + + "token\030\002 \001(\t\"D\n\016GetLinkRequest\0222\n\004name\030\001 " + + "\001(\tB$\342A\001\002\372A\035\n\033logging.googleapis.com/Lin" + + "k\"\310\003\n\014LogExclusion\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022\031" + + "\n\013description\030\002 \001(\tB\004\342A\001\001\022\024\n\006filter\030\003 \001(" + + "\tB\004\342A\001\002\022\026\n\010disabled\030\004 \001(\010B\004\342A\001\001\0225\n\013creat" + + "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp" + + "B\004\342A\001\003\0225\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.TimestampB\004\342A\001\003:\354\001\352A\350\001\n#logging.go" + + "ogleapis.com/LogExclusion\022)projects/{pro" + + "ject}/exclusions/{exclusion}\0223organizati" + + "ons/{organization}/exclusions/{exclusion" + + "}\022\'folders/{folder}/exclusions/{exclusio" + + "n}\0228billingAccounts/{billing_account}/ex" + + "clusions/{exclusion}\"\210\001\n\025ListExclusionsR" + + "equest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#logging" + + ".googleapis.com/LogExclusion\022\030\n\npage_tok" + + "en\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\"" + + "f\n\026ListExclusionsResponse\0223\n\nexclusions\030" + + "\001 \003(\0132\037.google.logging.v2.LogExclusion\022\027" + + "\n\017next_page_token\030\002 \001(\t\"Q\n\023GetExclusionR" + + "equest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#logging.g" + + "oogleapis.com/LogExclusion\"\220\001\n\026CreateExc" + + "lusionRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#" + + "logging.googleapis.com/LogExclusion\0228\n\te" + "xclusion\030\002 \001(\0132\037.google.logging.v2.LogEx" - + "clusionB\003\340A\002\"\302\001\n\026UpdateExclusionRequest\022" - + "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#logging.googleapi" - + "s.com/LogExclusion\0227\n\texclusion\030\002 \001(\0132\037." - + "google.logging.v2.LogExclusionB\003\340A\002\0224\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "MaskB\003\340A\002\"S\n\026DeleteExclusionRequest\0229\n\004n" - + "ame\030\001 \001(\tB+\340A\002\372A%\n#logging.googleapis.co" - + "m/LogExclusion\"S\n\026GetCmekSettingsRequest" - + "\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#logging.googleap" - + "is.com/CmekSettings\"\241\001\n\031UpdateCmekSettin" - + "gsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\rcmek_set" - + "tings\030\002 \001(\0132\037.google.logging.v2.CmekSett" - + "ingsB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.google." - + "protobuf.FieldMaskB\003\340A\001\"\275\002\n\014CmekSettings" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014kms_key_name\030\002 \001(" - + "\t\022\034\n\024kms_key_version_name\030\004 \001(\t\022\037\n\022servi" - + "ce_account_id\030\003 \001(\tB\003\340A\003:\304\001\352A\300\001\n#logging" - + ".googleapis.com/CmekSettings\022\037projects/{" - + "project}/cmekSettings\022)organizations/{or" - + "ganization}/cmekSettings\022\035folders/{folde" - + "r}/cmekSettings\022.billingAccounts/{billin" - + "g_account}/cmekSettings\"K\n\022GetSettingsRe" - + "quest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037logging.goo" - + "gleapis.com/Settings\"\224\001\n\025UpdateSettingsR" - + "equest\022\021\n\004name\030\001 \001(\tB\003\340A\002\0222\n\010settings\030\002 " - + "\001(\0132\033.google.logging.v2.SettingsB\003\340A\002\0224\n" - + "\013update_mask\030\003 \001(\0132\032.google.protobuf.Fie" - + "ldMaskB\003\340A\001\"\322\002\n\010Settings\022\021\n\004name\030\001 \001(\tB\003" - + "\340A\003\022\031\n\014kms_key_name\030\002 \001(\tB\003\340A\001\022#\n\026kms_se" - + "rvice_account_id\030\003 \001(\tB\003\340A\003\022\035\n\020storage_l" - + "ocation\030\004 \001(\tB\003\340A\001\022!\n\024disable_default_si" - + "nk\030\005 \001(\010B\003\340A\001:\260\001\352A\254\001\n\037logging.googleapis" - + ".com/Settings\022\033projects/{project}/settin" - + "gs\022%organizations/{organization}/setting" - + "s\022\031folders/{folder}/settings\022*billingAcc" - + "ounts/{billing_account}/settings\"Y\n\025Copy" - + "LogEntriesRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\006" - + "filter\030\003 \001(\tB\003\340A\001\022\030\n\013destination\030\004 \001(\tB\003" - + "\340A\002\"\256\002\n\026CopyLogEntriesMetadata\022.\n\nstart_" - + "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022," - + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" - + "tamp\0220\n\005state\030\003 \001(\0162!.google.logging.v2." - + "OperationState\022\036\n\026cancellation_requested" - + "\030\004 \001(\010\0229\n\007request\030\005 \001(\0132(.google.logging" - + ".v2.CopyLogEntriesRequest\022\020\n\010progress\030\006 " - + "\001(\005\022\027\n\017writer_identity\030\007 \001(\t\":\n\026CopyLogE" - + "ntriesResponse\022 \n\030log_entries_copied_cou" - + "nt\030\001 \001(\003\"\275\002\n\016BucketMetadata\022.\n\nstart_tim" - + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" - + "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" - + "p\0220\n\005state\030\003 \001(\0162!.google.logging.v2.Ope" - + "rationState\022G\n\025create_bucket_request\030\004 \001" - + "(\0132&.google.logging.v2.CreateBucketReque" - + "stH\000\022G\n\025update_bucket_request\030\005 \001(\0132&.go" - + "ogle.logging.v2.UpdateBucketRequestH\000B\t\n" - + "\007request\"\263\002\n\014LinkMetadata\022.\n\nstart_time\030" - + "\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" - + "_time\030\002 \001(\0132\032.google.protobuf.Timestamp\022" - + "0\n\005state\030\003 \001(\0162!.google.logging.v2.Opera" - + "tionState\022C\n\023create_link_request\030\004 \001(\0132$" - + ".google.logging.v2.CreateLinkRequestH\000\022C" - + "\n\023delete_link_request\030\005 \001(\0132$.google.log" - + "ging.v2.DeleteLinkRequestH\000B\t\n\007request\"1" - + "\n\020LocationMetadata\022\035\n\025log_analytics_enab" - + "led\030\001 \001(\010*\364\001\n\016OperationState\022\037\n\033OPERATIO" - + "N_STATE_UNSPECIFIED\020\000\022\035\n\031OPERATION_STATE" - + "_SCHEDULED\020\001\022+\n\'OPERATION_STATE_WAITING_" - + "FOR_PERMISSIONS\020\002\022\033\n\027OPERATION_STATE_RUN" - + "NING\020\003\022\035\n\031OPERATION_STATE_SUCCEEDED\020\004\022\032\n" - + "\026OPERATION_STATE_FAILED\020\005\022\035\n\031OPERATION_S" - + "TATE_CANCELLED\020\006*{\n\016LifecycleState\022\037\n\033LI" - + "FECYCLE_STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022" - + "\024\n\020DELETE_REQUESTED\020\002\022\014\n\010UPDATING\020\003\022\014\n\010C" - + "REATING\020\004\022\n\n\006FAILED\020\005*V\n\tIndexType\022\032\n\026IN" - + "DEX_TYPE_UNSPECIFIED\020\000\022\025\n\021INDEX_TYPE_STR" - + "ING\020\001\022\026\n\022INDEX_TYPE_INTEGER\020\0022\237Y\n\017Config" - + "ServiceV2\022\334\002\n\013ListBuckets\022%.google.loggi" - + "ng.v2.ListBucketsRequest\032&.google.loggin" - + "g.v2.ListBucketsResponse\"\375\001\202\323\344\223\002\355\001\022$/v2/" - + "{parent=*/*/locations/*}/bucketsZ-\022+/v2/" - + "{parent=projects/*/locations/*}/bucketsZ" - + "2\0220/v2/{parent=organizations/*/locations" - + "/*}/bucketsZ,\022*/v2/{parent=folders/*/loc" - + "ations/*}/bucketsZ4\0222/v2/{parent=billing" - + "Accounts/*/locations/*}/buckets\332A\006parent" - + "\022\305\002\n\tGetBucket\022#.google.logging.v2.GetBu" - + "cketRequest\032\034.google.logging.v2.LogBucke" - + "t\"\364\001\202\323\344\223\002\355\001\022$/v2/{name=*/*/locations/*/b" - + "uckets/*}Z-\022+/v2/{name=projects/*/locati" - + "ons/*/buckets/*}Z2\0220/v2/{name=organizati" - + "ons/*/locations/*/buckets/*}Z,\022*/v2/{nam" - + "e=folders/*/locations/*/buckets/*}Z4\0222/v" - + "2/{name=billingAccounts/*/locations/*/bu" - + "ckets/*}\022\323\003\n\021CreateBucketAsync\022&.google." - + "logging.v2.CreateBucketRequest\032\035.google." - + "longrunning.Operation\"\366\002\202\323\344\223\002\321\002\"0/v2/{pa" - + "rent=*/*/locations/*}/buckets:createAsyn" - + "c:\006bucketZA\"7/v2/{parent=projects/*/loca" - + "tions/*}/buckets:createAsync:\006bucketZF\"<" - + "/v2/{parent=organizations/*/locations/*}" - + "/buckets:createAsync:\006bucketZ@\"6/v2/{par" - + "ent=folders/*/locations/*}/buckets:creat" - + "eAsync:\006bucketZH\">/v2/{parent=billingAcc" - + "ounts/*/locations/*}/buckets:createAsync" - + ":\006bucket\312A\033\n\tLogBucket\022\016BucketMetadata\022\323" - + "\003\n\021UpdateBucketAsync\022&.google.logging.v2" - + ".UpdateBucketRequest\032\035.google.longrunnin" - + "g.Operation\"\366\002\202\323\344\223\002\321\002\"0/v2/{name=*/*/loc" + + "clusionB\004\342A\001\002\"\305\001\n\026UpdateExclusionRequest" + + "\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#logging.googlea" + + "pis.com/LogExclusion\0228\n\texclusion\030\002 \001(\0132" + + "\037.google.logging.v2.LogExclusionB\004\342A\001\002\0225" + + "\n\013update_mask\030\003 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\004\342A\001\002\"T\n\026DeleteExclusionRequest\022" + + ":\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#logging.googleap" + + "is.com/LogExclusion\"T\n\026GetCmekSettingsRe" + + "quest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#logging.go" + + "ogleapis.com/CmekSettings\"\244\001\n\031UpdateCmek" + + "SettingsRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022<\n\rc" + + "mek_settings\030\002 \001(\0132\037.google.logging.v2.C" + + "mekSettingsB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032" + + ".google.protobuf.FieldMaskB\004\342A\001\001\"\277\002\n\014Cme" + + "kSettings\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014kms_key" + + "_name\030\002 \001(\t\022\034\n\024kms_key_version_name\030\004 \001(" + + "\t\022 \n\022service_account_id\030\003 \001(\tB\004\342A\001\003:\304\001\352A" + + "\300\001\n#logging.googleapis.com/CmekSettings\022" + + "\037projects/{project}/cmekSettings\022)organi" + + "zations/{organization}/cmekSettings\022\035fol" + + "ders/{folder}/cmekSettings\022.billingAccou" + + "nts/{billing_account}/cmekSettings\"L\n\022Ge" + + "tSettingsRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n" + + "\037logging.googleapis.com/Settings\"\227\001\n\025Upd" + + "ateSettingsRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\0223" + + "\n\010settings\030\002 \001(\0132\033.google.logging.v2.Set" + + "tingsB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\004\342A\001\001\"\327\002\n\010Settings\022" + + "\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014kms_key_name\030\002 \001(" + + "\tB\004\342A\001\001\022$\n\026kms_service_account_id\030\003 \001(\tB" + + "\004\342A\001\003\022\036\n\020storage_location\030\004 \001(\tB\004\342A\001\001\022\"\n" + + "\024disable_default_sink\030\005 \001(\010B\004\342A\001\001:\260\001\352A\254\001" + + "\n\037logging.googleapis.com/Settings\022\033proje" + + "cts/{project}/settings\022%organizations/{o" + + "rganization}/settings\022\031folders/{folder}/" + + "settings\022*billingAccounts/{billing_accou" + + "nt}/settings\"\\\n\025CopyLogEntriesRequest\022\022\n" + + "\004name\030\001 \001(\tB\004\342A\001\002\022\024\n\006filter\030\003 \001(\tB\004\342A\001\001\022" + + "\031\n\013destination\030\004 \001(\tB\004\342A\001\002\"\256\002\n\026CopyLogEn" + + "triesMetadata\022.\n\nstart_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132" + + "\032.google.protobuf.Timestamp\0220\n\005state\030\003 \001" + + "(\0162!.google.logging.v2.OperationState\022\036\n" + + "\026cancellation_requested\030\004 \001(\010\0229\n\007request" + + "\030\005 \001(\0132(.google.logging.v2.CopyLogEntrie" + + "sRequest\022\020\n\010progress\030\006 \001(\005\022\027\n\017writer_ide" + + "ntity\030\007 \001(\t\":\n\026CopyLogEntriesResponse\022 \n" + + "\030log_entries_copied_count\030\001 \001(\003\"\275\002\n\016Buck" + + "etMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google." + + "protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\0220\n\005state\030\003 \001(\0162" + + "!.google.logging.v2.OperationState\022G\n\025cr" + + "eate_bucket_request\030\004 \001(\0132&.google.loggi" + + "ng.v2.CreateBucketRequestH\000\022G\n\025update_bu" + + "cket_request\030\005 \001(\0132&.google.logging.v2.U" + + "pdateBucketRequestH\000B\t\n\007request\"\263\002\n\014Link" + + "Metadata\022.\n\nstart_time\030\001 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\0220\n\005state\030\003 \001(\0162!." + + "google.logging.v2.OperationState\022C\n\023crea" + + "te_link_request\030\004 \001(\0132$.google.logging.v" + + "2.CreateLinkRequestH\000\022C\n\023delete_link_req" + + "uest\030\005 \001(\0132$.google.logging.v2.DeleteLin" + + "kRequestH\000B\t\n\007request\"1\n\020LocationMetadat" + + "a\022\035\n\025log_analytics_enabled\030\001 \001(\010*\364\001\n\016Ope" + + "rationState\022\037\n\033OPERATION_STATE_UNSPECIFI" + + "ED\020\000\022\035\n\031OPERATION_STATE_SCHEDULED\020\001\022+\n\'O" + + "PERATION_STATE_WAITING_FOR_PERMISSIONS\020\002" + + "\022\033\n\027OPERATION_STATE_RUNNING\020\003\022\035\n\031OPERATI" + + "ON_STATE_SUCCEEDED\020\004\022\032\n\026OPERATION_STATE_" + + "FAILED\020\005\022\035\n\031OPERATION_STATE_CANCELLED\020\006*" + + "{\n\016LifecycleState\022\037\n\033LIFECYCLE_STATE_UNS" + + "PECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\024\n\020DELETE_REQUEST" + + "ED\020\002\022\014\n\010UPDATING\020\003\022\014\n\010CREATING\020\004\022\n\n\006FAIL" + + "ED\020\005*V\n\tIndexType\022\032\n\026INDEX_TYPE_UNSPECIF" + + "IED\020\000\022\025\n\021INDEX_TYPE_STRING\020\001\022\026\n\022INDEX_TY" + + "PE_INTEGER\020\0022\237Y\n\017ConfigServiceV2\022\334\002\n\013Lis" + + "tBuckets\022%.google.logging.v2.ListBuckets" + + "Request\032&.google.logging.v2.ListBucketsR" + + "esponse\"\375\001\332A\006parent\202\323\344\223\002\355\001\022$/v2/{parent=" + + "*/*/locations/*}/bucketsZ-\022+/v2/{parent=" + + "projects/*/locations/*}/bucketsZ2\0220/v2/{" + + "parent=organizations/*/locations/*}/buck" + + "etsZ,\022*/v2/{parent=folders/*/locations/*" + + "}/bucketsZ4\0222/v2/{parent=billingAccounts" + + "/*/locations/*}/buckets\022\305\002\n\tGetBucket\022#." + + "google.logging.v2.GetBucketRequest\032\034.goo" + + "gle.logging.v2.LogBucket\"\364\001\202\323\344\223\002\355\001\022$/v2/" + + "{name=*/*/locations/*/buckets/*}Z-\022+/v2/" + + "{name=projects/*/locations/*/buckets/*}Z" + + "2\0220/v2/{name=organizations/*/locations/*" + + "/buckets/*}Z,\022*/v2/{name=folders/*/locat" + + "ions/*/buckets/*}Z4\0222/v2/{name=billingAc" + + "counts/*/locations/*/buckets/*}\022\323\003\n\021Crea" + + "teBucketAsync\022&.google.logging.v2.Create" + + "BucketRequest\032\035.google.longrunning.Opera" + + "tion\"\366\002\312A\033\n\tLogBucket\022\016BucketMetadata\202\323\344" + + "\223\002\321\002\"0/v2/{parent=*/*/locations/*}/bucke" + + "ts:createAsync:\006bucketZA\"7/v2/{parent=pr" + + "ojects/*/locations/*}/buckets:createAsyn" + + "c:\006bucketZF\"/v2/{pare" + + "nt=billingAccounts/*/locations/*}/bucket" + + "s:createAsync:\006bucket\022\323\003\n\021UpdateBucketAs" + + "ync\022&.google.logging.v2.UpdateBucketRequ" + + "est\032\035.google.longrunning.Operation\"\366\002\312A\033" + + "\n\tLogBucket\022\016BucketMetadata\202\323\344\223\002\321\002\"0/v2/" + + "{name=*/*/locations/*/buckets/*}:updateA" + + "sync:\006bucketZA\"7/v2/{name=projects/*/loc" + "ations/*/buckets/*}:updateAsync:\006bucketZ" - + "A\"7/v2/{name=projects/*/locations/*/buck" - + "ets/*}:updateAsync:\006bucketZF\"/v2/{name=billingAccounts/*/loca" - + "tions/*/buckets/*}:updateAsync:\006bucket\312A" - + "\033\n\tLogBucket\022\016BucketMetadata\022\363\002\n\014CreateB" - + "ucket\022&.google.logging.v2.CreateBucketRe" - + "quest\032\034.google.logging.v2.LogBucket\"\234\002\202\323" - + "\344\223\002\225\002\"$/v2/{parent=*/*/locations/*}/buck" - + "ets:\006bucketZ5\"+/v2/{parent=projects/*/lo" - + "cations/*}/buckets:\006bucketZ:\"0/v2/{paren" - + "t=organizations/*/locations/*}/buckets:\006" - + "bucketZ4\"*/v2/{parent=folders/*/location" - + "s/*}/buckets:\006bucketZ<\"2/v2/{parent=bill" - + "ingAccounts/*/locations/*}/buckets:\006buck" - + "et\022\363\002\n\014UpdateBucket\022&.google.logging.v2." - + "UpdateBucketRequest\032\034.google.logging.v2." - + "LogBucket\"\234\002\202\323\344\223\002\225\0022$/v2/{name=*/*/locat" - + "ions/*/buckets/*}:\006bucketZ52+/v2/{name=p" - + "rojects/*/locations/*/buckets/*}:\006bucket" - + "Z:20/v2/{name=organizations/*/locations/" - + "*/buckets/*}:\006bucketZ42*/v2/{name=folder" - + "s/*/locations/*/buckets/*}:\006bucketZ<22/v" + + "F\"/v2/{name=billingAc" + + "counts/*/locations/*/buckets/*}:updateAs" + + "ync:\006bucket\022\363\002\n\014CreateBucket\022&.google.lo" + + "gging.v2.CreateBucketRequest\032\034.google.lo" + + "gging.v2.LogBucket\"\234\002\202\323\344\223\002\225\002\"$/v2/{paren" + + "t=*/*/locations/*}/buckets:\006bucketZ5\"+/v" + + "2/{parent=projects/*/locations/*}/bucket" + + "s:\006bucketZ:\"0/v2/{parent=organizations/*" + + "/locations/*}/buckets:\006bucketZ4\"*/v2/{pa" + + "rent=folders/*/locations/*}/buckets:\006buc" + + "ketZ<\"2/v2/{parent=billingAccounts/*/loc" + + "ations/*}/buckets:\006bucket\022\363\002\n\014UpdateBuck" + + "et\022&.google.logging.v2.UpdateBucketReque" + + "st\032\034.google.logging.v2.LogBucket\"\234\002\202\323\344\223\002" + + "\225\0022$/v2/{name=*/*/locations/*/buckets/*}" + + ":\006bucketZ52+/v2/{name=projects/*/locatio" + + "ns/*/buckets/*}:\006bucketZ:20/v2/{name=org" + + "anizations/*/locations/*/buckets/*}:\006buc" + + "ketZ42*/v2/{name=folders/*/locations/*/b" + + "uckets/*}:\006bucketZ<22/v2/{name=billingAc" + + "counts/*/locations/*/buckets/*}:\006bucket\022" + + "\305\002\n\014DeleteBucket\022&.google.logging.v2.Del" + + "eteBucketRequest\032\026.google.protobuf.Empty" + + "\"\364\001\202\323\344\223\002\355\001*$/v2/{name=*/*/locations/*/bu" + + "ckets/*}Z-*+/v2/{name=projects/*/locatio" + + "ns/*/buckets/*}Z2*0/v2/{name=organizatio" + + "ns/*/locations/*/buckets/*}Z,**/v2/{name" + + "=folders/*/locations/*/buckets/*}Z4*2/v2" + + "/{name=billingAccounts/*/locations/*/buc" + + "kets/*}\022\205\003\n\016UndeleteBucket\022(.google.logg" + + "ing.v2.UndeleteBucketRequest\032\026.google.pr" + + "otobuf.Empty\"\260\002\202\323\344\223\002\251\002\"-/v2/{name=*/*/lo" + + "cations/*/buckets/*}:undelete:\001*Z9\"4/v2/" + + "{name=projects/*/locations/*/buckets/*}:" + + "undelete:\001*Z>\"9/v2/{name=organizations/*" + + "/locations/*/buckets/*}:undelete:\001*Z8\"3/" + + "v2/{name=folders/*/locations/*/buckets/*" + + "}:undelete:\001*Z@\";/v2/{name=billingAccoun" + + "ts/*/locations/*/buckets/*}:undelete:\001*\022" + + "\376\002\n\tListViews\022#.google.logging.v2.ListVi" + + "ewsRequest\032$.google.logging.v2.ListViews" + + "Response\"\245\002\332A\006parent\202\323\344\223\002\225\002\022,/v2/{parent" + + "=*/*/locations/*/buckets/*}/viewsZ5\0223/v2" + + "/{parent=projects/*/locations/*/buckets/" + + "*}/viewsZ:\0228/v2/{parent=organizations/*/" + + "locations/*/buckets/*}/viewsZ4\0222/v2/{par" + + "ent=folders/*/locations/*/buckets/*}/vie" + + "wsZ<\022:/v2/{parent=billingAccounts/*/loca" + + "tions/*/buckets/*}/views\022\347\002\n\007GetView\022!.g" + + "oogle.logging.v2.GetViewRequest\032\032.google" + + ".logging.v2.LogView\"\234\002\202\323\344\223\002\225\002\022,/v2/{name" + + "=*/*/locations/*/buckets/*/views/*}Z5\0223/" + + "v2/{name=projects/*/locations/*/buckets/" + + "*/views/*}Z:\0228/v2/{name=organizations/*/" + + "locations/*/buckets/*/views/*}Z4\0222/v2/{n" + + "ame=folders/*/locations/*/buckets/*/view" + + "s/*}Z<\022:/v2/{name=billingAccounts/*/loca" + + "tions/*/buckets/*/views/*}\022\213\003\n\nCreateVie" + + "w\022$.google.logging.v2.CreateViewRequest\032" + + "\032.google.logging.v2.LogView\"\272\002\202\323\344\223\002\263\002\",/" + + "v2/{parent=*/*/locations/*/buckets/*}/vi" + + "ews:\004viewZ;\"3/v2/{parent=projects/*/loca" + + "tions/*/buckets/*}/views:\004viewZ@\"8/v2/{p" + + "arent=organizations/*/locations/*/bucket" + + "s/*}/views:\004viewZ:\"2/v2/{parent=folders/" + + "*/locations/*/buckets/*}/views:\004viewZB\":" + + "/v2/{parent=billingAccounts/*/locations/" + + "*/buckets/*}/views:\004view\022\213\003\n\nUpdateView\022" + + "$.google.logging.v2.UpdateViewRequest\032\032." + + "google.logging.v2.LogView\"\272\002\202\323\344\223\002\263\0022,/v2" + + "/{name=*/*/locations/*/buckets/*/views/*" + + "}:\004viewZ;23/v2/{name=projects/*/location" + + "s/*/buckets/*/views/*}:\004viewZ@28/v2/{nam" + + "e=organizations/*/locations/*/buckets/*/" + + "views/*}:\004viewZ:22/v2/{name=folders/*/lo" + + "cations/*/buckets/*/views/*}:\004viewZB2:/v" + "2/{name=billingAccounts/*/locations/*/bu" - + "ckets/*}:\006bucket\022\305\002\n\014DeleteBucket\022&.goog" - + "le.logging.v2.DeleteBucketRequest\032\026.goog" - + "le.protobuf.Empty\"\364\001\202\323\344\223\002\355\001*$/v2/{name=*" - + "/*/locations/*/buckets/*}Z-*+/v2/{name=p" - + "rojects/*/locations/*/buckets/*}Z2*0/v2/" - + "{name=organizations/*/locations/*/bucket" - + "s/*}Z,**/v2/{name=folders/*/locations/*/" - + "buckets/*}Z4*2/v2/{name=billingAccounts/" - + "*/locations/*/buckets/*}\022\205\003\n\016UndeleteBuc" - + "ket\022(.google.logging.v2.UndeleteBucketRe" - + "quest\032\026.google.protobuf.Empty\"\260\002\202\323\344\223\002\251\002\"" - + "-/v2/{name=*/*/locations/*/buckets/*}:un" - + "delete:\001*Z9\"4/v2/{name=projects/*/locati" - + "ons/*/buckets/*}:undelete:\001*Z>\"9/v2/{nam" - + "e=organizations/*/locations/*/buckets/*}" - + ":undelete:\001*Z8\"3/v2/{name=folders/*/loca" - + "tions/*/buckets/*}:undelete:\001*Z@\";/v2/{n" - + "ame=billingAccounts/*/locations/*/bucket" - + "s/*}:undelete:\001*\022\376\002\n\tListViews\022#.google." - + "logging.v2.ListViewsRequest\032$.google.log" - + "ging.v2.ListViewsResponse\"\245\002\202\323\344\223\002\225\002\022,/v2" - + "/{parent=*/*/locations/*/buckets/*}/view" - + "sZ5\0223/v2/{parent=projects/*/locations/*/" - + "buckets/*}/viewsZ:\0228/v2/{parent=organiza" - + "tions/*/locations/*/buckets/*}/viewsZ4\0222" - + "/v2/{parent=folders/*/locations/*/bucket" - + "s/*}/viewsZ<\022:/v2/{parent=billingAccount" - + "s/*/locations/*/buckets/*}/views\332A\006paren" - + "t\022\347\002\n\007GetView\022!.google.logging.v2.GetVie" - + "wRequest\032\032.google.logging.v2.LogView\"\234\002\202" - + "\323\344\223\002\225\002\022,/v2/{name=*/*/locations/*/bucket" - + "s/*/views/*}Z5\0223/v2/{name=projects/*/loc" - + "ations/*/buckets/*/views/*}Z:\0228/v2/{name" - + "=organizations/*/locations/*/buckets/*/v" - + "iews/*}Z4\0222/v2/{name=folders/*/locations" - + "/*/buckets/*/views/*}Z<\022:/v2/{name=billi" - + "ngAccounts/*/locations/*/buckets/*/views" - + "/*}\022\213\003\n\nCreateView\022$.google.logging.v2.C" - + "reateViewRequest\032\032.google.logging.v2.Log" - + "View\"\272\002\202\323\344\223\002\263\002\",/v2/{parent=*/*/location" - + "s/*/buckets/*}/views:\004viewZ;\"3/v2/{paren" - + "t=projects/*/locations/*/buckets/*}/view" - + "s:\004viewZ@\"8/v2/{parent=organizations/*/l" - + "ocations/*/buckets/*}/views:\004viewZ:\"2/v2" - + "/{parent=folders/*/locations/*/buckets/*" - + "}/views:\004viewZB\":/v2/{parent=billingAcco" - + "unts/*/locations/*/buckets/*}/views:\004vie" - + "w\022\213\003\n\nUpdateView\022$.google.logging.v2.Upd" - + "ateViewRequest\032\032.google.logging.v2.LogVi" - + "ew\"\272\002\202\323\344\223\002\263\0022,/v2/{name=*/*/locations/*/" - + "buckets/*/views/*}:\004viewZ;23/v2/{name=pr" - + "ojects/*/locations/*/buckets/*/views/*}:" - + "\004viewZ@28/v2/{name=organizations/*/locat" - + "ions/*/buckets/*/views/*}:\004viewZ:22/v2/{" - + "name=folders/*/locations/*/buckets/*/vie" - + "ws/*}:\004viewZB2:/v2/{name=billingAccounts" - + "/*/locations/*/buckets/*/views/*}:\004view\022" - + "\351\002\n\nDeleteView\022$.google.logging.v2.Delet" - + "eViewRequest\032\026.google.protobuf.Empty\"\234\002\202" - + "\323\344\223\002\225\002*,/v2/{name=*/*/locations/*/bucket" - + "s/*/views/*}Z5*3/v2/{name=projects/*/loc" - + "ations/*/buckets/*/views/*}Z:*8/v2/{name" - + "=organizations/*/locations/*/buckets/*/v" - + "iews/*}Z4*2/v2/{name=folders/*/locations" - + "/*/buckets/*/views/*}Z<*:/v2/{name=billi" - + "ngAccounts/*/locations/*/buckets/*/views" - + "/*}\022\220\002\n\tListSinks\022#.google.logging.v2.Li" - + "stSinksRequest\032$.google.logging.v2.ListS" - + "inksResponse\"\267\001\202\323\344\223\002\247\001\022\026/v2/{parent=*/*}" - + "/sinksZ\037\022\035/v2/{parent=projects/*}/sinksZ" - + "$\022\"/v2/{parent=organizations/*}/sinksZ\036\022" - + "\034/v2/{parent=folders/*}/sinksZ&\022$/v2/{pa" - + "rent=billingAccounts/*}/sinks\332A\006parent\022\236" - + "\002\n\007GetSink\022!.google.logging.v2.GetSinkRe" - + "quest\032\032.google.logging.v2.LogSink\"\323\001\202\323\344\223" - + "\002\300\001\022\033/v2/{sink_name=*/*/sinks/*}Z$\022\"/v2/" - + "{sink_name=projects/*/sinks/*}Z)\022\'/v2/{s" - + "ink_name=organizations/*/sinks/*}Z#\022!/v2" - + "/{sink_name=folders/*/sinks/*}Z+\022)/v2/{s" - + "ink_name=billingAccounts/*/sinks/*}\332A\tsi" - + "nk_name\022\253\002\n\nCreateSink\022$.google.logging." - + "v2.CreateSinkRequest\032\032.google.logging.v2" - + ".LogSink\"\332\001\202\323\344\223\002\305\001\"\026/v2/{parent=*/*}/sin" - + "ks:\004sinkZ%\"\035/v2/{parent=projects/*}/sink" - + "s:\004sinkZ*\"\"/v2/{parent=organizations/*}/" - + "sinks:\004sinkZ$\"\034/v2/{parent=folders/*}/si" - + "nks:\004sinkZ,\"$/v2/{parent=billingAccounts" - + "/*}/sinks:\004sink\332A\013parent,sink\022\237\004\n\nUpdate" - + "Sink\022$.google.logging.v2.UpdateSinkReque" - + "st\032\032.google.logging.v2.LogSink\"\316\003\202\323\344\223\002\231\003" - + "\032\033/v2/{sink_name=*/*/sinks/*}:\004sinkZ*\032\"/" - + "v2/{sink_name=projects/*/sinks/*}:\004sinkZ" - + "/\032\'/v2/{sink_name=organizations/*/sinks/" - + "*}:\004sinkZ)\032!/v2/{sink_name=folders/*/sin" - + "ks/*}:\004sinkZ1\032)/v2/{sink_name=billingAcc" - + "ounts/*/sinks/*}:\004sinkZ*2\"/v2/{sink_name" - + "=projects/*/sinks/*}:\004sinkZ/2\'/v2/{sink_", - "name=organizations/*/sinks/*}:\004sinkZ)2!/" - + "v2/{sink_name=folders/*/sinks/*}:\004sinkZ1" - + "2)/v2/{sink_name=billingAccounts/*/sinks" - + "/*}:\004sink\332A\032sink_name,sink,update_mask\332A" - + "\016sink_name,sink\022\240\002\n\nDeleteSink\022$.google." - + "logging.v2.DeleteSinkRequest\032\026.google.pr" - + "otobuf.Empty\"\323\001\202\323\344\223\002\300\001*\033/v2/{sink_name=*" - + "/*/sinks/*}Z$*\"/v2/{sink_name=projects/*" - + "/sinks/*}Z)*\'/v2/{sink_name=organization" - + "s/*/sinks/*}Z#*!/v2/{sink_name=folders/*" - + "/sinks/*}Z+*)/v2/{sink_name=billingAccou" - + "nts/*/sinks/*}\332A\tsink_name\022\273\003\n\nCreateLin" - + "k\022$.google.logging.v2.CreateLinkRequest\032" - + "\035.google.longrunning.Operation\"\347\002\202\323\344\223\002\263\002" - + "\",/v2/{parent=*/*/locations/*/buckets/*}" - + "/links:\004linkZ;\"3/v2/{parent=projects/*/l" - + "ocations/*/buckets/*}/links:\004linkZ@\"8/v2" - + "/{parent=organizations/*/locations/*/buc" - + "kets/*}/links:\004linkZ:\"2/v2/{parent=folde" - + "rs/*/locations/*/buckets/*}/links:\004linkZ" - + "B\":/v2/{parent=billingAccounts/*/locatio" - + "ns/*/buckets/*}/links:\004link\332A\023parent,lin" - + "k,link_id\312A\024\n\004Link\022\014LinkMetadata\022\237\003\n\nDel" - + "eteLink\022$.google.logging.v2.DeleteLinkRe" - + "quest\032\035.google.longrunning.Operation\"\313\002\202" - + "\323\344\223\002\225\002*,/v2/{name=*/*/locations/*/bucket" - + "s/*/links/*}Z5*3/v2/{name=projects/*/loc" - + "ations/*/buckets/*/links/*}Z:*8/v2/{name" - + "=organizations/*/locations/*/buckets/*/l" - + "inks/*}Z4*2/v2/{name=folders/*/locations" - + "/*/buckets/*/links/*}Z<*:/v2/{name=billi" - + "ngAccounts/*/locations/*/buckets/*/links" - + "/*}\332A\004name\312A%\n\025google.protobuf.Empty\022\014Li" - + "nkMetadata\022\376\002\n\tListLinks\022#.google.loggin" - + "g.v2.ListLinksRequest\032$.google.logging.v" - + "2.ListLinksResponse\"\245\002\202\323\344\223\002\225\002\022,/v2/{pare" - + "nt=*/*/locations/*/buckets/*}/linksZ5\0223/" - + "v2/{parent=projects/*/locations/*/bucket" - + "s/*}/linksZ:\0228/v2/{parent=organizations/" - + "*/locations/*/buckets/*}/linksZ4\0222/v2/{p" - + "arent=folders/*/locations/*/buckets/*}/l" - + "inksZ<\022:/v2/{parent=billingAccounts/*/lo" - + "cations/*/buckets/*}/links\332A\006parent\022\353\002\n\007" - + "GetLink\022!.google.logging.v2.GetLinkReque" - + "st\032\027.google.logging.v2.Link\"\243\002\202\323\344\223\002\225\002\022,/" - + "v2/{name=*/*/locations/*/buckets/*/links" - + "/*}Z5\0223/v2/{name=projects/*/locations/*/" - + "buckets/*/links/*}Z:\0228/v2/{name=organiza" - + "tions/*/locations/*/buckets/*/links/*}Z4" - + "\0222/v2/{name=folders/*/locations/*/bucket" - + "s/*/links/*}Z<\022:/v2/{name=billingAccount" - + "s/*/locations/*/buckets/*/links/*}\332A\004nam" - + "e\022\270\002\n\016ListExclusions\022(.google.logging.v2" - + ".ListExclusionsRequest\032).google.logging." - + "v2.ListExclusionsResponse\"\320\001\202\323\344\223\002\300\001\022\033/v2" - + "/{parent=*/*}/exclusionsZ$\022\"/v2/{parent=" - + "projects/*}/exclusionsZ)\022\'/v2/{parent=or" - + "ganizations/*}/exclusionsZ#\022!/v2/{parent" - + "=folders/*}/exclusionsZ+\022)/v2/{parent=bi" - + "llingAccounts/*}/exclusions\332A\006parent\022\250\002\n" - + "\014GetExclusion\022&.google.logging.v2.GetExc" - + "lusionRequest\032\037.google.logging.v2.LogExc" - + "lusion\"\316\001\202\323\344\223\002\300\001\022\033/v2/{name=*/*/exclusio" - + "ns/*}Z$\022\"/v2/{name=projects/*/exclusions" - + "/*}Z)\022\'/v2/{name=organizations/*/exclusi" - + "ons/*}Z#\022!/v2/{name=folders/*/exclusions" - + "/*}Z+\022)/v2/{name=billingAccounts/*/exclu" - + "sions/*}\332A\004name\022\361\002\n\017CreateExclusion\022).go" - + "ogle.logging.v2.CreateExclusionRequest\032\037" - + ".google.logging.v2.LogExclusion\"\221\002\202\323\344\223\002\367" - + "\001\"\033/v2/{parent=*/*}/exclusions:\texclusio" - + "nZ/\"\"/v2/{parent=projects/*}/exclusions:" - + "\texclusionZ4\"\'/v2/{parent=organizations/" - + "*}/exclusions:\texclusionZ.\"!/v2/{parent=" - + "folders/*}/exclusions:\texclusionZ6\")/v2/" - + "{parent=billingAccounts/*}/exclusions:\te" - + "xclusion\332A\020parent,exclusion\022\373\002\n\017UpdateEx" - + "clusion\022).google.logging.v2.UpdateExclus" - + "ionRequest\032\037.google.logging.v2.LogExclus" - + "ion\"\233\002\202\323\344\223\002\367\0012\033/v2/{name=*/*/exclusions/" - + "*}:\texclusionZ/2\"/v2/{name=projects/*/ex" - + "clusions/*}:\texclusionZ42\'/v2/{name=orga" - + "nizations/*/exclusions/*}:\texclusionZ.2!" - + "/v2/{name=folders/*/exclusions/*}:\texclu" - + "sionZ62)/v2/{name=billingAccounts/*/excl" - + "usions/*}:\texclusion\332A\032name,exclusion,up" - + "date_mask\022\245\002\n\017DeleteExclusion\022).google.l" - + "ogging.v2.DeleteExclusionRequest\032\026.googl" - + "e.protobuf.Empty\"\316\001\202\323\344\223\002\300\001*\033/v2/{name=*/" - + "*/exclusions/*}Z$*\"/v2/{name=projects/*/" - + "exclusions/*}Z)*\'/v2/{name=organizations" - + "/*/exclusions/*}Z#*!/v2/{name=folders/*/" - + "exclusions/*}Z+*)/v2/{name=billingAccoun" - + "ts/*/exclusions/*}\332A\004name\022\247\002\n\017GetCmekSet" - + "tings\022).google.logging.v2.GetCmekSetting" - + "sRequest\032\037.google.logging.v2.CmekSetting" - + "s\"\307\001\202\323\344\223\002\300\001\022\033/v2/{name=*/*}/cmekSettings" - + "Z$\022\"/v2/{name=projects/*}/cmekSettingsZ)" - + "\022\'/v2/{name=organizations/*}/cmekSetting" - + "sZ#\022!/v2/{name=folders/*}/cmekSettingsZ+" - + "\022)/v2/{name=billingAccounts/*}/cmekSetti" - + "ngs\022\321\001\n\022UpdateCmekSettings\022,.google.logg" - + "ing.v2.UpdateCmekSettingsRequest\032\037.googl" - + "e.logging.v2.CmekSettings\"l\202\323\344\223\002f2\033/v2/{" - + "name=*/*}/cmekSettings:\rcmek_settingsZ82" - + "\'/v2/{name=organizations/*}/cmekSettings" - + ":\rcmek_settings\022\216\002\n\013GetSettings\022%.google" - + ".logging.v2.GetSettingsRequest\032\033.google." - + "logging.v2.Settings\"\272\001\202\323\344\223\002\254\001\022\027/v2/{name" - + "=*/*}/settingsZ \022\036/v2/{name=projects/*}/" - + "settingsZ%\022#/v2/{name=organizations/*}/s" - + "ettingsZ\037\022\035/v2/{name=folders/*}/settings" - + "Z\'\022%/v2/{name=billingAccounts/*}/setting" - + "s\332A\004name\022\366\001\n\016UpdateSettings\022(.google.log" - + "ging.v2.UpdateSettingsRequest\032\033.google.l" - + "ogging.v2.Settings\"\234\001\202\323\344\223\002\1772\027/v2/{name=*" - + "/*}/settings:\010settingsZ/2#/v2/{name=orga" - + "nizations/*}/settings:\010settingsZ)2\035/v2/{" - + "name=folders/*}/settings:\010settings\332A\024set" - + "tings,update_mask\022\251\001\n\016CopyLogEntries\022(.g" - + "oogle.logging.v2.CopyLogEntriesRequest\032\035" - + ".google.longrunning.Operation\"N\202\323\344\223\002\025\"\020/" - + "v2/entries:copy:\001*\312A0\n\026CopyLogEntriesRes" - + "ponse\022\026CopyLogEntriesMetadata\032\337\001\312A\026loggi" - + "ng.googleapis.com\322A\302\001https://www.googlea" - + "pis.com/auth/cloud-platform,https://www." - + "googleapis.com/auth/cloud-platform.read-" - + "only,https://www.googleapis.com/auth/log" - + "ging.admin,https://www.googleapis.com/au" - + "th/logging.readB\326\003\n\025com.google.logging.v" - + "2B\022LoggingConfigProtoP\001Z5cloud.google.co" - + "m/go/logging/apiv2/loggingpb;loggingpb\370\001" - + "\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Clo" - + "ud\\Logging\\V2\352\002\032Google::Cloud::Logging::" - + "V2\352A`\n+logging.googleapis.com/Organizati" - + "onLocation\0221organizations/{organization}" - + "/locations/{location}\352AN\n%logging.google" - + "apis.com/FolderLocation\022%folders/{folder" - + "}/locations/{location}\352Ag\n-logging.googl" - + "eapis.com/BillingAccountLocation\0226billin" - + "gAccounts/{billing_account}/locations/{l" - + "ocation}b\006proto3" + + "ckets/*/views/*}:\004view\022\351\002\n\nDeleteView\022$." + + "google.logging.v2.DeleteViewRequest\032\026.go" + + "ogle.protobuf.Empty\"\234\002\202\323\344\223\002\225\002*,/v2/{name" + + "=*/*/locations/*/buckets/*/views/*}Z5*3/" + + "v2/{name=projects/*/locations/*/buckets/" + + "*/views/*}Z:*8/v2/{name=organizations/*/" + + "locations/*/buckets/*/views/*}Z4*2/v2/{n" + + "ame=folders/*/locations/*/buckets/*/view" + + "s/*}Z<*:/v2/{name=billingAccounts/*/loca" + + "tions/*/buckets/*/views/*}\022\220\002\n\tListSinks" + + "\022#.google.logging.v2.ListSinksRequest\032$." + + "google.logging.v2.ListSinksResponse\"\267\001\332A" + + "\006parent\202\323\344\223\002\247\001\022\026/v2/{parent=*/*}/sinksZ\037" + + "\022\035/v2/{parent=projects/*}/sinksZ$\022\"/v2/{" + + "parent=organizations/*}/sinksZ\036\022\034/v2/{pa" + + "rent=folders/*}/sinksZ&\022$/v2/{parent=bil" + + "lingAccounts/*}/sinks\022\236\002\n\007GetSink\022!.goog" + + "le.logging.v2.GetSinkRequest\032\032.google.lo" + + "gging.v2.LogSink\"\323\001\332A\tsink_name\202\323\344\223\002\300\001\022\033" + + "/v2/{sink_name=*/*/sinks/*}Z$\022\"/v2/{sink" + + "_name=projects/*/sinks/*}Z)\022\'/v2/{sink_n" + + "ame=organizations/*/sinks/*}Z#\022!/v2/{sin" + + "k_name=folders/*/sinks/*}Z+\022)/v2/{sink_n" + + "ame=billingAccounts/*/sinks/*}\022\253\002\n\nCreat" + + "eSink\022$.google.logging.v2.CreateSinkRequ" + + "est\032\032.google.logging.v2.LogSink\"\332\001\332A\013par" + + "ent,sink\202\323\344\223\002\305\001\"\026/v2/{parent=*/*}/sinks:" + + "\004sinkZ%\"\035/v2/{parent=projects/*}/sinks:\004" + + "sinkZ*\"\"/v2/{parent=organizations/*}/sin" + + "ks:\004sinkZ$\"\034/v2/{parent=folders/*}/sinks" + + ":\004sinkZ,\"$/v2/{parent=billingAccounts/*}" + + "/sinks:\004sink\022\237\004\n\nUpdateSink\022$.google.log" + + "ging.v2.UpdateSinkRequest\032\032.google.loggi" + + "ng.v2.LogSink\"\316\003\332A\032sink_name,sink,update" + + "_mask\332A\016sink_name,sink\202\323\344\223\002\231\003\032\033/v2/{sink" + + "_name=*/*/sinks/*}:\004sinkZ*\032\"/v2/{sink_na" + + "me=projects/*/sinks/*}:\004sinkZ/\032\'/v2/{sin" + + "k_name=organizations/*/sinks/*}:\004sinkZ)\032", + "!/v2/{sink_name=folders/*/sinks/*}:\004sink" + + "Z1\032)/v2/{sink_name=billingAccounts/*/sin" + + "ks/*}:\004sinkZ*2\"/v2/{sink_name=projects/*" + + "/sinks/*}:\004sinkZ/2\'/v2/{sink_name=organi" + + "zations/*/sinks/*}:\004sinkZ)2!/v2/{sink_na" + + "me=folders/*/sinks/*}:\004sinkZ12)/v2/{sink" + + "_name=billingAccounts/*/sinks/*}:\004sink\022\240" + + "\002\n\nDeleteSink\022$.google.logging.v2.Delete" + + "SinkRequest\032\026.google.protobuf.Empty\"\323\001\332A" + + "\tsink_name\202\323\344\223\002\300\001*\033/v2/{sink_name=*/*/si" + + "nks/*}Z$*\"/v2/{sink_name=projects/*/sink" + + "s/*}Z)*\'/v2/{sink_name=organizations/*/s" + + "inks/*}Z#*!/v2/{sink_name=folders/*/sink" + + "s/*}Z+*)/v2/{sink_name=billingAccounts/*" + + "/sinks/*}\022\273\003\n\nCreateLink\022$.google.loggin" + + "g.v2.CreateLinkRequest\032\035.google.longrunn" + + "ing.Operation\"\347\002\312A\024\n\004Link\022\014LinkMetadata\332" + + "A\023parent,link,link_id\202\323\344\223\002\263\002\",/v2/{paren" + + "t=*/*/locations/*/buckets/*}/links:\004link" + + "Z;\"3/v2/{parent=projects/*/locations/*/b" + + "uckets/*}/links:\004linkZ@\"8/v2/{parent=org" + + "anizations/*/locations/*/buckets/*}/link" + + "s:\004linkZ:\"2/v2/{parent=folders/*/locatio" + + "ns/*/buckets/*}/links:\004linkZB\":/v2/{pare" + + "nt=billingAccounts/*/locations/*/buckets" + + "/*}/links:\004link\022\237\003\n\nDeleteLink\022$.google." + + "logging.v2.DeleteLinkRequest\032\035.google.lo" + + "ngrunning.Operation\"\313\002\312A%\n\025google.protob" + + "uf.Empty\022\014LinkMetadata\332A\004name\202\323\344\223\002\225\002*,/v" + + "2/{name=*/*/locations/*/buckets/*/links/" + + "*}Z5*3/v2/{name=projects/*/locations/*/b" + + "uckets/*/links/*}Z:*8/v2/{name=organizat" + + "ions/*/locations/*/buckets/*/links/*}Z4*" + + "2/v2/{name=folders/*/locations/*/buckets" + + "/*/links/*}Z<*:/v2/{name=billingAccounts" + + "/*/locations/*/buckets/*/links/*}\022\376\002\n\tLi" + + "stLinks\022#.google.logging.v2.ListLinksReq" + + "uest\032$.google.logging.v2.ListLinksRespon" + + "se\"\245\002\332A\006parent\202\323\344\223\002\225\002\022,/v2/{parent=*/*/l" + + "ocations/*/buckets/*}/linksZ5\0223/v2/{pare" + + "nt=projects/*/locations/*/buckets/*}/lin" + + "ksZ:\0228/v2/{parent=organizations/*/locati" + + "ons/*/buckets/*}/linksZ4\0222/v2/{parent=fo" + + "lders/*/locations/*/buckets/*}/linksZ<\022:" + + "/v2/{parent=billingAccounts/*/locations/" + + "*/buckets/*}/links\022\353\002\n\007GetLink\022!.google." + + "logging.v2.GetLinkRequest\032\027.google.loggi" + + "ng.v2.Link\"\243\002\332A\004name\202\323\344\223\002\225\002\022,/v2/{name=*" + + "/*/locations/*/buckets/*/links/*}Z5\0223/v2" + + "/{name=projects/*/locations/*/buckets/*/" + + "links/*}Z:\0228/v2/{name=organizations/*/lo" + + "cations/*/buckets/*/links/*}Z4\0222/v2/{nam" + + "e=folders/*/locations/*/buckets/*/links/" + + "*}Z<\022:/v2/{name=billingAccounts/*/locati" + + "ons/*/buckets/*/links/*}\022\270\002\n\016ListExclusi" + + "ons\022(.google.logging.v2.ListExclusionsRe" + + "quest\032).google.logging.v2.ListExclusions" + + "Response\"\320\001\332A\006parent\202\323\344\223\002\300\001\022\033/v2/{parent" + + "=*/*}/exclusionsZ$\022\"/v2/{parent=projects" + + "/*}/exclusionsZ)\022\'/v2/{parent=organizati" + + "ons/*}/exclusionsZ#\022!/v2/{parent=folders" + + "/*}/exclusionsZ+\022)/v2/{parent=billingAcc" + + "ounts/*}/exclusions\022\250\002\n\014GetExclusion\022&.g" + + "oogle.logging.v2.GetExclusionRequest\032\037.g" + + "oogle.logging.v2.LogExclusion\"\316\001\332A\004name\202" + + "\323\344\223\002\300\001\022\033/v2/{name=*/*/exclusions/*}Z$\022\"/" + + "v2/{name=projects/*/exclusions/*}Z)\022\'/v2" + + "/{name=organizations/*/exclusions/*}Z#\022!" + + "/v2/{name=folders/*/exclusions/*}Z+\022)/v2" + + "/{name=billingAccounts/*/exclusions/*}\022\361" + + "\002\n\017CreateExclusion\022).google.logging.v2.C" + + "reateExclusionRequest\032\037.google.logging.v" + + "2.LogExclusion\"\221\002\332A\020parent,exclusion\202\323\344\223" + + "\002\367\001\"\033/v2/{parent=*/*}/exclusions:\texclus" + + "ionZ/\"\"/v2/{parent=projects/*}/exclusion" + + "s:\texclusionZ4\"\'/v2/{parent=organization" + + "s/*}/exclusions:\texclusionZ.\"!/v2/{paren" + + "t=folders/*}/exclusions:\texclusionZ6\")/v" + + "2/{parent=billingAccounts/*}/exclusions:" + + "\texclusion\022\373\002\n\017UpdateExclusion\022).google." + + "logging.v2.UpdateExclusionRequest\032\037.goog" + + "le.logging.v2.LogExclusion\"\233\002\332A\032name,exc" + + "lusion,update_mask\202\323\344\223\002\367\0012\033/v2/{name=*/*" + + "/exclusions/*}:\texclusionZ/2\"/v2/{name=p" + + "rojects/*/exclusions/*}:\texclusionZ42\'/v" + + "2/{name=organizations/*/exclusions/*}:\te" + + "xclusionZ.2!/v2/{name=folders/*/exclusio" + + "ns/*}:\texclusionZ62)/v2/{name=billingAcc" + + "ounts/*/exclusions/*}:\texclusion\022\245\002\n\017Del" + + "eteExclusion\022).google.logging.v2.DeleteE" + + "xclusionRequest\032\026.google.protobuf.Empty\"" + + "\316\001\332A\004name\202\323\344\223\002\300\001*\033/v2/{name=*/*/exclusio" + + "ns/*}Z$*\"/v2/{name=projects/*/exclusions" + + "/*}Z)*\'/v2/{name=organizations/*/exclusi" + + "ons/*}Z#*!/v2/{name=folders/*/exclusions" + + "/*}Z+*)/v2/{name=billingAccounts/*/exclu" + + "sions/*}\022\247\002\n\017GetCmekSettings\022).google.lo" + + "gging.v2.GetCmekSettingsRequest\032\037.google" + + ".logging.v2.CmekSettings\"\307\001\202\323\344\223\002\300\001\022\033/v2/" + + "{name=*/*}/cmekSettingsZ$\022\"/v2/{name=pro" + + "jects/*}/cmekSettingsZ)\022\'/v2/{name=organ" + + "izations/*}/cmekSettingsZ#\022!/v2/{name=fo" + + "lders/*}/cmekSettingsZ+\022)/v2/{name=billi" + + "ngAccounts/*}/cmekSettings\022\321\001\n\022UpdateCme" + + "kSettings\022,.google.logging.v2.UpdateCmek" + + "SettingsRequest\032\037.google.logging.v2.Cmek" + + "Settings\"l\202\323\344\223\002f2\033/v2/{name=*/*}/cmekSet" + + "tings:\rcmek_settingsZ82\'/v2/{name=organi" + + "zations/*}/cmekSettings:\rcmek_settings\022\216" + + "\002\n\013GetSettings\022%.google.logging.v2.GetSe" + + "ttingsRequest\032\033.google.logging.v2.Settin" + + "gs\"\272\001\332A\004name\202\323\344\223\002\254\001\022\027/v2/{name=*/*}/sett" + + "ingsZ \022\036/v2/{name=projects/*}/settingsZ%" + + "\022#/v2/{name=organizations/*}/settingsZ\037\022" + + "\035/v2/{name=folders/*}/settingsZ\'\022%/v2/{n" + + "ame=billingAccounts/*}/settings\022\366\001\n\016Upda" + + "teSettings\022(.google.logging.v2.UpdateSet" + + "tingsRequest\032\033.google.logging.v2.Setting" + + "s\"\234\001\332A\024settings,update_mask\202\323\344\223\002\1772\027/v2/{" + + "name=*/*}/settings:\010settingsZ/2#/v2/{nam" + + "e=organizations/*}/settings:\010settingsZ)2" + + "\035/v2/{name=folders/*}/settings:\010settings" + + "\022\251\001\n\016CopyLogEntries\022(.google.logging.v2." + + "CopyLogEntriesRequest\032\035.google.longrunni" + + "ng.Operation\"N\312A0\n\026CopyLogEntriesRespons" + + "e\022\026CopyLogEntriesMetadata\202\323\344\223\002\025\"\020/v2/ent" + + "ries:copy:\001*\032\337\001\312A\026logging.googleapis.com" + + "\322A\302\001https://www.googleapis.com/auth/clou" + + "d-platform,https://www.googleapis.com/au" + + "th/cloud-platform.read-only,https://www." + + "googleapis.com/auth/logging.admin,https:" + + "//www.googleapis.com/auth/logging.readB\326" + + "\003\n\025com.google.logging.v2B\022LoggingConfigP" + + "rotoP\001Z5cloud.google.com/go/logging/apiv" + + "2/loggingpb;loggingpb\370\001\001\252\002\027Google.Cloud." + + "Logging.V2\312\002\027Google\\Cloud\\Logging\\V2\352\002\032G" + + "oogle::Cloud::Logging::V2\352A`\n+logging.go" + + "ogleapis.com/OrganizationLocation\0221organ" + + "izations/{organization}/locations/{locat" + + "ion}\352AN\n%logging.googleapis.com/FolderLo" + + "cation\022%folders/{folder}/locations/{loca" + + "tion}\352Ag\n-logging.googleapis.com/Billing" + + "AccountLocation\0226billingAccounts/{billin" + + "g_account}/locations/{location}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java index c1d2edad5..af431d22b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,73 +75,74 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ield_behavior.proto\032\027google/api/metric.p" + "roto\032\031google/api/resource.proto\032\033google/" + "protobuf/empty.proto\032\037google/protobuf/ti" - + "mestamp.proto\"\275\005\n\tLogMetric\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\023\n\006filt" - + "er\030\003 \001(\tB\003\340A\002\022\030\n\013bucket_name\030\r \001(\tB\003\340A\001\022" - + "\025\n\010disabled\030\014 \001(\010B\003\340A\001\022<\n\021metric_descrip" - + "tor\030\005 \001(\0132\034.google.api.MetricDescriptorB" - + "\003\340A\001\022\034\n\017value_extractor\030\006 \001(\tB\003\340A\001\022P\n\020la" - + "bel_extractors\030\007 \003(\01321.google.logging.v2" - + ".LogMetric.LabelExtractorsEntryB\003\340A\001\022C\n\016" - + "bucket_options\030\010 \001(\0132&.google.api.Distri" - + "bution.BucketOptionsB\003\340A\001\0224\n\013create_time" - + "\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "4\n\013update_time\030\n \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\022<\n\007version\030\004 \001(\0162\'.google." - + "logging.v2.LogMetric.ApiVersionB\002\030\001\0326\n\024L" - + "abelExtractorsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001\"\034\n\nApiVersion\022\006\n\002V2\020\000\022\006\n\002V1\020" - + "\001:J\352AG\n logging.googleapis.com/LogMetric" - + "\022#projects/{project}/metrics/{metric}\"\215\001" - + "\n\025ListLogMetricsRequest\022C\n\006parent\030\001 \001(\tB" - + "3\340A\002\372A-\n+cloudresourcemanager.googleapis" - + ".com/Project\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\022\026\n" - + "\tpage_size\030\003 \001(\005B\003\340A\001\"`\n\026ListLogMetricsR" - + "esponse\022-\n\007metrics\030\001 \003(\0132\034.google.loggin" - + "g.v2.LogMetric\022\027\n\017next_page_token\030\002 \001(\t\"" - + "T\n\023GetLogMetricRequest\022=\n\013metric_name\030\001 " - + "\001(\tB(\340A\002\372A\"\n logging.googleapis.com/LogM" - + "etric\"\205\001\n\026CreateLogMetricRequest\0228\n\006pare" - + "nt\030\001 \001(\tB(\340A\002\372A\"\022 logging.googleapis.com" - + "/LogMetric\0221\n\006metric\030\002 \001(\0132\034.google.logg" - + "ing.v2.LogMetricB\003\340A\002\"\212\001\n\026UpdateLogMetri" - + "cRequest\022=\n\013metric_name\030\001 \001(\tB(\340A\002\372A\"\n l" - + "ogging.googleapis.com/LogMetric\0221\n\006metri" - + "c\030\002 \001(\0132\034.google.logging.v2.LogMetricB\003\340" - + "A\002\"W\n\026DeleteLogMetricRequest\022=\n\013metric_n" - + "ame\030\001 \001(\tB(\340A\002\372A\"\n logging.googleapis.co" - + "m/LogMetric2\256\010\n\020MetricsServiceV2\022\227\001\n\016Lis" - + "tLogMetrics\022(.google.logging.v2.ListLogM" - + "etricsRequest\032).google.logging.v2.ListLo" - + "gMetricsResponse\"0\202\323\344\223\002!\022\037/v2/{parent=pr" - + "ojects/*}/metrics\332A\006parent\022\222\001\n\014GetLogMet" - + "ric\022&.google.logging.v2.GetLogMetricRequ" - + "est\032\034.google.logging.v2.LogMetric\"<\202\323\344\223\002" - + "(\022&/v2/{metric_name=projects/*/metrics/*" - + "}\332A\013metric_name\022\233\001\n\017CreateLogMetric\022).go" - + "ogle.logging.v2.CreateLogMetricRequest\032\034" - + ".google.logging.v2.LogMetric\"?\202\323\344\223\002)\"\037/v" - + "2/{parent=projects/*}/metrics:\006metric\332A\r" - + "parent,metric\022\247\001\n\017UpdateLogMetric\022).goog" - + "le.logging.v2.UpdateLogMetricRequest\032\034.g" - + "oogle.logging.v2.LogMetric\"K\202\323\344\223\0020\032&/v2/" - + "{metric_name=projects/*/metrics/*}:\006metr" - + "ic\332A\022metric_name,metric\022\222\001\n\017DeleteLogMet" - + "ric\022).google.logging.v2.DeleteLogMetricR" - + "equest\032\026.google.protobuf.Empty\"<\202\323\344\223\002(*&" - + "/v2/{metric_name=projects/*/metrics/*}\332A" - + "\013metric_name\032\215\002\312A\026logging.googleapis.com" - + "\322A\360\001https://www.googleapis.com/auth/clou" - + "d-platform,https://www.googleapis.com/au" - + "th/cloud-platform.read-only,https://www." - + "googleapis.com/auth/logging.admin,https:" - + "//www.googleapis.com/auth/logging.read,h" - + "ttps://www.googleapis.com/auth/logging.w" - + "riteB\271\001\n\025com.google.logging.v2B\023LoggingM" - + "etricsProtoP\001Z5cloud.google.com/go/loggi" - + "ng/apiv2/loggingpb;loggingpb\370\001\001\252\002\027Google" - + ".Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging" - + "\\V2\352\002\032Google::Cloud::Logging::V2b\006proto3" + + "mestamp.proto\"\310\005\n\tLogMetric\022\022\n\004name\030\001 \001(" + + "\tB\004\342A\001\002\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022\024\n\006fi" + + "lter\030\003 \001(\tB\004\342A\001\002\022\031\n\013bucket_name\030\r \001(\tB\004\342" + + "A\001\001\022\026\n\010disabled\030\014 \001(\010B\004\342A\001\001\022=\n\021metric_de" + + "scriptor\030\005 \001(\0132\034.google.api.MetricDescri" + + "ptorB\004\342A\001\001\022\035\n\017value_extractor\030\006 \001(\tB\004\342A\001" + + "\001\022Q\n\020label_extractors\030\007 \003(\01321.google.log" + + "ging.v2.LogMetric.LabelExtractorsEntryB\004" + + "\342A\001\001\022D\n\016bucket_options\030\010 \001(\0132&.google.ap" + + "i.Distribution.BucketOptionsB\004\342A\001\001\0225\n\013cr" + + "eate_time\030\t \001(\0132\032.google.protobuf.Timest" + + "ampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\022<\n\007version\030\004 \001(" + + "\0162\'.google.logging.v2.LogMetric.ApiVersi" + + "onB\002\030\001\0326\n\024LabelExtractorsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\034\n\nApiVersion\022\006\n\002" + + "V2\020\000\022\006\n\002V1\020\001:J\352AG\n logging.googleapis.co" + + "m/LogMetric\022#projects/{project}/metrics/" + + "{metric}\"\220\001\n\025ListLogMetricsRequest\022D\n\006pa" + + "rent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcemanage" + + "r.googleapis.com/Project\022\030\n\npage_token\030\002" + + " \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\"`\n\026L" + + "istLogMetricsResponse\022-\n\007metrics\030\001 \003(\0132\034" + + ".google.logging.v2.LogMetric\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"U\n\023GetLogMetricRequest\022>\n\013" + + "metric_name\030\001 \001(\tB)\342A\001\002\372A\"\n logging.goog" + + "leapis.com/LogMetric\"\207\001\n\026CreateLogMetric" + + "Request\0229\n\006parent\030\001 \001(\tB)\342A\001\002\372A\"\022 loggin" + + "g.googleapis.com/LogMetric\0222\n\006metric\030\002 \001" + + "(\0132\034.google.logging.v2.LogMetricB\004\342A\001\002\"\214" + + "\001\n\026UpdateLogMetricRequest\022>\n\013metric_name" + + "\030\001 \001(\tB)\342A\001\002\372A\"\n logging.googleapis.com/" + + "LogMetric\0222\n\006metric\030\002 \001(\0132\034.google.loggi" + + "ng.v2.LogMetricB\004\342A\001\002\"X\n\026DeleteLogMetric" + + "Request\022>\n\013metric_name\030\001 \001(\tB)\342A\001\002\372A\"\n l" + + "ogging.googleapis.com/LogMetric2\256\010\n\020Metr" + + "icsServiceV2\022\227\001\n\016ListLogMetrics\022(.google" + + ".logging.v2.ListLogMetricsRequest\032).goog" + + "le.logging.v2.ListLogMetricsResponse\"0\332A" + + "\006parent\202\323\344\223\002!\022\037/v2/{parent=projects/*}/m" + + "etrics\022\222\001\n\014GetLogMetric\022&.google.logging" + + ".v2.GetLogMetricRequest\032\034.google.logging" + + ".v2.LogMetric\"<\332A\013metric_name\202\323\344\223\002(\022&/v2" + + "/{metric_name=projects/*/metrics/*}\022\233\001\n\017" + + "CreateLogMetric\022).google.logging.v2.Crea" + + "teLogMetricRequest\032\034.google.logging.v2.L" + + "ogMetric\"?\332A\rparent,metric\202\323\344\223\002)\"\037/v2/{p" + + "arent=projects/*}/metrics:\006metric\022\247\001\n\017Up" + + "dateLogMetric\022).google.logging.v2.Update" + + "LogMetricRequest\032\034.google.logging.v2.Log" + + "Metric\"K\332A\022metric_name,metric\202\323\344\223\0020\032&/v2" + + "/{metric_name=projects/*/metrics/*}:\006met" + + "ric\022\222\001\n\017DeleteLogMetric\022).google.logging" + + ".v2.DeleteLogMetricRequest\032\026.google.prot" + + "obuf.Empty\"<\332A\013metric_name\202\323\344\223\002(*&/v2/{m" + + "etric_name=projects/*/metrics/*}\032\215\002\312A\026lo" + + "gging.googleapis.com\322A\360\001https://www.goog" + + "leapis.com/auth/cloud-platform,https://w" + + "ww.googleapis.com/auth/cloud-platform.re" + + "ad-only,https://www.googleapis.com/auth/" + + "logging.admin,https://www.googleapis.com" + + "/auth/logging.read,https://www.googleapi" + + "s.com/auth/logging.writeB\271\001\n\025com.google." + + "logging.v2B\023LoggingMetricsProtoP\001Z5cloud" + + ".google.com/go/logging/apiv2/loggingpb;l" + + "oggingpb\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027" + + "Google\\Cloud\\Logging\\V2\352\002\032Google::Cloud:" + + ":Logging::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java index 010223833..6f72cb9a1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -104,103 +104,104 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "roto\032!google/logging/v2/log_entry.proto\032" + "\036google/protobuf/duration.proto\032\033google/" + "protobuf/empty.proto\032\027google/rpc/status." - + "proto\"H\n\020DeleteLogRequest\0224\n\010log_name\030\001 " - + "\001(\tB\"\340A\002\372A\034\n\032logging.googleapis.com/Log\"" - + "\346\002\n\026WriteLogEntriesRequest\0224\n\010log_name\030\001" - + " \001(\tB\"\340A\001\372A\034\n\032logging.googleapis.com/Log" - + "\0224\n\010resource\030\002 \001(\0132\035.google.api.Monitore" - + "dResourceB\003\340A\001\022J\n\006labels\030\003 \003(\01325.google." - + "logging.v2.WriteLogEntriesRequest.Labels" - + "EntryB\003\340A\001\0221\n\007entries\030\004 \003(\0132\033.google.log" - + "ging.v2.LogEntryB\003\340A\002\022\034\n\017partial_success" - + "\030\005 \001(\010B\003\340A\001\022\024\n\007dry_run\030\006 \001(\010B\003\340A\001\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"\031\n\027WriteLogEntriesResponse\"\310\001\n\034WriteLog" - + "EntriesPartialErrors\022]\n\020log_entry_errors" - + "\030\001 \003(\0132C.google.logging.v2.WriteLogEntri" - + "esPartialErrors.LogEntryErrorsEntry\032I\n\023L" - + "ogEntryErrorsEntry\022\013\n\003key\030\001 \001(\005\022!\n\005value" - + "\030\002 \001(\0132\022.google.rpc.Status:\0028\001\"\260\001\n\025ListL" - + "ogEntriesRequest\022:\n\016resource_names\030\010 \003(\t" - + "B\"\340A\002\372A\034\022\032logging.googleapis.com/Log\022\023\n\006" - + "filter\030\002 \001(\tB\003\340A\001\022\025\n\010order_by\030\003 \001(\tB\003\340A\001" - + "\022\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005" - + " \001(\tB\003\340A\001\"_\n\026ListLogEntriesResponse\022,\n\007e" - + "ntries\030\001 \003(\0132\033.google.logging.v2.LogEntr" - + "y\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\'ListMonito" - + "redResourceDescriptorsRequest\022\026\n\tpage_si" - + "ze\030\001 \001(\005B\003\340A\001\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\"\212" - + "\001\n(ListMonitoredResourceDescriptorsRespo" - + "nse\022E\n\024resource_descriptors\030\001 \003(\0132\'.goog" - + "le.api.MonitoredResourceDescriptor\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"\262\001\n\017ListLogsRequest\022" - + "2\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\022\032logging.googlea" - + "pis.com/Log\022:\n\016resource_names\030\010 \003(\tB\"\340A\001" - + "\372A\034\022\032logging.googleapis.com/Log\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\020ListLogsResponse\022\021\n\tlog_names\030\003 \003(\t\022" - + "\027\n\017next_page_token\030\002 \001(\t\"\200\001\n\025TailLogEntr" - + "iesRequest\022\033\n\016resource_names\030\001 \003(\tB\003\340A\002\022" - + "\023\n\006filter\030\002 \001(\tB\003\340A\001\0225\n\rbuffer_window\030\003 " - + "\001(\0132\031.google.protobuf.DurationB\003\340A\001\"\337\002\n\026" - + "TailLogEntriesResponse\022,\n\007entries\030\001 \003(\0132" - + "\033.google.logging.v2.LogEntry\022S\n\020suppress" - + "ion_info\030\002 \003(\01329.google.logging.v2.TailL" - + "ogEntriesResponse.SuppressionInfo\032\301\001\n\017Su" - + "ppressionInfo\022P\n\006reason\030\001 \001(\0162@.google.l" - + "ogging.v2.TailLogEntriesResponse.Suppres" - + "sionInfo.Reason\022\030\n\020suppressed_count\030\002 \001(" - + "\005\"B\n\006Reason\022\026\n\022REASON_UNSPECIFIED\020\000\022\016\n\nR" - + "ATE_LIMIT\020\001\022\020\n\014NOT_CONSUMED\020\0022\351\r\n\020Loggin" - + "gServiceV2\022\223\002\n\tDeleteLog\022#.google.loggin" - + "g.v2.DeleteLogRequest\032\026.google.protobuf." - + "Empty\"\310\001\202\323\344\223\002\266\001* /v2/{log_name=projects/" - + "*/logs/*}Z\033*\031/v2/{log_name=*/*/logs/*}Z\'" - + "*%/v2/{log_name=organizations/*/logs/*}Z" - + "!*\037/v2/{log_name=folders/*/logs/*}Z)*\'/v" - + "2/{log_name=billingAccounts/*/logs/*}\332A\010" - + "log_name\022\251\001\n\017WriteLogEntries\022).google.lo" - + "gging.v2.WriteLogEntriesRequest\032*.google" - + ".logging.v2.WriteLogEntriesResponse\"?\202\323\344" - + "\223\002\026\"\021/v2/entries:write:\001*\332A log_name,res" - + "ource,labels,entries\022\243\001\n\016ListLogEntries\022" - + "(.google.logging.v2.ListLogEntriesReques" - + "t\032).google.logging.v2.ListLogEntriesResp" - + "onse\"<\202\323\344\223\002\025\"\020/v2/entries:list:\001*\332A\036reso" - + "urce_names,filter,order_by\022\305\001\n ListMonit" - + "oredResourceDescriptors\022:.google.logging" - + ".v2.ListMonitoredResourceDescriptorsRequ" - + "est\032;.google.logging.v2.ListMonitoredRes" - + "ourceDescriptorsResponse\"(\202\323\344\223\002\"\022 /v2/mo" - + "nitoredResourceDescriptors\022\213\004\n\010ListLogs\022" - + "\".google.logging.v2.ListLogsRequest\032#.go" - + "ogle.logging.v2.ListLogsResponse\"\265\003\202\323\344\223\002" - + "\245\003\022\025/v2/{parent=*/*}/logsZ\036\022\034/v2/{parent" - + "=projects/*}/logsZ#\022!/v2/{parent=organiz" - + "ations/*}/logsZ\035\022\033/v2/{parent=folders/*}" - + "/logsZ%\022#/v2/{parent=billingAccounts/*}/" - + "logsZ<\022:/v2/{parent=projects/*/locations" - + "/*/buckets/*/views/*}/logsZA\022?/v2/{paren" - + "t=organizations/*/locations/*/buckets/*/" - + "views/*}/logsZ;\0229/v2/{parent=folders/*/l" - + "ocations/*/buckets/*/views/*}/logsZC\022A/v" - + "2/{parent=billingAccounts/*/locations/*/" - + "buckets/*/views/*}/logs\332A\006parent\022\206\001\n\016Tai" - + "lLogEntries\022(.google.logging.v2.TailLogE" - + "ntriesRequest\032).google.logging.v2.TailLo" - + "gEntriesResponse\"\033\202\323\344\223\002\025\"\020/v2/entries:ta" - + "il:\001*(\0010\001\032\215\002\312A\026logging.googleapis.com\322A\360" - + "\001https://www.googleapis.com/auth/cloud-p" - + "latform,https://www.googleapis.com/auth/" - + "cloud-platform.read-only,https://www.goo" - + "gleapis.com/auth/logging.admin,https://w" - + "ww.googleapis.com/auth/logging.read,http" - + "s://www.googleapis.com/auth/logging.writ" - + "eB\262\001\n\025com.google.logging.v2B\014LoggingProt" - + "oP\001Z5cloud.google.com/go/logging/apiv2/l" - + "oggingpb;loggingpb\370\001\001\252\002\027Google.Cloud.Log" - + "ging.V2\312\002\027Google\\Cloud\\Logging\\V2\352\002\032Goog" - + "le::Cloud::Logging::V2b\006proto3" + + "proto\"I\n\020DeleteLogRequest\0225\n\010log_name\030\001 " + + "\001(\tB#\342A\001\002\372A\034\n\032logging.googleapis.com/Log" + + "\"\354\002\n\026WriteLogEntriesRequest\0225\n\010log_name\030" + + "\001 \001(\tB#\342A\001\001\372A\034\n\032logging.googleapis.com/L" + + "og\0225\n\010resource\030\002 \001(\0132\035.google.api.Monito" + + "redResourceB\004\342A\001\001\022K\n\006labels\030\003 \003(\01325.goog" + + "le.logging.v2.WriteLogEntriesRequest.Lab" + + "elsEntryB\004\342A\001\001\0222\n\007entries\030\004 \003(\0132\033.google" + + ".logging.v2.LogEntryB\004\342A\001\002\022\035\n\017partial_su" + + "ccess\030\005 \001(\010B\004\342A\001\001\022\025\n\007dry_run\030\006 \001(\010B\004\342A\001\001" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\"\031\n\027WriteLogEntriesResponse\"\310\001\n\034W" + + "riteLogEntriesPartialErrors\022]\n\020log_entry" + + "_errors\030\001 \003(\0132C.google.logging.v2.WriteL" + + "ogEntriesPartialErrors.LogEntryErrorsEnt" + + "ry\032I\n\023LogEntryErrorsEntry\022\013\n\003key\030\001 \001(\005\022!" + + "\n\005value\030\002 \001(\0132\022.google.rpc.Status:\0028\001\"\265\001" + + "\n\025ListLogEntriesRequest\022;\n\016resource_name" + + "s\030\010 \003(\tB#\342A\001\002\372A\034\022\032logging.googleapis.com" + + "/Log\022\024\n\006filter\030\002 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\003" + + " \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\004 \001(\005B\004\342A\001\001\022\030\n\np" + + "age_token\030\005 \001(\tB\004\342A\001\001\"_\n\026ListLogEntriesR" + + "esponse\022,\n\007entries\030\001 \003(\0132\033.google.loggin" + + "g.v2.LogEntry\022\027\n\017next_page_token\030\002 \001(\t\"\\" + + "\n\'ListMonitoredResourceDescriptorsReques" + + "t\022\027\n\tpage_size\030\001 \001(\005B\004\342A\001\001\022\030\n\npage_token" + + "\030\002 \001(\tB\004\342A\001\001\"\212\001\n(ListMonitoredResourceDe" + + "scriptorsResponse\022E\n\024resource_descriptor" + + "s\030\001 \003(\0132\'.google.api.MonitoredResourceDe" + + "scriptor\022\027\n\017next_page_token\030\002 \001(\t\"\266\001\n\017Li" + + "stLogsRequest\0223\n\006parent\030\001 \001(\tB#\342A\001\002\372A\034\022\032" + + "logging.googleapis.com/Log\022;\n\016resource_n" + + "ames\030\010 \003(\tB#\342A\001\001\372A\034\022\032logging.googleapis." + + "com/Log\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage" + + "_token\030\003 \001(\tB\004\342A\001\001\">\n\020ListLogsResponse\022\021" + + "\n\tlog_names\030\003 \003(\t\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\203\001\n\025TailLogEntriesRequest\022\034\n\016resource" + + "_names\030\001 \003(\tB\004\342A\001\002\022\024\n\006filter\030\002 \001(\tB\004\342A\001\001" + + "\0226\n\rbuffer_window\030\003 \001(\0132\031.google.protobu" + + "f.DurationB\004\342A\001\001\"\337\002\n\026TailLogEntriesRespo" + + "nse\022,\n\007entries\030\001 \003(\0132\033.google.logging.v2" + + ".LogEntry\022S\n\020suppression_info\030\002 \003(\01329.go" + + "ogle.logging.v2.TailLogEntriesResponse.S" + + "uppressionInfo\032\301\001\n\017SuppressionInfo\022P\n\006re" + + "ason\030\001 \001(\0162@.google.logging.v2.TailLogEn" + + "triesResponse.SuppressionInfo.Reason\022\030\n\020" + + "suppressed_count\030\002 \001(\005\"B\n\006Reason\022\026\n\022REAS" + + "ON_UNSPECIFIED\020\000\022\016\n\nRATE_LIMIT\020\001\022\020\n\014NOT_" + + "CONSUMED\020\0022\351\r\n\020LoggingServiceV2\022\223\002\n\tDele" + + "teLog\022#.google.logging.v2.DeleteLogReque" + + "st\032\026.google.protobuf.Empty\"\310\001\332A\010log_name" + + "\202\323\344\223\002\266\001* /v2/{log_name=projects/*/logs/*" + + "}Z\033*\031/v2/{log_name=*/*/logs/*}Z\'*%/v2/{l" + + "og_name=organizations/*/logs/*}Z!*\037/v2/{" + + "log_name=folders/*/logs/*}Z)*\'/v2/{log_n" + + "ame=billingAccounts/*/logs/*}\022\251\001\n\017WriteL" + + "ogEntries\022).google.logging.v2.WriteLogEn" + + "triesRequest\032*.google.logging.v2.WriteLo" + + "gEntriesResponse\"?\332A log_name,resource,l" + + "abels,entries\202\323\344\223\002\026\"\021/v2/entries:write:\001" + + "*\022\243\001\n\016ListLogEntries\022(.google.logging.v2" + + ".ListLogEntriesRequest\032).google.logging." + + "v2.ListLogEntriesResponse\"<\332A\036resource_n" + + "ames,filter,order_by\202\323\344\223\002\025\"\020/v2/entries:" + + "list:\001*\022\305\001\n ListMonitoredResourceDescrip" + + "tors\022:.google.logging.v2.ListMonitoredRe" + + "sourceDescriptorsRequest\032;.google.loggin" + + "g.v2.ListMonitoredResourceDescriptorsRes" + + "ponse\"(\202\323\344\223\002\"\022 /v2/monitoredResourceDesc" + + "riptors\022\213\004\n\010ListLogs\022\".google.logging.v2" + + ".ListLogsRequest\032#.google.logging.v2.Lis" + + "tLogsResponse\"\265\003\332A\006parent\202\323\344\223\002\245\003\022\025/v2/{p" + + "arent=*/*}/logsZ\036\022\034/v2/{parent=projects/" + + "*}/logsZ#\022!/v2/{parent=organizations/*}/" + + "logsZ\035\022\033/v2/{parent=folders/*}/logsZ%\022#/" + + "v2/{parent=billingAccounts/*}/logsZ<\022:/v" + + "2/{parent=projects/*/locations/*/buckets" + + "/*/views/*}/logsZA\022?/v2/{parent=organiza" + + "tions/*/locations/*/buckets/*/views/*}/l" + + "ogsZ;\0229/v2/{parent=folders/*/locations/*" + + "/buckets/*/views/*}/logsZC\022A/v2/{parent=" + + "billingAccounts/*/locations/*/buckets/*/" + + "views/*}/logs\022\206\001\n\016TailLogEntries\022(.googl" + + "e.logging.v2.TailLogEntriesRequest\032).goo" + + "gle.logging.v2.TailLogEntriesResponse\"\033\202" + + "\323\344\223\002\025\"\020/v2/entries:tail:\001*(\0010\001\032\215\002\312A\026logg" + + "ing.googleapis.com\322A\360\001https://www.google" + + "apis.com/auth/cloud-platform,https://www" + + ".googleapis.com/auth/cloud-platform.read" + + "-only,https://www.googleapis.com/auth/lo" + + "gging.admin,https://www.googleapis.com/a" + + "uth/logging.read,https://www.googleapis." + + "com/auth/logging.writeB\262\001\n\025com.google.lo" + + "gging.v2B\014LoggingProtoP\001Z5cloud.google.c" + + "om/go/logging/apiv2/loggingpb;loggingpb\370" + + "\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cl" + + "oud\\Logging\\V2\352\002\032Google::Cloud::Logging:" + + ":V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java index 6c87cd536..e97d45281 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLocationName.java index a879fef13..91a70bc9e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLocationName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java index abc038b47..e4f8b5921 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java index 3ff6c49b9..b2396890c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java index fa3a6d23d..338c0a6b7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Settings(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Settings_descriptor; @@ -130,19 +125,29 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * Optional. The resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+   *
+   *
+   *
    * To enable CMEK for the Log Router, set this field to a valid
    * `kms_key_name` for which the associated service account has the required
    * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+   *
    * The Cloud KMS key used by the Log Router can be updated by changing the
    * `kms_key_name` to a new valid key name. Encryption operations that are in
    * progress will be completed with the key that was in use when they started.
    * Decryption operations will be completed using the key that was used at the
    * time of encryption unless access to that key has been revoked.
+   *
    * To disable CMEK for the Log Router, set this field to an empty string.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -169,19 +174,29 @@ public java.lang.String getKmsKeyName() {
    *
    * 
    * Optional. The resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+   *
+   *
+   *
    * To enable CMEK for the Log Router, set this field to a valid
    * `kms_key_name` for which the associated service account has the required
    * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+   *
    * The Cloud KMS key used by the Log Router can be updated by changing the
    * `kms_key_name` to a new valid key name. Encryption operations that are in
    * progress will be completed with the key that was in use when they started.
    * Decryption operations will be completed using the key that was used at the
    * time of encryption unless access to that key has been revoked.
+   *
    * To disable CMEK for the Log Router, set this field to an empty string.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -214,11 +229,13 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
    * 
    * Output only. The service account that will be used by the Log Router to
    * access your Cloud KMS key.
+   *
    * Before enabling CMEK for Log Router, you must first assign the role
    * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
    * the Log Router will use to access your Cloud KMS key. Use
    * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
    * obtain the service account ID.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -246,11 +263,13 @@ public java.lang.String getKmsServiceAccountId() {
    * 
    * Output only. The service account that will be used by the Log Router to
    * access your Cloud KMS key.
+   *
    * Before enabling CMEK for Log Router, you must first assign the role
    * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
    * the Log Router will use to access your Cloud KMS key. Use
    * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
    * obtain the service account ID.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -893,19 +912,29 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * Optional. The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name. Encryption operations that are in
      * progress will be completed with the key that was in use when they started.
      * Decryption operations will be completed using the key that was used at the
      * time of encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -931,19 +960,29 @@ public java.lang.String getKmsKeyName() {
      *
      * 
      * Optional. The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name. Encryption operations that are in
      * progress will be completed with the key that was in use when they started.
      * Decryption operations will be completed using the key that was used at the
      * time of encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -969,19 +1008,29 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      *
      * 
      * Optional. The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name. Encryption operations that are in
      * progress will be completed with the key that was in use when they started.
      * Decryption operations will be completed using the key that was used at the
      * time of encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1006,19 +1055,29 @@ public Builder setKmsKeyName(java.lang.String value) {
      *
      * 
      * Optional. The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name. Encryption operations that are in
      * progress will be completed with the key that was in use when they started.
      * Decryption operations will be completed using the key that was used at the
      * time of encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1039,19 +1098,29 @@ public Builder clearKmsKeyName() {
      *
      * 
      * Optional. The resource name for the configured Cloud KMS key.
+     *
      * KMS key name format:
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+     *
+     *
+     *
      * To enable CMEK for the Log Router, set this field to a valid
      * `kms_key_name` for which the associated service account has the required
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+     *
      * The Cloud KMS key used by the Log Router can be updated by changing the
      * `kms_key_name` to a new valid key name. Encryption operations that are in
      * progress will be completed with the key that was in use when they started.
      * Decryption operations will be completed using the key that was used at the
      * time of encryption unless access to that key has been revoked.
+     *
      * To disable CMEK for the Log Router, set this field to an empty string.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1080,11 +1149,13 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the role
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1111,11 +1182,13 @@ public java.lang.String getKmsServiceAccountId() {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the role
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1142,11 +1215,13 @@ public com.google.protobuf.ByteString getKmsServiceAccountIdBytes() {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the role
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1172,11 +1247,13 @@ public Builder setKmsServiceAccountId(java.lang.String value) {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the role
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1198,11 +1275,13 @@ public Builder clearKmsServiceAccountId() {
      * 
      * Output only. The service account that will be used by the Log Router to
      * access your Cloud KMS key.
+     *
      * Before enabling CMEK for Log Router, you must first assign the role
      * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
      * the Log Router will use to access your Cloud KMS key. Use
      * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
      * obtain the service account ID.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsName.java
index dbf5f07ea..ff30fb787 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java
index 3eafd1c28..a3ddd4296 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -53,19 +53,29 @@ public interface SettingsOrBuilder
    *
    * 
    * Optional. The resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+   *
+   *
+   *
    * To enable CMEK for the Log Router, set this field to a valid
    * `kms_key_name` for which the associated service account has the required
    * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+   *
    * The Cloud KMS key used by the Log Router can be updated by changing the
    * `kms_key_name` to a new valid key name. Encryption operations that are in
    * progress will be completed with the key that was in use when they started.
    * Decryption operations will be completed using the key that was used at the
    * time of encryption unless access to that key has been revoked.
+   *
    * To disable CMEK for the Log Router, set this field to an empty string.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -81,19 +91,29 @@ public interface SettingsOrBuilder
    *
    * 
    * Optional. The resource name for the configured Cloud KMS key.
+   *
    * KMS key name format:
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+   *
+   *
+   *
    * To enable CMEK for the Log Router, set this field to a valid
    * `kms_key_name` for which the associated service account has the required
    * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
+   *
    * The Cloud KMS key used by the Log Router can be updated by changing the
    * `kms_key_name` to a new valid key name. Encryption operations that are in
    * progress will be completed with the key that was in use when they started.
    * Decryption operations will be completed using the key that was used at the
    * time of encryption unless access to that key has been revoked.
+   *
    * To disable CMEK for the Log Router, set this field to an empty string.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -111,11 +131,13 @@ public interface SettingsOrBuilder
    * 
    * Output only. The service account that will be used by the Log Router to
    * access your Cloud KMS key.
+   *
    * Before enabling CMEK for Log Router, you must first assign the role
    * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
    * the Log Router will use to access your Cloud KMS key. Use
    * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
    * obtain the service account ID.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -132,11 +154,13 @@ public interface SettingsOrBuilder
    * 
    * Output only. The service account that will be used by the Log Router to
    * access your Cloud KMS key.
+   *
    * Before enabling CMEK for Log Router, you must first assign the role
    * `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
    * the Log Router will use to access your Cloud KMS key. Use
    * [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
    * obtain the service account ID.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java
index 8a3c58b0d..a06c2d401 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ private TailLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder
   }
 
   private TailLogEntriesRequest() {
-    resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
     filter_ = "";
   }
 
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TailLogEntriesRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_TailLogEntriesRequest_descriptor;
@@ -71,17 +66,21 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int RESOURCE_NAMES_FIELD_NUMBER = 1;
 
   @SuppressWarnings("serial")
-  private com.google.protobuf.LazyStringList resourceNames_;
+  private com.google.protobuf.LazyStringArrayList resourceNames_ =
+      com.google.protobuf.LazyStringArrayList.emptyList();
   /**
    *
    *
    * 
    * Required. Name of a parent resource from which to retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -100,11 +99,14 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() {
    *
    * 
    * Required. Name of a parent resource from which to retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -123,11 +125,14 @@ public int getResourceNamesCount() {
    *
    * 
    * Required. Name of a parent resource from which to retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -147,11 +152,14 @@ public java.lang.String getResourceNames(int index) {
    *
    * 
    * Required. Name of a parent resource from which to retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -516,8 +524,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-      bitField0_ = (bitField0_ & ~0x00000001);
+      resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
       filter_ = "";
       bufferWindow_ = null;
       if (bufferWindowBuilder_ != null) {
@@ -551,7 +558,6 @@ public com.google.logging.v2.TailLogEntriesRequest build() {
     public com.google.logging.v2.TailLogEntriesRequest buildPartial() {
       com.google.logging.v2.TailLogEntriesRequest result =
           new com.google.logging.v2.TailLogEntriesRequest(this);
-      buildPartialRepeatedFields(result);
       if (bitField0_ != 0) {
         buildPartial0(result);
       }
@@ -559,16 +565,12 @@ public com.google.logging.v2.TailLogEntriesRequest buildPartial() {
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.logging.v2.TailLogEntriesRequest result) {
-      if (((bitField0_ & 0x00000001) != 0)) {
-        resourceNames_ = resourceNames_.getUnmodifiableView();
-        bitField0_ = (bitField0_ & ~0x00000001);
-      }
-      result.resourceNames_ = resourceNames_;
-    }
-
     private void buildPartial0(com.google.logging.v2.TailLogEntriesRequest result) {
       int from_bitField0_ = bitField0_;
+      if (((from_bitField0_ & 0x00000001) != 0)) {
+        resourceNames_.makeImmutable();
+        result.resourceNames_ = resourceNames_;
+      }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.filter_ = filter_;
       }
@@ -626,7 +628,7 @@ public Builder mergeFrom(com.google.logging.v2.TailLogEntriesRequest other) {
       if (!other.resourceNames_.isEmpty()) {
         if (resourceNames_.isEmpty()) {
           resourceNames_ = other.resourceNames_;
-          bitField0_ = (bitField0_ & ~0x00000001);
+          bitField0_ |= 0x00000001;
         } else {
           ensureResourceNamesIsMutable();
           resourceNames_.addAll(other.resourceNames_);
@@ -705,25 +707,28 @@ public Builder mergeFrom(
 
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList resourceNames_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringArrayList resourceNames_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
 
     private void ensureResourceNamesIsMutable() {
-      if (!((bitField0_ & 0x00000001) != 0)) {
+      if (!resourceNames_.isModifiable()) {
         resourceNames_ = new com.google.protobuf.LazyStringArrayList(resourceNames_);
-        bitField0_ |= 0x00000001;
       }
+      bitField0_ |= 0x00000001;
     }
     /**
      *
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -735,18 +740,22 @@ private void ensureResourceNamesIsMutable() {
      * @return A list containing the resourceNames.
      */
     public com.google.protobuf.ProtocolStringList getResourceNamesList() {
-      return resourceNames_.getUnmodifiableView();
+      resourceNames_.makeImmutable();
+      return resourceNames_;
     }
     /**
      *
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -765,11 +774,14 @@ public int getResourceNamesCount() {
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -789,11 +801,14 @@ public java.lang.String getResourceNames(int index) {
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -813,11 +828,14 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) {
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -836,6 +854,7 @@ public Builder setResourceNames(int index, java.lang.String value) {
       }
       ensureResourceNamesIsMutable();
       resourceNames_.set(index, value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -844,11 +863,14 @@ public Builder setResourceNames(int index, java.lang.String value) {
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -866,6 +888,7 @@ public Builder addResourceNames(java.lang.String value) {
       }
       ensureResourceNamesIsMutable();
       resourceNames_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -874,11 +897,14 @@ public Builder addResourceNames(java.lang.String value) {
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -893,6 +919,7 @@ public Builder addResourceNames(java.lang.String value) {
     public Builder addAllResourceNames(java.lang.Iterable values) {
       ensureResourceNamesIsMutable();
       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceNames_);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
@@ -901,11 +928,14 @@ public Builder addAllResourceNames(java.lang.Iterable values)
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -917,8 +947,9 @@ public Builder addAllResourceNames(java.lang.Iterable values)
      * @return This builder for chaining.
      */
     public Builder clearResourceNames() {
-      resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
       bitField0_ = (bitField0_ & ~0x00000001);
+      ;
       onChanged();
       return this;
     }
@@ -927,11 +958,14 @@ public Builder clearResourceNames() {
      *
      * 
      * Required. Name of a parent resource from which to retrieve log entries:
+     *
      * *  `projects/[PROJECT_ID]`
      * *  `organizations/[ORGANIZATION_ID]`
      * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
      * *  `folders/[FOLDER_ID]`
+     *
      * May alternatively be one or more views:
+     *
      *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
      *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -950,6 +984,7 @@ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) {
       checkByteStringIsUtf8(value);
       ensureResourceNamesIsMutable();
       resourceNames_.add(value);
+      bitField0_ |= 0x00000001;
       onChanged();
       return this;
     }
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java
index 378582fc4..46f26659b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,11 +28,14 @@ public interface TailLogEntriesRequestOrBuilder
    *
    * 
    * Required. Name of a parent resource from which to retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -49,11 +52,14 @@ public interface TailLogEntriesRequestOrBuilder
    *
    * 
    * Required. Name of a parent resource from which to retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -70,11 +76,14 @@ public interface TailLogEntriesRequestOrBuilder
    *
    * 
    * Required. Name of a parent resource from which to retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
@@ -92,11 +101,14 @@ public interface TailLogEntriesRequestOrBuilder
    *
    * 
    * Required. Name of a parent resource from which to retrieve log entries:
+   *
    * *  `projects/[PROJECT_ID]`
    * *  `organizations/[ORGANIZATION_ID]`
    * *  `billingAccounts/[BILLING_ACCOUNT_ID]`
    * *  `folders/[FOLDER_ID]`
+   *
    * May alternatively be one or more views:
+   *
    *  * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
    *  * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java
index a7e023a54..74ef3c0cd 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TailLogEntriesResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_TailLogEntriesResponse_descriptor;
@@ -140,11 +135,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SuppressionInfo();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-      return this.unknownFields;
-    }
-
     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java
index 490e6dc14..61a73480a 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java
index e9a9cf93a..ef9500024 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UndeleteBucketRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UndeleteBucketRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The full resource name of the bucket to undelete.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -107,11 +105,14 @@ public java.lang.String getName() { * *
    * Required. The full resource name of the bucket to undelete.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -481,11 +482,14 @@ public Builder mergeFrom( * *
      * Required. The full resource name of the bucket to undelete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -511,11 +515,14 @@ public java.lang.String getName() { * *
      * Required. The full resource name of the bucket to undelete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -541,11 +548,14 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full resource name of the bucket to undelete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -570,11 +580,14 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full resource name of the bucket to undelete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -595,11 +608,14 @@ public Builder clearName() { * *
      * Required. The full resource name of the bucket to undelete.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java index 1966ee37e..b208b2baa 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface UndeleteBucketRequestOrBuilder * *
    * Required. The full resource name of the bucket to undelete.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -48,11 +51,14 @@ public interface UndeleteBucketRequestOrBuilder * *
    * Required. The full resource name of the bucket to undelete.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java index cb4b0322d..16597165e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateBucketRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateBucketRequest_descriptor; @@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full resource name of the bucket to update.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -107,11 +105,14 @@ public java.lang.String getName() { * *
    * Required. The full resource name of the bucket to update.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -189,8 +190,10 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -210,8 +213,10 @@ public boolean hasUpdateMask() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -231,8 +236,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -653,11 +660,14 @@ public Builder mergeFrom( * *
      * Required. The full resource name of the bucket to update.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -683,11 +693,14 @@ public java.lang.String getName() { * *
      * Required. The full resource name of the bucket to update.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -713,11 +726,14 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full resource name of the bucket to update.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -742,11 +758,14 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full resource name of the bucket to update.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -767,11 +786,14 @@ public Builder clearName() { * *
      * Required. The full resource name of the bucket to update.
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* @@ -994,8 +1016,10 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -1014,8 +1038,10 @@ public boolean hasUpdateMask() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -1040,8 +1066,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -1068,8 +1096,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -1093,8 +1123,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -1124,8 +1156,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -1149,8 +1183,10 @@ public Builder clearUpdateMask() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -1169,8 +1205,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -1193,8 +1231,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java index b2d09a2d5..f32181fdd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface UpdateBucketRequestOrBuilder * *
    * Required. The full resource name of the bucket to update.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -48,11 +51,14 @@ public interface UpdateBucketRequestOrBuilder * *
    * Required. The full resource name of the bucket to update.
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* @@ -106,8 +112,10 @@ public interface UpdateBucketRequestOrBuilder * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -124,8 +132,10 @@ public interface UpdateBucketRequestOrBuilder * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* @@ -142,8 +152,10 @@ public interface UpdateBucketRequestOrBuilder * Required. Field mask that specifies the fields in `bucket` that need an * update. A bucket field will be overwritten if, and only if, it is in the * update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see: * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=retention_days` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java index c4b50d200..d1c88f3f8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ *
  * The parameters to
  * [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
+ *
  * See [Enabling CMEK for Log
  * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
  * more information.
@@ -51,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateCmekSettingsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor;
@@ -80,12 +76,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource name for the CMEK settings to update.
+   *
    *     "projects/[PROJECT_ID]/cmekSettings"
    *     "organizations/[ORGANIZATION_ID]/cmekSettings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
    *     "folders/[FOLDER_ID]/cmekSettings"
+   *
    * For example:
+   *
    *   `"organizations/12345/cmekSettings"`
+   *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
    * folders in the Google Cloud organization.
@@ -112,12 +112,16 @@ public java.lang.String getName() {
    *
    * 
    * Required. The resource name for the CMEK settings to update.
+   *
    *     "projects/[PROJECT_ID]/cmekSettings"
    *     "organizations/[ORGANIZATION_ID]/cmekSettings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
    *     "folders/[FOLDER_ID]/cmekSettings"
+   *
    * For example:
+   *
    *   `"organizations/12345/cmekSettings"`
+   *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
    * folders in the Google Cloud organization.
@@ -147,6 +151,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    * 
    * Required. The CMEK settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -167,6 +172,7 @@ public boolean hasCmekSettings() {
    *
    * 
    * Required. The CMEK settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -189,6 +195,7 @@ public com.google.logging.v2.CmekSettings getCmekSettings() {
    *
    * 
    * Required. The CMEK settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -214,7 +221,9 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() {
    * Optional. Field mask identifying which fields from `cmek_settings` should
    * be updated. A field will be overwritten if and only if it is in the update
    * mask. Output only fields cannot be updated.
+   *
    * See [FieldMask][google.protobuf.FieldMask] for more information.
+   *
    * For example: `"updateMask=kmsKeyName"`
    * 
* @@ -234,7 +243,9 @@ public boolean hasUpdateMask() { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -254,7 +265,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -459,6 +472,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * The parameters to
    * [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
    * more information.
@@ -681,12 +695,16 @@ public Builder mergeFrom(
      *
      * 
      * Required. The resource name for the CMEK settings to update.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -712,12 +730,16 @@ public java.lang.String getName() {
      *
      * 
      * Required. The resource name for the CMEK settings to update.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -743,12 +765,16 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Required. The resource name for the CMEK settings to update.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -773,12 +799,16 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Required. The resource name for the CMEK settings to update.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -799,12 +829,16 @@ public Builder clearName() {
      *
      * 
      * Required. The resource name for the CMEK settings to update.
+     *
      *     "projects/[PROJECT_ID]/cmekSettings"
      *     "organizations/[ORGANIZATION_ID]/cmekSettings"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
      *     "folders/[FOLDER_ID]/cmekSettings"
+     *
      * For example:
+     *
      *   `"organizations/12345/cmekSettings"`
+     *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -837,6 +871,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -856,6 +891,7 @@ public boolean hasCmekSettings() {
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -881,6 +917,7 @@ public com.google.logging.v2.CmekSettings getCmekSettings() {
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -908,6 +945,7 @@ public Builder setCmekSettings(com.google.logging.v2.CmekSettings value) {
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -932,6 +970,7 @@ public Builder setCmekSettings(com.google.logging.v2.CmekSettings.Builder builde
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -962,6 +1001,7 @@ public Builder mergeCmekSettings(com.google.logging.v2.CmekSettings value) {
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -986,6 +1026,7 @@ public Builder clearCmekSettings() {
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1005,6 +1046,7 @@ public com.google.logging.v2.CmekSettings.Builder getCmekSettingsBuilder() {
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1028,6 +1070,7 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() {
      *
      * 
      * Required. The CMEK settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1067,7 +1110,9 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() {
      * Optional. Field mask identifying which fields from `cmek_settings` should
      * be updated. A field will be overwritten if and only if it is in the update
      * mask. Output only fields cannot be updated.
+     *
      * See [FieldMask][google.protobuf.FieldMask] for more information.
+     *
      * For example: `"updateMask=kmsKeyName"`
      * 
* @@ -1086,7 +1131,9 @@ public boolean hasUpdateMask() { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1111,7 +1158,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1138,7 +1187,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1162,7 +1213,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1192,7 +1245,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1216,7 +1271,9 @@ public Builder clearUpdateMask() { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1235,7 +1292,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1258,7 +1317,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java index 799b139a4..44b2a5d11 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +28,16 @@ public interface UpdateCmekSettingsRequestOrBuilder * *
    * Required. The resource name for the CMEK settings to update.
+   *
    *     "projects/[PROJECT_ID]/cmekSettings"
    *     "organizations/[ORGANIZATION_ID]/cmekSettings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
    *     "folders/[FOLDER_ID]/cmekSettings"
+   *
    * For example:
+   *
    *   `"organizations/12345/cmekSettings"`
+   *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
    * folders in the Google Cloud organization.
@@ -49,12 +53,16 @@ public interface UpdateCmekSettingsRequestOrBuilder
    *
    * 
    * Required. The resource name for the CMEK settings to update.
+   *
    *     "projects/[PROJECT_ID]/cmekSettings"
    *     "organizations/[ORGANIZATION_ID]/cmekSettings"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
    *     "folders/[FOLDER_ID]/cmekSettings"
+   *
    * For example:
+   *
    *   `"organizations/12345/cmekSettings"`
+   *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
    * folders in the Google Cloud organization.
@@ -71,6 +79,7 @@ public interface UpdateCmekSettingsRequestOrBuilder
    *
    * 
    * Required. The CMEK settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -88,6 +97,7 @@ public interface UpdateCmekSettingsRequestOrBuilder
    *
    * 
    * Required. The CMEK settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -105,6 +115,7 @@ public interface UpdateCmekSettingsRequestOrBuilder
    *
    * 
    * Required. The CMEK settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -123,7 +134,9 @@ public interface UpdateCmekSettingsRequestOrBuilder
    * Optional. Field mask identifying which fields from `cmek_settings` should
    * be updated. A field will be overwritten if and only if it is in the update
    * mask. Output only fields cannot be updated.
+   *
    * See [FieldMask][google.protobuf.FieldMask] for more information.
+   *
    * For example: `"updateMask=kmsKeyName"`
    * 
* @@ -140,7 +153,9 @@ public interface UpdateCmekSettingsRequestOrBuilder * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -157,7 +172,9 @@ public interface UpdateCmekSettingsRequestOrBuilder * Optional. Field mask identifying which fields from `cmek_settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java index 93ada4a2b..b6b06c234 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateExclusionRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateExclusionRequest_descriptor; @@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of the exclusion to update:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -107,11 +105,14 @@ public java.lang.String getName() { * *
    * Required. The resource name of the exclusion to update:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -201,6 +202,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -223,6 +225,7 @@ public boolean hasUpdateMask() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -245,6 +248,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -666,11 +670,14 @@ public Builder mergeFrom( * *
      * Required. The resource name of the exclusion to update:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -696,11 +703,14 @@ public java.lang.String getName() { * *
      * Required. The resource name of the exclusion to update:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -726,11 +736,14 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The resource name of the exclusion to update:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -755,11 +768,14 @@ public Builder setName(java.lang.String value) { * *
      * Required. The resource name of the exclusion to update:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -780,11 +796,14 @@ public Builder clearName() { * *
      * Required. The resource name of the exclusion to update:
+     *
      *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
      *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
      *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* @@ -1031,6 +1050,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -1052,6 +1072,7 @@ public boolean hasUpdateMask() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -1079,6 +1100,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -1108,6 +1130,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -1134,6 +1157,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -1166,6 +1190,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -1192,6 +1217,7 @@ public Builder clearUpdateMask() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -1213,6 +1239,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -1238,6 +1265,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java index cadc9f1ca..162dde851 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,11 +28,14 @@ public interface UpdateExclusionRequestOrBuilder * *
    * Required. The resource name of the exclusion to update:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -48,11 +51,14 @@ public interface UpdateExclusionRequestOrBuilder * *
    * Required. The resource name of the exclusion to update:
+   *
    *     "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    *     "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    *     "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* @@ -114,6 +120,7 @@ public interface UpdateExclusionRequestOrBuilder * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -133,6 +140,7 @@ public interface UpdateExclusionRequestOrBuilder * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
@@ -152,6 +160,7 @@ public interface UpdateExclusionRequestOrBuilder * [LogExclusion][google.logging.v2.LogExclusion] included in this request. * Fields not mentioned in `update_mask` are not changed and are ignored in * the request. + * * For example, to change the filter and description of an exclusion, * specify an `update_mask` of `"filter,description"`. *
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java index 9d9e562c1..dc0526f6c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateLogMetricRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor; @@ -76,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The resource name of the metric to update:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
    * does not exist in `[PROJECT_ID]`, then a new metric is created.
@@ -105,7 +102,9 @@ public java.lang.String getMetricName() {
    *
    * 
    * Required. The resource name of the metric to update:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
    * does not exist in `[PROJECT_ID]`, then a new metric is created.
@@ -554,7 +553,9 @@ public Builder mergeFrom(
      *
      * 
      * Required. The resource name of the metric to update:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
      * does not exist in `[PROJECT_ID]`, then a new metric is created.
@@ -582,7 +583,9 @@ public java.lang.String getMetricName() {
      *
      * 
      * Required. The resource name of the metric to update:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
      * does not exist in `[PROJECT_ID]`, then a new metric is created.
@@ -610,7 +613,9 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
      *
      * 
      * Required. The resource name of the metric to update:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
      * does not exist in `[PROJECT_ID]`, then a new metric is created.
@@ -637,7 +642,9 @@ public Builder setMetricName(java.lang.String value) {
      *
      * 
      * Required. The resource name of the metric to update:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
      * does not exist in `[PROJECT_ID]`, then a new metric is created.
@@ -660,7 +667,9 @@ public Builder clearMetricName() {
      *
      * 
      * Required. The resource name of the metric to update:
+     *
      *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
      * does not exist in `[PROJECT_ID]`, then a new metric is created.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
index 6df9263af..f0b147c75 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,7 +28,9 @@ public interface UpdateLogMetricRequestOrBuilder
    *
    * 
    * Required. The resource name of the metric to update:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
    * does not exist in `[PROJECT_ID]`, then a new metric is created.
@@ -46,7 +48,9 @@ public interface UpdateLogMetricRequestOrBuilder
    *
    * 
    * Required. The resource name of the metric to update:
+   *
    *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
    * does not exist in `[PROJECT_ID]`, then a new metric is created.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
index 39fde22de..122b6a6c9 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
  * 
  * The parameters to
  * [UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings].
+ *
  * See [Enabling CMEK for Log
  * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
  * more information.
@@ -51,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateSettingsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSettingsRequest_descriptor;
@@ -80,9 +76,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. The resource name for the settings to update.
+   *
    *     "organizations/[ORGANIZATION_ID]/settings"
+   *
    * For example:
+   *
    *   `"organizations/12345/settings"`
+   *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
    * folders in the Google Cloud organization.
@@ -109,9 +109,13 @@ public java.lang.String getName() {
    *
    * 
    * Required. The resource name for the settings to update.
+   *
    *     "organizations/[ORGANIZATION_ID]/settings"
+   *
    * For example:
+   *
    *   `"organizations/12345/settings"`
+   *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
    * folders in the Google Cloud organization.
@@ -141,6 +145,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    * 
    * Required. The settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -160,6 +165,7 @@ public boolean hasSettings() {
    *
    * 
    * Required. The settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -179,6 +185,7 @@ public com.google.logging.v2.Settings getSettings() {
    *
    * 
    * Required. The settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -201,7 +208,9 @@ public com.google.logging.v2.SettingsOrBuilder getSettingsOrBuilder() {
    * Optional. Field mask identifying which fields from `settings` should
    * be updated. A field will be overwritten if and only if it is in the update
    * mask. Output only fields cannot be updated.
+   *
    * See [FieldMask][google.protobuf.FieldMask] for more information.
+   *
    * For example: `"updateMask=kmsKeyName"`
    * 
* @@ -221,7 +230,9 @@ public boolean hasUpdateMask() { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -241,7 +252,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -446,6 +459,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * The parameters to
    * [UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings].
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
    * more information.
@@ -666,9 +680,13 @@ public Builder mergeFrom(
      *
      * 
      * Required. The resource name for the settings to update.
+     *
      *     "organizations/[ORGANIZATION_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -694,9 +712,13 @@ public java.lang.String getName() {
      *
      * 
      * Required. The resource name for the settings to update.
+     *
      *     "organizations/[ORGANIZATION_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -722,9 +744,13 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Required. The resource name for the settings to update.
+     *
      *     "organizations/[ORGANIZATION_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -749,9 +775,13 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Required. The resource name for the settings to update.
+     *
      *     "organizations/[ORGANIZATION_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -772,9 +802,13 @@ public Builder clearName() {
      *
      * 
      * Required. The resource name for the settings to update.
+     *
      *     "organizations/[ORGANIZATION_ID]/settings"
+     *
      * For example:
+     *
      *   `"organizations/12345/settings"`
+     *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
      * folders in the Google Cloud organization.
@@ -807,6 +841,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -825,6 +860,7 @@ public boolean hasSettings() {
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -847,6 +883,7 @@ public com.google.logging.v2.Settings getSettings() {
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -873,6 +910,7 @@ public Builder setSettings(com.google.logging.v2.Settings value) {
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -896,6 +934,7 @@ public Builder setSettings(com.google.logging.v2.Settings.Builder builderForValu
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -925,6 +964,7 @@ public Builder mergeSettings(com.google.logging.v2.Settings value) {
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -948,6 +988,7 @@ public Builder clearSettings() {
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -966,6 +1007,7 @@ public com.google.logging.v2.Settings.Builder getSettingsBuilder() {
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -986,6 +1028,7 @@ public com.google.logging.v2.SettingsOrBuilder getSettingsOrBuilder() {
      *
      * 
      * Required. The settings to update.
+     *
      * See [Enabling CMEK for Log
      * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
      * for more information.
@@ -1024,7 +1067,9 @@ public com.google.logging.v2.SettingsOrBuilder getSettingsOrBuilder() {
      * Optional. Field mask identifying which fields from `settings` should
      * be updated. A field will be overwritten if and only if it is in the update
      * mask. Output only fields cannot be updated.
+     *
      * See [FieldMask][google.protobuf.FieldMask] for more information.
+     *
      * For example: `"updateMask=kmsKeyName"`
      * 
* @@ -1043,7 +1088,9 @@ public boolean hasUpdateMask() { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1068,7 +1115,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1095,7 +1144,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1119,7 +1170,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1149,7 +1202,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1173,7 +1228,9 @@ public Builder clearUpdateMask() { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1192,7 +1249,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -1215,7 +1274,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java index ca3fd8de2..075d7bc5d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,9 +28,13 @@ public interface UpdateSettingsRequestOrBuilder * *
    * Required. The resource name for the settings to update.
+   *
    *     "organizations/[ORGANIZATION_ID]/settings"
+   *
    * For example:
+   *
    *   `"organizations/12345/settings"`
+   *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
    * folders in the Google Cloud organization.
@@ -46,9 +50,13 @@ public interface UpdateSettingsRequestOrBuilder
    *
    * 
    * Required. The resource name for the settings to update.
+   *
    *     "organizations/[ORGANIZATION_ID]/settings"
+   *
    * For example:
+   *
    *   `"organizations/12345/settings"`
+   *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
    * folders in the Google Cloud organization.
@@ -65,6 +73,7 @@ public interface UpdateSettingsRequestOrBuilder
    *
    * 
    * Required. The settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -81,6 +90,7 @@ public interface UpdateSettingsRequestOrBuilder
    *
    * 
    * Required. The settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -97,6 +107,7 @@ public interface UpdateSettingsRequestOrBuilder
    *
    * 
    * Required. The settings to update.
+   *
    * See [Enabling CMEK for Log
    * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
    * for more information.
@@ -114,7 +125,9 @@ public interface UpdateSettingsRequestOrBuilder
    * Optional. Field mask identifying which fields from `settings` should
    * be updated. A field will be overwritten if and only if it is in the update
    * mask. Output only fields cannot be updated.
+   *
    * See [FieldMask][google.protobuf.FieldMask] for more information.
+   *
    * For example: `"updateMask=kmsKeyName"`
    * 
* @@ -131,7 +144,9 @@ public interface UpdateSettingsRequestOrBuilder * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* @@ -148,7 +163,9 @@ public interface UpdateSettingsRequestOrBuilder * Optional. Field mask identifying which fields from `settings` should * be updated. A field will be overwritten if and only if it is in the update * mask. Output only fields cannot be updated. + * * See [FieldMask][google.protobuf.FieldMask] for more information. + * * For example: `"updateMask=kmsKeyName"` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java index ab3c65bdb..1556a4ade 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateSinkRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateSinkRequest_descriptor; @@ -77,11 +72,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full resource name of the sink to update, including the
    * parent resource and the sink identifier:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -109,11 +107,14 @@ public java.lang.String getSinkName() { *
    * Required. The full resource name of the sink to update, including the
    * parent resource and the sink identifier:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -195,6 +196,7 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * for a description of this field. When updating a sink, the effect of this * field on the value of `writer_identity` in the updated sink depends on both * the old and new values of this field: + * * + If the old and new values of this field are both false or both true, * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then @@ -221,13 +223,18 @@ public boolean getUniqueWriterIdentity() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -247,13 +254,18 @@ public boolean hasUpdateMask() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -273,13 +285,18 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -722,11 +739,14 @@ public Builder mergeFrom( *
      * Required. The full resource name of the sink to update, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -753,11 +773,14 @@ public java.lang.String getSinkName() { *
      * Required. The full resource name of the sink to update, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -784,11 +807,14 @@ public com.google.protobuf.ByteString getSinkNameBytes() { *
      * Required. The full resource name of the sink to update, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -814,11 +840,14 @@ public Builder setSinkName(java.lang.String value) { *
      * Required. The full resource name of the sink to update, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -840,11 +869,14 @@ public Builder clearSinkName() { *
      * Required. The full resource name of the sink to update, including the
      * parent resource and the sink identifier:
+     *
      *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
      *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
      *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
      *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/sinks/my-sink"`
      * 
* @@ -1063,6 +1095,7 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * for a description of this field. When updating a sink, the effect of this * field on the value of `writer_identity` in the updated sink depends on both * the old and new values of this field: + * * + If the old and new values of this field are both false or both true, * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then @@ -1087,6 +1120,7 @@ public boolean getUniqueWriterIdentity() { * for a description of this field. When updating a sink, the effect of this * field on the value of `writer_identity` in the updated sink depends on both * the old and new values of this field: + * * + If the old and new values of this field are both false or both true, * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then @@ -1115,6 +1149,7 @@ public Builder setUniqueWriterIdentity(boolean value) { * for a description of this field. When updating a sink, the effect of this * field on the value of `writer_identity` in the updated sink depends on both * the old and new values of this field: + * * + If the old and new values of this field are both false or both true, * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then @@ -1147,13 +1182,18 @@ public Builder clearUniqueWriterIdentity() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1172,13 +1212,18 @@ public boolean hasUpdateMask() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1203,13 +1248,18 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1236,13 +1286,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1266,13 +1321,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1302,13 +1362,18 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1332,13 +1397,18 @@ public Builder clearUpdateMask() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1357,13 +1427,18 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1386,13 +1461,18 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java index 470b15076..6b711948b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,11 +29,14 @@ public interface UpdateSinkRequestOrBuilder *
    * Required. The full resource name of the sink to update, including the
    * parent resource and the sink identifier:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -50,11 +53,14 @@ public interface UpdateSinkRequestOrBuilder *
    * Required. The full resource name of the sink to update, including the
    * parent resource and the sink identifier:
+   *
    *     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
    *     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
    *     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
    *     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/sinks/my-sink"`
    * 
* @@ -112,6 +118,7 @@ public interface UpdateSinkRequestOrBuilder * for a description of this field. When updating a sink, the effect of this * field on the value of `writer_identity` in the updated sink depends on both * the old and new values of this field: + * * + If the old and new values of this field are both false or both true, * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then @@ -133,13 +140,18 @@ public interface UpdateSinkRequestOrBuilder * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -156,13 +168,18 @@ public interface UpdateSinkRequestOrBuilder * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -179,13 +196,18 @@ public interface UpdateSinkRequestOrBuilder * Optional. Field mask that specifies the fields in `sink` that need * an update. A sink field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: + * * `destination,filter,includeChildren` + * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java index b68e1fc33..fd0dbc794 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateViewRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateViewRequest_descriptor; @@ -76,8 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full resource name of the view to update
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -102,8 +100,11 @@ public java.lang.String getName() { * *
    * Required. The full resource name of the view to update
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -179,8 +180,10 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -200,8 +203,10 @@ public boolean hasUpdateMask() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -221,8 +226,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -642,8 +649,11 @@ public Builder mergeFrom( * *
      * Required. The full resource name of the view to update
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -667,8 +677,11 @@ public java.lang.String getName() { * *
      * Required. The full resource name of the view to update
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -692,8 +705,11 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full resource name of the view to update
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -716,8 +732,11 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full resource name of the view to update
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -736,8 +755,11 @@ public Builder clearName() { * *
      * Required. The full resource name of the view to update
+     *
      *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *
      * For example:
+     *
      *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* @@ -949,8 +971,10 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -969,8 +993,10 @@ public boolean hasUpdateMask() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -995,8 +1021,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1023,8 +1051,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1048,8 +1078,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1079,8 +1111,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1104,8 +1138,10 @@ public Builder clearUpdateMask() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1124,8 +1160,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -1148,8 +1186,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java index 92d2ba148..d0a1df19e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,8 +28,11 @@ public interface UpdateViewRequestOrBuilder * *
    * Required. The full resource name of the view to update
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -43,8 +46,11 @@ public interface UpdateViewRequestOrBuilder * *
    * Required. The full resource name of the view to update
+   *
    *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *
    * For example:
+   *
    *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* @@ -96,8 +102,10 @@ public interface UpdateViewRequestOrBuilder * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -114,8 +122,10 @@ public interface UpdateViewRequestOrBuilder * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* @@ -132,8 +142,10 @@ public interface UpdateViewRequestOrBuilder * Optional. Field mask that specifies the fields in `view` that need * an update. A field will be overwritten if, and only if, it is * in the update mask. `name` and output only fields cannot be updated. + * * For a detailed `FieldMask` definition, see * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask + * * For example: `updateMask=filter` *
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java index 598d4ca69..5439c4491 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteLogEntriesPartialErrors(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor; @@ -113,6 +108,7 @@ public int getLogEntryErrorsCount() { * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -137,6 +133,7 @@ public java.util.Map getLogEntryErrors * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -154,6 +151,7 @@ public java.util.Map getLogEntryErrors * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -177,6 +175,7 @@ public java.util.Map getLogEntryErrors * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -604,6 +603,7 @@ public int getLogEntryErrorsCount() { * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -628,6 +628,7 @@ public java.util.Map getLogEntryErrors * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -645,6 +646,7 @@ public java.util.Map getLogEntryErrors * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -668,6 +670,7 @@ public java.util.Map getLogEntryErrors * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -697,6 +700,7 @@ public Builder clearLogEntryErrors() { * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -721,6 +725,7 @@ public java.util.Map getMutableLogEntr * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -743,6 +748,7 @@ public Builder putLogEntryErrors(int key, com.google.rpc.Status value) { * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java index 5dc69287d..16470c27f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ public interface WriteLogEntriesPartialErrorsOrBuilder * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -44,6 +45,7 @@ public interface WriteLogEntriesPartialErrorsOrBuilder * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -61,6 +63,7 @@ public interface WriteLogEntriesPartialErrorsOrBuilder * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -75,6 +78,7 @@ public interface WriteLogEntriesPartialErrorsOrBuilder * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
@@ -93,6 +97,7 @@ com.google.rpc.Status getLogEntryErrorsOrDefault( * When `WriteLogEntriesRequest.partial_success` is true, records the error * status for entries that were not written due to a permanent error, keyed * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. + * * Failed requests for which no entries are written will not include * per-entry errors. *
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java index d296288ff..14547ef7a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteLogEntriesRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor; @@ -89,13 +84,17 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { *
    * Optional. A default log resource name that is assigned to all log entries
    * in `entries` that do not specify a value for `log_name`:
+   *
    * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
    * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
    * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
    * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+   *
    * `[LOG_ID]` must be URL-encoded. For example:
+   *
    *     "projects/my-project-id/logs/syslog"
    *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+   *
    * The permission `logging.logEntries.create` is needed on each project,
    * organization, billing account, or folder that is receiving new log
    * entries, whether the resource is specified in `logName` or in an
@@ -126,13 +125,17 @@ public java.lang.String getLogName() {
    * 
    * Optional. A default log resource name that is assigned to all log entries
    * in `entries` that do not specify a value for `log_name`:
+   *
    * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
    * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
    * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
    * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+   *
    * `[LOG_ID]` must be URL-encoded. For example:
+   *
    *     "projects/my-project-id/logs/syslog"
    *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+   *
    * The permission `logging.logEntries.create` is needed on each project,
    * organization, billing account, or folder that is receiving new log
    * entries, whether the resource is specified in `logName` or in an
@@ -166,9 +169,11 @@ public com.google.protobuf.ByteString getLogNameBytes() {
    * 
    * Optional. A default monitored resource object that is assigned to all log
    * entries in `entries` that do not specify a value for `resource`. Example:
+   *
    *     { "type": "gce_instance",
    *       "labels": {
    *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+   *
    * See [LogEntry][google.logging.v2.LogEntry].
    * 
* @@ -187,9 +192,11 @@ public boolean hasResource() { *
    * Optional. A default monitored resource object that is assigned to all log
    * entries in `entries` that do not specify a value for `resource`. Example:
+   *
    *     { "type": "gce_instance",
    *       "labels": {
    *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+   *
    * See [LogEntry][google.logging.v2.LogEntry].
    * 
* @@ -208,9 +215,11 @@ public com.google.api.MonitoredResource getResource() { *
    * Optional. A default monitored resource object that is assigned to all log
    * entries in `entries` that do not specify a value for `resource`. Example:
+   *
    *     { "type": "gce_instance",
    *       "labels": {
    *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+   *
    * See [LogEntry][google.logging.v2.LogEntry].
    * 
* @@ -350,17 +359,20 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -385,17 +397,20 @@ public java.util.List getEntriesList() { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -421,17 +436,20 @@ public java.util.List getEntriesList() { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -456,17 +474,20 @@ public int getEntriesCount() { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -491,17 +512,20 @@ public com.google.logging.v2.LogEntry getEntries(int index) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -1110,13 +1134,17 @@ public Builder mergeFrom( *
      * Optional. A default log resource name that is assigned to all log entries
      * in `entries` that do not specify a value for `log_name`:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example:
+     *
      *     "projects/my-project-id/logs/syslog"
      *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+     *
      * The permission `logging.logEntries.create` is needed on each project,
      * organization, billing account, or folder that is receiving new log
      * entries, whether the resource is specified in `logName` or in an
@@ -1146,13 +1174,17 @@ public java.lang.String getLogName() {
      * 
      * Optional. A default log resource name that is assigned to all log entries
      * in `entries` that do not specify a value for `log_name`:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example:
+     *
      *     "projects/my-project-id/logs/syslog"
      *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+     *
      * The permission `logging.logEntries.create` is needed on each project,
      * organization, billing account, or folder that is receiving new log
      * entries, whether the resource is specified in `logName` or in an
@@ -1182,13 +1214,17 @@ public com.google.protobuf.ByteString getLogNameBytes() {
      * 
      * Optional. A default log resource name that is assigned to all log entries
      * in `entries` that do not specify a value for `log_name`:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example:
+     *
      *     "projects/my-project-id/logs/syslog"
      *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+     *
      * The permission `logging.logEntries.create` is needed on each project,
      * organization, billing account, or folder that is receiving new log
      * entries, whether the resource is specified in `logName` or in an
@@ -1217,13 +1253,17 @@ public Builder setLogName(java.lang.String value) {
      * 
      * Optional. A default log resource name that is assigned to all log entries
      * in `entries` that do not specify a value for `log_name`:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example:
+     *
      *     "projects/my-project-id/logs/syslog"
      *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+     *
      * The permission `logging.logEntries.create` is needed on each project,
      * organization, billing account, or folder that is receiving new log
      * entries, whether the resource is specified in `logName` or in an
@@ -1248,13 +1288,17 @@ public Builder clearLogName() {
      * 
      * Optional. A default log resource name that is assigned to all log entries
      * in `entries` that do not specify a value for `log_name`:
+     *
      * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
      * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
      * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
      * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+     *
      * `[LOG_ID]` must be URL-encoded. For example:
+     *
      *     "projects/my-project-id/logs/syslog"
      *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+     *
      * The permission `logging.logEntries.create` is needed on each project,
      * organization, billing account, or folder that is receiving new log
      * entries, whether the resource is specified in `logName` or in an
@@ -1291,9 +1335,11 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) {
      * 
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1311,9 +1357,11 @@ public boolean hasResource() { *
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1337,9 +1385,11 @@ public com.google.api.MonitoredResource getResource() { *
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1365,9 +1415,11 @@ public Builder setResource(com.google.api.MonitoredResource value) { *
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1390,9 +1442,11 @@ public Builder setResource(com.google.api.MonitoredResource.Builder builderForVa *
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1421,9 +1475,11 @@ public Builder mergeResource(com.google.api.MonitoredResource value) { *
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1446,9 +1502,11 @@ public Builder clearResource() { *
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1466,9 +1524,11 @@ public com.google.api.MonitoredResource.Builder getResourceBuilder() { *
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1490,9 +1550,11 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() { *
      * Optional. A default monitored resource object that is assigned to all log
      * entries in `entries` that do not specify a value for `resource`. Example:
+     *
      *     { "type": "gce_instance",
      *       "labels": {
      *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+     *
      * See [LogEntry][google.logging.v2.LogEntry].
      * 
* @@ -1726,17 +1788,20 @@ private void ensureEntriesIsMutable() { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -1764,17 +1829,20 @@ public java.util.List getEntriesList() { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -1802,17 +1870,20 @@ public int getEntriesCount() { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -1840,17 +1911,20 @@ public com.google.logging.v2.LogEntry getEntries(int index) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -1884,17 +1958,20 @@ public Builder setEntries(int index, com.google.logging.v2.LogEntry value) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -1925,17 +2002,20 @@ public Builder setEntries(int index, com.google.logging.v2.LogEntry.Builder buil * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -1969,17 +2049,20 @@ public Builder addEntries(com.google.logging.v2.LogEntry value) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2013,17 +2096,20 @@ public Builder addEntries(int index, com.google.logging.v2.LogEntry value) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2054,17 +2140,20 @@ public Builder addEntries(com.google.logging.v2.LogEntry.Builder builderForValue * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2095,17 +2184,20 @@ public Builder addEntries(int index, com.google.logging.v2.LogEntry.Builder buil * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2137,17 +2229,20 @@ public Builder addAllEntries( * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2178,17 +2273,20 @@ public Builder clearEntries() { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2219,17 +2317,20 @@ public Builder removeEntries(int index) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2253,17 +2354,20 @@ public com.google.logging.v2.LogEntry.Builder getEntriesBuilder(int index) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2291,17 +2395,20 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2330,17 +2437,20 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2365,17 +2475,20 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -2400,17 +2513,20 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java index c40e3e6a4..b2e3ce509 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,13 +29,17 @@ public interface WriteLogEntriesRequestOrBuilder *
    * Optional. A default log resource name that is assigned to all log entries
    * in `entries` that do not specify a value for `log_name`:
+   *
    * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
    * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
    * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
    * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+   *
    * `[LOG_ID]` must be URL-encoded. For example:
+   *
    *     "projects/my-project-id/logs/syslog"
    *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+   *
    * The permission `logging.logEntries.create` is needed on each project,
    * organization, billing account, or folder that is receiving new log
    * entries, whether the resource is specified in `logName` or in an
@@ -55,13 +59,17 @@ public interface WriteLogEntriesRequestOrBuilder
    * 
    * Optional. A default log resource name that is assigned to all log entries
    * in `entries` that do not specify a value for `log_name`:
+   *
    * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
    * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
    * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
    * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+   *
    * `[LOG_ID]` must be URL-encoded. For example:
+   *
    *     "projects/my-project-id/logs/syslog"
    *     "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
+   *
    * The permission `logging.logEntries.create` is needed on each project,
    * organization, billing account, or folder that is receiving new log
    * entries, whether the resource is specified in `logName` or in an
@@ -82,9 +90,11 @@ public interface WriteLogEntriesRequestOrBuilder
    * 
    * Optional. A default monitored resource object that is assigned to all log
    * entries in `entries` that do not specify a value for `resource`. Example:
+   *
    *     { "type": "gce_instance",
    *       "labels": {
    *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+   *
    * See [LogEntry][google.logging.v2.LogEntry].
    * 
* @@ -100,9 +110,11 @@ public interface WriteLogEntriesRequestOrBuilder *
    * Optional. A default monitored resource object that is assigned to all log
    * entries in `entries` that do not specify a value for `resource`. Example:
+   *
    *     { "type": "gce_instance",
    *       "labels": {
    *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+   *
    * See [LogEntry][google.logging.v2.LogEntry].
    * 
* @@ -118,9 +130,11 @@ public interface WriteLogEntriesRequestOrBuilder *
    * Optional. A default monitored resource object that is assigned to all log
    * entries in `entries` that do not specify a value for `resource`. Example:
+   *
    *     { "type": "gce_instance",
    *       "labels": {
    *         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
+   *
    * See [LogEntry][google.logging.v2.LogEntry].
    * 
* @@ -212,17 +226,20 @@ java.lang.String getLabelsOrDefault( * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -244,17 +261,20 @@ java.lang.String getLabelsOrDefault( * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -276,17 +296,20 @@ java.lang.String getLabelsOrDefault( * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -308,17 +331,20 @@ java.lang.String getLabelsOrDefault( * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this @@ -340,17 +366,20 @@ java.lang.String getLabelsOrDefault( * entries in this list that do not include values for their corresponding * fields. For more information, see the * [LogEntry][google.logging.v2.LogEntry] type. + * * If the `timestamp` or `insert_id` fields are missing in log entries, then * this method supplies the current time or a unique identifier, respectively. * The supplied values are chosen so that, among the log entries that did not * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. + * * Log entries with timestamps that are more than the * [logs retention period](https://cloud.google.com/logging/quotas) in * the past or more than 24 hours in the future will not be available when * calling `entries.list`. However, those log entries can still be [exported * with * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * * To improve throughput and to avoid exceeding the * [quota limit](https://cloud.google.com/logging/quotas) for calls to * `entries.write`, you should try to include several log entries in this diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java index 5d07067a9..4bc74d21e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteLogEntriesResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java index 133cac2a4..2bc288fa4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. From 614f12c327758a01d208dffaa3580fa95521bfd9 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 17 Jul 2023 16:48:45 +0200 Subject: [PATCH 5/7] chore(deps): update dependency com.google.cloud:libraries-bom to v26.18.0 (#1387) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:libraries-bom to v26.18.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- README.md | 2 +- samples/native-image-sample/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 181884630..8cb078fc0 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.17.0 + 26.18.0 pom import diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml index fd289509a..df4435849 100644 --- a/samples/native-image-sample/pom.xml +++ b/samples/native-image-sample/pom.xml @@ -29,7 +29,7 @@ com.google.cloud libraries-bom - 26.17.0 + 26.18.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 242c41fa2..f2c6ff69f 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -29,7 +29,7 @@ com.google.cloud libraries-bom - 26.17.0 + 26.18.0 pom import From 03179b0697f17bfc114ff114e454464ed76f8d5b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 17 Jul 2023 18:07:28 +0200 Subject: [PATCH 6/7] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.0 (#1388) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9407cf982..400ec8020 100644 --- a/pom.xml +++ b/pom.xml @@ -77,7 +77,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.12.0 + 3.13.0 pom import From af6a6c4d159943a8435af5fcfbbe5672fb5d39cd Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 16:30:13 +0000 Subject: [PATCH 7/7] chore(main): release 3.15.6 (#1390) :robot: I have created a release *beep* *boop* --- ## [3.15.6](https://togithub.com/googleapis/java-logging/compare/v3.15.5...v3.15.6) (2023-07-17) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.0 ([#1388](https://togithub.com/googleapis/java-logging/issues/1388)) ([03179b0](https://togithub.com/googleapis/java-logging/commit/03179b0697f17bfc114ff114e454464ed76f8d5b)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- CHANGELOG.md | 7 +++++++ google-cloud-logging-bom/pom.xml | 8 ++++---- google-cloud-logging/pom.xml | 4 ++-- .../java/com/google/cloud/logging/Instrumentation.java | 2 +- grpc-google-cloud-logging-v2/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-logging-v2/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 9 files changed, 26 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 194a73bcd..1f25fba95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [3.15.6](https://github.com/googleapis/java-logging/compare/v3.15.5...v3.15.6) (2023-07-17) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.0 ([#1388](https://github.com/googleapis/java-logging/issues/1388)) ([03179b0](https://github.com/googleapis/java-logging/commit/03179b0697f17bfc114ff114e454464ed76f8d5b)) + ## [3.15.5](https://github.com/googleapis/java-logging/compare/v3.15.4...v3.15.5) (2023-06-22) diff --git a/google-cloud-logging-bom/pom.xml b/google-cloud-logging-bom/pom.xml index 11d3bab78..ce16ce6ff 100644 --- a/google-cloud-logging-bom/pom.xml +++ b/google-cloud-logging-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-logging-bom - 3.15.6-SNAPSHOT + 3.15.6 pom com.google.cloud @@ -53,17 +53,17 @@ com.google.cloud google-cloud-logging - 3.15.6-SNAPSHOT + 3.15.6 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.104.6-SNAPSHOT + 0.104.6 com.google.api.grpc proto-google-cloud-logging-v2 - 0.104.6-SNAPSHOT + 0.104.6 diff --git a/google-cloud-logging/pom.xml b/google-cloud-logging/pom.xml index 715b73af9..bfa5e0b0e 100644 --- a/google-cloud-logging/pom.xml +++ b/google-cloud-logging/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-logging - 3.15.6-SNAPSHOT + 3.15.6 jar Google Cloud Logging https://github.com/googleapis/java-logging @@ -11,7 +11,7 @@ com.google.cloud google-cloud-logging-parent - 3.15.6-SNAPSHOT + 3.15.6 google-cloud-logging diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java index c44415399..76d516a53 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/Instrumentation.java @@ -40,7 +40,7 @@ public final class Instrumentation { // See // https://github.com/googleapis/release-please/blob/main/docs/customizing.md#updating-arbitrary-files // {x-version-update-start:google-cloud-logging:current} - public static final String DEFAULT_INSTRUMENTATION_VERSION = "3.15.6-SNAPSHOT"; + public static final String DEFAULT_INSTRUMENTATION_VERSION = "3.15.6"; // {x-version-update-end} public static final String INSTRUMENTATION_LOG_NAME = "diagnostic-log"; public static final int MAX_DIAGNOSTIC_VALUE_LENGTH = 14; diff --git a/grpc-google-cloud-logging-v2/pom.xml b/grpc-google-cloud-logging-v2/pom.xml index 1a7ac0a3c..dc077944d 100644 --- a/grpc-google-cloud-logging-v2/pom.xml +++ b/grpc-google-cloud-logging-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.104.6-SNAPSHOT + 0.104.6 grpc-google-cloud-logging-v2 GRPC library for grpc-google-cloud-logging-v2 com.google.cloud google-cloud-logging-parent - 3.15.6-SNAPSHOT + 3.15.6 diff --git a/pom.xml b/pom.xml index 400ec8020..f10a9550b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-logging-parent pom - 3.15.6-SNAPSHOT + 3.15.6 Google Cloud Logging Parent https://github.com/googleapis/java-logging @@ -61,17 +61,17 @@ com.google.api.grpc proto-google-cloud-logging-v2 - 0.104.6-SNAPSHOT + 0.104.6 com.google.api.grpc grpc-google-cloud-logging-v2 - 0.104.6-SNAPSHOT + 0.104.6 com.google.cloud google-cloud-logging - 3.15.6-SNAPSHOT + 3.15.6 diff --git a/proto-google-cloud-logging-v2/pom.xml b/proto-google-cloud-logging-v2/pom.xml index b23521272..a6087ff7a 100644 --- a/proto-google-cloud-logging-v2/pom.xml +++ b/proto-google-cloud-logging-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-logging-v2 - 0.104.6-SNAPSHOT + 0.104.6 proto-google-cloud-logging-v2 PROTO library for proto-google-cloud-logging-v2 com.google.cloud google-cloud-logging-parent - 3.15.6-SNAPSHOT + 3.15.6 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index ec711bdd9..ba374153e 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-logging - 3.15.6-SNAPSHOT + 3.15.6 diff --git a/versions.txt b/versions.txt index 6d7f06307..9fed1d237 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-logging:3.15.5:3.15.6-SNAPSHOT -grpc-google-cloud-logging-v2:0.104.5:0.104.6-SNAPSHOT -proto-google-cloud-logging-v2:0.104.5:0.104.6-SNAPSHOT +google-cloud-logging:3.15.6:3.15.6 +grpc-google-cloud-logging-v2:0.104.6:0.104.6 +proto-google-cloud-logging-v2:0.104.6:0.104.6 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy

Mapping of Java logging level to Cloud Logging severities
Java LevelJava LevelCloud Logging Severity