diff --git a/.cloudbuild/graalvm/cloudbuild-test-a.yaml b/.cloudbuild/graalvm/cloudbuild-test-a.yaml index bbf8d1f666..6d1a685201 100644 --- a/.cloudbuild/graalvm/cloudbuild-test-a.yaml +++ b/.cloudbuild/graalvm/cloudbuild-test-a.yaml @@ -14,7 +14,7 @@ timeout: 7200s # 2 hours substitutions: - _SHARED_DEPENDENCIES_VERSION: '3.28.0' # {x-version-update:google-cloud-shared-dependencies:current} + _SHARED_DEPENDENCIES_VERSION: '3.28.1' # {x-version-update:google-cloud-shared-dependencies:current} _JAVA_SHARED_CONFIG_VERSION: '1.7.6' steps: diff --git a/.cloudbuild/graalvm/cloudbuild-test-b.yaml b/.cloudbuild/graalvm/cloudbuild-test-b.yaml index 978cf96852..3fdfa35964 100644 --- a/.cloudbuild/graalvm/cloudbuild-test-b.yaml +++ b/.cloudbuild/graalvm/cloudbuild-test-b.yaml @@ -14,7 +14,7 @@ timeout: 7200s # 2 hours substitutions: - _SHARED_DEPENDENCIES_VERSION: '3.28.0' # {x-version-update:google-cloud-shared-dependencies:current} + _SHARED_DEPENDENCIES_VERSION: '3.28.1' # {x-version-update:google-cloud-shared-dependencies:current} _JAVA_SHARED_CONFIG_VERSION: '1.7.6' steps: diff --git a/.cloudbuild/graalvm/cloudbuild.yaml b/.cloudbuild/graalvm/cloudbuild.yaml index a422246fa3..8c2703f018 100644 --- a/.cloudbuild/graalvm/cloudbuild.yaml +++ b/.cloudbuild/graalvm/cloudbuild.yaml @@ -14,7 +14,7 @@ timeout: 7200s # 2 hours substitutions: - _SHARED_DEPENDENCIES_VERSION: '3.28.0' # {x-version-update:google-cloud-shared-dependencies:current} + _SHARED_DEPENDENCIES_VERSION: '3.28.1' # {x-version-update:google-cloud-shared-dependencies:current} _JAVA_SHARED_CONFIG_VERSION: '1.7.6' steps: # GraalVM A build diff --git a/.cloudbuild/library_generation/cloudbuild-library-generation-release.yaml b/.cloudbuild/library_generation/cloudbuild-library-generation-release.yaml index d618d8ae46..6472fb902a 100644 --- a/.cloudbuild/library_generation/cloudbuild-library-generation-release.yaml +++ b/.cloudbuild/library_generation/cloudbuild-library-generation-release.yaml @@ -14,7 +14,7 @@ timeout: 7200s # 2 hours substitutions: - _GAPIC_GENERATOR_JAVA_VERSION: '2.38.0' # {x-version-update:gapic-generator-java:current} + _GAPIC_GENERATOR_JAVA_VERSION: '2.38.1' # {x-version-update:gapic-generator-java:current} _IMAGE_ID: "gcr.io/cloud-devrel-public-resources/java-library-generation:${_GAPIC_GENERATOR_JAVA_VERSION}" steps: # Library generation build diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0e1c697558..31c7eba7ab 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.38.0" + ".": "2.38.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index de3270576e..4e17a6e995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [2.38.1](https://github.com/googleapis/sdk-platform-java/compare/v2.38.0...v2.38.1) (2024-03-15) + + +### Bug Fixes + +* **deps:** add detector-resource-support dependencies ([#2559](https://github.com/googleapis/sdk-platform-java/issues/2559)) ([53f2c85](https://github.com/googleapis/sdk-platform-java/commit/53f2c85ff700e114ca88ab74360733144581b861)) +* Update shopping and chat common protos. ([#2580](https://github.com/googleapis/sdk-platform-java/issues/2580)) ([f472756](https://github.com/googleapis/sdk-platform-java/commit/f472756590215308305bbb370097e300439f168b)) + + +### Dependencies + +* update google api dependencies ([#2582](https://github.com/googleapis/sdk-platform-java/issues/2582)) ([dd03d93](https://github.com/googleapis/sdk-platform-java/commit/dd03d9378c6efbaf7a0785f235461cc5951c50d2)) + ## [2.38.0](https://github.com/googleapis/sdk-platform-java/compare/v2.37.0...v2.38.0) (2024-03-15) diff --git a/WORKSPACE b/WORKSPACE index 73442d5237..12134e38c5 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -60,7 +60,7 @@ maven_install( repositories = ["https://repo.maven.apache.org/maven2/"], ) -_gapic_generator_java_version = "2.38.0" # {x-version-update:gapic-generator-java:current} +_gapic_generator_java_version = "2.38.1" # {x-version-update:gapic-generator-java:current} maven_install( artifacts = [ diff --git a/api-common-java/pom.xml b/api-common-java/pom.xml index 4fcd8d7a73..588495938c 100644 --- a/api-common-java/pom.xml +++ b/api-common-java/pom.xml @@ -5,14 +5,14 @@ com.google.api api-common jar - 2.29.0 + 2.29.1 API Common Common utilities for Google APIs in Java com.google.api gapic-generator-java-pom-parent - 2.38.0 + 2.38.1 ../gapic-generator-java-pom-parent diff --git a/coverage-report/pom.xml b/coverage-report/pom.xml index c171721e25..fc392463cd 100644 --- a/coverage-report/pom.xml +++ b/coverage-report/pom.xml @@ -31,22 +31,22 @@ com.google.api gax - 2.46.0 + 2.46.1 com.google.api gax-grpc - 2.46.0 + 2.46.1 com.google.api gax-httpjson - 2.46.0 + 2.46.1 com.google.api api-common - 2.29.0 + 2.29.1 diff --git a/gapic-generator-java-bom/pom.xml b/gapic-generator-java-bom/pom.xml index 1c2161c4ed..be43226e67 100644 --- a/gapic-generator-java-bom/pom.xml +++ b/gapic-generator-java-bom/pom.xml @@ -4,7 +4,7 @@ com.google.api gapic-generator-java-bom pom - 2.38.0 + 2.38.1 GAPIC Generator Java BOM BOM for the libraries in gapic-generator-java repository. Users should not @@ -15,7 +15,7 @@ com.google.api gapic-generator-java-pom-parent - 2.38.0 + 2.38.1 ../gapic-generator-java-pom-parent @@ -82,61 +82,61 @@ com.google.api api-common - 2.29.0 + 2.29.1 com.google.api gax-bom - 2.46.0 + 2.46.1 pom import com.google.api gapic-generator-java - 2.38.0 + 2.38.1 com.google.api.grpc grpc-google-common-protos - 2.37.0 + 2.37.1 com.google.api.grpc proto-google-common-protos - 2.37.0 + 2.37.1 com.google.api.grpc proto-google-iam-v1 - 1.32.0 + 1.32.1 com.google.api.grpc proto-google-iam-v2 - 1.32.0 + 1.32.1 com.google.api.grpc proto-google-iam-v2beta - 1.32.0 + 1.32.1 com.google.api.grpc grpc-google-iam-v1 - 1.32.0 + 1.32.1 com.google.api.grpc grpc-google-iam-v2 - 1.32.0 + 1.32.1 com.google.api.grpc grpc-google-iam-v2beta - 1.32.0 + 1.32.1 diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml index 9b13b904ed..66812f88ed 100644 --- a/gapic-generator-java-pom-parent/pom.xml +++ b/gapic-generator-java-pom-parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.api gapic-generator-java-pom-parent - 2.38.0 + 2.38.1 pom GAPIC Generator Java POM Parent https://github.com/googleapis/sdk-platform-java diff --git a/gapic-generator-java/pom.xml b/gapic-generator-java/pom.xml index 919612c38f..89a5b14f7b 100644 --- a/gapic-generator-java/pom.xml +++ b/gapic-generator-java/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.google.api gapic-generator-java - 2.38.0 + 2.38.1 GAPIC Generator Java GAPIC generator Java @@ -22,7 +22,7 @@ com.google.api gapic-generator-java-pom-parent - 2.38.0 + 2.38.1 ../gapic-generator-java-pom-parent @@ -31,7 +31,7 @@ com.google.api gapic-generator-java-bom - 2.38.0 + 2.38.1 pom import diff --git a/gax-java/README.md b/gax-java/README.md index bba7b36b54..22c0e8b571 100644 --- a/gax-java/README.md +++ b/gax-java/README.md @@ -34,27 +34,27 @@ If you are using Maven, add this to your pom.xml file com.google.api gax - 2.46.0 + 2.46.1 com.google.api gax-grpc - 2.46.0 + 2.46.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.api:gax:2.46.0', - 'com.google.api:gax-grpc:2.46.0' +compile 'com.google.api:gax:2.46.1', + 'com.google.api:gax-grpc:2.46.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.api" % "gax" % "2.46.0" -libraryDependencies += "com.google.api" % "gax-grpc" % "2.46.0" +libraryDependencies += "com.google.api" % "gax" % "2.46.1" +libraryDependencies += "com.google.api" % "gax-grpc" % "2.46.1" ``` [//]: # ({x-version-update-end}) diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties index 9e9a9de3d1..07468f9e10 100644 --- a/gax-java/dependencies.properties +++ b/gax-java/dependencies.properties @@ -8,16 +8,16 @@ # Versions of oneself # {x-version-update-start:gax:current} -version.gax=2.46.0 +version.gax=2.46.1 # {x-version-update-end} # {x-version-update-start:gax:current} -version.gax_grpc=2.46.0 +version.gax_grpc=2.46.1 # {x-version-update-end} # {x-version-update-start:gax:current} -version.gax_bom=2.46.0 +version.gax_bom=2.46.1 # {x-version-update-end} # {x-version-update-start:gax:current} -version.gax_httpjson=2.46.0 +version.gax_httpjson=2.46.1 # {x-version-update-end} # Versions for dependencies which actual artifacts differ between Bazel and Gradle. @@ -35,8 +35,8 @@ version.io_grpc=1.62.2 # It should be constructed the following way: # 1) Take full artifact id (including the group and classifier (if any) portions) and remove version portion. # 2) Replace all characters which are neither alphabetic nor digits with the underscore ('_') character -maven.com_google_api_grpc_proto_google_common_protos=com.google.api.grpc:proto-google-common-protos:2.36.0 -maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:2.36.0 +maven.com_google_api_grpc_proto_google_common_protos=com.google.api.grpc:proto-google-common-protos:2.37.0 +maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:2.37.0 maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:1.23.0 maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:1.23.0 maven.io_opentelemetry_opentelemetry_api=io.opentelemetry:opentelemetry-api:1.36.0 @@ -69,8 +69,8 @@ maven.com_google_auto_value_auto_value=com.google.auto.value:auto-value:1.10.4 maven.com_google_auto_value_auto_value_annotations=com.google.auto.value:auto-value-annotations:1.10.4 maven.com_google_api_api_common=com.google.api:api-common:2.28.0 maven.org_threeten_threetenbp=org.threeten:threetenbp:1.6.8 -maven.com_google_api_grpc_grpc_google_iam_v1=com.google.api.grpc:grpc-google-iam-v1:1.31.0 -maven.com_google_api_grpc_proto_google_iam_v1=com.google.api.grpc:proto-google-iam-v1:1.31.0 +maven.com_google_api_grpc_grpc_google_iam_v1=com.google.api.grpc:grpc-google-iam-v1:1.32.0 +maven.com_google_api_grpc_proto_google_iam_v1=com.google.api.grpc:proto-google-iam-v1:1.32.0 maven.com_google_http_client_google_http_client=com.google.http-client:google-http-client:1.44.1 maven.com_google_http_client_google_http_client_gson=com.google.http-client:google-http-client-gson:1.44.1 maven.org_codehaus_mojo_animal_sniffer_annotations=org.codehaus.mojo:animal-sniffer-annotations:1.23 diff --git a/gax-java/gax-bom/pom.xml b/gax-java/gax-bom/pom.xml index f3e98bb19d..a3e5c30c56 100644 --- a/gax-java/gax-bom/pom.xml +++ b/gax-java/gax-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.api gax-bom - 2.46.0 + 2.46.1 pom GAX (Google Api eXtensions) for Java (BOM) Google Api eXtensions for Java (BOM) @@ -43,55 +43,55 @@ com.google.api gax - 2.46.0 + 2.46.1 com.google.api gax - 2.46.0 + 2.46.1 test-jar testlib com.google.api gax - 2.46.0 + 2.46.1 testlib com.google.api gax-grpc - 2.46.0 + 2.46.1 com.google.api gax-grpc - 2.46.0 + 2.46.1 test-jar testlib com.google.api gax-grpc - 2.46.0 + 2.46.1 testlib com.google.api gax-httpjson - 2.46.0 + 2.46.1 com.google.api gax-httpjson - 2.46.0 + 2.46.1 test-jar testlib com.google.api gax-httpjson - 2.46.0 + 2.46.1 testlib diff --git a/gax-java/gax-grpc/pom.xml b/gax-java/gax-grpc/pom.xml index 71f27ea477..257e74c7f2 100644 --- a/gax-java/gax-grpc/pom.xml +++ b/gax-java/gax-grpc/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gax-grpc - 2.46.0 + 2.46.1 jar GAX (Google Api eXtensions) for Java (gRPC) Google Api eXtensions for Java (gRPC) @@ -11,7 +11,7 @@ com.google.api gax-parent - 2.46.0 + 2.46.1 diff --git a/gax-java/gax-httpjson/pom.xml b/gax-java/gax-httpjson/pom.xml index 095da9cb06..ac54192967 100644 --- a/gax-java/gax-httpjson/pom.xml +++ b/gax-java/gax-httpjson/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gax-httpjson - 2.46.0 + 2.46.1 jar GAX (Google Api eXtensions) for Java (HTTP JSON) Google Api eXtensions for Java (HTTP JSON) @@ -11,7 +11,7 @@ com.google.api gax-parent - 2.46.0 + 2.46.1 diff --git a/gax-java/gax/pom.xml b/gax-java/gax/pom.xml index 9647bbe68f..8b11d2d8cf 100644 --- a/gax-java/gax/pom.xml +++ b/gax-java/gax/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gax - 2.46.0 + 2.46.1 jar GAX (Google Api eXtensions) for Java (Core) Google Api eXtensions for Java (Core) @@ -11,7 +11,7 @@ com.google.api gax-parent - 2.46.0 + 2.46.1 diff --git a/gax-java/pom.xml b/gax-java/pom.xml index 2499036b00..675b9215a8 100644 --- a/gax-java/pom.xml +++ b/gax-java/pom.xml @@ -4,14 +4,14 @@ com.google.api gax-parent pom - 2.46.0 + 2.46.1 GAX (Google Api eXtensions) for Java (Parent) Google Api eXtensions for Java (Parent) com.google.api gapic-generator-java-pom-parent - 2.38.0 + 2.38.1 ../gapic-generator-java-pom-parent @@ -50,7 +50,7 @@ com.google.api api-common - 2.29.0 + 2.29.1 com.google.auth @@ -108,24 +108,24 @@ com.google.api gax - 2.46.0 + 2.46.1 com.google.api gax - 2.46.0 + 2.46.1 test-jar testlib com.google.api.grpc proto-google-common-protos - 2.37.0 + 2.37.1 com.google.api.grpc grpc-google-common-protos - 2.37.0 + 2.37.1 io.grpc diff --git a/java-common-protos/.OwlBot.yaml b/java-common-protos/.OwlBot.yaml index 14bb0edc75..1c93522786 100644 --- a/java-common-protos/.OwlBot.yaml +++ b/java-common-protos/.OwlBot.yaml @@ -33,13 +33,13 @@ deep-copy-regex: dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src" # For shopping common protos -- source: "/google/shopping/merchant/reports/v1beta/google-cloud-merchant-reports-v1beta-java" +- source: "/google/shopping/type/google-shopping-type-java/proto-google-shopping-type-java/src" dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src" # It is only used once in https://github.com/googleapis/googleapis/blob/master/google/chat/v1/BUILD.bazel#L47, # and technically not a common proto, maybe a violation of AIP-215 if it is not. # However, it's better to put it here so that we don't have to manually add it to BUILD.bazel file and hermetic build scripts. -- source: "/google/apps/card/v1/google-apps-card-v1-java/proto-google-apps-card-v1-java" +- source: "/google/apps/card/v1/google-apps-card-v1-java/proto-google-apps-card-v1-java/src" dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src" - source: "/google/logging/type/google-logging-type-java/proto-google-logging-type-java/src" diff --git a/java-common-protos/README.md b/java-common-protos/README.md index e518cb2350..2c02b735c3 100644 --- a/java-common-protos/README.md +++ b/java-common-protos/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.api.grpc proto-google-common-protos - 2.33.0 + 2.37.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.api.grpc:proto-google-common-protos:2.33.0' +implementation 'com.google.api.grpc:proto-google-common-protos:2.37.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.api.grpc" % "proto-google-common-protos" % "2.33.0" +libraryDependencies += "com.google.api.grpc" % "proto-google-common-protos" % "2.37.0" ``` ## Authentication diff --git a/java-common-protos/grpc-google-common-protos/pom.xml b/java-common-protos/grpc-google-common-protos/pom.xml index 5be345ebf1..af2a1456b3 100644 --- a/java-common-protos/grpc-google-common-protos/pom.xml +++ b/java-common-protos/grpc-google-common-protos/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-common-protos - 2.37.0 + 2.37.1 grpc-google-common-protos GRPC library for grpc-google-common-protos com.google.api.grpc google-common-protos-parent - 2.37.0 + 2.37.1 diff --git a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java index 8cc3bac92e..c482f7da01 100644 --- a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java +++ b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java index 6e81480663..060b81a5f4 100644 --- a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java +++ b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/pom.xml b/java-common-protos/pom.xml index c3eb65e457..f0296bc7a3 100644 --- a/java-common-protos/pom.xml +++ b/java-common-protos/pom.xml @@ -4,7 +4,7 @@ com.google.api.grpc google-common-protos-parent pom - 2.37.0 + 2.37.1 Google Common Protos Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.api gapic-generator-java-pom-parent - 2.38.0 + 2.38.1 ../gapic-generator-java-pom-parent @@ -61,7 +61,7 @@ com.google.cloud third-party-dependencies - 3.28.0 + 3.28.1 pom import @@ -75,7 +75,7 @@ com.google.api.grpc grpc-google-common-protos - 2.37.0 + 2.37.1 io.grpc @@ -87,7 +87,7 @@ com.google.api.grpc proto-google-common-protos - 2.37.0 + 2.37.1 com.google.guava diff --git a/java-common-protos/proto-google-common-protos/pom.xml b/java-common-protos/proto-google-common-protos/pom.xml index e93701cec1..cc181dcfd0 100644 --- a/java-common-protos/proto-google-common-protos/pom.xml +++ b/java-common-protos/proto-google-common-protos/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-common-protos - 2.37.0 + 2.37.1 proto-google-common-protos PROTO library for proto-google-common-protos com.google.api.grpc google-common-protos-parent - 2.37.0 + 2.37.1 diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java index 59a7fae191..e1599b9a32 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java index 2a09815610..a782c80719 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java index 36a6cf219d..6545c7c8cb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java index 6e9e869dc7..e557686b84 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java index 187656b135..3405e79aae 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java index 9739f5dcdd..fc7233e123 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java index 623095e2b6..a39a23d21d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java index 72c6dc8342..ef3e3ae7cf 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java index fcc5f26a96..ce0c65f0cd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java index 4d65b3b0b9..db2eb1fa01 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java index ef744e2d5b..5154467bab 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java index 186ea4a98a..bd1884031f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java index 96d27f8ed9..71cdbcf7be 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java index dfd38e7733..2927f54997 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java index 9602ca2793..2792a093b1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java index e88352689b..93bc6bea7e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java index 25e7e607bc..3786bae883 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java index 4fd7b6ecde..0c28443338 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java index c2b44d723a..ca6e5ddb4b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java index bf70067752..c1376d37ea 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java index 9c1db3263e..45751076d7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java index 7c4105aad8..e26127a551 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java index 15d0c386b1..322974e539 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java index 79978fd73a..e568e31b30 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java index 905ac6a8f6..66a469534f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java index 1efc2ff047..21b74f53b5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java index ffeacd0aac..0c542b6a25 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java index 032197ba67..f5788de9a3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java index 4a311b4346..a5b961e093 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java index 780d30255c..e69178ec7a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java index 8d837e5b61..437b7be7d1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java index 2a18cec66b..e146bc4161 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java index e2c0d2bfb5..dda0172ecc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java index 4c6b7fcdd3..cc52e57bcb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java index 69246ba875..ec2a929561 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java index 077d169a8f..1cd8162c1e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java index 4a9adc9d93..e48f16a99b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java index d48d753e22..3b75279d10 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java index 4cac4ebfe8..32a5afc482 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java index 95d9730a82..e327038c21 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java index 13395b87c6..efa0e98e3f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java index 78ddf71039..805c20d80c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java index 309b04fe5e..b570d03d7a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java index 3a779b7453..926caf9675 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java index c9487c23b6..7478f9eb3a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java index 89f4af4755..f4b758c8d6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java index eb1821def7..649c217713 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java index 6703c50a74..f5a5a12d78 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java index 99c65088cd..55d333ead8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java index 0247dd7fb9..92a6823632 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java index 35437e5c00..96a0c20034 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java index 28e1c71212..b5f2cf257b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java index 68af8f13fd..090e96bad3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java index a94b019a76..2061974dca 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java index d646bd5f94..6040c905a3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java index e851d25caf..bacb54ef76 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java index 6421e0a5cf..d22c13cd9e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java index bae0c87f02..c82aaaaf65 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java index 29cb7db20e..41d7af4d7e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java index ec16bbd5df..4ee3da98d8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java index e8b5275299..810d25ca8e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java index c69c15f885..e9b2325be6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java index 69bd09645b..2e87113414 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java index 56e6dfbfea..58b85a2b87 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java index e96d01ba56..3c7b80ffa0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java index b8e3a047fa..a5d742d049 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java index 192b31f537..f69bced68f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java index 06500efa61..642e0a313e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java index cc0307b134..24253bcb9a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java index e78be329a0..90d302a6a7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java index 187a17d5d3..a2d0099d51 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java index a02235f0dd..eb0591f455 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java index aaa96a9fa4..ca00357db7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java index 0c09c4ab11..5ad8b2191f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java index fa9977c4a2..40d5e59013 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java index 1ce5f0a6ca..8c11f6dfee 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java index 07ae250d7a..84b998afbd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java index ae3a9dc83a..cdc5cccdb4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java index 619c1fcf49..a505b1daf1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java index b1582318fd..63714c3107 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java index 62ba75dc34..38ac15c33f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java index 618b51b519..64a91f9eff 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java index 501e04cb7a..cf865037f4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java index 4aa670ab0c..86e199a47c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java index f8ecefea85..28ef9ad74c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java index ba3e381d2a..8f795fc133 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java index d7df3fe64c..fe5de46ad3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java index ccdc467e7c..95513a168d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java index 9b2d95164d..e58da82540 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java index f7edc99175..7ad9750c02 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java index 2502ad8a79..a3d9f6243f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java index c768094a0b..78a18b5fab 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java index b0351688c1..385fb09f91 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java index 34b177eaf7..5acfb2ff71 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java index 08df2b14cc..1c6f796b9e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java index 1622fa7c79..34c685d2b9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java index a296534985..6d463d1129 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java index 3b44c84592..3f3ade1efe 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java index db10c15083..bcf5d3fbef 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java index 7266e9921f..ca326b1f9e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java index faa8d85355..b9e7fb5608 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java index 81e2a28605..789ba2836a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java index 20d5ab0c78..6defcb913d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java index 5278ae32af..bc0f851f63 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java index 1e0cb26cc9..564105d3c6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java index a1cbb88001..3ff8eaa696 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java index c90863b367..c2251ac294 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadataOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java index dac6252708..e4fa914ee5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java index d9b949ba21..2c00275e28 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java index ab2675ecfe..6cfc74dd55 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java index 6397905e42..096ad73b0b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java index 90677f6f21..1179fde915 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java index 645e5c5581..d6f9237c0f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java index 2e669ddfde..9919fcf5ae 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java index 1881b5b840..2be23ba1af 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java index d3ce3cef05..66a5936760 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java index 096e382f72..634488ca74 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java index d3e2433687..82186e6c50 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java index 42a0846165..8ddb79a8b9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java index 4a40ff4e16..9f81c18066 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java index de7ff2e60d..142da69fe9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java index 97cf297206..279797027b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java index 577601e9f2..bf0016a4fd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java index 5cffa2cec3..80c01d88d1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java index 313438fab5..d659cb01b7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java index 7aeeb422c5..ea2235285a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java index e0ea4943eb..547847ceea 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java index 932086a1ae..08a7283415 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java index ea44a16ab1..ceb640e153 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java index b6a74f173d..e5a2231d81 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java index 5bec3e3947..b50cecabbc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java index 1dfa2e025a..33e1f3d8f0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java index 8d2bc9a436..edfce245b6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java index 73236ea531..36aebe92a6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java index 82b68fbe21..7630ddddfc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java index 0d97884f79..8a564e8061 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java index 26cce2f902..612196c4fb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java index 53e8dc8402..4d6a8106d8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java index 8dec05c8f4..a2a137ecb8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java index 4e095423aa..5cb051fbf6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java index ab94bb3f27..c4dfcefd17 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java index a9f14db984..74ffc59e1a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java index 94d0e3bfed..0847c26080 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java index c5cb734d3a..037f91b411 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettings.java index d95539f552..904f8b70f9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettingsOrBuilder.java index 0f9e7e2be3..933bfc38ab 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java index d55565cf9d..1849198673 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java index e4ff8b21eb..c096d21821 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java index 874abf8f81..8c9bcd0385 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java index 5c9c9b3b8e..5b41c9c177 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java index 2f8bb5a6ab..fbc59e3ae1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java index 4e17d4978a..4117be510e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java index fcab333c15..1cc22fc2f9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java index a4bfea10ec..2a246e7dab 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java index f5fbe52250..50eb6b1f28 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java index 057f259f2d..5c8051b763 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java index 1e96fefbd2..a0a3d5b28d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java index 9b3b7c0b0e..c33b6c35d3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java index 37b99f53f7..9441331b81 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Usage.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Usage.java index e4d19ad34c..4eda03a587 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Usage.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Usage.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java index 5dd9d1df88..afd3c5b9d0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java index 69b9c90559..c09390735a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java index 2fc52b0b03..9db4ab8148 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java index 78cdac823a..a4276d20e0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Visibility.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Visibility.java index e060ff07b4..0f522ed587 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Visibility.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Visibility.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java index e45116fdda..46cbf0137d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java index 3c4e29c8da..576ebd3b0a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java index 509c5e5db4..ee6092ba80 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java index e376bec02d..ef2e4373c1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2024 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/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Action.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Action.java new file mode 100644 index 0000000000..636adde4c4 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Action.java @@ -0,0 +1,2898 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/card/v1/card.proto + +// Protobuf Java Version: 3.25.2 +package com.google.apps.card.v1; + +/** + * + * + *
+ * An action that describes the behavior when the form is submitted.
+ * For example, you can invoke an Apps Script script to handle the form.
+ * If the action is triggered, the form values are sent to the server.
+ *
+ * [Google Workspace Add-ons and Chat
+ * apps](https://developers.google.com/workspace/extend):
+ * 
+ * + * Protobuf type {@code google.apps.card.v1.Action} + */ +public final class Action extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.apps.card.v1.Action) + ActionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Action.newBuilder() to construct. + private Action(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Action() { + function_ = ""; + parameters_ = java.util.Collections.emptyList(); + loadIndicator_ = 0; + interaction_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Action(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Action_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.apps.card.v1.Action.class, com.google.apps.card.v1.Action.Builder.class); + } + + /** + * + * + *
+   * Specifies the loading indicator that the action displays while
+   * making the call to the action.
+   *
+   * [Google Workspace Add-ons and Chat
+   * apps](https://developers.google.com/workspace/extend):
+   * 
+ * + * Protobuf enum {@code google.apps.card.v1.Action.LoadIndicator} + */ + public enum LoadIndicator implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Displays a spinner to indicate that content is loading.
+     * 
+ * + * SPINNER = 0; + */ + SPINNER(0), + /** + * + * + *
+     * Nothing is displayed.
+     * 
+ * + * NONE = 1; + */ + NONE(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Displays a spinner to indicate that content is loading.
+     * 
+ * + * SPINNER = 0; + */ + public static final int SPINNER_VALUE = 0; + /** + * + * + *
+     * Nothing is displayed.
+     * 
+ * + * NONE = 1; + */ + public static final int NONE_VALUE = 1; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LoadIndicator valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static LoadIndicator forNumber(int value) { + switch (value) { + case 0: + return SPINNER; + case 1: + return NONE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoadIndicator findValueByNumber(int number) { + return LoadIndicator.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.apps.card.v1.Action.getDescriptor().getEnumTypes().get(0); + } + + private static final LoadIndicator[] VALUES = values(); + + public static LoadIndicator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private LoadIndicator(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.apps.card.v1.Action.LoadIndicator) + } + + /** + * + * + *
+   * Optional. Required when opening a
+   * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+   *
+   * What to do in response to an interaction with a user, such as a user
+   * clicking a button in a card message.
+   *
+   * If unspecified, the app responds by executing an `action`—like opening a
+   * link or running a function—as normal.
+   *
+   * By specifying an `interaction`, the app can respond in special interactive
+   * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+   * open a [dialog](https://developers.google.com/chat/how-tos/dialogs).
+   *
+   * When specified, a loading indicator isn't shown. If specified for
+   * an add-on, the entire card is stripped and nothing is shown in the client.
+   *
+   * [Google Chat apps](https://developers.google.com/chat):
+   * 
+ * + * Protobuf enum {@code google.apps.card.v1.Action.Interaction} + */ + public enum Interaction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value. The `action` executes as normal.
+     * 
+ * + * INTERACTION_UNSPECIFIED = 0; + */ + INTERACTION_UNSPECIFIED(0), + /** + * + * + *
+     * Opens a [dialog](https://developers.google.com/chat/how-tos/dialogs), a
+     * windowed, card-based interface that Chat apps use to interact with users.
+     *
+     * Only supported by Chat apps in response to button-clicks on card
+     * messages. If specified for
+     * an add-on, the entire card is stripped and nothing is shown in the
+     * client.
+     *
+     * [Google Chat apps](https://developers.google.com/chat):
+     * 
+ * + * OPEN_DIALOG = 1; + */ + OPEN_DIALOG(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default value. The `action` executes as normal.
+     * 
+ * + * INTERACTION_UNSPECIFIED = 0; + */ + public static final int INTERACTION_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Opens a [dialog](https://developers.google.com/chat/how-tos/dialogs), a
+     * windowed, card-based interface that Chat apps use to interact with users.
+     *
+     * Only supported by Chat apps in response to button-clicks on card
+     * messages. If specified for
+     * an add-on, the entire card is stripped and nothing is shown in the
+     * client.
+     *
+     * [Google Chat apps](https://developers.google.com/chat):
+     * 
+ * + * OPEN_DIALOG = 1; + */ + public static final int OPEN_DIALOG_VALUE = 1; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Interaction valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Interaction forNumber(int value) { + switch (value) { + case 0: + return INTERACTION_UNSPECIFIED; + case 1: + return OPEN_DIALOG; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Interaction findValueByNumber(int number) { + return Interaction.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.apps.card.v1.Action.getDescriptor().getEnumTypes().get(1); + } + + private static final Interaction[] VALUES = values(); + + public static Interaction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Interaction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.apps.card.v1.Action.Interaction) + } + + public interface ActionParameterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.apps.card.v1.Action.ActionParameter) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The name of the parameter for the action script.
+     * 
+ * + * string key = 1; + * + * @return The key. + */ + java.lang.String getKey(); + /** + * + * + *
+     * The name of the parameter for the action script.
+     * 
+ * + * string key = 1; + * + * @return The bytes for key. + */ + com.google.protobuf.ByteString getKeyBytes(); + + /** + * + * + *
+     * The value of the parameter.
+     * 
+ * + * string value = 2; + * + * @return The value. + */ + java.lang.String getValue(); + /** + * + * + *
+     * The value of the parameter.
+     * 
+ * + * string value = 2; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); + } + /** + * + * + *
+   * List of string parameters to supply when the action method is invoked.
+   * For example, consider three snooze buttons: snooze now, snooze one day,
+   * or snooze next week. You might use `action method = snooze()`, passing the
+   * snooze type and snooze time in the list of string parameters.
+   *
+   * To learn more, see
+   * [`CommonEventObject`](https://developers.google.com/chat/api/reference/rest/v1/Event#commoneventobject).
+   *
+   * [Google Workspace Add-ons and Chat
+   * apps](https://developers.google.com/workspace/extend):
+   * 
+ * + * Protobuf type {@code google.apps.card.v1.Action.ActionParameter} + */ + public static final class ActionParameter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.apps.card.v1.Action.ActionParameter) + ActionParameterOrBuilder { + private static final long serialVersionUID = 0L; + // Use ActionParameter.newBuilder() to construct. + private ActionParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ActionParameter() { + key_ = ""; + value_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ActionParameter(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_ActionParameter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_ActionParameter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.apps.card.v1.Action.ActionParameter.class, + com.google.apps.card.v1.Action.ActionParameter.Builder.class); + } + + public static final int KEY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object key_ = ""; + /** + * + * + *
+     * The name of the parameter for the action script.
+     * 
+ * + * string key = 1; + * + * @return The key. + */ + @java.lang.Override + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } + } + /** + * + * + *
+     * The name of the parameter for the action script.
+     * 
+ * + * string key = 1; + * + * @return The bytes for key. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VALUE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + /** + * + * + *
+     * The value of the parameter.
+     * 
+ * + * string value = 2; + * + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } + } + /** + * + * + *
+     * The value of the parameter.
+     * 
+ * + * string value = 2; + * + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.apps.card.v1.Action.ActionParameter)) { + return super.equals(obj); + } + com.google.apps.card.v1.Action.ActionParameter other = + (com.google.apps.card.v1.Action.ActionParameter) obj; + + if (!getKey().equals(other.getKey())) return false; + if (!getValue().equals(other.getValue())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Action.ActionParameter parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.apps.card.v1.Action.ActionParameter prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * List of string parameters to supply when the action method is invoked.
+     * For example, consider three snooze buttons: snooze now, snooze one day,
+     * or snooze next week. You might use `action method = snooze()`, passing the
+     * snooze type and snooze time in the list of string parameters.
+     *
+     * To learn more, see
+     * [`CommonEventObject`](https://developers.google.com/chat/api/reference/rest/v1/Event#commoneventobject).
+     *
+     * [Google Workspace Add-ons and Chat
+     * apps](https://developers.google.com/workspace/extend):
+     * 
+ * + * Protobuf type {@code google.apps.card.v1.Action.ActionParameter} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Action.ActionParameter) + com.google.apps.card.v1.Action.ActionParameterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_ActionParameter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_ActionParameter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.apps.card.v1.Action.ActionParameter.class, + com.google.apps.card.v1.Action.ActionParameter.Builder.class); + } + + // Construct using com.google.apps.card.v1.Action.ActionParameter.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + key_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_ActionParameter_descriptor; + } + + @java.lang.Override + public com.google.apps.card.v1.Action.ActionParameter getDefaultInstanceForType() { + return com.google.apps.card.v1.Action.ActionParameter.getDefaultInstance(); + } + + @java.lang.Override + public com.google.apps.card.v1.Action.ActionParameter build() { + com.google.apps.card.v1.Action.ActionParameter result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.apps.card.v1.Action.ActionParameter buildPartial() { + com.google.apps.card.v1.Action.ActionParameter result = + new com.google.apps.card.v1.Action.ActionParameter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.apps.card.v1.Action.ActionParameter result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.key_ = key_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.apps.card.v1.Action.ActionParameter) { + return mergeFrom((com.google.apps.card.v1.Action.ActionParameter) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.apps.card.v1.Action.ActionParameter other) { + if (other == com.google.apps.card.v1.Action.ActionParameter.getDefaultInstance()) + return this; + if (!other.getKey().isEmpty()) { + key_ = other.key_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object key_ = ""; + /** + * + * + *
+       * The name of the parameter for the action script.
+       * 
+ * + * string key = 1; + * + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The name of the parameter for the action script.
+       * 
+ * + * string key = 1; + * + * @return The bytes for key. + */ + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The name of the parameter for the action script.
+       * 
+ * + * string key = 1; + * + * @param value The key to set. + * @return This builder for chaining. + */ + public Builder setKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The name of the parameter for the action script.
+       * 
+ * + * string key = 1; + * + * @return This builder for chaining. + */ + public Builder clearKey() { + key_ = getDefaultInstance().getKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * The name of the parameter for the action script.
+       * 
+ * + * string key = 1; + * + * @param value The bytes for key to set. + * @return This builder for chaining. + */ + public Builder setKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + /** + * + * + *
+       * The value of the parameter.
+       * 
+ * + * string value = 2; + * + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The value of the parameter.
+       * 
+ * + * string value = 2; + * + * @return The bytes for value. + */ + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The value of the parameter.
+       * 
+ * + * string value = 2; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * The value of the parameter.
+       * 
+ * + * string value = 2; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * The value of the parameter.
+       * 
+ * + * string value = 2; + * + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Action.ActionParameter) + } + + // @@protoc_insertion_point(class_scope:google.apps.card.v1.Action.ActionParameter) + private static final com.google.apps.card.v1.Action.ActionParameter DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.apps.card.v1.Action.ActionParameter(); + } + + public static com.google.apps.card.v1.Action.ActionParameter getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActionParameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.apps.card.v1.Action.ActionParameter getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int FUNCTION_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object function_ = ""; + /** + * + * + *
+   * A custom function to invoke when the containing element is
+   * clicked or othrwise activated.
+   *
+   * For example usage, see [Create interactive
+   * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+   * 
+ * + * string function = 1; + * + * @return The function. + */ + @java.lang.Override + public java.lang.String getFunction() { + java.lang.Object ref = function_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + function_ = s; + return s; + } + } + /** + * + * + *
+   * A custom function to invoke when the containing element is
+   * clicked or othrwise activated.
+   *
+   * For example usage, see [Create interactive
+   * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+   * 
+ * + * string function = 1; + * + * @return The bytes for function. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFunctionBytes() { + java.lang.Object ref = function_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + function_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARAMETERS_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private java.util.List parameters_; + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + @java.lang.Override + public java.util.List getParametersList() { + return parameters_; + } + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + @java.lang.Override + public java.util.List + getParametersOrBuilderList() { + return parameters_; + } + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + @java.lang.Override + public int getParametersCount() { + return parameters_.size(); + } + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + @java.lang.Override + public com.google.apps.card.v1.Action.ActionParameter getParameters(int index) { + return parameters_.get(index); + } + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + @java.lang.Override + public com.google.apps.card.v1.Action.ActionParameterOrBuilder getParametersOrBuilder(int index) { + return parameters_.get(index); + } + + public static final int LOAD_INDICATOR_FIELD_NUMBER = 3; + private int loadIndicator_ = 0; + /** + * + * + *
+   * Specifies the loading indicator that the action displays while
+   * making the call to the action.
+   * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @return The enum numeric value on the wire for loadIndicator. + */ + @java.lang.Override + public int getLoadIndicatorValue() { + return loadIndicator_; + } + /** + * + * + *
+   * Specifies the loading indicator that the action displays while
+   * making the call to the action.
+   * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @return The loadIndicator. + */ + @java.lang.Override + public com.google.apps.card.v1.Action.LoadIndicator getLoadIndicator() { + com.google.apps.card.v1.Action.LoadIndicator result = + com.google.apps.card.v1.Action.LoadIndicator.forNumber(loadIndicator_); + return result == null ? com.google.apps.card.v1.Action.LoadIndicator.UNRECOGNIZED : result; + } + + public static final int PERSIST_VALUES_FIELD_NUMBER = 4; + private boolean persistValues_ = false; + /** + * + * + *
+   * Indicates whether form values persist after the action. The default value
+   * is `false`.
+   *
+   * If `true`, form values remain after the action is triggered. To let the
+   * user make changes while the action is being processed, set
+   * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+   * to `NONE`. For [card
+   * messages](https://developers.google.com/chat/api/guides/v1/messages/create#create)
+   * in Chat apps, you must also set the action's
+   * [`ResponseType`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#responsetype)
+   * to `UPDATE_MESSAGE` and use the same
+   * [`card_id`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#CardWithId)
+   * from the card that contained the action.
+   *
+   * If `false`, the form values are cleared when the action is triggered.
+   * To prevent the user from making changes while the action is being
+   * processed, set
+   * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+   * to `SPINNER`.
+   * 
+ * + * bool persist_values = 4; + * + * @return The persistValues. + */ + @java.lang.Override + public boolean getPersistValues() { + return persistValues_; + } + + public static final int INTERACTION_FIELD_NUMBER = 5; + private int interaction_ = 0; + /** + * + * + *
+   * Optional. Required when opening a
+   * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+   *
+   * What to do in response to an interaction with a user, such as a user
+   * clicking a button in a card message.
+   *
+   * If unspecified, the app responds by executing an `action`—like opening a
+   * link or running a function—as normal.
+   *
+   * By specifying an `interaction`, the app can respond in special interactive
+   * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+   * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+   * specified, a loading indicator isn't shown. If specified for
+   * an add-on, the entire card is stripped and nothing is shown in the client.
+   *
+   * [Google Chat apps](https://developers.google.com/chat):
+   * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @return The enum numeric value on the wire for interaction. + */ + @java.lang.Override + public int getInteractionValue() { + return interaction_; + } + /** + * + * + *
+   * Optional. Required when opening a
+   * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+   *
+   * What to do in response to an interaction with a user, such as a user
+   * clicking a button in a card message.
+   *
+   * If unspecified, the app responds by executing an `action`—like opening a
+   * link or running a function—as normal.
+   *
+   * By specifying an `interaction`, the app can respond in special interactive
+   * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+   * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+   * specified, a loading indicator isn't shown. If specified for
+   * an add-on, the entire card is stripped and nothing is shown in the client.
+   *
+   * [Google Chat apps](https://developers.google.com/chat):
+   * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @return The interaction. + */ + @java.lang.Override + public com.google.apps.card.v1.Action.Interaction getInteraction() { + com.google.apps.card.v1.Action.Interaction result = + com.google.apps.card.v1.Action.Interaction.forNumber(interaction_); + return result == null ? com.google.apps.card.v1.Action.Interaction.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, function_); + } + for (int i = 0; i < parameters_.size(); i++) { + output.writeMessage(2, parameters_.get(i)); + } + if (loadIndicator_ != com.google.apps.card.v1.Action.LoadIndicator.SPINNER.getNumber()) { + output.writeEnum(3, loadIndicator_); + } + if (persistValues_ != false) { + output.writeBool(4, persistValues_); + } + if (interaction_ + != com.google.apps.card.v1.Action.Interaction.INTERACTION_UNSPECIFIED.getNumber()) { + output.writeEnum(5, interaction_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, function_); + } + for (int i = 0; i < parameters_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, parameters_.get(i)); + } + if (loadIndicator_ != com.google.apps.card.v1.Action.LoadIndicator.SPINNER.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, loadIndicator_); + } + if (persistValues_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, persistValues_); + } + if (interaction_ + != com.google.apps.card.v1.Action.Interaction.INTERACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, interaction_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.apps.card.v1.Action)) { + return super.equals(obj); + } + com.google.apps.card.v1.Action other = (com.google.apps.card.v1.Action) obj; + + if (!getFunction().equals(other.getFunction())) return false; + if (!getParametersList().equals(other.getParametersList())) return false; + if (loadIndicator_ != other.loadIndicator_) return false; + if (getPersistValues() != other.getPersistValues()) return false; + if (interaction_ != other.interaction_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FUNCTION_FIELD_NUMBER; + hash = (53 * hash) + getFunction().hashCode(); + if (getParametersCount() > 0) { + hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; + hash = (53 * hash) + getParametersList().hashCode(); + } + hash = (37 * hash) + LOAD_INDICATOR_FIELD_NUMBER; + hash = (53 * hash) + loadIndicator_; + hash = (37 * hash) + PERSIST_VALUES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPersistValues()); + hash = (37 * hash) + INTERACTION_FIELD_NUMBER; + hash = (53 * hash) + interaction_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.apps.card.v1.Action parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Action parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Action parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Action parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Action parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Action parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Action parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Action parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.apps.card.v1.Action parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Action parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.apps.card.v1.Action parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Action parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.apps.card.v1.Action prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * An action that describes the behavior when the form is submitted.
+   * For example, you can invoke an Apps Script script to handle the form.
+   * If the action is triggered, the form values are sent to the server.
+   *
+   * [Google Workspace Add-ons and Chat
+   * apps](https://developers.google.com/workspace/extend):
+   * 
+ * + * Protobuf type {@code google.apps.card.v1.Action} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Action) + com.google.apps.card.v1.ActionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.apps.card.v1.Action.class, com.google.apps.card.v1.Action.Builder.class); + } + + // Construct using com.google.apps.card.v1.Action.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + function_ = ""; + if (parametersBuilder_ == null) { + parameters_ = java.util.Collections.emptyList(); + } else { + parameters_ = null; + parametersBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + loadIndicator_ = 0; + persistValues_ = false; + interaction_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Action_descriptor; + } + + @java.lang.Override + public com.google.apps.card.v1.Action getDefaultInstanceForType() { + return com.google.apps.card.v1.Action.getDefaultInstance(); + } + + @java.lang.Override + public com.google.apps.card.v1.Action build() { + com.google.apps.card.v1.Action result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.apps.card.v1.Action buildPartial() { + com.google.apps.card.v1.Action result = new com.google.apps.card.v1.Action(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.apps.card.v1.Action result) { + if (parametersBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + parameters_ = java.util.Collections.unmodifiableList(parameters_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.parameters_ = parameters_; + } else { + result.parameters_ = parametersBuilder_.build(); + } + } + + private void buildPartial0(com.google.apps.card.v1.Action result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.function_ = function_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.loadIndicator_ = loadIndicator_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.persistValues_ = persistValues_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.interaction_ = interaction_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.apps.card.v1.Action) { + return mergeFrom((com.google.apps.card.v1.Action) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.apps.card.v1.Action other) { + if (other == com.google.apps.card.v1.Action.getDefaultInstance()) return this; + if (!other.getFunction().isEmpty()) { + function_ = other.function_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (parametersBuilder_ == null) { + if (!other.parameters_.isEmpty()) { + if (parameters_.isEmpty()) { + parameters_ = other.parameters_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureParametersIsMutable(); + parameters_.addAll(other.parameters_); + } + onChanged(); + } + } else { + if (!other.parameters_.isEmpty()) { + if (parametersBuilder_.isEmpty()) { + parametersBuilder_.dispose(); + parametersBuilder_ = null; + parameters_ = other.parameters_; + bitField0_ = (bitField0_ & ~0x00000002); + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getParametersFieldBuilder() + : null; + } else { + parametersBuilder_.addAllMessages(other.parameters_); + } + } + } + if (other.loadIndicator_ != 0) { + setLoadIndicatorValue(other.getLoadIndicatorValue()); + } + if (other.getPersistValues() != false) { + setPersistValues(other.getPersistValues()); + } + if (other.interaction_ != 0) { + setInteractionValue(other.getInteractionValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + function_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.apps.card.v1.Action.ActionParameter m = + input.readMessage( + com.google.apps.card.v1.Action.ActionParameter.parser(), extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 18 + case 24: + { + loadIndicator_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + persistValues_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + interaction_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object function_ = ""; + /** + * + * + *
+     * A custom function to invoke when the containing element is
+     * clicked or othrwise activated.
+     *
+     * For example usage, see [Create interactive
+     * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+     * 
+ * + * string function = 1; + * + * @return The function. + */ + public java.lang.String getFunction() { + java.lang.Object ref = function_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + function_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A custom function to invoke when the containing element is
+     * clicked or othrwise activated.
+     *
+     * For example usage, see [Create interactive
+     * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+     * 
+ * + * string function = 1; + * + * @return The bytes for function. + */ + public com.google.protobuf.ByteString getFunctionBytes() { + java.lang.Object ref = function_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + function_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A custom function to invoke when the containing element is
+     * clicked or othrwise activated.
+     *
+     * For example usage, see [Create interactive
+     * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+     * 
+ * + * string function = 1; + * + * @param value The function to set. + * @return This builder for chaining. + */ + public Builder setFunction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + function_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * A custom function to invoke when the containing element is
+     * clicked or othrwise activated.
+     *
+     * For example usage, see [Create interactive
+     * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+     * 
+ * + * string function = 1; + * + * @return This builder for chaining. + */ + public Builder clearFunction() { + function_ = getDefaultInstance().getFunction(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A custom function to invoke when the containing element is
+     * clicked or othrwise activated.
+     *
+     * For example usage, see [Create interactive
+     * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+     * 
+ * + * string function = 1; + * + * @param value The bytes for function to set. + * @return This builder for chaining. + */ + public Builder setFunctionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + function_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List parameters_ = + java.util.Collections.emptyList(); + + private void ensureParametersIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + parameters_ = + new java.util.ArrayList(parameters_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.card.v1.Action.ActionParameter, + com.google.apps.card.v1.Action.ActionParameter.Builder, + com.google.apps.card.v1.Action.ActionParameterOrBuilder> + parametersBuilder_; + + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public java.util.List getParametersList() { + if (parametersBuilder_ == null) { + return java.util.Collections.unmodifiableList(parameters_); + } else { + return parametersBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public int getParametersCount() { + if (parametersBuilder_ == null) { + return parameters_.size(); + } else { + return parametersBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public com.google.apps.card.v1.Action.ActionParameter getParameters(int index) { + if (parametersBuilder_ == null) { + return parameters_.get(index); + } else { + return parametersBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder setParameters(int index, com.google.apps.card.v1.Action.ActionParameter value) { + if (parametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParametersIsMutable(); + parameters_.set(index, value); + onChanged(); + } else { + parametersBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder setParameters( + int index, com.google.apps.card.v1.Action.ActionParameter.Builder builderForValue) { + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.set(index, builderForValue.build()); + onChanged(); + } else { + parametersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder addParameters(com.google.apps.card.v1.Action.ActionParameter value) { + if (parametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParametersIsMutable(); + parameters_.add(value); + onChanged(); + } else { + parametersBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder addParameters(int index, com.google.apps.card.v1.Action.ActionParameter value) { + if (parametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParametersIsMutable(); + parameters_.add(index, value); + onChanged(); + } else { + parametersBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder addParameters( + com.google.apps.card.v1.Action.ActionParameter.Builder builderForValue) { + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(builderForValue.build()); + onChanged(); + } else { + parametersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder addParameters( + int index, com.google.apps.card.v1.Action.ActionParameter.Builder builderForValue) { + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(index, builderForValue.build()); + onChanged(); + } else { + parametersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder addAllParameters( + java.lang.Iterable values) { + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); + onChanged(); + } else { + parametersBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder clearParameters() { + if (parametersBuilder_ == null) { + parameters_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + parametersBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public Builder removeParameters(int index) { + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.remove(index); + onChanged(); + } else { + parametersBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public com.google.apps.card.v1.Action.ActionParameter.Builder getParametersBuilder(int index) { + return getParametersFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public com.google.apps.card.v1.Action.ActionParameterOrBuilder getParametersOrBuilder( + int index) { + if (parametersBuilder_ == null) { + return parameters_.get(index); + } else { + return parametersBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public java.util.List + getParametersOrBuilderList() { + if (parametersBuilder_ != null) { + return parametersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(parameters_); + } + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public com.google.apps.card.v1.Action.ActionParameter.Builder addParametersBuilder() { + return getParametersFieldBuilder() + .addBuilder(com.google.apps.card.v1.Action.ActionParameter.getDefaultInstance()); + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public com.google.apps.card.v1.Action.ActionParameter.Builder addParametersBuilder(int index) { + return getParametersFieldBuilder() + .addBuilder(index, com.google.apps.card.v1.Action.ActionParameter.getDefaultInstance()); + } + /** + * + * + *
+     * List of action parameters.
+     * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + public java.util.List + getParametersBuilderList() { + return getParametersFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.card.v1.Action.ActionParameter, + com.google.apps.card.v1.Action.ActionParameter.Builder, + com.google.apps.card.v1.Action.ActionParameterOrBuilder> + getParametersFieldBuilder() { + if (parametersBuilder_ == null) { + parametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.card.v1.Action.ActionParameter, + com.google.apps.card.v1.Action.ActionParameter.Builder, + com.google.apps.card.v1.Action.ActionParameterOrBuilder>( + parameters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + parameters_ = null; + } + return parametersBuilder_; + } + + private int loadIndicator_ = 0; + /** + * + * + *
+     * Specifies the loading indicator that the action displays while
+     * making the call to the action.
+     * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @return The enum numeric value on the wire for loadIndicator. + */ + @java.lang.Override + public int getLoadIndicatorValue() { + return loadIndicator_; + } + /** + * + * + *
+     * Specifies the loading indicator that the action displays while
+     * making the call to the action.
+     * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @param value The enum numeric value on the wire for loadIndicator to set. + * @return This builder for chaining. + */ + public Builder setLoadIndicatorValue(int value) { + loadIndicator_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the loading indicator that the action displays while
+     * making the call to the action.
+     * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @return The loadIndicator. + */ + @java.lang.Override + public com.google.apps.card.v1.Action.LoadIndicator getLoadIndicator() { + com.google.apps.card.v1.Action.LoadIndicator result = + com.google.apps.card.v1.Action.LoadIndicator.forNumber(loadIndicator_); + return result == null ? com.google.apps.card.v1.Action.LoadIndicator.UNRECOGNIZED : result; + } + /** + * + * + *
+     * Specifies the loading indicator that the action displays while
+     * making the call to the action.
+     * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @param value The loadIndicator to set. + * @return This builder for chaining. + */ + public Builder setLoadIndicator(com.google.apps.card.v1.Action.LoadIndicator value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + loadIndicator_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the loading indicator that the action displays while
+     * making the call to the action.
+     * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @return This builder for chaining. + */ + public Builder clearLoadIndicator() { + bitField0_ = (bitField0_ & ~0x00000004); + loadIndicator_ = 0; + onChanged(); + return this; + } + + private boolean persistValues_; + /** + * + * + *
+     * Indicates whether form values persist after the action. The default value
+     * is `false`.
+     *
+     * If `true`, form values remain after the action is triggered. To let the
+     * user make changes while the action is being processed, set
+     * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+     * to `NONE`. For [card
+     * messages](https://developers.google.com/chat/api/guides/v1/messages/create#create)
+     * in Chat apps, you must also set the action's
+     * [`ResponseType`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#responsetype)
+     * to `UPDATE_MESSAGE` and use the same
+     * [`card_id`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#CardWithId)
+     * from the card that contained the action.
+     *
+     * If `false`, the form values are cleared when the action is triggered.
+     * To prevent the user from making changes while the action is being
+     * processed, set
+     * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+     * to `SPINNER`.
+     * 
+ * + * bool persist_values = 4; + * + * @return The persistValues. + */ + @java.lang.Override + public boolean getPersistValues() { + return persistValues_; + } + /** + * + * + *
+     * Indicates whether form values persist after the action. The default value
+     * is `false`.
+     *
+     * If `true`, form values remain after the action is triggered. To let the
+     * user make changes while the action is being processed, set
+     * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+     * to `NONE`. For [card
+     * messages](https://developers.google.com/chat/api/guides/v1/messages/create#create)
+     * in Chat apps, you must also set the action's
+     * [`ResponseType`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#responsetype)
+     * to `UPDATE_MESSAGE` and use the same
+     * [`card_id`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#CardWithId)
+     * from the card that contained the action.
+     *
+     * If `false`, the form values are cleared when the action is triggered.
+     * To prevent the user from making changes while the action is being
+     * processed, set
+     * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+     * to `SPINNER`.
+     * 
+ * + * bool persist_values = 4; + * + * @param value The persistValues to set. + * @return This builder for chaining. + */ + public Builder setPersistValues(boolean value) { + + persistValues_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates whether form values persist after the action. The default value
+     * is `false`.
+     *
+     * If `true`, form values remain after the action is triggered. To let the
+     * user make changes while the action is being processed, set
+     * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+     * to `NONE`. For [card
+     * messages](https://developers.google.com/chat/api/guides/v1/messages/create#create)
+     * in Chat apps, you must also set the action's
+     * [`ResponseType`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#responsetype)
+     * to `UPDATE_MESSAGE` and use the same
+     * [`card_id`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#CardWithId)
+     * from the card that contained the action.
+     *
+     * If `false`, the form values are cleared when the action is triggered.
+     * To prevent the user from making changes while the action is being
+     * processed, set
+     * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+     * to `SPINNER`.
+     * 
+ * + * bool persist_values = 4; + * + * @return This builder for chaining. + */ + public Builder clearPersistValues() { + bitField0_ = (bitField0_ & ~0x00000008); + persistValues_ = false; + onChanged(); + return this; + } + + private int interaction_ = 0; + /** + * + * + *
+     * Optional. Required when opening a
+     * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+     *
+     * What to do in response to an interaction with a user, such as a user
+     * clicking a button in a card message.
+     *
+     * If unspecified, the app responds by executing an `action`—like opening a
+     * link or running a function—as normal.
+     *
+     * By specifying an `interaction`, the app can respond in special interactive
+     * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+     * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+     * specified, a loading indicator isn't shown. If specified for
+     * an add-on, the entire card is stripped and nothing is shown in the client.
+     *
+     * [Google Chat apps](https://developers.google.com/chat):
+     * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @return The enum numeric value on the wire for interaction. + */ + @java.lang.Override + public int getInteractionValue() { + return interaction_; + } + /** + * + * + *
+     * Optional. Required when opening a
+     * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+     *
+     * What to do in response to an interaction with a user, such as a user
+     * clicking a button in a card message.
+     *
+     * If unspecified, the app responds by executing an `action`—like opening a
+     * link or running a function—as normal.
+     *
+     * By specifying an `interaction`, the app can respond in special interactive
+     * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+     * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+     * specified, a loading indicator isn't shown. If specified for
+     * an add-on, the entire card is stripped and nothing is shown in the client.
+     *
+     * [Google Chat apps](https://developers.google.com/chat):
+     * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @param value The enum numeric value on the wire for interaction to set. + * @return This builder for chaining. + */ + public Builder setInteractionValue(int value) { + interaction_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Required when opening a
+     * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+     *
+     * What to do in response to an interaction with a user, such as a user
+     * clicking a button in a card message.
+     *
+     * If unspecified, the app responds by executing an `action`—like opening a
+     * link or running a function—as normal.
+     *
+     * By specifying an `interaction`, the app can respond in special interactive
+     * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+     * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+     * specified, a loading indicator isn't shown. If specified for
+     * an add-on, the entire card is stripped and nothing is shown in the client.
+     *
+     * [Google Chat apps](https://developers.google.com/chat):
+     * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @return The interaction. + */ + @java.lang.Override + public com.google.apps.card.v1.Action.Interaction getInteraction() { + com.google.apps.card.v1.Action.Interaction result = + com.google.apps.card.v1.Action.Interaction.forNumber(interaction_); + return result == null ? com.google.apps.card.v1.Action.Interaction.UNRECOGNIZED : result; + } + /** + * + * + *
+     * Optional. Required when opening a
+     * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+     *
+     * What to do in response to an interaction with a user, such as a user
+     * clicking a button in a card message.
+     *
+     * If unspecified, the app responds by executing an `action`—like opening a
+     * link or running a function—as normal.
+     *
+     * By specifying an `interaction`, the app can respond in special interactive
+     * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+     * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+     * specified, a loading indicator isn't shown. If specified for
+     * an add-on, the entire card is stripped and nothing is shown in the client.
+     *
+     * [Google Chat apps](https://developers.google.com/chat):
+     * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @param value The interaction to set. + * @return This builder for chaining. + */ + public Builder setInteraction(com.google.apps.card.v1.Action.Interaction value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + interaction_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Required when opening a
+     * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+     *
+     * What to do in response to an interaction with a user, such as a user
+     * clicking a button in a card message.
+     *
+     * If unspecified, the app responds by executing an `action`—like opening a
+     * link or running a function—as normal.
+     *
+     * By specifying an `interaction`, the app can respond in special interactive
+     * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+     * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+     * specified, a loading indicator isn't shown. If specified for
+     * an add-on, the entire card is stripped and nothing is shown in the client.
+     *
+     * [Google Chat apps](https://developers.google.com/chat):
+     * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @return This builder for chaining. + */ + public Builder clearInteraction() { + bitField0_ = (bitField0_ & ~0x00000010); + interaction_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Action) + } + + // @@protoc_insertion_point(class_scope:google.apps.card.v1.Action) + private static final com.google.apps.card.v1.Action DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.apps.card.v1.Action(); + } + + public static com.google.apps.card.v1.Action getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Action parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.apps.card.v1.Action getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ActionOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ActionOrBuilder.java new file mode 100644 index 0000000000..1358940129 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ActionOrBuilder.java @@ -0,0 +1,224 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/card/v1/card.proto + +// Protobuf Java Version: 3.25.2 +package com.google.apps.card.v1; + +public interface ActionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.apps.card.v1.Action) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A custom function to invoke when the containing element is
+   * clicked or othrwise activated.
+   *
+   * For example usage, see [Create interactive
+   * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+   * 
+ * + * string function = 1; + * + * @return The function. + */ + java.lang.String getFunction(); + /** + * + * + *
+   * A custom function to invoke when the containing element is
+   * clicked or othrwise activated.
+   *
+   * For example usage, see [Create interactive
+   * cards](https://developers.google.com/chat/how-tos/cards-onclick).
+   * 
+ * + * string function = 1; + * + * @return The bytes for function. + */ + com.google.protobuf.ByteString getFunctionBytes(); + + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + java.util.List getParametersList(); + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + com.google.apps.card.v1.Action.ActionParameter getParameters(int index); + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + int getParametersCount(); + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + java.util.List + getParametersOrBuilderList(); + /** + * + * + *
+   * List of action parameters.
+   * 
+ * + * repeated .google.apps.card.v1.Action.ActionParameter parameters = 2; + */ + com.google.apps.card.v1.Action.ActionParameterOrBuilder getParametersOrBuilder(int index); + + /** + * + * + *
+   * Specifies the loading indicator that the action displays while
+   * making the call to the action.
+   * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @return The enum numeric value on the wire for loadIndicator. + */ + int getLoadIndicatorValue(); + /** + * + * + *
+   * Specifies the loading indicator that the action displays while
+   * making the call to the action.
+   * 
+ * + * .google.apps.card.v1.Action.LoadIndicator load_indicator = 3; + * + * @return The loadIndicator. + */ + com.google.apps.card.v1.Action.LoadIndicator getLoadIndicator(); + + /** + * + * + *
+   * Indicates whether form values persist after the action. The default value
+   * is `false`.
+   *
+   * If `true`, form values remain after the action is triggered. To let the
+   * user make changes while the action is being processed, set
+   * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+   * to `NONE`. For [card
+   * messages](https://developers.google.com/chat/api/guides/v1/messages/create#create)
+   * in Chat apps, you must also set the action's
+   * [`ResponseType`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#responsetype)
+   * to `UPDATE_MESSAGE` and use the same
+   * [`card_id`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#CardWithId)
+   * from the card that contained the action.
+   *
+   * If `false`, the form values are cleared when the action is triggered.
+   * To prevent the user from making changes while the action is being
+   * processed, set
+   * [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
+   * to `SPINNER`.
+   * 
+ * + * bool persist_values = 4; + * + * @return The persistValues. + */ + boolean getPersistValues(); + + /** + * + * + *
+   * Optional. Required when opening a
+   * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+   *
+   * What to do in response to an interaction with a user, such as a user
+   * clicking a button in a card message.
+   *
+   * If unspecified, the app responds by executing an `action`—like opening a
+   * link or running a function—as normal.
+   *
+   * By specifying an `interaction`, the app can respond in special interactive
+   * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+   * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+   * specified, a loading indicator isn't shown. If specified for
+   * an add-on, the entire card is stripped and nothing is shown in the client.
+   *
+   * [Google Chat apps](https://developers.google.com/chat):
+   * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @return The enum numeric value on the wire for interaction. + */ + int getInteractionValue(); + /** + * + * + *
+   * Optional. Required when opening a
+   * [dialog](https://developers.google.com/chat/how-tos/dialogs).
+   *
+   * What to do in response to an interaction with a user, such as a user
+   * clicking a button in a card message.
+   *
+   * If unspecified, the app responds by executing an `action`—like opening a
+   * link or running a function—as normal.
+   *
+   * By specifying an `interaction`, the app can respond in special interactive
+   * ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can
+   * open a [dialog](https://developers.google.com/chat/how-tos/dialogs). When
+   * specified, a loading indicator isn't shown. If specified for
+   * an add-on, the entire card is stripped and nothing is shown in the client.
+   *
+   * [Google Chat apps](https://developers.google.com/chat):
+   * 
+ * + * .google.apps.card.v1.Action.Interaction interaction = 5; + * + * @return The interaction. + */ + com.google.apps.card.v1.Action.Interaction getInteraction(); +} diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyle.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyle.java new file mode 100644 index 0000000000..91a97a9842 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyle.java @@ -0,0 +1,1118 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/card/v1/card.proto + +// Protobuf Java Version: 3.25.2 +package com.google.apps.card.v1; + +/** + * + * + *
+ * The style options for the border of a card or widget, including the border
+ * type and color.
+ *
+ * [Google Workspace Add-ons and Chat
+ * apps](https://developers.google.com/workspace/extend):
+ * 
+ * + * Protobuf type {@code google.apps.card.v1.BorderStyle} + */ +public final class BorderStyle extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.apps.card.v1.BorderStyle) + BorderStyleOrBuilder { + private static final long serialVersionUID = 0L; + // Use BorderStyle.newBuilder() to construct. + private BorderStyle(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BorderStyle() { + type_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BorderStyle(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_BorderStyle_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_BorderStyle_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.apps.card.v1.BorderStyle.class, + com.google.apps.card.v1.BorderStyle.Builder.class); + } + + /** + * + * + *
+   * Represents the border types applied to widgets.
+   *
+   * [Google Workspace Add-ons
+   * and Chat apps](https://developers.google.com/workspace/extend):
+   * 
+ * + * Protobuf enum {@code google.apps.card.v1.BorderStyle.BorderType} + */ + public enum BorderType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Don't use. Unspecified.
+     * 
+ * + * BORDER_TYPE_UNSPECIFIED = 0; + */ + BORDER_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Default value. No border.
+     * 
+ * + * NO_BORDER = 1; + */ + NO_BORDER(1), + /** + * + * + *
+     * Outline.
+     * 
+ * + * STROKE = 2; + */ + STROKE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Don't use. Unspecified.
+     * 
+ * + * BORDER_TYPE_UNSPECIFIED = 0; + */ + public static final int BORDER_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Default value. No border.
+     * 
+ * + * NO_BORDER = 1; + */ + public static final int NO_BORDER_VALUE = 1; + /** + * + * + *
+     * Outline.
+     * 
+ * + * STROKE = 2; + */ + public static final int STROKE_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static BorderType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static BorderType forNumber(int value) { + switch (value) { + case 0: + return BORDER_TYPE_UNSPECIFIED; + case 1: + return NO_BORDER; + case 2: + return STROKE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public BorderType findValueByNumber(int number) { + return BorderType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.apps.card.v1.BorderStyle.getDescriptor().getEnumTypes().get(0); + } + + private static final BorderType[] VALUES = values(); + + public static BorderType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private BorderType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.apps.card.v1.BorderStyle.BorderType) + } + + private int bitField0_; + public static final int TYPE_FIELD_NUMBER = 1; + private int type_ = 0; + /** + * + * + *
+   * The border type.
+   * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+   * The border type.
+   * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @return The type. + */ + @java.lang.Override + public com.google.apps.card.v1.BorderStyle.BorderType getType() { + com.google.apps.card.v1.BorderStyle.BorderType result = + com.google.apps.card.v1.BorderStyle.BorderType.forNumber(type_); + return result == null ? com.google.apps.card.v1.BorderStyle.BorderType.UNRECOGNIZED : result; + } + + public static final int STROKE_COLOR_FIELD_NUMBER = 2; + private com.google.type.Color strokeColor_; + /** + * + * + *
+   * The colors to use when the type is `BORDER_TYPE_STROKE`.
+   * 
+ * + * .google.type.Color stroke_color = 2; + * + * @return Whether the strokeColor field is set. + */ + @java.lang.Override + public boolean hasStrokeColor() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The colors to use when the type is `BORDER_TYPE_STROKE`.
+   * 
+ * + * .google.type.Color stroke_color = 2; + * + * @return The strokeColor. + */ + @java.lang.Override + public com.google.type.Color getStrokeColor() { + return strokeColor_ == null ? com.google.type.Color.getDefaultInstance() : strokeColor_; + } + /** + * + * + *
+   * The colors to use when the type is `BORDER_TYPE_STROKE`.
+   * 
+ * + * .google.type.Color stroke_color = 2; + */ + @java.lang.Override + public com.google.type.ColorOrBuilder getStrokeColorOrBuilder() { + return strokeColor_ == null ? com.google.type.Color.getDefaultInstance() : strokeColor_; + } + + public static final int CORNER_RADIUS_FIELD_NUMBER = 3; + private int cornerRadius_ = 0; + /** + * + * + *
+   * The corner radius for the border.
+   * 
+ * + * int32 corner_radius = 3; + * + * @return The cornerRadius. + */ + @java.lang.Override + public int getCornerRadius() { + return cornerRadius_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.apps.card.v1.BorderStyle.BorderType.BORDER_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(1, type_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getStrokeColor()); + } + if (cornerRadius_ != 0) { + output.writeInt32(3, cornerRadius_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (type_ + != com.google.apps.card.v1.BorderStyle.BorderType.BORDER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStrokeColor()); + } + if (cornerRadius_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, cornerRadius_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.apps.card.v1.BorderStyle)) { + return super.equals(obj); + } + com.google.apps.card.v1.BorderStyle other = (com.google.apps.card.v1.BorderStyle) obj; + + if (type_ != other.type_) return false; + if (hasStrokeColor() != other.hasStrokeColor()) return false; + if (hasStrokeColor()) { + if (!getStrokeColor().equals(other.getStrokeColor())) return false; + } + if (getCornerRadius() != other.getCornerRadius()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + if (hasStrokeColor()) { + hash = (37 * hash) + STROKE_COLOR_FIELD_NUMBER; + hash = (53 * hash) + getStrokeColor().hashCode(); + } + hash = (37 * hash) + CORNER_RADIUS_FIELD_NUMBER; + hash = (53 * hash) + getCornerRadius(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.apps.card.v1.BorderStyle parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.apps.card.v1.BorderStyle parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.BorderStyle parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.BorderStyle parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.apps.card.v1.BorderStyle prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The style options for the border of a card or widget, including the border
+   * type and color.
+   *
+   * [Google Workspace Add-ons and Chat
+   * apps](https://developers.google.com/workspace/extend):
+   * 
+ * + * Protobuf type {@code google.apps.card.v1.BorderStyle} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.apps.card.v1.BorderStyle) + com.google.apps.card.v1.BorderStyleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_BorderStyle_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_BorderStyle_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.apps.card.v1.BorderStyle.class, + com.google.apps.card.v1.BorderStyle.Builder.class); + } + + // Construct using com.google.apps.card.v1.BorderStyle.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStrokeColorFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + type_ = 0; + strokeColor_ = null; + if (strokeColorBuilder_ != null) { + strokeColorBuilder_.dispose(); + strokeColorBuilder_ = null; + } + cornerRadius_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_BorderStyle_descriptor; + } + + @java.lang.Override + public com.google.apps.card.v1.BorderStyle getDefaultInstanceForType() { + return com.google.apps.card.v1.BorderStyle.getDefaultInstance(); + } + + @java.lang.Override + public com.google.apps.card.v1.BorderStyle build() { + com.google.apps.card.v1.BorderStyle result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.apps.card.v1.BorderStyle buildPartial() { + com.google.apps.card.v1.BorderStyle result = new com.google.apps.card.v1.BorderStyle(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.apps.card.v1.BorderStyle result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.type_ = type_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.strokeColor_ = + strokeColorBuilder_ == null ? strokeColor_ : strokeColorBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.cornerRadius_ = cornerRadius_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.apps.card.v1.BorderStyle) { + return mergeFrom((com.google.apps.card.v1.BorderStyle) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.apps.card.v1.BorderStyle other) { + if (other == com.google.apps.card.v1.BorderStyle.getDefaultInstance()) return this; + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (other.hasStrokeColor()) { + mergeStrokeColor(other.getStrokeColor()); + } + if (other.getCornerRadius() != 0) { + setCornerRadius(other.getCornerRadius()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getStrokeColorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + cornerRadius_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int type_ = 0; + /** + * + * + *
+     * The border type.
+     * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+     * The border type.
+     * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + type_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The border type.
+     * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @return The type. + */ + @java.lang.Override + public com.google.apps.card.v1.BorderStyle.BorderType getType() { + com.google.apps.card.v1.BorderStyle.BorderType result = + com.google.apps.card.v1.BorderStyle.BorderType.forNumber(type_); + return result == null ? com.google.apps.card.v1.BorderStyle.BorderType.UNRECOGNIZED : result; + } + /** + * + * + *
+     * The border type.
+     * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.google.apps.card.v1.BorderStyle.BorderType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The border type.
+     * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + onChanged(); + return this; + } + + private com.google.type.Color strokeColor_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> + strokeColorBuilder_; + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + * + * @return Whether the strokeColor field is set. + */ + public boolean hasStrokeColor() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + * + * @return The strokeColor. + */ + public com.google.type.Color getStrokeColor() { + if (strokeColorBuilder_ == null) { + return strokeColor_ == null ? com.google.type.Color.getDefaultInstance() : strokeColor_; + } else { + return strokeColorBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + */ + public Builder setStrokeColor(com.google.type.Color value) { + if (strokeColorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + strokeColor_ = value; + } else { + strokeColorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + */ + public Builder setStrokeColor(com.google.type.Color.Builder builderForValue) { + if (strokeColorBuilder_ == null) { + strokeColor_ = builderForValue.build(); + } else { + strokeColorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + */ + public Builder mergeStrokeColor(com.google.type.Color value) { + if (strokeColorBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && strokeColor_ != null + && strokeColor_ != com.google.type.Color.getDefaultInstance()) { + getStrokeColorBuilder().mergeFrom(value); + } else { + strokeColor_ = value; + } + } else { + strokeColorBuilder_.mergeFrom(value); + } + if (strokeColor_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + */ + public Builder clearStrokeColor() { + bitField0_ = (bitField0_ & ~0x00000002); + strokeColor_ = null; + if (strokeColorBuilder_ != null) { + strokeColorBuilder_.dispose(); + strokeColorBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + */ + public com.google.type.Color.Builder getStrokeColorBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getStrokeColorFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + */ + public com.google.type.ColorOrBuilder getStrokeColorOrBuilder() { + if (strokeColorBuilder_ != null) { + return strokeColorBuilder_.getMessageOrBuilder(); + } else { + return strokeColor_ == null ? com.google.type.Color.getDefaultInstance() : strokeColor_; + } + } + /** + * + * + *
+     * The colors to use when the type is `BORDER_TYPE_STROKE`.
+     * 
+ * + * .google.type.Color stroke_color = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> + getStrokeColorFieldBuilder() { + if (strokeColorBuilder_ == null) { + strokeColorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Color, + com.google.type.Color.Builder, + com.google.type.ColorOrBuilder>( + getStrokeColor(), getParentForChildren(), isClean()); + strokeColor_ = null; + } + return strokeColorBuilder_; + } + + private int cornerRadius_; + /** + * + * + *
+     * The corner radius for the border.
+     * 
+ * + * int32 corner_radius = 3; + * + * @return The cornerRadius. + */ + @java.lang.Override + public int getCornerRadius() { + return cornerRadius_; + } + /** + * + * + *
+     * The corner radius for the border.
+     * 
+ * + * int32 corner_radius = 3; + * + * @param value The cornerRadius to set. + * @return This builder for chaining. + */ + public Builder setCornerRadius(int value) { + + cornerRadius_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The corner radius for the border.
+     * 
+ * + * int32 corner_radius = 3; + * + * @return This builder for chaining. + */ + public Builder clearCornerRadius() { + bitField0_ = (bitField0_ & ~0x00000004); + cornerRadius_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.apps.card.v1.BorderStyle) + } + + // @@protoc_insertion_point(class_scope:google.apps.card.v1.BorderStyle) + private static final com.google.apps.card.v1.BorderStyle DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.apps.card.v1.BorderStyle(); + } + + public static com.google.apps.card.v1.BorderStyle getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BorderStyle parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.apps.card.v1.BorderStyle getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyleOrBuilder.java new file mode 100644 index 0000000000..044befc5c3 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyleOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/card/v1/card.proto + +// Protobuf Java Version: 3.25.2 +package com.google.apps.card.v1; + +public interface BorderStyleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.apps.card.v1.BorderStyle) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The border type.
+   * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + * + * + *
+   * The border type.
+   * 
+ * + * .google.apps.card.v1.BorderStyle.BorderType type = 1; + * + * @return The type. + */ + com.google.apps.card.v1.BorderStyle.BorderType getType(); + + /** + * + * + *
+   * The colors to use when the type is `BORDER_TYPE_STROKE`.
+   * 
+ * + * .google.type.Color stroke_color = 2; + * + * @return Whether the strokeColor field is set. + */ + boolean hasStrokeColor(); + /** + * + * + *
+   * The colors to use when the type is `BORDER_TYPE_STROKE`.
+   * 
+ * + * .google.type.Color stroke_color = 2; + * + * @return The strokeColor. + */ + com.google.type.Color getStrokeColor(); + /** + * + * + *
+   * The colors to use when the type is `BORDER_TYPE_STROKE`.
+   * 
+ * + * .google.type.Color stroke_color = 2; + */ + com.google.type.ColorOrBuilder getStrokeColorOrBuilder(); + + /** + * + * + *
+   * The corner radius for the border.
+   * 
+ * + * int32 corner_radius = 3; + * + * @return The cornerRadius. + */ + int getCornerRadius(); +} diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Button.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Button.java new file mode 100644 index 0000000000..3a4ba0a1f9 --- /dev/null +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Button.java @@ -0,0 +1,2134 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/card/v1/card.proto + +// Protobuf Java Version: 3.25.2 +package com.google.apps.card.v1; + +/** + * + * + *
+ * A text, icon, or text and icon button that users can click. For an example in
+ * Google Chat apps, see
+ * [Button list](https://developers.google.com/chat/ui/widgets/button-list).
+ *
+ * To make an image a clickable button, specify an
+ * [`Image`][google.apps.card.v1.Image] (not an
+ * [`ImageComponent`][google.apps.card.v1.ImageComponent]) and set an
+ * `onClick` action.
+ *
+ * [Google Workspace
+ * Add-ons and Chat apps](https://developers.google.com/workspace/extend):
+ * 
+ * + * Protobuf type {@code google.apps.card.v1.Button} + */ +public final class Button extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.apps.card.v1.Button) + ButtonOrBuilder { + private static final long serialVersionUID = 0L; + // Use Button.newBuilder() to construct. + private Button(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Button() { + text_ = ""; + altText_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Button(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Button_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Button_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.apps.card.v1.Button.class, com.google.apps.card.v1.Button.Builder.class); + } + + private int bitField0_; + public static final int TEXT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object text_ = ""; + /** + * + * + *
+   * The text displayed inside the button.
+   * 
+ * + * string text = 1; + * + * @return The text. + */ + @java.lang.Override + public java.lang.String getText() { + java.lang.Object ref = text_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + text_ = s; + return s; + } + } + /** + * + * + *
+   * The text displayed inside the button.
+   * 
+ * + * string text = 1; + * + * @return The bytes for text. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTextBytes() { + java.lang.Object ref = text_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + text_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ICON_FIELD_NUMBER = 2; + private com.google.apps.card.v1.Icon icon_; + /** + * + * + *
+   * The icon image. If both `icon` and `text` are set, then the icon appears
+   * before the text.
+   * 
+ * + * .google.apps.card.v1.Icon icon = 2; + * + * @return Whether the icon field is set. + */ + @java.lang.Override + public boolean hasIcon() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The icon image. If both `icon` and `text` are set, then the icon appears
+   * before the text.
+   * 
+ * + * .google.apps.card.v1.Icon icon = 2; + * + * @return The icon. + */ + @java.lang.Override + public com.google.apps.card.v1.Icon getIcon() { + return icon_ == null ? com.google.apps.card.v1.Icon.getDefaultInstance() : icon_; + } + /** + * + * + *
+   * The icon image. If both `icon` and `text` are set, then the icon appears
+   * before the text.
+   * 
+ * + * .google.apps.card.v1.Icon icon = 2; + */ + @java.lang.Override + public com.google.apps.card.v1.IconOrBuilder getIconOrBuilder() { + return icon_ == null ? com.google.apps.card.v1.Icon.getDefaultInstance() : icon_; + } + + public static final int COLOR_FIELD_NUMBER = 3; + private com.google.type.Color color_; + /** + * + * + *
+   * If set, the button is filled with a solid background color and the font
+   * color changes to maintain contrast with the background color. For example,
+   * setting a blue background likely results in white text.
+   *
+   * If unset, the image background is white and the font color is blue.
+   *
+   * For red, green, and blue, the value of each field is a `float` number that
+   * you can express in either of two ways: as a number between 0 and 255
+   * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+   * the absence of a color and 1 or 255/255 represent the full presence of that
+   * color on the RGB scale.
+   *
+   * Optionally set `alpha`, which sets a level of transparency using this
+   * equation:
+   *
+   * ```
+   * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+   * ```
+   *
+   * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+   * `0` corresponds with a completely transparent color.
+   *
+   * For example, the following color represents a half transparent red:
+   *
+   * ```
+   * "color": {
+   *    "red": 1,
+   *    "green": 0,
+   *    "blue": 0,
+   *    "alpha": 0.5
+   * }
+   * ```
+   * 
+ * + * .google.type.Color color = 3; + * + * @return Whether the color field is set. + */ + @java.lang.Override + public boolean hasColor() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * If set, the button is filled with a solid background color and the font
+   * color changes to maintain contrast with the background color. For example,
+   * setting a blue background likely results in white text.
+   *
+   * If unset, the image background is white and the font color is blue.
+   *
+   * For red, green, and blue, the value of each field is a `float` number that
+   * you can express in either of two ways: as a number between 0 and 255
+   * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+   * the absence of a color and 1 or 255/255 represent the full presence of that
+   * color on the RGB scale.
+   *
+   * Optionally set `alpha`, which sets a level of transparency using this
+   * equation:
+   *
+   * ```
+   * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+   * ```
+   *
+   * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+   * `0` corresponds with a completely transparent color.
+   *
+   * For example, the following color represents a half transparent red:
+   *
+   * ```
+   * "color": {
+   *    "red": 1,
+   *    "green": 0,
+   *    "blue": 0,
+   *    "alpha": 0.5
+   * }
+   * ```
+   * 
+ * + * .google.type.Color color = 3; + * + * @return The color. + */ + @java.lang.Override + public com.google.type.Color getColor() { + return color_ == null ? com.google.type.Color.getDefaultInstance() : color_; + } + /** + * + * + *
+   * If set, the button is filled with a solid background color and the font
+   * color changes to maintain contrast with the background color. For example,
+   * setting a blue background likely results in white text.
+   *
+   * If unset, the image background is white and the font color is blue.
+   *
+   * For red, green, and blue, the value of each field is a `float` number that
+   * you can express in either of two ways: as a number between 0 and 255
+   * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+   * the absence of a color and 1 or 255/255 represent the full presence of that
+   * color on the RGB scale.
+   *
+   * Optionally set `alpha`, which sets a level of transparency using this
+   * equation:
+   *
+   * ```
+   * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+   * ```
+   *
+   * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+   * `0` corresponds with a completely transparent color.
+   *
+   * For example, the following color represents a half transparent red:
+   *
+   * ```
+   * "color": {
+   *    "red": 1,
+   *    "green": 0,
+   *    "blue": 0,
+   *    "alpha": 0.5
+   * }
+   * ```
+   * 
+ * + * .google.type.Color color = 3; + */ + @java.lang.Override + public com.google.type.ColorOrBuilder getColorOrBuilder() { + return color_ == null ? com.google.type.Color.getDefaultInstance() : color_; + } + + public static final int ON_CLICK_FIELD_NUMBER = 4; + private com.google.apps.card.v1.OnClick onClick_; + /** + * + * + *
+   * Required. The action to perform when a user clicks the button, such as
+   * opening a hyperlink or running a custom function.
+   * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + * + * @return Whether the onClick field is set. + */ + @java.lang.Override + public boolean hasOnClick() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Required. The action to perform when a user clicks the button, such as
+   * opening a hyperlink or running a custom function.
+   * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + * + * @return The onClick. + */ + @java.lang.Override + public com.google.apps.card.v1.OnClick getOnClick() { + return onClick_ == null ? com.google.apps.card.v1.OnClick.getDefaultInstance() : onClick_; + } + /** + * + * + *
+   * Required. The action to perform when a user clicks the button, such as
+   * opening a hyperlink or running a custom function.
+   * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + */ + @java.lang.Override + public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { + return onClick_ == null ? com.google.apps.card.v1.OnClick.getDefaultInstance() : onClick_; + } + + public static final int DISABLED_FIELD_NUMBER = 5; + private boolean disabled_ = false; + /** + * + * + *
+   * If `true`, the button is displayed in an inactive state and doesn't respond
+   * to user actions.
+   * 
+ * + * bool disabled = 5; + * + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + + public static final int ALT_TEXT_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object altText_ = ""; + /** + * + * + *
+   * The alternative text that's used for accessibility.
+   *
+   * Set descriptive text that lets users know what the button does. For
+   * example, if a button opens a hyperlink, you might write: "Opens a new
+   * browser tab and navigates to the Google Chat developer documentation at
+   * https://developers.google.com/chat".
+   * 
+ * + * string alt_text = 6; + * + * @return The altText. + */ + @java.lang.Override + public java.lang.String getAltText() { + java.lang.Object ref = altText_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + altText_ = s; + return s; + } + } + /** + * + * + *
+   * The alternative text that's used for accessibility.
+   *
+   * Set descriptive text that lets users know what the button does. For
+   * example, if a button opens a hyperlink, you might write: "Opens a new
+   * browser tab and navigates to the Google Chat developer documentation at
+   * https://developers.google.com/chat".
+   * 
+ * + * string alt_text = 6; + * + * @return The bytes for altText. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAltTextBytes() { + java.lang.Object ref = altText_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + altText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getIcon()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getColor()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getOnClick()); + } + if (disabled_ != false) { + output.writeBool(5, disabled_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, altText_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIcon()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getColor()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getOnClick()); + } + if (disabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, disabled_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, altText_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.apps.card.v1.Button)) { + return super.equals(obj); + } + com.google.apps.card.v1.Button other = (com.google.apps.card.v1.Button) obj; + + if (!getText().equals(other.getText())) return false; + if (hasIcon() != other.hasIcon()) return false; + if (hasIcon()) { + if (!getIcon().equals(other.getIcon())) return false; + } + if (hasColor() != other.hasColor()) return false; + if (hasColor()) { + if (!getColor().equals(other.getColor())) return false; + } + if (hasOnClick() != other.hasOnClick()) return false; + if (hasOnClick()) { + if (!getOnClick().equals(other.getOnClick())) return false; + } + if (getDisabled() != other.getDisabled()) return false; + if (!getAltText().equals(other.getAltText())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TEXT_FIELD_NUMBER; + hash = (53 * hash) + getText().hashCode(); + if (hasIcon()) { + hash = (37 * hash) + ICON_FIELD_NUMBER; + hash = (53 * hash) + getIcon().hashCode(); + } + if (hasColor()) { + hash = (37 * hash) + COLOR_FIELD_NUMBER; + hash = (53 * hash) + getColor().hashCode(); + } + if (hasOnClick()) { + hash = (37 * hash) + ON_CLICK_FIELD_NUMBER; + hash = (53 * hash) + getOnClick().hashCode(); + } + hash = (37 * hash) + DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (37 * hash) + ALT_TEXT_FIELD_NUMBER; + hash = (53 * hash) + getAltText().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.apps.card.v1.Button parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Button parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Button parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Button parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Button parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.apps.card.v1.Button parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.apps.card.v1.Button parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Button parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.apps.card.v1.Button parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Button parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.apps.card.v1.Button parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.apps.card.v1.Button parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.apps.card.v1.Button prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A text, icon, or text and icon button that users can click. For an example in
+   * Google Chat apps, see
+   * [Button list](https://developers.google.com/chat/ui/widgets/button-list).
+   *
+   * To make an image a clickable button, specify an
+   * [`Image`][google.apps.card.v1.Image] (not an
+   * [`ImageComponent`][google.apps.card.v1.ImageComponent]) and set an
+   * `onClick` action.
+   *
+   * [Google Workspace
+   * Add-ons and Chat apps](https://developers.google.com/workspace/extend):
+   * 
+ * + * Protobuf type {@code google.apps.card.v1.Button} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Button) + com.google.apps.card.v1.ButtonOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Button_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Button_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.apps.card.v1.Button.class, com.google.apps.card.v1.Button.Builder.class); + } + + // Construct using com.google.apps.card.v1.Button.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getIconFieldBuilder(); + getColorFieldBuilder(); + getOnClickFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + text_ = ""; + icon_ = null; + if (iconBuilder_ != null) { + iconBuilder_.dispose(); + iconBuilder_ = null; + } + color_ = null; + if (colorBuilder_ != null) { + colorBuilder_.dispose(); + colorBuilder_ = null; + } + onClick_ = null; + if (onClickBuilder_ != null) { + onClickBuilder_.dispose(); + onClickBuilder_ = null; + } + disabled_ = false; + altText_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.card.v1.CardProto + .internal_static_google_apps_card_v1_Button_descriptor; + } + + @java.lang.Override + public com.google.apps.card.v1.Button getDefaultInstanceForType() { + return com.google.apps.card.v1.Button.getDefaultInstance(); + } + + @java.lang.Override + public com.google.apps.card.v1.Button build() { + com.google.apps.card.v1.Button result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.apps.card.v1.Button buildPartial() { + com.google.apps.card.v1.Button result = new com.google.apps.card.v1.Button(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.apps.card.v1.Button result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.text_ = text_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.icon_ = iconBuilder_ == null ? icon_ : iconBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.color_ = colorBuilder_ == null ? color_ : colorBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.onClick_ = onClickBuilder_ == null ? onClick_ : onClickBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.disabled_ = disabled_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.altText_ = altText_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.apps.card.v1.Button) { + return mergeFrom((com.google.apps.card.v1.Button) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.apps.card.v1.Button other) { + if (other == com.google.apps.card.v1.Button.getDefaultInstance()) return this; + if (!other.getText().isEmpty()) { + text_ = other.text_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasIcon()) { + mergeIcon(other.getIcon()); + } + if (other.hasColor()) { + mergeColor(other.getColor()); + } + if (other.hasOnClick()) { + mergeOnClick(other.getOnClick()); + } + if (other.getDisabled() != false) { + setDisabled(other.getDisabled()); + } + if (!other.getAltText().isEmpty()) { + altText_ = other.altText_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + text_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getIconFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getColorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getOnClickFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + disabled_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + altText_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object text_ = ""; + /** + * + * + *
+     * The text displayed inside the button.
+     * 
+ * + * string text = 1; + * + * @return The text. + */ + public java.lang.String getText() { + java.lang.Object ref = text_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + text_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The text displayed inside the button.
+     * 
+ * + * string text = 1; + * + * @return The bytes for text. + */ + public com.google.protobuf.ByteString getTextBytes() { + java.lang.Object ref = text_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + text_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The text displayed inside the button.
+     * 
+ * + * string text = 1; + * + * @param value The text to set. + * @return This builder for chaining. + */ + public Builder setText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + text_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The text displayed inside the button.
+     * 
+ * + * string text = 1; + * + * @return This builder for chaining. + */ + public Builder clearText() { + text_ = getDefaultInstance().getText(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The text displayed inside the button.
+     * 
+ * + * string text = 1; + * + * @param value The bytes for text to set. + * @return This builder for chaining. + */ + public Builder setTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.apps.card.v1.Icon icon_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.card.v1.Icon, + com.google.apps.card.v1.Icon.Builder, + com.google.apps.card.v1.IconOrBuilder> + iconBuilder_; + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + * + * @return Whether the icon field is set. + */ + public boolean hasIcon() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + * + * @return The icon. + */ + public com.google.apps.card.v1.Icon getIcon() { + if (iconBuilder_ == null) { + return icon_ == null ? com.google.apps.card.v1.Icon.getDefaultInstance() : icon_; + } else { + return iconBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + */ + public Builder setIcon(com.google.apps.card.v1.Icon value) { + if (iconBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + icon_ = value; + } else { + iconBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + */ + public Builder setIcon(com.google.apps.card.v1.Icon.Builder builderForValue) { + if (iconBuilder_ == null) { + icon_ = builderForValue.build(); + } else { + iconBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + */ + public Builder mergeIcon(com.google.apps.card.v1.Icon value) { + if (iconBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && icon_ != null + && icon_ != com.google.apps.card.v1.Icon.getDefaultInstance()) { + getIconBuilder().mergeFrom(value); + } else { + icon_ = value; + } + } else { + iconBuilder_.mergeFrom(value); + } + if (icon_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + */ + public Builder clearIcon() { + bitField0_ = (bitField0_ & ~0x00000002); + icon_ = null; + if (iconBuilder_ != null) { + iconBuilder_.dispose(); + iconBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + */ + public com.google.apps.card.v1.Icon.Builder getIconBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getIconFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + */ + public com.google.apps.card.v1.IconOrBuilder getIconOrBuilder() { + if (iconBuilder_ != null) { + return iconBuilder_.getMessageOrBuilder(); + } else { + return icon_ == null ? com.google.apps.card.v1.Icon.getDefaultInstance() : icon_; + } + } + /** + * + * + *
+     * The icon image. If both `icon` and `text` are set, then the icon appears
+     * before the text.
+     * 
+ * + * .google.apps.card.v1.Icon icon = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.card.v1.Icon, + com.google.apps.card.v1.Icon.Builder, + com.google.apps.card.v1.IconOrBuilder> + getIconFieldBuilder() { + if (iconBuilder_ == null) { + iconBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.card.v1.Icon, + com.google.apps.card.v1.Icon.Builder, + com.google.apps.card.v1.IconOrBuilder>( + getIcon(), getParentForChildren(), isClean()); + icon_ = null; + } + return iconBuilder_; + } + + private com.google.type.Color color_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> + colorBuilder_; + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + * + * @return Whether the color field is set. + */ + public boolean hasColor() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + * + * @return The color. + */ + public com.google.type.Color getColor() { + if (colorBuilder_ == null) { + return color_ == null ? com.google.type.Color.getDefaultInstance() : color_; + } else { + return colorBuilder_.getMessage(); + } + } + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + */ + public Builder setColor(com.google.type.Color value) { + if (colorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + color_ = value; + } else { + colorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + */ + public Builder setColor(com.google.type.Color.Builder builderForValue) { + if (colorBuilder_ == null) { + color_ = builderForValue.build(); + } else { + colorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + */ + public Builder mergeColor(com.google.type.Color value) { + if (colorBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && color_ != null + && color_ != com.google.type.Color.getDefaultInstance()) { + getColorBuilder().mergeFrom(value); + } else { + color_ = value; + } + } else { + colorBuilder_.mergeFrom(value); + } + if (color_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + */ + public Builder clearColor() { + bitField0_ = (bitField0_ & ~0x00000004); + color_ = null; + if (colorBuilder_ != null) { + colorBuilder_.dispose(); + colorBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + */ + public com.google.type.Color.Builder getColorBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getColorFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + */ + public com.google.type.ColorOrBuilder getColorOrBuilder() { + if (colorBuilder_ != null) { + return colorBuilder_.getMessageOrBuilder(); + } else { + return color_ == null ? com.google.type.Color.getDefaultInstance() : color_; + } + } + /** + * + * + *
+     * If set, the button is filled with a solid background color and the font
+     * color changes to maintain contrast with the background color. For example,
+     * setting a blue background likely results in white text.
+     *
+     * If unset, the image background is white and the font color is blue.
+     *
+     * For red, green, and blue, the value of each field is a `float` number that
+     * you can express in either of two ways: as a number between 0 and 255
+     * divided by 255 (153/255), or as a value between 0 and 1 (0.6). 0 represents
+     * the absence of a color and 1 or 255/255 represent the full presence of that
+     * color on the RGB scale.
+     *
+     * Optionally set `alpha`, which sets a level of transparency using this
+     * equation:
+     *
+     * ```
+     * pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+     * ```
+     *
+     * For `alpha`, a value of `1` corresponds with a solid color, and a value of
+     * `0` corresponds with a completely transparent color.
+     *
+     * For example, the following color represents a half transparent red:
+     *
+     * ```
+     * "color": {
+     *    "red": 1,
+     *    "green": 0,
+     *    "blue": 0,
+     *    "alpha": 0.5
+     * }
+     * ```
+     * 
+ * + * .google.type.Color color = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> + getColorFieldBuilder() { + if (colorBuilder_ == null) { + colorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Color, + com.google.type.Color.Builder, + com.google.type.ColorOrBuilder>(getColor(), getParentForChildren(), isClean()); + color_ = null; + } + return colorBuilder_; + } + + private com.google.apps.card.v1.OnClick onClick_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.card.v1.OnClick, + com.google.apps.card.v1.OnClick.Builder, + com.google.apps.card.v1.OnClickOrBuilder> + onClickBuilder_; + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + * + * @return Whether the onClick field is set. + */ + public boolean hasOnClick() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + * + * @return The onClick. + */ + public com.google.apps.card.v1.OnClick getOnClick() { + if (onClickBuilder_ == null) { + return onClick_ == null ? com.google.apps.card.v1.OnClick.getDefaultInstance() : onClick_; + } else { + return onClickBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + */ + public Builder setOnClick(com.google.apps.card.v1.OnClick value) { + if (onClickBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + onClick_ = value; + } else { + onClickBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + */ + public Builder setOnClick(com.google.apps.card.v1.OnClick.Builder builderForValue) { + if (onClickBuilder_ == null) { + onClick_ = builderForValue.build(); + } else { + onClickBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + */ + public Builder mergeOnClick(com.google.apps.card.v1.OnClick value) { + if (onClickBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && onClick_ != null + && onClick_ != com.google.apps.card.v1.OnClick.getDefaultInstance()) { + getOnClickBuilder().mergeFrom(value); + } else { + onClick_ = value; + } + } else { + onClickBuilder_.mergeFrom(value); + } + if (onClick_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + */ + public Builder clearOnClick() { + bitField0_ = (bitField0_ & ~0x00000008); + onClick_ = null; + if (onClickBuilder_ != null) { + onClickBuilder_.dispose(); + onClickBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + */ + public com.google.apps.card.v1.OnClick.Builder getOnClickBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getOnClickFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + */ + public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { + if (onClickBuilder_ != null) { + return onClickBuilder_.getMessageOrBuilder(); + } else { + return onClick_ == null ? com.google.apps.card.v1.OnClick.getDefaultInstance() : onClick_; + } + } + /** + * + * + *
+     * Required. The action to perform when a user clicks the button, such as
+     * opening a hyperlink or running a custom function.
+     * 
+ * + * .google.apps.card.v1.OnClick on_click = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.card.v1.OnClick, + com.google.apps.card.v1.OnClick.Builder, + com.google.apps.card.v1.OnClickOrBuilder> + getOnClickFieldBuilder() { + if (onClickBuilder_ == null) { + onClickBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.card.v1.OnClick, + com.google.apps.card.v1.OnClick.Builder, + com.google.apps.card.v1.OnClickOrBuilder>( + getOnClick(), getParentForChildren(), isClean()); + onClick_ = null; + } + return onClickBuilder_; + } + + private boolean disabled_; + /** + * + * + *
+     * If `true`, the button is displayed in an inactive state and doesn't respond
+     * to user actions.
+     * 
+ * + * bool disabled = 5; + * + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + /** + * + * + *
+     * If `true`, the button is displayed in an inactive state and doesn't respond
+     * to user actions.
+     * 
+ * + * bool disabled = 5; + * + * @param value The disabled to set. + * @return This builder for chaining. + */ + public Builder setDisabled(boolean value) { + + disabled_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * If `true`, the button is displayed in an inactive state and doesn't respond
+     * to user actions.
+     * 
+ * + * bool disabled = 5; + * + * @return This builder for chaining. + */ + public Builder clearDisabled() { + bitField0_ = (bitField0_ & ~0x00000010); + disabled_ = false; + onChanged(); + return this; + } + + private java.lang.Object altText_ = ""; + /** + * + * + *
+     * The alternative text that's used for accessibility.
+     *
+     * Set descriptive text that lets users know what the button does. For
+     * example, if a button opens a hyperlink, you might write: "Opens a new
+     * browser tab and navigates to the Google Chat developer documentation at
+     * https://developers.google.com/chat".
+     * 
+ * + * string alt_text = 6; + * + * @return The altText. + */ + public java.lang.String getAltText() { + java.lang.Object ref = altText_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + altText_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The alternative text that's used for accessibility.
+     *
+     * Set descriptive text that lets users know what the button does. For
+     * example, if a button opens a hyperlink, you might write: "Opens a new
+     * browser tab and navigates to the Google Chat developer documentation at
+     * https://developers.google.com/chat".
+     * 
+ * + * string alt_text = 6; + * + * @return The bytes for altText. + */ + public com.google.protobuf.ByteString getAltTextBytes() { + java.lang.Object ref = altText_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + altText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The alternative text that's used for accessibility.
+     *
+     * Set descriptive text that lets users know what the button does. For
+     * example, if a button opens a hyperlink, you might write: "Opens a new
+     * browser tab and navigates to the Google Chat developer documentation at
+     * https://developers.google.com/chat".
+     * 
+ * + * string alt_text = 6; + * + * @param value The altText to set. + * @return This builder for chaining. + */ + public Builder setAltText(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + altText_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * The alternative text that's used for accessibility.
+     *
+     * Set descriptive text that lets users know what the button does. For
+     * example, if a button opens a hyperlink, you might write: "Opens a new
+     * browser tab and navigates to the Google Chat developer documentation at
+     * https://developers.google.com/chat".
+     * 
+ * + * string alt_text = 6; + * + * @return This builder for chaining. + */ + public Builder clearAltText() { + altText_ = getDefaultInstance().getAltText(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * The alternative text that's used for accessibility.
+     *
+     * Set descriptive text that lets users know what the button does. For
+     * example, if a button opens a hyperlink, you might write: "Opens a new
+     * browser tab and navigates to the Google Chat developer documentation at
+     * https://developers.google.com/chat".
+     * 
+ * + * string alt_text = 6; + * + * @param value The bytes for altText to set. + * @return This builder for chaining. + */ + public Builder setAltTextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + altText_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Button) + } + + // @@protoc_insertion_point(class_scope:google.apps.card.v1.Button) + private static final com.google.apps.card.v1.Button DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.apps.card.v1.Button(); + } + + public static com.google.apps.card.v1.Button getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser